Book 6B

© 2026 NeckPinch · www.neckpinch.com · All rights reserved.

Course 6Book 6B: Linear PDE: Characteristics, Waves and RegularityChapter 2

Conservation Laws and Shocks

Burgers’ equation, shocks, the entropy condition, rarefactions, the Riemann problem and traffic flow.

43 min read · Updated Oct 20, 2026

Read with Evans, Partial Differential Equations, section 3.4 (scalar conservation laws: shocks, the entropy condition, the Lax–Oleinik formula, the Riemann problem) and section 4.4.1 (the Hopf–Cole transformation); Evans, chapter 11, and Taylor III, §16.6–16.8, for systems. This chapter proves Rankine–Hugoniot, solves the Riemann problem for convex fluxes, and derives viscous shock profiles; the uniqueness theorem for entropy solutions is stated with its reference.

In this chapter · 9 sections
  1. 2.1Traffic jams as shock waves
  2. 2.2Integral solutions
  3. 2.2.1The Rankine–Hugoniot condition
  4. 2.3Non-uniqueness and the entropy condition
  5. 2.4The Riemann problem
  6. 2.5Viscosity: the Hopf–Cole transformation
  7. 2.5.1The viscous shock profile
  8. 2.6Long-time behaviour
  9. 2.7Systems of conservation laws
  10. 2.8History
  11. 2.9Exercises
  12. ↗Free resources

6B.1 First-Order Equations and Characteristics ended at the moment Burgers' equation breaks: characteristics carrying different values cross, and no smooth solution continues. Physics does not stop there. A gas compressed by a piston forms a shock wave; cars arriving at the back of a queue form a sharp front where speed drops abruptly; a flood wave steepens into a bore. In each case the quantity that is conserved (mass, cars, water) is still conserved after the jump forms. The mathematical question is how to continue the solution past the breaking time in a way that keeps conservation, and the answer has three parts.

First, write the equation in integral form, which makes sense for discontinuous functions. That determines the speed of a jump: the Rankine–Hugoniot condition. Second, the integral form alone allows too many solutions, some of them unphysical, so an extra entropy condition is imposed to select the right one. Third, the selected solution is the limit of solutions of the equation with a tiny amount of viscosity added, which is the physical justification for the entropy condition, and for Burgers' equation this limit can be computed exactly, because the viscous equation turns into the heat equation.

The theme of the chapter, that a weak formulation plus a selection principle continues a solution through a singularity in a unique way, is the same theme as viscosity solutions of Hamilton–Jacobi equations (6C.9 Hamilton–Jacobi Equations and Viscosity Solutions), and, at a much higher level, as the weak Ricci flows that continue through singularities (12C.9 After Perelman).

By the end of this chapter you will be able to:

  • define integral (weak) solutions of a scalar conservation law, and derive the Rankine–Hugoniot condition for the speed of a shock;
  • show by example that integral solutions are not unique, and state and use the Lax entropy condition;
  • solve the Riemann problem for a convex flux in full: shocks and rarefaction waves;
  • turn viscous Burgers into the heat equation by the Hopf–Cole transformation, and compute the viscous shock profile and its width;
  • compute shock speeds in a traffic-flow model, and the entropy dissipated by a shock.

Traffic jams as shock waves

In the world Model Traffic flow and the LWR model

On a long road without entrances or exits, let ρ(x,t)\rho(x, t) be the density of cars (cars per kilometre) and vv their speed. Cars are conserved, so

ρt+(ρv)x=0,\rho_t + (\rho v)_x = 0,

the continuity equation of 6B.1 First-Order Equations and Characteristics in one dimension. In the model of Michael Lighthill and Gerald Whitham (1955) and Paul Richards (1956), drivers choose their speed from the density around them, v=V(ρ)v = V(\rho), decreasing from a free-flow speed vmax⁡v_{\max} on an empty road to 00 at a jam density ρmax⁡\rho_{\max}. Bruce Greenshields proposed the simplest choice, V(ρ)=vmax⁡(1−ρ/ρmax⁡)V(\rho) = v_{\max}(1 - \rho/\rho_{\max}), from photographic measurements in 1935. The flux F(ρ)=ρV(ρ)F(\rho) = \rho V(\rho) is then a downward parabola: traffic flow is zero on an empty road and in a jam, and largest at half the jam density.

The equation ρt+F(ρ)x=0\rho_t + F(\rho)_x = 0 is a conservation law of exactly the kind studied in this chapter, and its shocks are the sudden drops in speed that drivers meet at the back of a queue. Its rarefaction waves are a queue dissolving when a light turns green: the front cars leave first, and the density thins out gradually behind them. The model predicts how fast the back of a queue moves backward towards approaching traffic (Exercise 2.14).

The model also has limits. It describes how density waves move, but on its own it does not make a uniform flow unstable. In an experiment by Yuki Sugiyama and colleagues (New Journal of Physics, 2008), about twenty cars driving around a circular track a few hundred metres long, asked to keep a steady speed, nevertheless formed a stop-and-go jam that travelled backward around the circuit, with no bottleneck at all. Explaining that instability needs models in which drivers react with a delay to the car in front ("second-order" or car-following models). The LWR model is the first-order skeleton on which those are built.

Integral solutions

Consider a scalar conservation law in one space dimension,

ut+F(u)x=0in R×(0,∞),u(x,0)=g(x),u_t + F(u)_x = 0 \quad\text{in } \mathbb{R}\times(0, \infty), \qquad u(x, 0) = g(x),

