Method of Characteristics

A first-order partial differential equation looks like a statement about a function of several variables, but it secretly encodes a flow. At every point it singles out one preferred direction and fixes only how the unknown uu changes along that direction — it says nothing, directly, about the transverse directions. The method of characteristics takes this seriously: follow the preferred direction and the PDE collapses into an ordinary differential equation along the resulting curve, a characteristic. Solve the ODE, thread the curves through the initial data, and the multivariable solution surface reassembles itself out of one-dimensional pieces. An analytic problem in several variables becomes a flow problem plus quadratures. The cleanest arena is the quasilinear equation a ux+b uy=ca\,u_x + b\,u_y = c, whose left-hand side is nothing but the directional derivative of uu along (a,b)(a,b). The graph z=u(x,y)z=u(x,y) is then woven from space curves whose tangent is (a,b,c)(a,b,c), and Cauchy data prescribed on a curve Γ\Gamma are simply transported along them — uniquely, provided Γ\Gamma never runs tangent to a characteristic. That transversality condition is the exact geometric line between well-posed and ill-posed Cauchy problems. The method earns its keep precisely where separation of variables and transforms fail: genuinely nonlinear transport. When the characteristic speed depends on uu, tall data overtake short data, characteristics cross, and the smooth solution goes multivalued in finite time. This is not a failure of the technique but the physics of shock formation — the same calculation predicts the sonic boom, the back of a traffic jam, and the breaking of a wave. Beyond the crossing time the classical solution is replaced by a weak solution carrying a discontinuity, its speed fixed by conservation and its direction fixed by an entropy condition. The same characteristic geometry classifies second-order equations and, for the wave equation, becomes the light cone.

Key takeaways
  • The method turns a first-order PDE into a family of ODEs along special curves — characteristics — and the solution is literally carried along them like data on a conveyor belt.
  • For a quasilinear equation a ux+b uy=ca\,u_x+b\,u_y=c the characteristics are the integral curves of the field (a,b)(a,b), and along each the PDE reads du/ds=c\mathrm{d}u/\mathrm{d}s=c.
  • Cauchy data on a non-characteristic curve fix a unique local solution; data along a characteristic are over- or under-determined, the geometric root of ill-posedness.
  • In genuinely nonlinear equations such as inviscid Burgers, characteristics carry constant data but converge and cross, producing a shock at finite time tshock=−1/min⁡f′t_{\text{shock}}=-1/\min f'.
  • Once characteristics cross, the discontinuity moves at the Rankine–Hugoniot speed s=[f]/[u]s=[f]/[u], selected among candidates by an entropy condition.
  • The identical geometry gives d'Alembert's u=F(x−ct)+G(x+ct)u=F(x-ct)+G(x+ct), classifies second-order PDEs, and — lifted to the gradient — becomes geometrical optics and Hamilton–Jacobi mechanics.
  • Key idea: a first-order PDE constrains the unknown in exactly one direction at each point; move along it and the PDE becomes an ODE, so the solution is transported along characteristic curves. Crossing characteristics means a shock; tangency to the data curve means ill-posedness.
The core insight

A first-order PDE singles out, at every point, one direction in which the unknown is constrained. Move along that direction and the PDE becomes an ODE — the solution is literally transported along characteristic curves. Crossing characteristics means a shock; tangency to the data curve means ill-posedness.

Where this lives today

The method is the backbone of every code that resolves shocks. Modern computational fluid dynamics does not integrate the Euler equations blindly; it solves a Riemann problem — Riemann's two-constant-state jump — at each cell interface thousands of times per time step, and Godunov-type finite-volume schemes, ENO and WENO reconstructions, and approximate Riemann solvers (Roe, HLLC) are all industrial descendants of the characteristic analysis in this article. The same mathematics designs supersonic inlets and predicts sonic-boom footprints for quiet-supersonic aircraft, where compression characteristics coalescing into a shock is exactly the calculation an aerodynamicist runs. In traffic engineering the Lighthill–Whitham–Richards model, ρt+q′(ρ)ρx=0\rho_t+q'(\rho)\rho_x=0, is solved by characteristics to place ramp meters and predict the upstream march of a jam's tail at the Rankine–Hugoniot speed. In seismology and non-destructive testing, ray tracing through a varying medium is the characteristic (eikonal) solution of the high-frequency wave equation, and fast-marching and fast-sweeping algorithms compute first-arrival times by advancing along characteristics. Even general relativity uses the idea: the characteristic (null) surfaces of Einstein's equations are light cones, and characteristic and null-cone formulations extract gravitational waveforms at future null infinity. Wherever information propagates at finite speed — and especially wherever it piles up into a discontinuity — the characteristic curve is the natural coordinate.

The physical picture

