Login
📚 Differential Equations for Engineers
Chapters ▾
⇩ Download ▾

1.9 First Order Linear PDE

We only considered ODE so far, so let us solve a linear first order PDE. Consider the equation

a(x,t)ux+b(x,t)ut+c(x,t)u=g(x,t),u(x,0)=f(x),<x<,t>0,

where u(x,t) is a function of x and t. The initial condition u(x,0)=f(x) is now a function of x rather than just a number. In these problems, it is useful to think of x as position and t as time. The equation describes the evolution of a function of x as time goes on. Below, the coefficients a, b, c, and the function g are mostly going to be constant or zero. The method we describe works with nonconstant coefficients, although the computations may get difficult quickly.

This method we use is the. The idea is that we find lines along which the equation is an ODE that we solve. We will see this technique again for second order PDE when we encounter the wave equation in Section 4.8.

We use similar idea in the more general case:

aux+but+cu=g,u(x,0)=f(x).

We change coordinates to the characteristic coordinates. Let us call these coordinates (ξ,s). These are coordinates where aux+but becomes differentiation in the s variable.

Along the characteristic curves (where ξ is constant), we get a new ODE in the s variable. In the transport equation, we got the simple duds=0. In general, we get the linear equation

duds+cu=g.

(1.9.1)

We think of everything as a function of ξ and s, although we are thinking of ξ as a parameter rather than an independent variable. So the equation is an ODE. It is a linear ODE that we can solve using the integrating factor.

To find the characteristics, think of a curve given parametrically (x(s),t(s)). We try to have the curve satisfy

dxds=a,dtds=b.

Why? Because when we think of x and t as functions of s we find, using the chain rule,

duds+cu=(uxdxds+utdtds)duds+cu=aux+but+cu=g.

So we get the ODE (1.9.1), which then describes the value of the solution u of the PDE along this characteristic curve. It is also convenient to make sure that s=0 corresponds to t=0, that is t(0)=0. It will be convenient also for x(0)=ξ. See Figure 3.

The graph contains (epsilon,0) at x=0 and goes through (x(s),t(s)).
Figure 3: General characteristic curve.

When the coefficients are not constants, the characteristic curves are not going to be straight lines anymore.

We make a few closing remarks. One thing to keep in mind is that we would get into trouble if the coefficient in front of ut, that is the b, is ever zero. Let us consider a quick example of what can go wrong:

ux+u=0,u(x,0)=sin(x).

This problem has no solution. If we had a solution, it would imply that ux(x,0)=cos(x), but ux(x,0)+u(x,0)=cos(x)+sin(x)=0. The problem is that the characteristic curve is now the line t=0, and the solution is already provided on that line!

As long as b is nonzero, it is convenient to ensure that b is positive by multiplying by 1 if necessary, so that positive s means positive t.

Another remark is that if a or b in the equation are variable, the computations can quickly get out of hand, as the expressions for the characteristic coordinates become messy and then solving the ODE becomes even messier. In the examples above, b was always 1, meaning we got s=t in the characteristic coordinates. If b is not constant, your expression for s will be more complicated.

Finding the characteristic coordinates is really a system of ODE in general if a depends on t or if b depends on x. In that case, we would need techniques of systems of ODE to solve, see Chapter 3 or Chapter 8. In general, if a and b are not linear functions or constants, finding closed form expressions for the characteristic coordinates may be impossible.

Finally, the method of characteristics applies to nonlinear first order PDE as well. In the nonlinear case, the characteristics depend not only on the differential equation, but also on the initial data. This leads to not only more difficult computations, but also the formation of singularities where the solution breaks down at a certain point in time. An example application where first order nonlinear PDE come up is traffic flow theory, and you have probably experienced the formation of singularities: traffic jams. But we digress.

Adapted from Differential Equations for Engineers by Jiří Lebl (Oklahoma State University), hosted on LibreTexts (math.libretexts.org) and licensed under CC BY-SA 4.0. Changes were made. License: CC-BY-SA-4.0.