Chapter1-04

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

+ p(x,y) = 0(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 two variables and = (v1, v2) is a unit vector with arbitrary direction  shown in Figure 1.4-1 where and are unit vectors in the x and y direction, respectively.

Figure 1.4-1. Unit vector = (v1, v2) with arbitrary direction 

= v1 + v2 = cos  + sin (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 .

g’ = u = ( + )( v1 + v2)(1.4-3a)

g’ = v1(xo, yo) + v2(xo, yo)(1.4-3b)

Consequently, if g’ = 0, then u is not changing in the direction of . We next review the concept of directional field for an ODE. Consider the equation

= p(x,y)(1.4-4)

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.

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

+ p(x,y) = 0 (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.4-4)

= p(x,y)(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 + x = 0(1.4-5)

= p(x,y) = xy = x2 + C

C = yx2  u(x,y) = f(C) = f(yx2) is the general solution of Eq. (1.4-5).

One particular solution of Eq. (1.4-5) is u(x,y) = sin(yx2). The validity of this solution can be verified by substituting it back into the PDE.

= x cos(yx2); = cos(yx2)

+ x = x cos(yx2) + x cos(yx2) = 0

Example 3. Find a solution of + x = 1(1.4-6)

with the boundary condition u(y,0) = f(y).

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

= +  + = (1.4-7)

Consider a first-order PDE of the form

a + b = c(1.4-8)

By comparing term by term Eq. (1.4-7) with Eq. (1.4-8), the following system of ODEs is obtained

= a, = b, = cds = = = (1.4-9)

From Eq. (1.4-6), a = 1, b = x, c = 1, therefore

= =

= dy = xdxy = x2 + C C = yx2

= du = dx u = x + C = x + C = x + f(yx2)

Since at x = 0, u = f(y)

One particular solution of Eq. (1.4-6) is u(x,y) = x + sin(yx2). The validity of this solution can be verified by substituting it back into the PDE.

= 1 x cos(yx2); = cos(yx2)

+ x = 1

1 x cos(yx2) + x cos(yx2) = 1

1