Method of characteristics for first-order PDEs

Database › Mathematics › Applied mathematics › Differential equations

DE-0017MethodUndergraduate

A first-order PDE a u_x + b u_y = c is constant (or evolves by an ODE) along characteristic curves dx/a = dy/b; for u_t + c u_x = 0 data are simply transported, and nonlinear speeds steepen into shocks.

$$a\,u_x+b\,u_y=c:\ \frac{dx}{a}=\frac{dy}{b}=\frac{du}{c};\qquad u_t+cu_x=0\Rightarrow u=f(x-ct);\qquad u_t+uu_x=0\Rightarrow u=f(x-ut)$$

Explanation

The PDE says the directional derivative of $u$ along $(a,b)$ is $c$, so it reduces to ODEs along curves. The general solution is an arbitrary function of the characteristic invariant, fixed by data on a curve crossing the characteristics.

In the inviscid Burgers equation characteristics are straight lines with slope set by $u$ itself; where they cross a shock forms, first at $t=-1/\min f'$. Traffic flow and gas dynamics behave similarly.

Example 1

Solve $u_t+xu_x=0$ with $u(x,0)=\sin x$.

Solution

$dx/dt=x$: $x=x_0e^t$ and $u$ is constant along it, so $u=\sin(xe^{-t})$ — the profile is stretched.

Example 2

When does a shock first form for $u_t+uu_x=0$ with $u(x,0)=-\tanh x$?

Solution

$f'=-{\rm sech}^2x$ has minimum $-1$ at $x=0$, so $t_s=1$ at the origin.

Related entries