We only considered ODE so far, so let us solve a linear first order PDE. Consider the equation
where is a function of and . The initial condition is now a function of rather than just a number. In these problems, it is useful to think of as position and as time. The equation describes the evolution of a function of as time goes on. Below, the coefficients , , , and the function 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:
We change coordinates to the characteristic coordinates. Let us call these coordinates . These are coordinates where becomes differentiation in the variable.
Along the characteristic curves (where is constant), we get a new ODE in the variable. In the transport equation, we got the simple . In general, we get the linear equation
(1.9.1)
We think of everything as a function of and , 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 . We try to have the curve satisfy
Why? Because when we think of and as functions of we find, using the chain rule,
So we get the ODE (1.9.1), which then describes the value of the solution of the PDE along this characteristic curve. It is also convenient to make sure that corresponds to , that is . It will be convenient also for . See Figure .
Figure : 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 , that is the , is ever zero. Let us consider a quick example of what can go wrong:
This problem has no solution. If we had a solution, it would imply that , but . The problem is that the characteristic curve is now the line , and the solution is already provided on that line!
As long as is nonzero, it is convenient to ensure that is positive by multiplying by if necessary, so that positive means positive .
Another remark is that if or 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, was always , meaning we got in the characteristic coordinates. If is not constant, your expression for will be more complicated.
Finding the characteristic coordinates is really a system of ODE in general if depends on or if depends on . In that case, we would need techniques of systems of ODE to solve, see Chapter 3 or Chapter 8. In general, if and 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.