Picture the solution as a landscape z=u(x,y)z=u(x,y) and the PDE as a steady wind (a,b,c)(a,b,c) blowing through three-dimensional space. The integral curves of that wind are the characteristics, and the solution surface is simply ruled out of them, like a fabric woven from threads all pinned to one initial seam — the Cauchy-data curve Γ\Gamma. Because each thread obeys an ordinary differential equation, building the surface costs only integration, not the full apparatus of PDE theory. The one place the weave can fail is where two threads would have to pass through the same base point carrying different heights: there the smooth surface tears and a shock is born. The first figure fixes this geometry — data transported along characteristics, unique wherever Γ\Gamma cuts the flow transversally.

Figure
Cauchy data on a curve Γ are carried along characteristics; along each the PDE collapses to the ODE du/ds = c, and a unique solution surface exists wherever Γ crosses the characteristics transversally, so that J = det(a, b; ẋ₀, ẏ₀) ≠ 0
Characteristics thread the data curve Γ into a solution surface characteristics: du/ds = c along each Γ: u = g given (a, b) (ẋ₀, ẏ₀) transversal crossing → J ≠ 0 → unique solution If Γ runs along a characteristic, J = 0 and the Cauchy problem is ill-posed

Now let the characteristic speed depend on uu itself. Each point of the initial profile moves with its own velocity, so a compressive region — where taller, faster data sit behind shorter, slower data — folds the profile forward until it goes vertical. The instant of vertical tangent is the moment neighbouring characteristics first intersect, and past it the naive formula returns three values of uu at one point. The physics forbids that for a conserved quantity, and the resolution is a shock: a moving discontinuity that swallows the overturned region. The second figure computes this for a concrete ramp, where every characteristic of the compressive fan focuses on a single point and the breaking time comes out to an exact number.

Figure
Inviscid Burgers u_t + u u_x = 0 with a compressive ramp: characteristics x = x₀ + f(x₀) t carry constant u, and the fan from the ramp focuses at t = 1, x = 1, where the shock is born and then advances at speed s = ½(u_L + u_R) = 0.5
Crossing characteristics build a shock — breaking time t = 1, at x = 1 x t t = 1 t = 2 1 2 0 u = 1 (fast) u = 0 (slow) compression fan shock born: t = 1, x = 1 shock, s = ½(u_L + u_R) = 0.5

For second-order equations the same word — characteristic — names the curves along which the highest derivatives are not fixed by the data. Two real families mean signals propagate (hyperbolic, the wave equation and its light cones); one repeated family means diffusion (parabolic, heat); no real family means no propagation and instantaneous global influence (elliptic, Laplace). The transport picture of this article applies exactly to the first case and degenerates gracefully into the classification of the second.

The core equations

The natural home of the method is the quasilinear first-order equation. Its left-hand side is a directional derivative, which is what makes the whole construction geometric rather than merely formal.

a(x,y,u) ux+b(x,y,u) uy=c(x,y,u)(1)a(x,y,u)\,u_x + b(x,y,u)\,u_y = c(x,y,u) \qquad (1)

where: u(x,y)u(x,y) — the unknown scalar field; ux, uyu_x,\,u_y — its first partial derivatives ∂u/∂x, ∂u/∂y\partial u/\partial x,\ \partial u/\partial y; a,b,ca,b,c — given coefficient functions, allowed to depend on uu (which is what "quasilinear" means). Reading it: the combination a ux+b uya\,u_x+b\,u_y is the rate of change of uu in the direction (a,b)(a,b), so the equation prescribes that rate to be cc and constrains nothing transverse. Demanding that uu satisfy (1) along a curve tangent to (a,b)(a,b) turns the PDE into three coupled ODEs — the characteristic system that the whole method rests on.

dxds=a,dyds=b,duds=c(2)\frac{\mathrm{d}x}{\mathrm{d}s}=a,\qquad \frac{\mathrm{d}y}{\mathrm{d}s}=b,\qquad \frac{\mathrm{d}u}{\mathrm{d}s}=c \qquad (2)

where: ss — a parameter running along one characteristic; (x(s),y(s))(x(s),y(s)) — the projection of the characteristic onto the base plane; u(s)u(s) — the value of the solution carried along it. Reading it: the first two equations trace the curve, the third transports the solution, and Derivation 1 shows they follow from the chain rule alone. Eliminating the parameter ss gives Lagrange's symmetric form, the shape in which the characteristic equations are usually integrated by inspection.

dxa=dyb=duc(3)\frac{\mathrm{d}x}{a}=\frac{\mathrm{d}y}{b}=\frac{\mathrm{d}u}{c} \qquad (3)