with FF smooth (the flux). It is the differential form of the statement that for every interval [a,b][a, b],

ddt∫abu(x,t) dx=F(u(a,t))−F(u(b,t)):\frac{d}{dt}\int_a^bu(x, t)\,dx = F(u(a, t)) - F(u(b, t)):

the amount of uu in [a,b][a, b] changes only by what flows in at aa and out at bb (6A.1 What a PDE Is). Burgers' equation is the case F(u)=12u2F(u) = \frac12u^2, since (12u2)x=uux(\frac12u^2)_x = uu_x.

To allow discontinuous uu, multiply the equation by a smooth test function vv with compact support in R×[0,∞)\mathbb{R}\times[0, \infty) (it need not vanish at t=0t = 0), integrate, and move all derivatives onto vv. For a smooth solution, integrating by parts in tt and in xx,

0=∫0∞ ⁣ ⁣∫R(ut+F(u)x)v dx dt=−∫0∞ ⁣ ⁣∫R(uvt+F(u)vx) dx dt−∫Rg(x)v(x,0) dx.0 = \int_0^\infty\!\!\int_{\mathbb{R}}(u_t + F(u)_x)v\,dx\,dt = -\int_0^\infty\!\!\int_{\mathbb{R}}\big(uv_t + F(u)v_x\big)\,dx\,dt - \int_{\mathbb{R}}g(x)v(x, 0)\,dx.

The right side makes sense for any bounded measurable uu.

Definition 2.1 Integral solution

A bounded measurable function uu on R×(0,∞)\mathbb{R}\times(0, \infty) is an integral solution of the conservation law with initial data gg if

∫0∞ ⁣ ⁣∫R(uvt+F(u)vx) dx dt+∫Rgv dx∣t=0=0\int_0^\infty\!\!\int_{\mathbb{R}}\big(uv_t + F(u)v_x\big)\,dx\,dt + \int_{\mathbb{R}}gv\,dx\Big|_{t=0} = 0

for every v∈Cc1(R×[0,∞))v \in C^1_c(\mathbb{R}\times[0, \infty)).

A C1C^1 function is an integral solution exactly when it is a classical solution with u(⋅,0)=gu(\cdot, 0) = g (Exercise 2.10). The interesting integral solutions are the ones with jumps.

The Rankine–Hugoniot condition

Suppose uu is smooth on either side of a curve x=s(t)x = s(t) in space-time and jumps across it, with limits ulu_l from the left and uru_r from the right. What does the integral formulation say about the curve?

Theorem 2.2 The Rankine–Hugoniot condition

Let VV be an open region of space-time cut by a C1C^1 curve C={x=s(t)}C = \{x = s(t)\} into VlV_l (left) and VrV_r (right). Let uu be C1C^1 on Vl‾\overline{V_l} and on Vr‾\overline{V_r} separately, a classical solution in each, and an integral solution in VV (for test functions supported in VV). Then along CC,

s˙ (ul−ur)=F(ul)−F(ur),that is,σ [ ⁣[u] ⁣]=[ ⁣[F(u)] ⁣],\dot s\,(u_l - u_r) = F(u_l) - F(u_r), \qquad\text{that is,}\qquad \sigma\,[\![u]\!] = [\![F(u)]\!],

where σ=s˙\sigma = \dot s is the speed of the curve and [ ⁣[w] ⁣]=wl−wr[\![w]\!] = w_l - w_r the jump.

Proof. Take v∈Cc1(V)v \in C^1_c(V). Split the integral over VV into VlV_l and VrV_r. On VlV_l, uu is a classical solution, so by the divergence theorem in the (x,t)(x, t)-plane applied to the vector field (F(u)v,uv)(F(u)v, uv),

∬Vl(uvt+F(u)vx) dx dt=−∬Vl(ut+F(u)x)v dx dt+∫C(ulνt+F(ul)νx)v dℓ,\iint_{V_l}\big(uv_t + F(u)v_x\big)\,dx\,dt = -\iint_{V_l}\big(u_t + F(u)_x\big)v\,dx\,dt + \int_C\big(u_l\nu^t + F(u_l)\nu^x\big)v\,d\ell,

where ν=(νx,νt)\nu = (\nu^x, \nu^t) is the unit normal to CC pointing out of VlV_l (into VrV_r), and dℓd\ell is arc length on CC. The first term on the right is 00. The same computation on VrV_r gives the boundary term with uru_r and the opposite normal. Adding, the integral solution condition becomes

∫C[(ul−ur)νt+(F(ul)−F(ur))νx]v dℓ=0\int_C\Big[(u_l - u_r)\nu^t + \big(F(u_l) - F(u_r)\big)\nu^x\Big]v\,d\ell = 0

for every vv, so the bracket vanishes at every point of CC. The curve x=s(t)x = s(t) has tangent (s˙,1)(\dot s, 1), so a normal pointing to the right is ν=(1,−s˙)1+s˙2\nu = \frac{(1, -\dot s)}{\sqrt{1 + \dot s^2}}. Substituting, −(ul−ur)s˙+F(ul)−F(ur)=0-(u_l - u_r)\dot s + F(u_l) - F(u_r) = 0.

For Burgers' equation F(u)=12u2F(u) = \frac12u^2, the jump condition gives σ(ul−ur)=12(ul2−ur2)\sigma(u_l - u_r) = \frac12(u_l^2 - u_r^2), so

