Professional Documents
Culture Documents
PDE - Method of Characteristics
PDE - Method of Characteristics
Method of Characteristics
Partial Dierential Equations (PDEs) in two independent variables x, y are equations involving an unknown function u(x, y) and
some of its partial derivatives. The highest order of any partial derivative appearing in the equation is the order of the PDE. Thus, e.g., the
so-called Korteweg - deVries equation
u
3u
u
+u
+
= 0
y
x
x3
is a third order PDE. Unlike the situation with ordinary dierential
equations where there are solution methods which apply to large classes
of equations, and numerical methods which apply to all ODEs, there are
no generally applicable methods to solve all PDEs of a given order, even
numerically, and classes for which we have general analytic methods of
solution are quite restricted. We have to study fairly small classes of
PDEs individually.
A word rst about the notation for partial derivatives. These can be
denoted in dierent ways. For example, the symbols in each line below
all mean the same thing.
u
x
ku
xk
ux x ... x
x x ... x u
ux
x u;
2u
2u
=
ux y x y u.
xy
yx
In our work we will nd it convenient to use the rst and/or second
form in each case without further notice.
First Order PDEs take the general form
G (x, y, u, ux , uy ) = 0.
1
u
+ g(x, y, u)
x
dx(y) u
f (x(y), y, u(x(y), y)) +
(x(y), y) g(x(y), y, u(x(y), y).
dy
x
Assuming x(y) satises the ordinary dierential equation
dx
= f (x, y, u(x, y)),
dy
2
we obtain
d
u(x(y), y) = g(x(y), y, u(x(y), y)).
dy
These two equations constitute, in general, a coupled system of two
ordinary dierential equations for x(y), u(x(y), y) as functions of y. A
unique solution pair x(y), u(
x(y), y) exists if we specify an initial value
y 0 and initial values x 0 , u 0 . Typically this is done by giving an initial
curve y = y(x) which crosses all of the base curves and then, for each
x 0 we set y 0 = y(x 0 ) and then select the value u(x 0 , y 0). Even more
typically, we take the initial curve to be y = 0. Then we choose an
initial x value x(0) = and, for points (, 0) we give initial values
u(, 0) = u 0 ().
However we obtain the curve C : x = x(y), u = u(
x(y), y) in three
dimensional x, y, u space, we have the following property:
Characteristic Property
u(x, y) of the PDE
u
u
+ f (x, y, u)
+ g(x, y, u) = 0
y
x
such that u (x 0 , y 0) = u 0 must coincide with u
(
x(y), y) along the base
curve x = x(y).
The problem, so far, is that the dierential equations for x(y), u(x(y), y)
are coupled and have to be solved together. Only rarely is it possible
to do this analytically to obtain both of these in closed form. But it
can be done in some special cases.
Example 1
u(x, 0) = x.
du
= u, u(0) = .
dy
We note that the second dierential equation does not involve x. Using
the initial condition we quickly obtain
u = ey .
Substituting this into the rst dierential equation we have
dx
= ey + y,
dy
x(0) = .
Since the right hand side does not involve the unknown x we can integrate to obtain
x(y) = +
y
0
+ d = + 1 e
y2
y2
y
= 2e
+
+ .
2
2
x y2
x y2 y
x y2
=
.
; u = u(x, y) =
e =
2 ey
2 ey
2 ey 1
The basic solution pattern is:
i) Solve the two dieerential equations for x and u (if possible) with
x(0) = , u(, 0) = u0 ();
ii) Use one the solutions from i) to solve for and u in terms of x and
y.
The success of this procedure usually rests on some special feature
of the PDE which allows i) and ii) to be carried out, hopefully giving u,
in the end, as a closed form expression involving x and y. That being
the case, from now on we will be primarily concerned with some special
cases in which the solution process is fairly simple.
4
dx
= f (x, y),
dy
which can be solved without any knowledge of the solution u. So we
can construct the whole family of base curves B in advance, before we
do anything about solutions u(x, y). To construct a solution u(x, y) it
is only necessary to specify an initial value for u on each of these base
curves B.
Example 2
u
u
+x
+ u = 0, x(0) = , u(, 0) = 2.
y
x
Here the initial data is given on y = 0. The dierential equation,
initial condition and solution for x(y) are
dx
= x, x(0) = x = ey .
dy
The dierential equation, initial condition and solution for u are now
du
= u, u(, 0) = 2, u = 2 ey .
dy
From the x solution we obtain
= x ey u = u(x, y) = x2 e3y .
Case 2: g 0.
Let us consider
u
u
+u
= 0,
y
x
u(x, 0) = u0 (x) = x2 .
x(0) = ,
we have u = u0 () = 2 so that
x = +
y
0
2 d = + y 2 y 2 + x = 0.
1 1 + 4 x y
.
=
2y
Now u = 2 so the solution could be obtained by squaring the above
formula for . But it is better to use the quadratic equation to get
, after which we have
2 = x
2y
1 1 1 + 4 x y
2xy + 1
x
1 + 4xy
.
u = u(x, y) =
y
y
2y
2 y2
2 y2
This is the correct closed form for the solution but it may be hard to
see, rst of all, which choice we should make for the and, secondly,
6
how this formula agrees with the initial condition u(x, 0) = x2 . Using
the Taylor expansion about w = 0 one can see that
1 + w = (1 + w)1/2 = 1 +
w2
w3
w
+
... .
2
8
16
1 + 4 x y = 1 + 2 x y 2 x2 y 2 + 4 x3 y 3 ... .
g = a21 x + a22 u.
dx
= a11 x + a12 u,
dy
u
u
+ (2x + u)
(x + 2 u) = 0,
y
x
u(x, 0) = x + 1.
x(y)
u(y)
= c1 e
1
1
3y
+ c2 e
1
.
1
c1
1
1
+ c2
1
1
+ 1
c1 + c2 =
,
c1 + c2 = + 1
1
1 y
1
c2 = > x =
e + e3 y .
2
2
2
1
x e3 y /2
=
,
2
ey
1 y
1
1
1
u = u(x, y) =
e + e3 y = e3 y x + e3 y = e3 y x.
2
2
2
2
Initial - Boundary Value Problems In some situations the pertinent range of the independent variable x is not the whole line <
x < . In solute transport problems, for example, with uid motion
in the positive x direction, there may be a source point x0 where
solute initially enters the system, the concentration always being zero
for x < x0 . In such circumstances the relevant region is not the whole
half plane (x, y) with y 0 but, rather, a quadrant
(x, y); y 0, x x0 .
In such cases the initial data
u(, 0) = u0 (), > x0 ,
is supplemented by a boundary condition at x = x0 :
u(x0 , ) = u
x0 (), > 0.
8
x0
Example 5
u
u
+ (x + 1)
+ u y = 0,
y
x
u(, 0) = , u(0, ) = 1.
dx
= x + 1.
dy
x = d e y 1.
Case i) Looking at base curves x(y) which pass through initial points
(, 0), we must have
x ey + 1
;
= d e 1 d = + 1 x = ( + 1)e 1 =
ey
x ey + 1 + ey
x+1
0
=
.
= ce + 0 1 = c 1 c = +1 =
ey
ey
The limiting base curve, corresponding to = 0, is x = e y 1. Below
this curve we have
x + 1 y
e + y 1 = (x + 1) e2y + y 1.
u(x, y) = c ey + y 1 =
y
e
0
Case ii) For base curves x(y) which pass through boundary points
(0, ) we have x = 0 when y = so
0 = d e 1 d = e x = e y e 1 e =
x+1
.
ey
1 = u(0, ) = c e + 1 c = 0 u(x, y) = y 1.
Here the limiting base curve, for = 0, is again x = e y e0 1 = e y 1,
agreeing with the limiting curve in Case i). Above this curve we have
u(x, y) = y 1. The dierence between the two cases, (x + 1) e2y ,
corresponds to the discontinuity in u propagating along the curve x =
e y 1.
10