© 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.
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
- 2.1Traffic jams as shock waves
- 2.2Integral solutions
- 2.2.1The Rankine–Hugoniot condition
- 2.3Non-uniqueness and the entropy condition
- 2.4The Riemann problem
- 2.5Viscosity: the Hopf–Cole transformation
- 2.5.1The viscous shock profile
- 2.6Long-time behaviour
- 2.7Systems of conservation laws
- 2.8History
- 2.9Exercises
- ↗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
On a long road without entrances or exits, let be the density of cars (cars per kilometre) and their speed. Cars are conserved, so
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, , decreasing from a free-flow speed on an empty road to at a jam density . Bruce Greenshields proposed the simplest choice, , from photographic measurements in 1935. The flux 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 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,
with smooth (the flux). It is the differential form of the statement that for every interval ,
the amount of in changes only by what flows in at and out at (6A.1 What a PDE Is). Burgers' equation is the case , since .
To allow discontinuous , multiply the equation by a smooth test function with compact support in (it need not vanish at ), integrate, and move all derivatives onto . For a smooth solution, integrating by parts in and in ,
The right side makes sense for any bounded measurable .
A bounded measurable function on is an integral solution of the conservation law with initial data if
for every .
A function is an integral solution exactly when it is a classical solution with (Exercise 2.10). The interesting integral solutions are the ones with jumps.
The Rankine–Hugoniot condition
Suppose is smooth on either side of a curve in space-time and jumps across it, with limits from the left and from the right. What does the integral formulation say about the curve?
Let be an open region of space-time cut by a curve into (left) and (right). Let be on and on separately, a classical solution in each, and an integral solution in (for test functions supported in ). Then along ,
where is the speed of the curve and the jump.
Proof. Take . Split the integral over into and . On , is a classical solution, so by the divergence theorem in the -plane applied to the vector field ,
where is the unit normal to pointing out of (into ), and is arc length on . The first term on the right is . The same computation on gives the boundary term with and the opposite normal. Adding, the integral solution condition becomes
for every , so the bracket vanishes at every point of . The curve has tangent , so a normal pointing to the right is . Substituting, .
For Burgers' equation , the jump condition gives , so
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.
For Burgers' equation, let for and for . Two candidates:
- A shock moving at the Rankine–Hugoniot speed :
- A rarefaction wave, a fan of characteristics spreading from the origin:
Each is an integral solution. For , 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 , the middle piece solves Burgers classically (), and 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 , so on the left (where ) they are vertical lines, and on the right (where ) lines of slope . In , characteristics emerge from the shock on both sides: the value 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 , every point is reached by a characteristic from the initial line, the fan filling the wedge with characteristics issuing from the origin.
A shock with left and right states , and speed satisfies the entropy condition if
characteristics on both sides run into the shock. For a strictly convex flux (), this is equivalent to : the value drops across a shock.
For a convex flux, is increasing, and by the mean value theorem for some between and . So holds exactly when . In Example 2.3 the shock has , 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 can increase:
for a constant . An upward jump violates it; a downward jump does not. A bounded integral solution satisfying this condition is called an entropy solution.
Let be smooth and uniformly convex, and . Then there is exactly one entropy solution of with . It is given by the Lax–Oleinik formula
where minimises , and is the Legendre transform of ; the minimiser is unique for all but countably many at each .
Existence is Evans, section 3.4.2, by way of the Hopf–Lax formula for the Hamilton–Jacobi equation , whose derivative 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 for every convex entropy with entropy flux (Exercise 2.16).
The Riemann problem
The Riemann problem has the simplest discontinuous data, a single jump:
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.
Let be smooth and uniformly convex, and .
- If , the entropy solution is the shock
- If , the entropy solution is the rarefaction wave
Proof. Case 1. The two constant states are classical solutions, the jump satisfies Rankine–Hugoniot by the choice of , so is an integral solution (the boundary terms in the proof of Theorem 2.2 cancel). It satisfies the entropy condition because and is convex.
Case 2. In the middle region, , so . Differentiating, and . Hence : a classical solution. At the edges, gives and gives , so is continuous. A continuous, piecewise 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 with , so Oleinik's condition holds.
By Theorem 2.5, these are the entropy solutions.
The rarefaction wave is self-similar: it depends only on , as the data are unchanged by the scaling (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 and .
In Greenshields' model with and (scaled units), , which is concave, so the inequalities flip: shocks are admissible when (density jumps up across a shock: cars run into a queue).
Red light. Traffic of density approaches a queue of stopped cars, . The back of the queue is a shock with speed
it moves backward, towards the arriving cars, at of the free-flow speed. (In general for this flux.)
Green light. The queue faces an empty road . Now , and for a concave flux that gives a rarefaction: with and ,
The disturbance spreads backward into the queue at speed (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 . At the stop line the density is , and the flow there is , 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,
gives a parabolic equation, which has smooth solutions for all time (6A.8 Nonlinear Parabolic Equations). The entropy solution should be the limit as : the vanishing viscosity method. For Burgers' equation this can be done exactly.
If solves the heat equation , then
solves the viscous Burgers equation .
Proof. Let , so and . Substituting into : , and . So the heat equation becomes , that is,
Differentiate in and put : .
Since the heat equation can be solved explicitly (6A.3 The Heat Equation on ℝⁿ), so can viscous Burgers: with ,
(Exercise 2.13). As the weights concentrate at the minimiser of the bracket, by Laplace's method (the largest value of dominates), and : exactly the Lax–Oleinik formula for Burgers, where . 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 connecting at to at .
A travelling wave of from to exists if and only if . It moves at the Rankine–Hugoniot speed and has the profile
Proof. Substituting gives . Integrate once: . As , (for a profile that levels off), so both and are roots of . The sum of the roots is , which is Rankine–Hugoniot, and the product is , so
For strictly between and the right side is negative, so decreases. A profile going from at to at while decreasing needs : the entropy condition. Conversely, with and , we have and , so the right side is , while . They agree when .
The shock has width of order : 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 integrable and compactly supported, the solution approaches, as , an N-wave: a function equal to on an interval and outside, with jumps at both ends, where and are determined by the data (the largest negative and positive partial integrals of ). Its size decays like (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 , with . The system is hyperbolic if the matrix has real eigenvalues with a basis of eigenvectors: then a small disturbance splits into waves travelling at the speeds , the characteristic speeds. For one-dimensional gas dynamics they are , and , with the fluid velocity and the speed of sound: sound waves travel at relative to the fluid, and the entropy is carried with it.
The Rankine–Hugoniot condition becomes the vector equation , which says 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.
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.
A conservation law is the differential form of conservation; its integral form defines integral solutions, which can jump, and a jump moves at the Rankine–Hugoniot speed ( for Burgers). Integral solutions are not unique; the entropy condition (for convex , ) 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 and a rarefaction fan if . Viscous Burgers becomes the heat equation by Hopf–Cole; its vanishing-viscosity limit is the entropy solution, and its shocks are profiles of width . 6B.3 The Wave Equation turns to the wave equation, a second-order equation whose characteristics carry information without forming shocks.
Exercises
Let . Show that is an integral solution with data if and only if and .
Solution
Integrating by parts in the definition (allowed for ), the integral condition becomes for all . Test functions supported in give (a continuous function orthogonal to all test functions vanishes); then arbitrary gives . The converse is the same computation read backwards.
Solve Burgers' equation with for and for . Draw the characteristics and check that they run into the shock from both sides.
Solution
, so the solution is a shock at speed : for , for . Characteristics on the left have speed and catch up with the shock; on the right they have speed and the shock overtakes them.
For Burgers' equation with on and elsewhere, show that for the entropy solution is a rarefaction fan from followed by a shock from :
At the fan catches the shock. Show that afterwards the shock position satisfies (the left state is , the right state ), so , and the solution is the triangle on . Check that the area stays equal to .
Solution
For : the fan from is the Riemann solution for ; the jump from to at is a shock at speed . They meet when , i.e. , at . Afterwards the left state at the shock is , so ; with , . Area: . Before it is too. The height decays like : the positive half of an N-wave.
Using Proposition 2.8 and the heat kernel solution of , where , derive the formula for given in the text.
Solution
With , , and the exponent is . Differentiating in brings down , so is the same integral with the extra factor . The normalising constants cancel in the ratio.
In Greenshields' model with km/h and cars/km, traffic at density cars/km meets a stationary queue at . (a) Find the speed of the back of the queue. (b) The light turns green after seconds. How long is the queue then? (c) The flux is largest at ; what is the road's capacity in cars per hour?
Solution
cars/h. (a) km/h: the back of the queue moves backward at km/h. (b) In s it moves km, so the queue is km long (about cars). (c) cars/h.
For , show that the jump from to has Rankine–Hugoniot speed , and that but too: characteristics on the right run out of the shock, so the Lax condition fails although . (The entropy solution here combines a shock with a rarefaction; non-convex fluxes need Oleinik's chord condition, Evans, section 11.4.)
Solution
. . On the right, characteristics have speed , so they move away from the shock: the shock is not compressive on that side.
For Burgers' equation take the convex entropy and its entropy flux , chosen so that . (a) Show that smooth solutions satisfy : the entropy is conserved where there are no shocks. (b) Across a shock moving at speed , show that with , where . (c) With , show , which is negative exactly for admissible shocks (). So in the entropy solution, 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 " for every convex ".
Solution
(a) . (b) Split at the shock and differentiate: , and . (c) With : and . Their sum is .
Free resources for this chapter
Chosen for what this chapter covers, and all free to read. Links checked Oct 20, 2026.
- Notes Lecture 24: Transport equations and Burgers’ equationMIT OpenCourseWare 18.152 Introduction to PDEs (Fall 2011)Transport, Burgers' equation and the formation of shocks.
- Reference Burgers' equationWikipediaShocks, rarefactions and the Hopf–Cole transformation.
- Reference Rankine–Hugoniot conditionsWikipediaThe jump condition across a shock.
- Reference Riemann problemWikipediaRiemann problems for conservation laws.
© 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.