687299332 1.4 The method of characteristic curves This method reduces the PDE u(x,y) to an ODE by following the solution in a special characteristic curve where u is a constant. PDEs with variable coefficients of the form u u + p(x,y) =0 x y (1.4-1) where p(x,y) is a function of x and y can be solved by the method of characteristic curves. We begin by reviewing the concept of directional derivative of a function. Let u(x,y) is a function of twovariables and v = (v1, v2) is a unit vector with arbitrary direction shown in Figure 1.4-1 where i and j are unit vectors in the x and y direction, respectively. y v v2j v1i x Figure 1.4-1. Unit vector v = (v1, v2) with arbitrary direction v = v1 i + v2 j = v cos i + v sin j (1.4-2) The directional derivative g’ of u measures the rate of change of u at the point (xo, yo) as we move in the direction of v . u u i + g’ = u v = ( j )( v1 i + v2 j ) x y g’ = v1 u u (xo, yo) + v2 (xo, yo) x y (1.4-3a) (1.4-3b) Consequently, if g’ = 0, then u is not changing in the direction of v . We next review the concept of directional field for an ODE. Consider the equation dy = p(x,y) dx (1.4-4) 8 687299332 The solution curve at the point (xo, yo) is changing in the direction of the vector (1, p(xo, yo)) as shown in Figure 1.4-2. y pxo,yo) xo,yo) slope = dy/dx = pxo,yo) x Figure 1.4-2. Slope of the tangent to the solution curve at (xo, yo). If we plot the vector (1, p(x, y)) for many points (Asmar, pg. 6) we obtain the directional field for the ODE. A solution curve through the point (x, y) can be traced by moving in the direction of the vector field (1, p(x, y)). The PDE u u + p(x,y) =0 x y (1.4-1) is also the directional derivative of u in the direction of the vector (1, p(x, y)). Since the directional derivative is equal to zero, u(x,y) remains constant if from the point (x, y) we move in the direction of vector (1, p(x, y)). Therefore u(x,y) is constant on the solution curve of Eq. (1.44) dy = p(x,y) dx (1.4-4) These solution curves are called the characteristic curves of Eq. (1.4-1). Let the solution of Eq. (1.4-4) be (x,y) = C, where C is an arbitrary constant. Since u is constant on each such curve, the values of u depend only on C. u(x,y) = f(C) = f((x,y)) This is the solution of Eq. (1.4-1). Example 2. Find the general solution of u u +x =0 x y dy 1 = p(x,y) = x y = x2 + C dx 2 9 (1.4-5) 687299332 C=y 1 2 1 x u(x,y) = f(C) = f(y x2) is the general solution of Eq. (1.4-5). 2 2 One particular solution of Eq. (1.4-5) is u(x,y) = sin(y 1 2 x ). The validity of this solution can be 2 verified by substituting it back into the PDE. u 1 1 u = x cos(y x2); = cos(y x2) x 2 2 y u 1 1 u +x = x cos(y x2) + x cos(y x2) = 0 x 2 2 y u u +x =1 x y with the boundary condition u(y,0) = f(y). Example 3. Find a solution of (1.4-6) The general solution of an ODE is given by a family of curves u(x) lying in the two-dimensional (z, x) space. The general solution of a first order PDE is given by a family of surfaces u(x,y) lying in the three-dimensional (z, x, y) space. The solution surface can also be represented in parametric form as a function of the parameter s: u = u(x(s),y(s)), so that by applying the chain differentiation rule we obtain du u dx dx u dy u du u dy = + + = ds x ds ds y ds ds x y ds (1.4-7) Consider a first-order PDE of the form a u u +b =c x y (1.4-8) By comparing term by term Eq. (1.4-7) with Eq. (1.4-8), the following system of ODEs is obtained dx dy du dx dy du = a, = b, = c ds = = = ds ds b c ds a From Eq. (1.4-6), a = 1, b = x, c = 1, therefore dx dy du = = x 1 1 dx dy 1 1 = dy = xdx y = x2 + C C = y x2 x 2 2 1 10 (1.4-9) 687299332 dx du 1 = du = dx u = x + C = x + C = x + f(y x2) 1 2 1 Since at x = 0, u = f(y) One particular solution of Eq. (1.4-6) is u(x,y) = x + sin(y can be verified by substituting it back into the PDE. u 1 1 u = 1 x cos(y x2); = cos(y x2) x 2 2 y u u +x =1 x y 1 x cos(y 1 2 1 x ) + x cos(y x2) = 1 2 2 11 1 2 x ). The validity of this solution 2