where: each ratio equals ds\mathrm{d}s; setting any two equal removes ss and yields a first integral, and two independent first integrals give the general solution. Reading it: solving a first-order PDE is reduced to finding two conserved combinations of x,y,ux,y,u along the flow. Whether the construction succeeds at all is a single determinant — the transversality, or non-characteristic, condition on the data curve Γ\Gamma.

J=det⁡ ⁣(abx˙0y˙0)≠0(4)J = \det\!\begin{pmatrix} a & b\\[2pt] \dot{x}_0 & \dot{y}_0\end{pmatrix}\neq 0 \qquad (4)

where: (x˙0,y˙0)(\dot{x}_0,\dot{y}_0) — the tangent to Γ\Gamma; (a,b)(a,b) — the characteristic direction evaluated on Γ\Gamma; JJ — their Jacobian. Reading it: J≠0J\neq0 says Γ\Gamma is nowhere parallel to a characteristic, so exactly one characteristic issues from each data point and the local solution is unique. Where J=0J=0, the problem is over- or under-determined. For the archetypal nonlinear case, the inviscid Burgers equation ut+u ux=0u_t+u\,u_x=0, integrating the characteristic system gives the solution in implicit form.

u(x,t)=f ⁣(x−u t)(5)u(x,t)=f\!\left(x-u\,t\right) \qquad (5)

where: ff — the initial profile u(x,0)=f(x)u(x,0)=f(x); x−utx-ut — the foot of the characteristic on the initial line, a quantity conserved along it. Reading it: uu is constant on straight characteristics of uu-dependent slope, so the profile advects itself; because the slope varies, the implicit relation can fail to be single-valued. The failure has an exact time. Differentiating (5) shows the gradient blows up when neighbouring characteristics first meet.