σ=ul+ur2:\sigma = \frac{u_l + u_r}{2}:

a Burgers shock moves at the average of the values on its two sides. For the traffic flux it gives the speed of the back of a queue (Exercise 2.14).

Non-uniqueness and the entropy condition

The integral formulation allows jumps, and it allows too many.

Example 2.3 Two integral solutions with the same data

For Burgers' equation, let g(x)=0g(x) = 0 for x<0x < 0 and g(x)=1g(x) = 1 for x>0x > 0. Two candidates:

  1. A shock moving at the Rankine–Hugoniot speed σ=0+12=12\sigma = \frac{0 + 1}{2} = \frac12:
u1(x,t)={0,x<t/2,1,x>t/2.u_1(x, t) = \begin{cases}0, & x < t/2,\\ 1, & x > t/2.\end{cases}
  1. A rarefaction wave, a fan of characteristics spreading from the origin:
u2(x,t)={0,x<0,x/t,0<x<t,1,x>t.u_2(x, t) = \begin{cases}0, & x < 0,\\ x/t, & 0 < x < t,\\ 1, & x > t.\end{cases}

Each is an integral solution. For u1u_1, the pieces are constant, hence classical solutions, and the jump satisfies Rankine–Hugoniot, so the proof of Theorem 2.2, read backwards, shows the integral condition holds. For u2u_2, the middle piece solves Burgers classically (ut+uux=−xt2+xt⋅1t=0u_t + uu_x = -\frac{x}{t^2} + \frac xt\cdot\frac1t = 0), and u2u_2 is continuous, so there are no jumps and no boundary terms at all. Same data, two different integral solutions.

Which is right? Look at the characteristics. Characteristics of Burgers' equation travel at speed uu, so on the left (where u=0u = 0) they are vertical lines, and on the right (where u=1u = 1) lines of slope 11. In u1u_1, characteristics emerge from the shock on both sides: the value uu along them does not come from the initial data but is created at the shock. That violates causality: information should flow forward from the data, and into a shock, not out of it. In u2u_2, every point is reached by a characteristic from the initial line, the fan filling the wedge 0<x<t0 < x < t with characteristics issuing from the origin.

Definition 2.4 The Lax entropy condition

A shock with left and right states ulu_l, uru_r and speed σ\sigma satisfies the entropy condition if

F′(ul)>σ>F′(ur):F'(u_l) > \sigma > F'(u_r):

characteristics on both sides run into the shock. For a strictly convex flux (F′′>0F'' > 0), this is equivalent to ul>uru_l > u_r: the value drops across a shock.

For a convex flux, F′F' is increasing, and by the mean value theorem σ=F(ul)−F(ur)ul−ur=F′(ξ)\sigma = \frac{F(u_l) - F(u_r)}{u_l - u_r} = F'(\xi) for some ξ\xi between ulu_l and uru_r. So F′(ul)>σ>F′(ur)F'(u_l) > \sigma > F'(u_r) holds exactly when ul>uru_l > u_r. In Example 2.3 the shock has ul=0<1=uru_l = 0 < 1 = u_r, so it violates the entropy condition and is rejected. The rarefaction wave is the physically correct solution.

For general bounded solutions, which may have more complicated singularities than single shocks, Olga Oleinik's version of the condition (1957) is a one-sided bound on how fast uu can increase:

u(x+z,t)−u(x,t)≤C(1+1t)z(z>0),u(x + z, t) - u(x, t) \leq C\Big(1 + \frac1t\Big)z \qquad (z > 0),

for a constant CC. An upward jump violates it; a downward jump does not. A bounded integral solution satisfying this condition is called an entropy solution.

Theorem 2.5 Existence and uniqueness of entropy solutions

Let FF be smooth and uniformly convex, and g∈L∞(R)g \in L^\infty(\mathbb{R}). Then there is exactly one entropy solution of ut+F(u)x=0u_t + F(u)_x = 0 with u(⋅,0)=gu(\cdot, 0) = g. It is given by the Lax–Oleinik formula

u(x,t)=(F′)−1(x−y(x,t)t),u(x, t) = (F')^{-1}\Big(\frac{x - y(x, t)}{t}\Big),

where y(x,t)y(x, t) minimises y↦tL(x−yt)+∫0ygy \mapsto tL\big(\frac{x - y}{t}\big) + \int_0^yg, and LL is the Legendre transform of FF; the minimiser is unique for all but countably many xx at each tt.

Existence is Evans, section 3.4.2, by way of the Hopf–Lax formula for the Hamilton–Jacobi equation wt+F(wx)=0w_t + F(w_x) = 0, whose derivative u=wxu = w_x solves the conservation law (6C.9 Hamilton–Jacobi Equations and Viscosity Solutions proves Hopf–Lax). Uniqueness is Evans, section 3.4.3 (Oleinik's theorem), proved by a duality argument with a backward transport equation. For general fluxes, and in several space dimensions, Stanislav Kruzhkov (1970) gave the definitive theory, with the entropy condition in the form of inequalities η(u)t+q(u)x≤0\eta(u)_t + q(u)_x \leq 0 for every convex entropy η\eta with entropy flux q′=η′F′q' = \eta'F' (Exercise 2.16).

The Riemann problem

The Riemann problem has the simplest discontinuous data, a single jump:

g(x)={ul,x<0,ur,x>0.g(x) = \begin{cases}u_l, & x < 0,\\ u_r, & x > 0.\end{cases}

Its solution is the building block of the theory and of numerical methods: Godunov's scheme (1959) solves a Riemann problem at every cell boundary at every time step.

Theorem 2.6 Solution of the Riemann problem

Let FF be smooth and uniformly convex, and G=(F′)−1G = (F')^{-1}.

  1. If ul>uru_l > u_r, the entropy solution is the shock
u(x,t)={ul,x<σt,ur,x>σt,σ=F(ul)−F(ur)ul−ur.u(x, t) = \begin{cases}u_l, & x < \sigma t,\\ u_r, & x > \sigma t,\end{cases}\qquad \sigma = \frac{F(u_l) - F(u_r)}{u_l - u_r}.
  1. If ul<uru_l < u_r, the entropy solution is the rarefaction wave
u(x,t)={ul,x<F′(ul)t,G(x/t),F′(ul)t<x<F′(ur)t,ur,x>F′(ur)t.u(x, t) = \begin{cases}u_l, & x < F'(u_l)t,\\ G(x/t), & F'(u_l)t < x < F'(u_r)t,\\ u_r, & x > F'(u_r)t.\end{cases}

Proof. Case 1. The two constant states are classical solutions, the jump satisfies Rankine–Hugoniot by the choice of σ\sigma, so uu is an integral solution (the boundary terms in the proof of Theorem 2.2 cancel). It satisfies the entropy condition because ul>uru_l > u_r and FF is convex.

Case 2. In the middle region, u=G(x/t)u = G(x/t), so F′(u)=x/tF'(u) = x/t. Differentiating, F′′(u)ux=1tF''(u)u_x = \frac1t and F′′(u)ut=−xt2F''(u)u_t = -\frac{x}{t^2}. Hence ut+F′(u)ux=1F′′(u)(−xt2+xt⋅1t)=0u_t + F'(u)u_x = \frac{1}{F''(u)}\big(-\frac{x}{t^2} + \frac xt\cdot\frac1t\big) = 0: a classical solution. At the edges, x=F′(ul)tx = F'(u_l)t gives G(x/t)=ulG(x/t) = u_l and x=F′(ur)tx = F'(u_r)t gives G(x/t)=urG(x/t) = u_r, so uu is continuous. A continuous, piecewise C1C^1 function that solves the equation classically on each piece is an integral solution (there are no jumps, so no boundary terms survive). It is increasing in xx with ux=1tF′′(u)≤Ctu_x = \frac{1}{tF''(u)} \leq \frac{C}{t}, so Oleinik's condition holds.

By Theorem 2.5, these are the entropy solutions.

The rarefaction wave is self-similar: it depends only on x/tx/t, as the data are unchanged by the scaling (x,t)↦(λx,λt)(x, t) \mapsto (\lambda x, \lambda t) (6A.1 What a PDE Is made the same argument for parabolic scaling). It is the fan of characteristics issuing from the jump, each carrying a value between ulu_l and uru_r.

Example 2.7 A queue at a red light, and the green light

In Greenshields' model with vmax⁡=1v_{\max} = 1 and ρmax⁡=1\rho_{\max} = 1 (scaled units), F(ρ)=ρ(1−ρ)F(\rho) = \rho(1 - \rho), which is concave, so the inequalities flip: shocks are admissible when ρl<ρr\rho_l < \rho_r (density jumps up across a shock: cars run into a queue).

Red light. Traffic of density ρl=0.3\rho_l = 0.3 approaches a queue of stopped cars, ρr=1\rho_r = 1. The back of the queue is a shock with speed

σ=F(ρl)−F(ρr)ρl−ρr=0.21−00.3−1=−0.3:\sigma = \frac{F(\rho_l) - F(\rho_r)}{\rho_l - \rho_r} = \frac{0.21 - 0}{0.3 - 1} = -0.3:

it moves backward, towards the arriving cars, at 0.30.3 of the free-flow speed. (In general σ=1−ρl−ρr\sigma = 1 - \rho_l - \rho_r for this flux.)

Green light. The queue ρl=1\rho_l = 1 faces an empty road ρr=0\rho_r = 0. Now ρl>ρr\rho_l > \rho_r, and for a concave flux that gives a rarefaction: with F′(ρ)=1−2ρF'(\rho) = 1 - 2\rho and G(ξ)=1−ξ2G(\xi) = \frac{1 - \xi}{2},

ρ(x,t)=12(1−xt)for −t<x<t.\rho(x, t) = \frac12\Big(1 - \frac xt\Big) \quad\text{for } -t < x < t.

The disturbance spreads backward into the queue at speed 11 (the last car in a long queue starts moving only when this wave reaches it), and the front car accelerates into empty road at speed 11. At the stop line x=0x = 0 the density is 12\frac12, and the flow there is F(12)=14F(\frac12) = \frac14, the largest possible: a green light discharges a queue at the road's capacity.

Viscosity: the Hopf–Cole transformation

Real fluids have viscosity, and real drivers look ahead. Adding a small diffusion term to the conservation law,

ut+F(u)x=εuxx,u_t + F(u)_x = \varepsilon u_{xx},

gives a parabolic equation, which has smooth solutions for all time (6A.8 Nonlinear Parabolic Equations). The entropy solution should be the limit as ε→0\varepsilon \to 0: the vanishing viscosity method. For Burgers' equation this can be done exactly.

Proposition 2.8 The Hopf–Cole transformation

If φ>0\varphi > 0 solves the heat equation φt=εφxx\varphi_t = \varepsilon\varphi_{xx}, then

u=−2εφxφ=−2ε(log⁡φ)xu = -2\varepsilon\frac{\varphi_x}{\varphi} = -2\varepsilon(\log\varphi)_x

solves the viscous Burgers equation ut+uux=εuxxu_t + uu_x = \varepsilon u_{xx}.

Proof. Let w=−2εlog⁡φw = -2\varepsilon\log\varphi, so u=wxu = w_x and φ=e−w/2ε\varphi = e^{-w/2\varepsilon}. Substituting into φt=εφxx\varphi_t = \varepsilon\varphi_{xx}: φt=−wt2εφ\varphi_t = -\frac{w_t}{2\varepsilon}\varphi, and φxx=(wx24ε2−wxx2ε)φ\varphi_{xx} = \big(\frac{w_x^2}{4\varepsilon^2} - \frac{w_{xx}}{2\varepsilon}\big)\varphi. So the heat equation becomes −wt2ε=wx24ε−wxx2-\frac{w_t}{2\varepsilon} = \frac{w_x^2}{4\varepsilon} - \frac{w_{xx}}{2}, that is,

wt+12wx2=εwxx.w_t + \frac12w_x^2 = \varepsilon w_{xx}.

Differentiate in xx and put u=wxu = w_x: ut+uux=εuxxu_t + uu_x = \varepsilon u_{xx}.

Since the heat equation can be solved explicitly (6A.3 The Heat Equation on ℝⁿ), so can viscous Burgers: with φ(x,0)=exp⁡(−12ε∫0xg)\varphi(x, 0) = \exp\big(-\frac{1}{2\varepsilon}\int_0^xg\big),

u(x,t)=∫Rx−ytexp⁡(−12ε[(x−y)22t+∫0yg])dy∫Rexp⁡(−12ε[(x−y)22t+∫0yg])dyu(x, t) = \frac{\int_{\mathbb{R}}\frac{x - y}{t}\exp\Big(-\frac{1}{2\varepsilon}\Big[\frac{(x - y)^2}{2t} + \int_0^yg\Big]\Big)dy}{\int_{\mathbb{R}}\exp\Big(-\frac{1}{2\varepsilon}\Big[\frac{(x - y)^2}{2t} + \int_0^yg\Big]\Big)dy}

(Exercise 2.13). As ε→0\varepsilon \to 0 the weights concentrate at the minimiser of the bracket, by Laplace's method (the largest value of e−K/εe^{-K/\varepsilon} dominates), and u→x−y(x,t)tu \to \frac{x - y(x, t)}{t}: exactly the Lax–Oleinik formula for Burgers, where L(q)=12q2L(q) = \frac12q^2. The vanishing-viscosity limit is the entropy solution. (Evans, section 4.5.2, gives Laplace's method; the conclusion holds where the minimiser is unique.)

The viscous shock profile

What does a shock look like with a little viscosity? Look for a travelling wave u(x,t)=U(x−σt)u(x, t) = U(x - \sigma t) connecting ulu_l at −∞-\infty to uru_r at +∞+\infty.

Proposition 2.9 Viscous shocks of Burgers' equation

A travelling wave of ut+uux=εuxxu_t + uu_x = \varepsilon u_{xx} from ulu_l to uru_r exists if and only if ul>uru_l > u_r. It moves at the Rankine–Hugoniot speed σ=ul+ur2\sigma = \frac{u_l + u_r}{2} and has the profile

U(ξ)=σ−ul−ur2tanh⁡((ul−ur) ξ4ε),ξ=x−σt.U(\xi) = \sigma - \frac{u_l - u_r}{2}\tanh\Big(\frac{(u_l - u_r)\,\xi}{4\varepsilon}\Big), \qquad \xi = x - \sigma t.

Proof. Substituting u=U(ξ)u = U(\xi) gives −σU′+UU′=εU′′-\sigma U' + UU' = \varepsilon U''. Integrate once: −σU+12U2=εU′+c-\sigma U + \frac12U^2 = \varepsilon U' + c. As ξ→±∞\xi \to \pm\infty, U′→0U' \to 0 (for a profile that levels off), so both ulu_l and uru_r are roots of 12U2−σU−c=0\frac12U^2 - \sigma U - c = 0. The sum of the roots is 2σ2\sigma, which is Rankine–Hugoniot, and the product is −2c-2c, so

εU′=12(U−ul)(U−ur).\varepsilon U' = \frac12(U - u_l)(U - u_r).

For UU strictly between ulu_l and uru_r the right side is negative, so UU decreases. A profile going from ulu_l at −∞-\infty to uru_r at +∞+\infty while decreasing needs ul>uru_l > u_r: the entropy condition. Conversely, with a=ul−ur2a = \frac{u_l - u_r}{2} and U=σ−atanh⁡(bξ)U = \sigma - a\tanh(b\xi), we have U−ul=−a(1+tanh⁡bξ)U - u_l = -a(1 + \tanh b\xi) and U−ur=a(1−tanh⁡bξ)U - u_r = a(1 - \tanh b\xi), so the right side is −a22sech⁡2(bξ)-\frac{a^2}{2}\operatorname{sech}^2(b\xi), while εU′=−εabsech⁡2(bξ)\varepsilon U' = -\varepsilon ab\operatorname{sech}^2(b\xi). They agree when b=a2ε=ul−ur4εb = \frac{a}{2\varepsilon} = \frac{u_l - u_r}{4\varepsilon}.

The shock has width of order εul−ur\frac{\varepsilon}{u_l - u_r}: as viscosity vanishes the profile sharpens into a jump, and stronger shocks are thinner. In air, shock waves are only a few mean free paths of the gas molecules thick, a fraction of a micrometre at ordinary pressures, which is why they look like true discontinuities. And the entropy condition has a physical meaning: an admissible shock is one that is the limit of a viscous profile.

Long-time behaviour

Entropy solutions forget their data in a precise way. For Burgers' equation with gg integrable and compactly supported, the solution approaches, as t→∞t \to \infty, an N-wave: a function equal to xt\frac xt on an interval (−2pt,2qt)(-\sqrt{2pt}, \sqrt{2qt}) and 00 outside, with jumps at both ends, where pp and qq are determined by the data (the largest negative and positive partial integrals of gg). Its size decays like t−1/2t^{-1/2} (Evans, section 3.4.5). The decay comes from shocks: each shock dissipates entropy at a rate cubic in its strength (Exercise 2.16), so strong shocks weaken quickly. This is the signature of sonic booms: the pressure signature of a supersonic aircraft, far from it, has the shape of an N.

Systems of conservation laws

Gas dynamics, shallow water and traffic models with two variables are systems ut+F(u)x=0\mathbf u_t + \mathbf F(\mathbf u)_x = 0, with u(x,t)∈Rm\mathbf u(x, t) \in \mathbb{R}^m. The system is hyperbolic if the matrix DF(u)D\mathbf F(\mathbf u) has real eigenvalues λ1(u)<⋯<λm(u)\lambda_1(\mathbf u) < \dots < \lambda_m(\mathbf u) with a basis of eigenvectors: then a small disturbance splits into mm waves travelling at the speeds λk\lambda_k, the characteristic speeds. For one-dimensional gas dynamics they are v−cv - c, vv and v+cv + c, with vv the fluid velocity and cc the speed of sound: sound waves travel at ±c\pm c relative to the fluid, and the entropy is carried with it.

The Rankine–Hugoniot condition becomes the vector equation σ[ ⁣[u] ⁣]=[ ⁣[F(u)] ⁣]\sigma[\![\mathbf u]\!] = [\![\mathbf F(\mathbf u)]\!], which says [ ⁣[u] ⁣][\![\mathbf u]\!] is an eigenvector of an averaged Jacobian; the Lax condition requires that exactly the right number of characteristics run into the shock. Peter Lax showed in 1957 that the Riemann problem for a strictly hyperbolic system, with each characteristic field either genuinely nonlinear or linearly degenerate, is uniquely solvable for small jumps by a composition of shocks, rarefactions and contact discontinuities (Evans, section 11.2). For two equations, Riemann invariants, functions constant along one family of characteristics, reduce the system to a pair of transport equations, and this was how Riemann analysed gas dynamics in 1860 (Evans, section 11.3). Global existence for systems with small total variation is a deep theorem of James Glimm (1965), and uniqueness of such solutions was proved by Alberto Bressan and collaborators around 2000.

Where this goes Weak solutions through singularities

The pattern of this chapter, a weak formulation that allows singularities, plus a selection principle (entropy) that restores uniqueness, plus a regularisation (viscosity) that justifies the selection, recurs. For Hamilton–Jacobi equations the selection is the viscosity solution (6C.9 Hamilton–Jacobi Equations and Viscosity Solutions), defined by maximum-principle tests, and it is the vanishing-viscosity limit too. For mean curvature flow, Brakke flows and level-set flows continue through neckpinches (6A.10 Curve Shortening and the First Geometric Flows). For the Ricci flow, Perelman's surgery is a hands-on continuation through singularities (12B.9 Surgery), and Kleiner–Lott's singular Ricci flows and Bamler–Kleiner's uniqueness theorem give a canonical weak flow (12C.9 After Perelman).

History

Bernhard Riemann's 1860 paper on the propagation of sound waves of finite amplitude introduced the Riemann problem and Riemann invariants. William Rankine (1870) and Pierre-Henri Hugoniot (1887–89) derived the jump conditions. Eberhard Hopf (1950) and Julian Cole (1951) independently found the transformation of viscous Burgers into the heat equation. Peter Lax's entropy condition and his solution of the Riemann problem for systems date from 1957, and Olga Oleinik's uniqueness theorem for scalar laws from 1957 as well. Sergei Godunov's scheme appeared in 1959, James Glimm's existence theorem in 1965, and Stanislav Kruzhkov's theory of entropy solutions in several dimensions in 1970. Lighthill and Whitham's traffic model was published in 1955 and Richards' in 1956.

Recall Where we stand

A conservation law ut+F(u)x=0u_t + F(u)_x = 0 is the differential form of conservation; its integral form defines integral solutions, which can jump, and a jump moves at the Rankine–Hugoniot speed σ=[ ⁣[F(u)] ⁣]/[ ⁣[u] ⁣]\sigma = [\![F(u)]\!]/[\![u]\!] (ul+ur2\frac{u_l + u_r}{2} for Burgers). Integral solutions are not unique; the entropy condition F′(ul)>σ>F′(ur)F'(u_l) > \sigma > F'(u_r) (for convex FF, ul>uru_l > u_r) selects the physical one, and the entropy solution is unique and given by the Lax–Oleinik formula. The Riemann problem is solved by a shock if ul>uru_l > u_r and a rarefaction fan G(x/t)G(x/t) if ul<uru_l < u_r. Viscous Burgers becomes the heat equation by Hopf–Cole; its vanishing-viscosity limit is the entropy solution, and its shocks are tanh⁡\tanh profiles of width ∼ε/(ul−ur)\sim\varepsilon/(u_l - u_r). 6B.3 The Wave Equation turns to the wave equation, a second-order equation whose characteristics carry information without forming shocks.

Exercises

Exercise 2.10 Integral and classical solutions agree

Let u∈C1(R×[0,∞))u \in C^1(\mathbb{R}\times[0, \infty)). Show that uu is an integral solution with data gg if and only if ut+F(u)x=0u_t + F(u)_x = 0 and u(⋅,0)=gu(\cdot, 0) = g.

Solution

Integrating by parts in the definition (allowed for C1C^1 uu), the integral condition becomes ∬(ut+F(u)x)v+∫(u(x,0)−g(x))v(x,0) dx=0\iint(u_t + F(u)_x)v + \int(u(x, 0) - g(x))v(x, 0)\,dx = 0 for all vv. Test functions supported in t>0t > 0 give ut+F(u)x=0u_t + F(u)_x = 0 (a continuous function orthogonal to all test functions vanishes); then arbitrary v(⋅,0)v(\cdot, 0) gives u(⋅,0)=gu(\cdot, 0) = g. The converse is the same computation read backwards.

Exercise 2.11 A decreasing jump

Solve Burgers' equation with g=1g = 1 for x<0x < 0 and g=0g = 0 for x>0x > 0. Draw the characteristics and check that they run into the shock from both sides.

Solution

ul=1>0=uru_l = 1 > 0 = u_r, so the solution is a shock at speed 12\frac12: u=1u = 1 for x<t2x < \frac t2, u=0u = 0 for x>t2x > \frac t2. Characteristics on the left have speed 1>121 > \frac12 and catch up with the shock; on the right they have speed 0<120 < \frac12 and the shock overtakes them.

Exercise 2.12 A bump that turns into a triangle

For Burgers' equation with g=1g = 1 on (0,1)(0, 1) and g=0g = 0 elsewhere, show that for 0<t<20 < t < 2 the entropy solution is a rarefaction fan from x=0x = 0 followed by a shock from x=1x = 1:

u=xt  for 0<x<t,u=1  for t<x<1+t2,u=0 otherwise.u = \frac xt \ \text{ for } 0 < x < t, \qquad u = 1 \ \text{ for } t < x < 1 + \frac t2, \qquad u = 0 \text{ otherwise}.

At t=2t = 2 the fan catches the shock. Show that afterwards the shock position s(t)s(t) satisfies s˙=s2t\dot s = \frac{s}{2t} (the left state is s/ts/t, the right state 00), so s=2ts = \sqrt{2t}, and the solution is the triangle xt\frac xt on (0,2t)(0, \sqrt{2t}). Check that the area ∫u dx\int u\,dx stays equal to 11.

Solution

For t<2t < 2: the fan from 00 is the Riemann solution for 0→10 \to 1; the jump from 11 to 00 at x=1x = 1 is a shock at speed 12\frac12. They meet when t=1+t2t = 1 + \frac t2, i.e. t=2t = 2, at x=2x = 2. Afterwards the left state at the shock is st\frac st, so s˙=12⋅st\dot s = \frac12\cdot\frac st; with s(2)=2s(2) = 2, s=2ts = \sqrt{2t}. Area: ∫02txt dx=2t2t=1\int_0^{\sqrt{2t}}\frac xt\,dx = \frac{2t}{2t} = 1. Before t=2t = 2 it is t2+(1+t2−t)=1\frac t2 + (1 + \frac t2 - t) = 1 too. The height 2/t\sqrt{2/t} decays like t−1/2t^{-1/2}: the positive half of an N-wave.

Exercise 2.13 The Hopf–Cole formula

Using Proposition 2.8 and the heat kernel solution φ(x,t)=∫Φε(x−y,t)φ(y,0) dy\varphi(x, t) = \int\Phi_\varepsilon(x - y, t)\varphi(y, 0)\,dy of φt=εφxx\varphi_t = \varepsilon\varphi_{xx}, where Φε(x,t)=(4πεt)−1/2e−x2/4εt\Phi_\varepsilon(x, t) = (4\pi\varepsilon t)^{-1/2}e^{-x^2/4\varepsilon t}, derive the formula for u=−2εφx/φu = -2\varepsilon\varphi_x/\varphi given in the text.

Solution

With φ(y,0)=exp⁡(−12ε∫0yg)\varphi(y, 0) = \exp(-\frac{1}{2\varepsilon}\int_0^yg), φ=(4πεt)−1/2∫exp⁡(−(x−y)24εt−12ε∫0yg)dy\varphi = (4\pi\varepsilon t)^{-1/2}\int\exp\big(-\frac{(x - y)^2}{4\varepsilon t} - \frac{1}{2\varepsilon}\int_0^yg\big)dy, and the exponent is −12ε[(x−y)22t+∫0yg]-\frac{1}{2\varepsilon}\big[\frac{(x - y)^2}{2t} + \int_0^yg\big]. Differentiating in xx brings down −x−y2εt-\frac{x - y}{2\varepsilon t}, so −2εφx-2\varepsilon\varphi_x is the same integral with the extra factor x−yt\frac{x - y}{t}. The normalising constants cancel in the ratio.

Exercise 2.14 The back of the queue

In Greenshields' model with vmax⁡=100v_{\max} = 100 km/h and ρmax⁡=150\rho_{\max} = 150 cars/km, traffic at density ρl=45\rho_l = 45 cars/km meets a stationary queue at ρr=150\rho_r = 150. (a) Find the speed of the back of the queue. (b) The light turns green after 6060 seconds. How long is the queue then? (c) The flux F(ρ)F(\rho) is largest at ρ=75\rho = 75; what is the road's capacity in cars per hour?

Solution

F(ρ)=100ρ(1−ρ/150)F(\rho) = 100\rho(1 - \rho/150) cars/h. (a) σ=F(45)−F(150)45−150=100⋅45⋅0.7−105=−30\sigma = \frac{F(45) - F(150)}{45 - 150} = \frac{100\cdot45\cdot0.7}{-105} = -30 km/h: the back of the queue moves backward at 3030 km/h. (b) In 6060 s it moves 0.50.5 km, so the queue is 0.50.5 km long (about 7575 cars). (c) F(75)=100⋅75⋅0.5=3750F(75) = 100\cdot75\cdot0.5 = 3750 cars/h.

Exercise 2.15 When the flux is not convex

For F(u)=u3F(u) = u^3, show that the jump from ul=1u_l = 1 to ur=−1u_r = -1 has Rankine–Hugoniot speed σ=1\sigma = 1, and that F′(ul)=3>σF'(u_l) = 3 > \sigma but F′(ur)=3>σF'(u_r) = 3 > \sigma too: characteristics on the right run out of the shock, so the Lax condition fails although ul>uru_l > u_r. (The entropy solution here combines a shock with a rarefaction; non-convex fluxes need Oleinik's chord condition, Evans, section 11.4.)

Solution

σ=1−(−1)1−(−1)=1\sigma = \frac{1 - (-1)}{1 - (-1)} = 1. F′(±1)=3F'(\pm1) = 3. On the right, characteristics have speed 3>σ=13 > \sigma = 1, so they move away from the shock: the shock is not compressive on that side.

Exercise 2.16 Rehearsal: the entropy dissipated by a shock

For Burgers' equation take the convex entropy η(u)=12u2\eta(u) = \frac12u^2 and its entropy flux q(u)=13u3q(u) = \frac13u^3, chosen so that q′=η′F′q' = \eta'F'. (a) Show that smooth solutions satisfy η(u)t+q(u)x=0\eta(u)_t + q(u)_x = 0: the entropy is conserved where there are no shocks. (b) Across a shock moving at speed σ\sigma, show that ddt∫abη(u) dx=q(u(a))−q(u(b))+D\frac{d}{dt}\int_a^b\eta(u)\,dx = q(u(a)) - q(u(b)) + D with D=−σ[ ⁣[η] ⁣]′+[ ⁣[q] ⁣]′D = -\sigma[\![\eta]\!]' + [\![q]\!]', where [ ⁣[w] ⁣]′=wr−wl[\![w]\!]' = w_r - w_l. (c) With σ=ul+ur2\sigma = \frac{u_l + u_r}{2}, show D=(ur−ul)312D = \frac{(u_r - u_l)^3}{12}, which is negative exactly for admissible shocks (ul>uru_l > u_r). So in the entropy solution, ∫η(u)\int\eta(u) can only decrease, and it decreases at shocks at a rate cubic in their strength. This is the same template as 6A.12 Entropy, Information and Diffusion: a convex functional that is monotone along the flow, whose dissipation identifies the admissible solutions; Kruzhkov's definition of entropy solutions is exactly "η(u)t+q(u)x≤0\eta(u)_t + q(u)_x \leq 0 for every convex η\eta".

Solution

(a) η(u)t+q(u)x=uut+u2ux=u(ut+uux)=0\eta(u)_t + q(u)_x = uu_t + u^2u_x = u(u_t + uu_x) = 0. (b) Split ∫ab\int_a^b at the shock s(t)s(t) and differentiate: ddt∫asη+ddt∫sbη=s˙ηl−s˙ηr+∫ηt\frac{d}{dt}\int_a^s\eta + \frac{d}{dt}\int_s^b\eta = \dot s\eta_l - \dot s\eta_r + \int\eta_t, and ∫asηt+∫sbηt=−∫qx=q(a)−ql+qr−q(b)\int_a^s\eta_t + \int_s^b\eta_t = -\int q_x = q(a) - q_l + q_r - q(b). (c) With d=ur−uld = u_r - u_l: −σ(ηr−ηl)=−(ul+ur)2⋅d(ul+ur)2-\sigma(\eta_r - \eta_l) = -\frac{(u_l + u_r)}{2}\cdot\frac{d(u_l + u_r)}{2} and qr−ql=d(ur2+urul+ul2)3q_r - q_l = \frac{d(u_r^2 + u_ru_l + u_l^2)}{3}. Their sum is d12[4(ur2+urul+ul2)−3(ul+ur)2]=d12(ur−ul)2=d312\frac{d}{12}\big[4(u_r^2 + u_ru_l + u_l^2) - 3(u_l + u_r)^2\big] = \frac{d}{12}(u_r - u_l)^2 = \frac{d^3}{12}.

Free resources for this chapter

Chosen for what this chapter covers, and all free to read. Links checked Oct 20, 2026.

© 2026 NeckPinch (www.neckpinch.com). All content in the guidebook (text, mathematics, figures and exercises) is protected by copyright. All rights reserved. No part may be copied, republished or redistributed without written permission.