Method of Characteristics: 1.1 Solution of Linear Advection Equation Using Moc
Method of Characteristics: 1.1 Solution of Linear Advection Equation Using Moc
Method of Characteristics: 1.1 Solution of Linear Advection Equation Using Moc
A. Salih
Department of Aerospace Engineering
Indian Institute of Space Science and Technology, Thiruvananthapuram
1 July 2016
1 Introduction
Let us recall a simple fact from the theory of ordinary differential equations: the equation
du
= f (t, u)
dt
can be uniquely solved for a given initial condition u(0) = u0 , provided that f is a continuous
function of t and u. The solution may exists for all time or may blow up at some finite time.
If we now allow the equation and the initial condition to depend on a parameter x, then the
solution u also depend on x and may be written as u(x,t). In fact, u become a solution of
∂u
= f (x,t, u) with u(x, 0) = F(x)
∂t
This may be thought of as an initial value problem for a PDE in which the derivative ∂ u/∂ x
does not appear. Assuming f and F are continuous functions of x, the solution u(x,t) will also
be continuous in x as well as t. Geometrically, the graph u = u(x,t) represents a surface in R3
that contains the curve (initial data) F(x). This surface may be defined for all t > 0, or may
blow up at some finite time.
This elementary ideas from ODE theory is the basis of the Method of Characteristics (MoC)
which applies to general quasilinear PDEs.
∂u ∂u
+a =0 (1a)
∂t ∂x
u(x, 0) = F(x) (1b)
where u(x,t) is the unknown function of (x,t) and a the uniform advection speed. F(x) is called
the initial data (waveform specified along the initial curve, t = 0) and the equation (1b) is called
the initial condition of the problem. Let us try to reduce this problem to a ODE along some
1
t
x = x(t)
b
x
0 x=ξ
Figure 1: A typical characteristic curve.
curve x(t) in (x,t) plane whose slope is given by dt/dx. That is, we determine the curve x(t)
such that
du(x(t),t) ∂u ∂u
= +a =0 (2)
dt ∂t ∂x
From the chain rule of differentiation, we have
du(x(t),t) ∂ u dx ∂ u dt ∂ u ∂ u dx
= + = + (3)
dt ∂ x dt ∂ t dt ∂t ∂ x dt
A comparison of equations (2) and (3) shows that ODE on the left-hand side of (2) is equivalent
to PDE in the same equation if the reciprocal of slope of the curve x(t)
dx
=a
dt
It follows from this result that the PDE (1a) can be regarded as the ordinary differential equation
du
=0 (4a)
dt
along any member of the family of curves x(t) which are the solution curves of the equation
given by
dx
=a (4b)
dt
A characteristic curve of PDE (1a) is a curve in the (x,t)-plane given by x = x(t), where x(t)
is a solution of the differential equation (4b). From (4a) it is clear that the value of u remains
a constant along such curves. Thus, the solution of (1a) has been reduced to the solution
of a pair of simultaneous ordinary differential equations (4a) and (4b). We now integrate the
equation (4b) to obtain the characteristic curves:
x(t) = at + ξ
where ξ is the x-intercept of the curve (see figure 1). It shows that the characteristic curves
are straight lines with slope, dt/dx = 1/a. Further, since u is a constant along a given charac-
teristic curve its value can be readily determined from the initial data. That is, along a given
characteristic curve we must have
u(x, t) = u(ξ , 0) = F(ξ )
2
Since ξ = x − at, the solution of the PDE (1a) is simply given by
u(x, t) = F(x − at) (5)
Indeed, if F has a C1 continuity, it can be easily verified that u(x, t) = F(x − at) satisfies the
PDE and the initial condition. The reduction of a PDE to an ODE along its characteristics is
called the method of characteristics.
The solution of PDE (1a) corresponds to transporting the initial profile F(x) unaltered
(preserving the shape of initial waveform) along the characteristics with a speed dx/dt = a (see
figure 1). To prove this, consider the transport of u over a period of time ∆t. Let ∆x be the
displacement in the x-direction during the time ∆t. From solution (5) we obtain
u(x, t + ∆t) = F[x − a(t + ∆t)] = F(x − at − a∆t) = F[(x − ∆x) − at] = u(x − ∆x, t)
or, after a time period of t1 from the initial time,
u(x, t1 ) = F(x − at1 ) = u(x − at1, 0)
Thus, the solution after a time t1 is a copy of the initial profile F(x), but displaced to the right
to a distance at1 for a > 0 as shown in figure 2.
t
t2
t1
u(x, 0) = F(x)
x
t=0 (ξ , 0)
3
hyperbolic-type PDEs. The method involves the determination of special curves, called char-
acteristics curves, along which the PDE becomes a family of ordinary differential equations
(ODE). Once the ODEs are found, they can be solved along the characteristics curves to obtain
the solutions of ODE and subsequently the solutions of ODE can be related to the solution of
original PDE.
MoC can be applied to linear, semilinear, or quasilinear PDEs. For the purpose of illustration
of MoC, let us consider a general quasilinear first-order PDE
∂u ∂u
a(x, y, u) + b(x, y, u) = c(x, y, u) in D (6)
∂x ∂y
for the variable u. We assume that the coefficients a, b, and c are at least C1 continuous of
variables x, y, u. Further, we assume that the possible solution of (6) in the form u = u(x, y),
then the graph u = u(x, y) represents the solution surface S embedded in R3 (just as y = y(x)
represents a curve Γ embedded in R2 , i.e., (x, y) plane). Here u(x, y) is a function of x and y, for
example, we may have u(x, y) = x2 −y2 . The solution surface S can also be represented implicitly
by the equation of the form f (x, y, u) = 0. In the present case we have f (x, y, u) = u(x, y) − u.
Now, recall from vector calculus that the normal vector to the surface f (x, y, u) = 0 is given by
∇ f . Therefore, the equation of the normal vector to the surface S is given by
∂f ∂f ˆ ∂f ∂ u(x, y) ∂ u(x, y) ˆ ∂ u ∂u ∂u
∇f = î + j+ k̂ = î + j− k̂ ≡ , , −1 = (ux , uy , −1)
∂x ∂y ∂u ∂x ∂y ∂u ∂x ∂y
Thus the vector (ux , uy , −1) represents the normal vector at any point on the solution surface
u = u(x, y). Further, we introduce the vector field A = aî + b jˆ + ck̂, where a, b, and c are
the given coefficients of the quasilinear equation (6). Therefore, the PDE given by equation (6)
can be written as A · ∇ f = 0, or
∂u ∂u
aî + b ĵ + ck̂ · î + ĵ − k̂ = 0, or (7a)
∂x ∂y
(a, b, c) · (ux , uy , −1) = 0 (7b)
Equation (7) shows that the vectors (a, b, c) and (ux , uy , −1) are orthogonal, and because
(ux , uy , −1) is normal to the surface u = u(x, y), the vector A = (a, b, c) must be a tangent
vector of the solution surface S at every point (x, y, u). Therefore, A defines a vector field
in (x, y, u) space, that are tangents to the graphs of solutions of (6) at each point (x, y, u).
Surfaces that are tangent to a vector field at each point in R3 are called integral surfaces of the
vector field. To summarize, we have shown that f (x, y, u) = u(x, y) − u = 0, as a surface in the
(x, y, u) space, is a solution of (6) if and only if the direction vector field A = (a, b, c) lies in the
tangent plane of the integral surface f (x, y, u) = 0 at each point (x, y, u). The vector (a, b, c)
determines a direction, which is tangent to the integral surface at every point (x, y, u), called
the characteristic direction or Monge axis.
Since the vector A is tangent to the solution surface at every point (x, y, u), we have the
condition
ˆ k̂
î j
A × ds = a b c = 0
dx dy du
4
where ds (= dxî + dy jˆ+ duk̂) is an elemental length along A on the solution surface. Expanding
the determinant we obtain the following equation:
This last equation (9b) defines a family of curves (but dependent on u) in (x, y, u) space that
sit in the solution surface. These curves are usually called characteristics (after Cauchy); and
the set of equations (9) is usually called the characteristic equations of the quasilinear PDE (6).
The projection of a characteristic curve on the (x, y) plane (u = 0) is called a characteristic base
curve, or projected characteristic curve, or simply characteristic.
It may be noted that there are only two independent ordinary differential equations in the
system (9) and thus, solving these equations gives a two-parameter family of characteristic
curves in (x, y, u) space that can be expressed in the form
F(x, y, u, A, B) = 0, G(x, y, u, A, B) = 0
Through each point (x, y, u) in space there is a unique characteristic curve and a tangent vector
(a, b, c) to every such point (Figure 1.3). Any smooth surface composed of characteristic curves
is a solution of PDE (6). Such surfaces can be found analytically by specifying B as a function
of A, B = f (A). This leads a one-parameter family of characteristic curves, a surface,
The equation of the surface is found implicitly or explicitly by eliminating A between these
equations. Here is an example to illustrate these ideas.
Example 1
Find the general solution of the quasilinear PDE
∂u ∂u
a + =0
∂x ∂t
5
Solution The given PDE is of the form
∂u ∂u
a +b =c
∂x ∂t
where
b = 1, c=0
Using equation (9b), we have the reciprocal of the slope of characteristic curves
dx a
= =a
dt b
Separating the variables and integrating to obtain
x = at + A
x − at = A, u=B
u(x, y) = f (x − at)
where f (·) is an arbitrary function. By direct substitution, it is east to see that we do indeed
have a solution of the equation for arbitrary f .
Example 2
Find the general solution of the quasilinear PDE
∂u ∂u
x +y =u
∂x ∂y
∂u ∂u
a +b =c
∂x ∂y
6
where
a = x, b = y, c=u
From the Lagrange–Charpit equations (8), we have
dx dy du
= =
x y u
Using the first of Lagrange–Charpit equation, we have the reciprocal of the slope of characteristic
curves
dx x
=
dy y
Separating the variables and integrating to obtain
ln x = ln y + ln A =⇒ x = Ay
ln u = ln y + ln B =⇒ u = By
where f (·) is an arbitrary function. By direct substitution, it is east to see that we do indeed
have a solution of the equation for arbitrary f .
It may be noted that had we selected the equations of the form
dy y du u
= , =
dx x dx x
we would have obtained the general solution as
y
u(x, y) = xg
x
where g(·) is an arbitrary function. This is essentially the same as the previous form of the
solution.
7
Example 3
Find the general solution of the quasilinear PDE
∂u ∂u
x2 + y2 = (x + y)u
∂x ∂y
∂u ∂u
a +b =c
∂x ∂y
where
a = x2 , b = y2 , c = (x + y)u
From the Lagrange–Charpit equations (8), we have
dx dy du
2
= 2 =
x y (x + y)u
Using the first of Lagrange–Charpit equation, we have the reciprocal of the slope of characteristic
curves
dx x2
= 2
dy y
Separating the variables and integrating to obtain
x−1 = y−1 + A′
du
where A′ is an arbitrary constant. In addition, when we subtract the equation dy = y2
(x + y)u
du
from dx = x2 to obtain
(x + y)u
du dx − dy du
dx − dy = (x2 − y2 ) =⇒ = =⇒ u = B(x − y)
(x + y)u x−y u
8
Example 4
Find the general solution of the Cauchy problem governed by the quasilinear PDE
∂u ∂u
2y +u = 2yu2
∂x ∂y
∂u ∂u
a +b =c
∂x ∂y
where
a = 2y, b = u, c = 2yu2
From the Lagrange–Charpit equations (8), we have
dx dy du
= =
2y u 2yu2
Using the first of Lagrange–Charpit equation, we have the reciprocal of the slope of characteristic
curves
dx 2y
=
dy u
Further, we have
du 2yu2
= = 2yu (for u 6= 0)
dy u
Separating the variables and integrating to obtain
du
Z Z
=2 ydy + ln B =⇒ ln u = y2 + ln B
u
where B is an arbitrary constant. The above equation can be rewritten as
2
u = Bey
dx 2y
= 2
dy Bey
which on integration
Z Z
2 2
B dx = 2ye−y dy + A =⇒ Bx = −e−y + A
9
is a two-parameter family of characteristic curves. Specifying B as a function of A defines a
one-parameter family of characteristic curves, a solution surface. Thus, the general solution is
expressed by writing B = f (A), where
2 2 2 2
A = Bx + e−y = ue−y x + e−y = (xu + 1)e−y
which gives h i
2 2
u(x, y) = ey f (1 + xu)e−y
be the parametric equations of C in terms of the variable s. With the introduction of the
parameter s, we may write the Lagrange–Charpit equations (8) as
dx dy du
= = = ds
a b c
Then the set of equations may be written as a system of ODE for x(s), y(s), and u(s):
dx
=a (10a)
ds
dy
=b (10b)
ds
du
=c (10c)
ds
where s actually gives a measure of the distance (arc length) along the curve. The system of
ODE (10) is called the characteristic equations of the PDE (6) in parametric form. The family
of curves x = x(s), y = y(s), u = u(s) determined by solving the system of ODEs (10), are called
the characteristic curves of the original PDE (6).
The existence and uniqueness theory of ODEs, assuming that certain smoothness conditions
on the coefficients a, b, and c, guarantees that exactly one solution curve (x(s), y(s), u(s)) of
10
(10) (i.e., a characteristic curve) passes through a given point (x0 , y0 , u0 ) in (x, y, u) space.
Often, we are not interested in the determination of a general solution of the PDE (6) but
rather a specific solution u = u(x, y) along a given curve Γ that passes through a given point
(x, y), typically (x0 , y0 ) when s = 0.
The parametrized form of characteristics curves of (11) are obtained by solving the following
system of ODEs
dxi
= ai (x1 , x2 , . . ., xn , u) (12a)
ds
du
= c(x1 , x2 , . . . , xn , u) (12b)
ds
where s is the parametric variable. Equations (12a) and (12b) are the characteristic equations
of the PDE (11).
11
These equations can be solved to get the equation of characteristic curves as explained below.
Solving equation (14a) produces
t = s + c1
where c1 is the integration constant. Using the initial condition t(s = 0) = 0, we find that
c1 = 0. Therefore, we have
s=t
The solution of (14b) is given by
x = as + c2
where c2 is a constant. Using initial condition x(s = 0) = ξ , we get c2 = ξ . Therefore, the
characteristic curve along which the PDE simplifies to an ODE is given by
x = at + ξ (15)
where we have used the result that s = t. Equation (15) represents a straight line in (x,t) plane
with a slope
dt 1
=
dx a
Since the characteristics are straight lines with constant slope, they do not intersect in (x,t)
plane.
Now the solution of (14c) is given by
u = c3
where c3 is a constant. Using initial condition u(0) = F(ξ ), we get c3 = F(ξ ). Thus we see that
u is a constant along the characteristic line. The value of the constant is F(ξ ). The constancy
of u along the characteristics combined with (15) shows that the characteristics propagate with
constant speed a. Since u is constant along the characteristics, we have
It means that the value of F(ξ ) on the initial data line (t = 0 line) uniquely determine the value
of u at every point of every characteristic curve that issues from t = 0 line. So, one can obtain
the value of u(x,t) at any point P(x,t) by tracing it back to the x-axis along the characteristics
(see figure 3):
u(x, t) = u(x − at, t − t) = u(ξ , 0) = F(ξ )
Since ξ = x − at, the solution of the PDE (6) along the characteristic curve (straight line in
this case) is given by
u(x, t) = F(x − at) (17)
As mentioned earlier, the initial profile F(x) translates unaltered with speed a along the char-
acteristics. Let us now consider the solution of equation (13) for various initial conditions.
12
t
P(x,t)
b
t
b
x
(ξ , 0)
at
x
Figure 3: Characteristics solution of linear advection equation (13a).
Example 1
Find the solution of the Cauchy problem governed by the linear PDE
∂u ∂u
a + =0
∂x ∂t
that takes on the values
−x
if x ≤ 0
F(x) = u(x, 0) = 3
2x + 3 if x > 0
x = at + A
13
which leads to
u=B
where B is an arbitrary constant. Note that for selecting the second equation above, we have
two choices; they are du/dt and du/dx. We select du/dt if the Cauchy data is specified on
t = 0 line as a function of x. On the other hand, du/dx is selected if the Cauchy data is specified
on x = 0 line as a function of t.
Thus,
x − at = A, u=B
is a two-parameter family of characteristic curves. For solution curves to pass through the initial
data, F(x) = u(x, 0) = −x/3 for x ≤ 0, we set
ξ ξ
ξ = A, − =B =⇒ A = ξ, B=−
3 3
where ξ is a constant (x-intercept, in this case) that identifies a characteristic curve. Thus, the
characteristic and solution curves through this part of the initial curve are
ξ
x = at + ξ , u=−
3
Eliminating ξ from the second equation using the first yields
1 1
u(x,t) = − (x − at) = (at − x)
3 3
We could also obtain the general solution first and then use the Cauchy data to obtain the
particular solution. The general solution is expressed by writing B = f (A) as follows
u(x,t) = f (x − at)
where f (·) is an arbitrary function. For solution curves to pass through the initial data, u(x, 0) =
−x/3 for x ≤ 0, we set
x x − at
− = f (x) =⇒ f (x − at) = −
3 3
Therefore the solution of the PDE for x ≤ 0 is
1
u(x,t) = f (x − at) = (at − x)
3
For solution curves to pass through the initial data, F(x) = u(x, 0) = 2x + 3 for x > 0, we
set
ξ = A, 2ξ + 3 = B =⇒ A = ξ, B = 2ξ + 3
Thus, the characteristic and solution curves through this part of the initial curve are
x = at + ξ , u = 2ξ + 3
14
Eliminating ξ from the second equation using the first yields
Again, we could obtain the general solution first and then use the Cauchy data to obtain
the particular solution. The general solution is expressed by writing B = f (A) as follows
u(x,t) = f (x − at)
where f (·) is an arbitrary function. For solution curves to pass through the initial data, u(x, 0) =
2x + 3 for x > 0, we set
The solution surface is composed of two planes, and to determine regions in the (x,t) plane onto
which these planes project, we draw base characteristic curves. They are the lines x = at + ξ
shown in Figure 1.10a. Below the characteristic curve x = at are characteristic curves along
which u = −ξ /3; along characteristic curves above x = at, u = 2ξ + 1. The solution surface
in Figure 1.10b, consists of two planes above the regions corresponding to these two sets of
characteristic curves. It is discontinuous along the base characteristic curve x = at through the
point (0, 0) where the initial data is discontinuous.
Example 2
Find the solution surface for the linear PDE
∂u ∂u
+2 =0
∂x ∂y
subject to the Cauchy condition that u = sin x on y = 3x + 1.
Solution The Cauchy condition in this case is prescribed on an oblique straight line C. The
characteristic equations of the PDE in nonparametric form is given by
dx 1
=
dy 2
du
=0
dy
These equations are now solved to get the equation of characteristic curves. Integrating gives
y
x= + A, u=B
2
15
where A and B are arbitrary constants that identifies the characteristics. In fact, A is the x-
intercept (denoted by ξ ) of the characteristics. The y-intercept of the characteristic line η is
then equal to 2ξ . Therefore,
y
x = + ξ, u=B
2
For solution curves to pass through the initial data u = sin x on y = 3x + 1, we set
3x + 1
x= + ξ, sin x = B
2
which leads to
x = −2ξ − 1, B = sin(−2ξ − 1)
on y = 3x + 1 line. Thus the characteristic and solution curves through the initial curve are
y
x= + ξ, u = sin(−2ξ − 1)
2
Eliminating ξ from the second equation using the first yields
u(x, y) = sin(y − 2x − 1)
Differentiation confirms that u(x, y) satisfies the PDE, and it also satisfies the Cauchy condition
on the line y = 3x + 1, so it is the required solution.
We could have also obtained the general solution first and then use the Cauchy data to
obtain the particular solution. The general solution is expressed by writing B = f (A) as follows
y
u(x, y) = f x −
2
where f (·) is an arbitrary function. For solution curves to pass through the initial data u = sin x
on y = 3x + 1, we set
−x − 1
sin x = f =⇒ sin(x − 1) = f (−x/2) =⇒ f (x) = sin(−2x − 1)
2
16
The value of u at a point ξ on the initial profile is given by u(ξ , 0) = F(ξ ). The curve starts
at the initial point (x = ξ ), when t = 0.
The characteristic equations of (18a) in nonparametric form is given by
dx
= a with x(0) = ξ (19a)
dt
du
= c with u(0) = F(ξ ) (19b)
dt
These equations are now solved to get the equation of characteristic curves. The solution of
(19a) using initial condition x(t = 0) = ξ is given by
x = at + ξ (20)
Equation (20) represents a straight line in (x,t) plane. Hence, characteristics from a family
of non-intersecting straight lines with same slopes. Finally, the solution of (19b) using initial
condition u(t = 0) = F(ξ ) is given by
u = ct + F(ξ )
Since ξ = x − at, the solution of the PDE (18a) along the characteristic lines is given by
Note that the value of u does not remain constant along the characteristics. In fact, it increases
linearly with time from the initial value of F(ξ ).
Example 3
Find the solution surface for the linear PDE
∂u ∂u
3 +4 = 10
∂x ∂y
that contains the lines y = 2x, u = 2x/5. Show that the projection of the initial curve in the
(x, y) plane is nowhere tangent to a base characteristic curve.
Solution The Lagrange–Charpit equations (8) for the PDE are
dx dy du
= =
3 4 10
From this, we have
dx 3 du 10
= , =
dy 4 dy 4
Integration of these gives characteristic curves
3 5
x= y + A, u= y+B
4 2
17
where A and B are arbitrary constants. From the first of the above equation, we have
3
x− y = A
4
Specifying B as a function of A gives a solution surface,
5 3
u = y + f x− y
2 4
where f (·) is an arbitrary function. For solution curves to pass through the initial data, y = 2x,
u = 2x/5, we set
2 3 23 x 46
x = 5x + f x − 2x =⇒ − x= f − =⇒ f (x) = x
5 4 5 2 5
The solution surface is a plane defined for all x and y. Base characteristic curves are straight
lines y = 4x/3 + A with slope 4/3. Since the projection of the initial curve in the (x, y) plane is
the line y = 2x with slope 2, it is nowhere tangent to a base characteristic curve.
Example 4
Find the solution of the Cauchy problem governed by the linear PDE
∂u ∂u
+ 2x = 2xu
∂x ∂y
subject to the conditions (a) u(x, 0) = x2 for all x and (b) u(0, y) = y2 for all y.
Solution The given PDE is of the form
∂u ∂u
a +b =c
∂x ∂y
where
a = 1, b = 2x, c = 2xu
From the Lagrange–Charpit equations (8), we have
dx dy du
= =
1 2x 2xu
(a) Using the Lagrange–Charpit equation, we have the reciprocal of the slope of characteristic
curves
dx 1
=
dy 2x
18
Separating the variables and integrating to obtain
x2 = y + A
x2 − y = A, ue−y = B
is a two-parameter family of characteristic curves. For solution curves to pass through the initial
data, F(x) = u(x, 0) = x2 , we set
ξ 2 = A, ξ2 = B =⇒ A = ξ 2, B = ξ2
where ξ is a constant (x-intercept, in this case) that identifies a characteristic curve. Thus, the
characteristic and solution curves through this part of the initial curve are
x2 = y + ξ 2 , u = ξ 2 ey
We could have also obtained the general solution first and then use the Cauchy data to
obtain the particular solution. The general solution is expressed by writing B = f (A) as follows
u(x, y) = ey f (x2 − y)
where f (·) is an arbitrary function. For solution curves to pass through the initial data, u(x, 0) =
x2 , we set
x2 = f (x2 ) =⇒ f (x2 ) = x2
Therefore the solution of the PDE is
(b) Using the Lagrange–Charpit equation, we have the reciprocal of the slope of characteristic
curves
dy
= 2x
dx
Separating the variables and integrating to obtain
y = x2 + A
19
where A is an arbitrary constant. Further, we have
du
= 2xu
dx
which leads to
2
u = Bex
where B is an arbitrary constant. Thus,
2
y − x2 = A, ue−x = B
is a two-parameter family of characteristic curves. For solution curves to pass through the initial
data, F(y) = u(0, y) = y2 , we set
η = A, η2 = B =⇒ A = η, B = η2
where η is a constant (y-intercept, in this case) that identifies a characteristic curve. Thus,
the characteristic and solution curves through this part of the initial curve are
2
y = x2 + η , u = η 2 ex
Example 5
Find the solution of the Cauchy problem governed by the semilinear PDE
∂u ∂u
x +y = xe−u
∂x ∂y
∂u ∂u
a +b =c
∂x ∂y
where
a = x, b = y, c = xe−u
From the Lagrange–Charpit equations (8), we have
dx dy du
= = −u
x y xe
20
Using the Lagrange–Charpit equation, we have the reciprocal of the slope of characteristic
curves
dy y
=
dx x
Separating the variables and integrating to obtain
y = Ax
Example 6
Find the solution surface for the semilinear PDE
∂u ∂u
y +x =u
∂x ∂y
in the first quadrant that takes on values x3 along the positive x-axis and values y3 along the
positive y-axis.
Solution The Cauchy conditions are given by u(x, 0) = x3 and u(0, y) = y3 . Characteristic
equations (9) for the PDE are
dx dy du
= =
y x u
21
The first two of these give
dy x
= =⇒ y2 = x2 + A
dx y
du du
In addition, when we add the equations dx = y and dy = x to obtain
u u
du dx + dy du
dx + dy = (x + y) =⇒ = =⇒ u = B(x + y)
u x+y u
Characteristic curves in the first quadrant are the hyperbolas y2 − x2 = A in Figure 1.11. The
characteristic curve y = x(A = 0) separates the first quadrant into two regions R1 and R2
corresponding to base characteristic curves that have A < 0 and A > 0, respectively. Solution
surfaces to the PDE are obtained by specifying B as a function of A, i.e., B = f (A),
y2 − x2 = A, u = f (A)(x + y)
To find B = f (A) so that the solution surface contains the initial curve in region R1 , we use the
initial condition u(x, 0) = x3 ,
y2 − x2 = A, u = −A(x + y)
To find B = f (A) so that the solution surface contains the initial curve in region R2 , we use
the initial condition u(0, y) = y3 ,
y2 = A, y3 = f (A)y =⇒ f (A) = A
y2 − x2 = A, u = A(x + y)
The solution is continuous for all x and y, even across the characteristic curve y = x that
separates regions R1 and R2 . However, derivatives ∂ u/∂ x and ∂ u/∂ y are discontinuous across
the characteristic curve y = x through (0, 0) as shown below. In region R1 ,
∂u
= (x2 − y2 ) + 2x(x + y) = (x + y)(3x − y)
∂x
22
∂u
= (x2 − y2 ) − 2y(x + y) = (x + y)(x − 3y)
∂y
whereas in region R2 ,
∂u
= (y2 − x2 ) − 2x(x + y) = (x + y)(y − 3x)
∂x
∂u
= (y2 − x2 ) + 2y(x + y) = (x + y)(3y − x)
∂y
If points (x, y) on y = x are approached from region R1 ,
∂u ∂u
= 2x(2x) = 4x2 , = 2x(−2x) = −4x2
∂x ∂y
If points (x, y) on y = x are approached from region R2 ,
∂u ∂u
= 2x(−2x) = −4x2 , = 2x(2x) = 4x2
∂x ∂y
Thus, although u(x, y) itself is continuous, its derivatives ∂ u/∂ x and ∂ u/∂ y are discontinuous
across the characteristic curve y = x through (0, 0).
Example 7
Solve the quasilinear PDE
∂u ∂u
u + =u
∂x ∂t
subject to the Cauchy condition u(x, 0) = 2x for 1 ≤ x ≤ 2.
Solution The given PDE is of the form
∂u ∂u
a +b =c
∂x ∂t
where
a = u, b = 1, c=u
From the Lagrange–Charpit equations (8), we have
dx dt du
= =
u 1 u
The last two of these give
du
=u
dt
which leads to
u = Bet
where B is an arbitrary constant. Using the initial condition u(x, 0) = 2x for 1 ≤ x ≤ 2, we get
2ξ = B
23
Therefore, the solution may be written as
u = 2ξ et
We also have
dx
=u
dt
Using the result u = 2ξ et in the above equation becomes
dx
= 2ξ et
dt
which leads to
x = 2ξ et + B
where B is an arbitrary constant. Using the initial condition u(x, 0) = 2x for 1 ≤ x ≤ 2 again to
obtain
ξ =B
Therefore, the equation of the characteristic curve is given by
x = ξ 2et + 1
Eliminate ξ from the equation for u using the above equation to obtain
2xet
u(x,t) = for 1≤x≤2
(2et + 1)
It is a simple matter to verify that this is the required solution.
Example 8
Find the solution of the Cauchy problem governed by the quasilinear PDE
∂u ∂u
(u + y) +y = x−y
∂x ∂y
24
The first two of these give
dx u+y u
= = +1
dy y y
y u+y
In addition, when we subtract the equation dy = du from dx = du to obtain
x−y x−y
u
dx − dy = du =⇒ (x − y)d(x − y) = udu =⇒ u2 = (x − y)2 + B
x−y
(η 2 + 1)2 = 1 + B =⇒ η =C
√
where C2 = B + 1 − 1 is an arbitrary constant. Therefore, we have
u2 = (x − y)2 + (η 2 + 1)2 − 1
References
1. Bleecker, D. D. and G. Csordas, Basic Partial Differential Equations, Van Nostrand Rein-
hold (1992).
3. Kevorkian, J., Partial Differential Equations: Analytical Solutions Techniques, 2nd ed.,
Springer (1999).
4. Myint-U, T. and L. Debnath, Linear Partial Differential Equations for Scientists and
Engineers, 4th ed., Birkhauser (2006).
7. Prasad, P. and R. Ravindran, Linear Partial Differential Equations, Wiley Eastern (1985).
25