tshock=−1min⁡x0f′(x0)(6)t_{\text{shock}}=-\frac{1}{\min_{x_0} f'(x_0)} \qquad (6)

where: f′(x0)f'(x_0) — the slope of the initial profile; tshockt_{\text{shock}} — the earliest time at which ux→∞u_x\to\infty. Reading it: a shock forms only where f′<0f'<0 (a compression), and the first break happens at the steepest such slope. If f′≥0f'\ge0 everywhere the solution stays smooth for all time. Past the break, the discontinuity's speed is fixed not by the differential equation but by the underlying conservation law — the Rankine–Hugoniot condition.

s=[ f(u) ][ u ]=f(uL)−f(uR)uL−uR(7)s=\frac{[\,f(u)\,]}{[\,u\,]}=\frac{f(u_L)-f(u_R)}{u_L-u_R} \qquad (7)

where: f(u)f(u) — the flux (for Burgers f=12u2f=\tfrac12u^2, giving s=12(uL+uR)s=\tfrac12(u_L+u_R)); uL,uRu_L,u_R — the states on the left and right of the jump; [⋅][\cdot] — the jump across it. Reading it: the shock moves at the average of the two states' velocities, and the entropy condition uL>uRu_L>u_R picks the physical shock over an unphysical rarefaction-shock. Fully nonlinear equations F(x,y,u,p,q)=0F(x,y,u,p,q)=0 need the gradient (p,q)=(ux,uy)(p,q)=(u_x,u_y) tracked as well, giving the Charpit–Lagrange system on the five-dimensional space of one-jets.

dxFp=dyFq=dupFp+qFq=−dpFx+pFu=−dqFy+qFu(8)\frac{\mathrm{d}x}{F_p}=\frac{\mathrm{d}y}{F_q}=\frac{\mathrm{d}u}{pF_p+qF_q}=\frac{-\mathrm{d}p}{F_x+pF_u}=\frac{-\mathrm{d}q}{F_y+qF_u} \qquad (8)

where: F(x,y,u,p,q)=0F(x,y,u,p,q)=0 — the general first-order equation with p=ux, q=uyp=u_x,\ q=u_y; Fp,Fq,…F_p,F_q,\dots — partial derivatives of FF. Reading it: the characteristics now live in (x,y,u,p,q)(x,y,u,p,q) space; projected to the base plane they are the light rays of geometrical optics when FF is the eikonal equation. Finally, the classification of second-order operators falls out of the same idea: the characteristic curves solve a quadratic.

a(dydx)2−b dydx+c=0(9)a\left(\frac{\mathrm{d}y}{\mathrm{d}x}\right)^2 - b\,\frac{\mathrm{d}y}{\mathrm{d}x} + c = 0 \qquad (9)

where: a,b,ca,b,c — the principal-part coefficients of a uxx+b uxy+c uyy=⋯a\,u_{xx}+b\,u_{xy}+c\,u_{yy}=\cdots; the discriminant b2−4acb^2-4ac decides everything — >0>0 hyperbolic (two real characteristics), =0=0 parabolic (one), <0<0 elliptic (none). Reading it: real characteristics are exactly the curves along which second derivatives are indeterminate, so "how many real roots" is "how many propagation directions".

Derivation AThe characteristic system from the chain rule

The goal is to show that the three ODEs of equation (2) are not an ansatz but a forced consequence of asking a single curve to be compatible with the PDE. We parametrize an arbitrary curve in the base plane, write the total derivative of uu along it, and then discover that there is exactly one choice of the curve's direction that makes the chain-rule expression coincide with the left-hand side of the PDE. That choice is the characteristic direction, and along it the equation reduces to an ordinary derivative equal to cc.

Step 1. Parametrize a candidate curve (x(s),y(s))(x(s),y(s)) and differentiate uu restricted to it: duds=uxdxds+uydyds\dfrac{\mathrm{d}u}{\mathrm{d}s}=u_x\dfrac{\mathrm{d}x}{\mathrm{d}s}+u_y\dfrac{\mathrm{d}y}{\mathrm{d}s}. Why: this is just the chain rule, and it is the only way the two-variable derivatives ux,uyu_x,u_y can enter a one-variable rate of change.

Step 2. Lay the PDE beside it: a ux+b uy=ca\,u_x+b\,u_y=c. Why: we now have two expressions built from the same pair (ux,uy)(u_x,u_y), and we can force them to agree by matching the coefficients that multiply uxu_x and uyu_y.

Step 3. Match coefficients by choosing the tangent to be dxds=a, dyds=b\dfrac{\mathrm{d}x}{\mathrm{d}s}=a,\ \dfrac{\mathrm{d}y}{\mathrm{d}s}=b. Why: with this direction the chain-rule sum becomes literally a ux+b uya\,u_x+b\,u_y, which the PDE says is cc — the transverse information we never had is now simply not needed.

Step 4. Read off the transport law duds=a ux+b uy=c\dfrac{\mathrm{d}u}{\mathrm{d}s}=a\,u_x+b\,u_y=c. Why: the unknown derivatives ux,uyu_x,u_y have vanished from the problem, leaving a closed ODE for uu along the curve — the PDE has become an ODE, which was the whole aim. *Why it works: substituting u=y g(x/y)u=y\,g(x/y) back into xux+yuy=ux u_x+y u_y=u confirms the transported solution satisfies the original PDE, and the direction (a,b)(a,b) is precisely the field whose integral curves are the characteristics of (2)–(3).*

Go deeper · Derivation B · 1 minShock formation in the inviscid Burgers equation
Derivation BShock formation in the inviscid Burgers equation

The goal is to follow the smooth solution of ut+u ux=0u_t+u\,u_x=0 until it destroys itself and then repair it. Starting from initial data ff that decreases somewhere, we integrate the characteristics, show they are straight lines whose slopes depend on the data, compute exactly when two of them first collide, and identify the resulting gradient blow-up as the birth of a shock. We then abandon the differential equation locally and impose the integral conservation law to fix the discontinuity's speed, closing the gap that the classical theory leaves open.

Step 1. With a=1,b=u,c=0a=1,b=u,c=0 the characteristic system is t˙=1, x˙=u, u˙=0\dot t=1,\ \dot x=u,\ \dot u=0, so u=f(x0)u=f(x_0) stays constant and x=x0+f(x0) tx=x_0+f(x_0)\,t is a straight line. Why: because uu is conserved along each characteristic, the slope dx/dt=f(x0)\mathrm{d}x/\mathrm{d}t=f(x_0) never changes — the profile simply advects itself at its own local height.

Step 2. Two characteristics from x0≠x1x_0\neq x_1 meet where x0+f(x0)t=x1+f(x1)tx_0+f(x_0)t=x_1+f(x_1)t, i.e. t=−x1−x0f(x1)−f(x0)t=-\dfrac{x_1-x_0}{f(x_1)-f(x_0)}. Why: crossing characteristics carry different constant values of uu to the same point, which is exactly the multivaluedness that a single-valued solution cannot survive.

Step 3. Let x1→x0x_1\to x_0 to find when the nearest neighbours cross: t=−1f′(x0)t=-\dfrac{1}{f'(x_0)}, real and positive only where f′(x0)<0f'(x_0)<0. Why: the first catastrophe is always local — an infinitesimally close pair collides before any distant pair, and only a compressive slope (f′<0f'<0) makes them converge at all.

Step 4. The earliest crossing over all points is tshock=min⁡x0: f′<0 ⁣(−1f′(x0))=−1min⁡x0f′(x0)t_{\text{shock}}=\displaystyle\min_{x_0:\,f'<0}\!\left(-\frac{1}{f'(x_0)}\right)=-\frac{1}{\min_{x_0} f'(x_0)}, at which ux=f′(x0)1+f′(x0)t→∞u_x=\dfrac{f'(x_0)}{1+f'(x_0)t}\to\infty. Why: the steepest negative slope breaks first, and the vanishing denominator is the analytic signature of the vertical tangent — the wave has gone to overturn.

Step 5. Replace the overturned region by a discontinuity moving at dxsdt=s=f(uL)−f(uR)uL−uR=12(uL+uR)\dfrac{\mathrm{d}x_s}{\mathrm{d}t}=s=\dfrac{f(u_L)-f(u_R)}{u_L-u_R}=\tfrac12(u_L+u_R) for the flux f=12u2f=\tfrac12u^2, with the entropy condition uL>uRu_L>u_R. Why: the differential form has no solution past tshockt_{\text{shock}}, but the integral conservation law ddt∫u dx=−[f(u)]\tfrac{\mathrm{d}}{\mathrm{d}t}\int u\,\mathrm{d}x=-[f(u)] still holds and forces the jump speed s[u]=[f]s[u]=[f], selecting the unique admissible weak solution. *Why it works: for f=12u2f=\tfrac12u^2, the algebra s=uL2−uR22(uL−uR)=12(uL+uR)s=\dfrac{u_L^2-u_R^2}{2(u_L-u_R)}=\tfrac12(u_L+u_R) confirms the Rankine–Hugoniot speed; the ramp gives min⁡f′=−1⇒tshock=1\min f'=-1\Rightarrow t_{\text{shock}}=1 and s=12(1+0)=0.5s=\tfrac12(1+0)=0.5, consistent with the second figure.*

Go deeper · Derivation C · 1 minCharacteristics of the wave equation and d'Alembert's formula
Derivation CCharacteristics of the wave equation and d'Alembert's formula

The goal is to show that the second-order machinery of equation (9) reproduces, with no extra effort, the most familiar solution in mathematical physics. We treat utt=c2uxxu_{tt}=c^2u_{xx} as a principal-part operator, solve the characteristic quadratic to obtain the two straight families x±ctx\pm ct, adopt them as new coordinates, and watch the operator collapse to a single mixed second derivative. Integrating that twice recovers d'Alembert's decomposition into a left-mover and a right-mover, and simultaneously exhibits the light cones as the characteristics of a hyperbolic equation.

Step 1. Write utt−c2uxx=0u_{tt}-c^2u_{xx}=0 with principal coefficients (in the x,tx,t ordering) a=−c2, b=0, ccoef=1a=-c^2,\ b=0,\ c_{\text{coef}}=1. Why: only the highest derivatives control the characteristics, so lower-order terms — absent here anyway — never affect the propagation geometry.

Step 2. Solve the characteristic quadratic to get dxdt=±c\dfrac{\mathrm{d}x}{\mathrm{d}t}=\pm c. Why: the discriminant is positive, so there are two real families — the equation is hyperbolic and carries signals at exactly the finite speed cc in both directions.

Step 3. Adopt the characteristic coordinates ξ=x−ct, η=x+ct\xi=x-ct,\ \eta=x+ct, constant along the two families. Why: these are the light cones of the 1+1 wave equation; choosing them as coordinates is choosing to ride along the propagation, where the dynamics is simplest.

Step 4. Transform the operator by the chain rule: utt−c2uxx=−4c2 uξη=0u_{tt}-c^2u_{xx}=-4c^2\,u_{\xi\eta}=0, so uξη=0u_{\xi\eta}=0. Why: in characteristic coordinates every pure second derivative cancels and only the cross term survives — the canonical hyperbolic form, which is trivially integrable.

Step 5. Integrate twice: uξη=0⇒u=F(ξ)+G(η)=F(x−ct)+G(x+ct)u_{\xi\eta}=0\Rightarrow u=F(\xi)+G(\eta)=F(x-ct)+G(x+ct). Why: a function whose mixed derivative vanishes splits into one function of ξ\xi plus one of η\eta — a right-mover plus a left-mover, which is precisely d'Alembert's solution. *Why it works: substituting F(x−ct)+G(x+ct)F(x-ct)+G(x+ct) gives utt=c2(F′′+G′′)=c2uxxu_{tt}=c^2(F''+G'')=c^2u_{xx}, confirming d'Alembert's formula satisfies the wave equation for arbitrary twice-differentiable F,GF,G.*

Limiting cases

The single method specializes cleanly across the whole zoo of first- and second-order equations; the table reads left to right as "which equation, what the characteristics do, what it means physically".

CaseResultMeaning
Linear transportut+c ux=0u_t + c\,u_x = 0Straight parallel characteristics x−ct=constx-ct=\text{const}; u=f(x−ct)u=f(x-ct) translates rigidly at speed cc, no distortion, no crossing ever.
Quasilinear (Burgers)ut+u ux=0u_t + u\,u_x = 0Characteristics x=x0+f(x0) tx=x_0+f(x_0)\,t carry constant uu but tilt with the data; they converge and a shock forms at tshock=−1/min⁡f′t_{\text{shock}}=-1/\min f'.
Hyperbolic 2nd orderutt−c2uxx=0u_{tt}-c^2 u_{xx}=0Two real families x±ct=constx\pm ct=\text{const}; factoring the operator gives d'Alembert's left- and right-movers along the light cones.
Elliptic 2nd orderuxx+uyy=0u_{xx}+u_{yy}=0Characteristic slopes dy/dx=±i\mathrm{d}y/\mathrm{d}x=\pm i are complex — no real characteristics, no finite signal speed, so the transport method does not apply and one solves a boundary-value problem instead.
Fully nonlinearF(x,y,u,p,q)=0F(x,y,u,p,q)=0Characteristics lift to the (x,y,u,p,q)(x,y,u,p,q) jet space via Charpit–Lagrange; projected down they are the rays of geometrical optics and the trajectories of Hamilton–Jacobi mechanics.

Worked examples

1 · Breaking time and shock speed for a compressive ramp (fully worked)

Solve ut+u ux=0u_t+u\,u_x=0 with u(x,0)=f(x)u(x,0)=f(x) equal to 11 for x≤0x\le 0, to 1−x1-x for 0≤x≤10\le x\le 1, and to 00 for x≥1x\ge 1. Find the breaking time, the point where the shock first appears, and the speed at which it then travels.

Step 1. Characteristics carry constant uu: from x0x_0 the line is x=x0+f(x0) tx=x_0+f(x_0)\,t. On the ramp (0≤x0≤10\le x_0\le1) this is x=x0+(1−x0) tx=x_0+(1-x_0)\,t. Set t=1t=1: x=x0+(1−x0)=1x=x_0+(1-x_0)=1 for every x0x_0 in the ramp — the entire compressive fan focuses on the single point x=1x=1. So the classical solution cannot survive t=1t=1.

Step 2. Confirm with the formula. On the ramp f′(x0)=−1f'(x_0)=-1, and this is the minimum slope, so min⁡f′=−1\min f'=-1 and tshock=−1/min⁡f′=−1/(−1)=1t_{\text{shock}}=-1/\min f'=-1/(-1)=\mathbf{1}. The break happens at t=1t=1, and tracking the focusing lines puts it at x=1\mathbf{x=1}. Everywhere f′≥0f'\ge0 there is no crossing, consistent with the shock coming only from the ramp.

Step 3. Determine the states across the nascent shock. Just left of x=1x=1 the data came from the top of the ramp, uL=1u_L=1; just right, from the flat region, uR=0u_R=0. The entropy condition uL>uRu_L>u_R (1>01>0) is satisfied, so this is an admissible shock, not a spurious one.

Step 4. Apply Rankine–Hugoniot with flux f=12u2f=\tfrac12u^2: s=f(uL)−f(uR)uL−uR=12(1)2−12(0)21−0=12(uL+uR)=0.5s=\dfrac{f(u_L)-f(u_R)}{u_L-u_R}=\dfrac{\tfrac12(1)^2-\tfrac12(0)^2}{1-0}=\tfrac12(u_L+u_R)=\mathbf{0.5}. The shock is born at (x,t)=(1,1)(x,t)=(1,1) and thereafter follows xs=1+0.5 (t−1)x_s=1+0.5\,(t-1). Breaking at t = 1, x = 1; the shock then advances at speed s = 0.5.

2 · The full characteristic recipe on a variable-coefficient equation

Solve x ux+y uy=ux\,u_x+y\,u_y=u subject to u=g(x)u=g(x) on the line y=1y=1, then evaluate the special case g(x)=x2g(x)=x^2.

Step 1. Read off (a,b,c)=(x,y,u)(a,b,c)=(x,y,u) and write the characteristic system dxds=x, dyds=y, duds=u\dfrac{\mathrm{d}x}{\mathrm{d}s}=x,\ \dfrac{\mathrm{d}y}{\mathrm{d}s}=y,\ \dfrac{\mathrm{d}u}{\mathrm{d}s}=u. Each is a simple exponential ODE.

Step 2. Integrate with data at s=0s=0 on y=1y=1, parametrized by x0=ξx_0=\xi, so u0=g(ξ)u_0=g(\xi): x=ξ es, y=es, u=g(ξ) esx=\xi\,e^{s},\ y=e^{s},\ u=g(\xi)\,e^{s}. The characteristics are rays through the origin.

Step 3. Eliminate the parameters. From y=esy=e^{s} we get es=ye^{s}=y; then x=ξyx=\xi y gives ξ=x/y\xi=x/y. Substituting, u=g(ξ) es=y g(x/y)u=g(\xi)\,e^{s}=y\,g(x/y), so the general solution is u(x,y)=y g(x/y)\boxed{u(x,y)=y\,g(x/y)}.

Step 4. Check transversality: on y=1y=1 the tangent is (x˙0,y˙0)=(1,0)(\dot x_0,\dot y_0)=(1,0) and (a,b)=(x,y)=(x,1)(a,b)=(x,y)=(x,1), so J=det⁡(x110)=−1≠0J=\det\begin{pmatrix}x&1\\1&0\end{pmatrix}=-1\neq0 — the data curve is non-characteristic and the solution is unique near it.

Step 5. Specialize to g(x)=x2g(x)=x^2: u=y (x/y)2=x2/yu=y\,(x/y)^2=\mathbf{x^2/y}. Verify directly: ux=2x/yu_x=2x/y, uy=−x2/y2u_y=-x^2/y^2, so x ux+y uy=2x2/y−x2/y=x2/y=ux\,u_x+y\,u_y=2x^2/y-x^2/y=x^2/y=u, and u(x,1)=x2u(x,1)=x^2. The recipe reproduces the exact closed form u = x²/y.

Physics of the portrait

The method of characteristics is a nineteenth-century idea perfected by many hands, but its dramatic climax — the discovery that smooth data can generate a discontinuity — belongs to Bernhard Riemann, who found it in the physics of sound.

Origins · 1 minBernhard Riemann and how this was discovered
BR
Bernhard Riemann
1826–1866 · characteristics, Riemann invariants, and the theory of shock waves

Georg Friedrich Bernhard Riemann is remembered for the geometry and the zeta function that bear his name, but he also wrote the paper that turned the method of characteristics from a solution recipe into a theory of physical singularities. The technique's roots ran back to Lagrange, who in 1772 reduced a first-order PDE to a system of ordinary equations, and to Charpit and Monge, who by the 1780s had given it a geometric and fully nonlinear form; Cauchy then framed the initial-value ("Cauchy") problem that the method solves. Riemann's 1860 memoir Über die Fortpflanzung ebener Luftwellen von endlicher Schwingungsweite — on the propagation of plane air waves of finite amplitude — carried the characteristic idea into genuinely nonlinear gas dynamics. He introduced what are now called Riemann invariants, quantities conserved along the two families of characteristics, and showed that because the wave speed rises with amplitude, a compression must steepen without limit until the characteristics cross and the solution becomes discontinuous. That was the mathematical prediction of a shock wave, years before the jump conditions of Rankine (1865) and Hugoniot (1887) fixed its speed, and long before Lax and Oleinik supplied the entropy conditions that select the physical discontinuity. Riemann died of tuberculosis at thirty-nine, but the initial-value problem he posed — the Riemann problem of two constant states meeting at a jump — remains the atom from which every modern shock-capturing scheme in computational fluid dynamics is built.

History
1772
— Lagrange reduces a first-order PDE to a characteristic system of ODEs
1784
— Charpit formulates the general method for fully nonlinear first-order equations
1860
— Riemann treats finite-amplitude sound waves and predicts shock formation
1887
— Hugoniot completes the Rankine–Hugoniot jump conditions for gas dynamics
1957
— Lax formulates the entropy condition selecting admissible weak solutions

Going further

Texts. Stone & Goldbart, Mathematics for Physics, Ch. 8 (Partial Differential Equations) · Arfken, Weber & Harris, Mathematical Methods for Physicists, 7th ed., Ch. 9 · Hassani, Mathematical Physics, Ch. 22 (first-order PDEs and characteristics) · Riley, Hobson & Bence, Mathematical Methods for Physics and Engineering, 3rd ed., Ch. 20 · Courant & Hilbert, Methods of Mathematical Physics, Vol. II, Ch. II · Whitham, Linear and Nonlinear Waves, Ch. 2 · Evans, Partial Differential Equations, 2nd ed., §3.2. Key checks across the article: the chain-rule reduction yields du/ds=c\mathrm{d}u/\mathrm{d}s=c; re-substituting u=y g(x/y)u=y\,g(x/y) (and its special case u=x2/yu=x^2/y) into xux+yuy=ux u_x+y u_y=u confirms the solution; the ramp gives tshock=−1/min⁡f′=1t_{\text{shock}}=-1/\min f'=1 at focusing point x=1x=1 with shock speed s=12(uL+uR)=0.5s=\tfrac12(u_L+u_R)=0.5; the coordinate change ξ=x−ct, η=x+ct\xi=x-ct,\ \eta=x+ct reduces the wave operator to utt−c2uxx=−4c2uξηu_{tt}-c^2u_{xx}=-4c^2u_{\xi\eta}; and the discriminant b2−4acb^2-4ac governs the hyperbolic/parabolic/elliptic classification of equation (9).

Builds on. Classification of Second-Order Linear PDEs · Ordinary differential equations and existence-uniqueness · Boundary Conditions and Well-Posedness. Leads to. d'Alembert's Solution and Characteristics of the Wave Equation · The Wave Equation · Fundamental Solutions and Green's Functions for PDEs.

Ask the tutor: Want to see a specific initial profile pushed to its breaking time, or the eikonal equation solved as a fully nonlinear characteristic system? Ask and we will trace the curves together.

What actually is a characteristic curve, in one sentence?

It is a curve in the base plane along which a first-order PDE stops being a partial differential equation and becomes an ordinary one. Geometrically it is an integral curve of the vector field (a,b)(a,b) built from the equation's coefficients, and along it the unknown uu evolves by the simple law du/ds=c\mathrm{d}u/\mathrm{d}s=c. Because the PDE only ever constrained uu in the (a,b)(a,b) direction, following that direction throws away nothing and gains an ODE you can integrate. The whole method is the observation that the solution surface is nothing more than these one-dimensional solutions stitched together along the initial-data curve.

Why does a perfectly smooth initial profile develop a discontinuity?

Because in a nonlinear equation different parts of the profile travel at different speeds, set by the local value of uu itself. In inviscid Burgers a point of height uu moves at speed uu, so a taller point behind a shorter point gains on it; the profile steepens until it would have to become vertical, and a single-valued function cannot have a vertical tangent while staying single-valued. At that instant, tshock=−1/min⁡f′t_{\text{shock}}=-1/\min f', neighbouring characteristics collide and the gradient uxu_x blows up. Nothing has gone wrong with the mathematics — the equation is genuinely telling you that a smooth flow has produced a shock, which is why the same calculation predicts real shock waves in air.

Where does the shock speed come from if the differential equation has no solution there?

From the conservation law that stood behind the differential equation in the first place. A PDE like ut+f(u)x=0u_t+f(u)_x=0 is the local ("differential") form of a global statement that ∫u dx\int u\,\mathrm{d}x changes only through flux at the ends. That integral statement remains valid even when uu jumps, and applying it across a moving discontinuity forces s [u]=[f(u)]s\,[u]=[f(u)], the Rankine–Hugoniot condition, so the speed is s=[f]/[u]s=[f]/[u]. For Burgers this is the average 12(uL+uR)\tfrac12(u_L+u_R). The differential equation fails at the jump, but its parent conservation law does not, and that is what fixes the shock.

What is the transversality condition really protecting against?

Against asking the equation two contradictory questions at once. The PDE already dictates how uu evolves along a characteristic through du/ds=c\mathrm{d}u/\mathrm{d}s=c. If your Cauchy data happen to lie along a characteristic, you are prescribing uu on a curve where the equation has already decided the answer — generically your data disagree with it (no solution exists), and in the lucky case they agree, the data say nothing about the transverse direction (infinitely many solutions). The condition J=det⁡(a,b;x˙0,y˙0)≠0J=\det(a,b;\dot x_0,\dot y_0)\neq0 simply guarantees the data curve cuts across the characteristics, so exactly one characteristic issues from each data point and the solution is both existent and unique.

How is this method related to d'Alembert's solution of the wave equation?

They are the same idea one order up. Applying the second-order characteristic equation to utt=c2uxxu_{tt}=c^2u_{xx} gives two real characteristic families, x−ct=constx-ct=\text{const} and x+ct=constx+ct=\text{const} — the light cones. Changing to these as coordinates turns the wave operator into a single mixed derivative, uξη=0u_{\xi\eta}=0, which integrates to u=F(x−ct)+G(x+ct)u=F(x-ct)+G(x+ct): a right-mover plus a left-mover. So d'Alembert's formula is exactly the statement that disturbances propagate along characteristics, and the characteristic coordinates are just the natural frame that rides along with them. The first-order method transports a value; the second-order version transports a signal.

When should I reach for characteristics instead of separation of variables or transforms?

Reach for characteristics whenever the equation is first-order, or hyperbolic and you care about propagation, or nonlinear in a way that transforms cannot touch. Separation of variables and Fourier or Laplace transforms are superb for linear problems on nice domains — heat conduction, standing waves, Laplace's equation — but they assume superposition and struggle the moment the equation is nonlinear or the interesting physics is a moving front. Characteristics thrive exactly there: advection, traffic flow, gas dynamics, geometrical optics, Hamilton–Jacobi mechanics. A good rule of thumb is that if the question is "how does this signal or front move, and does it steepen?", characteristics are the right tool; if it is "what are the normal modes of this bounded region?", separation of variables usually wins.

Before this

Where this leads