Liouville's Theorem and Phase-Space Volume
There are two ways to discover that Hamiltonian flow preserves phase-space volume. The first — the route of Liouville's Theorem in the phase-space chapter — treats the ensemble as a fluid, computes the divergence of the velocity field , finds it identically zero, and reads off incompressibility. It is a beautiful argument, and that companion article develops everything it touches: the Liouville equation for , equilibrium ensembles, filamentation, entropy, attractors. This page tells the other story, the one that belongs to the canonical-transformations chapter you have just climbed. Seen from here, volume conservation is not a fact about fluids at all. It is a one-line corollary of the symplectic condition. Time evolution over any interval is a canonical transformation — the flow generates, assembled from the infinitesimal steps of this chapter — and every canonical transformation has Jacobian determinant exactly , because survives taking a determinant. No divergence, no continuity equation: the theorem falls out of the same algebra that certified your generating functions and Poisson brackets. The symplectic route buys more than elegance. It reveals that total volume is only the top rung of a whole ladder of conserved quantities — the Poincaré integral invariants , one for each even dimension — and that "volume-preserving" is a strictly weaker property than "canonical" the moment you have two or more degrees of freedom. That distinction is invisible from the fluid picture, yet it is the reason symplectic integrators outperform generic volume-preserving schemes, and it culminates in Gromov's astonishing non-squeezing theorem. One theorem, two proofs, and the second proof knows more.
- Time evolution is a canonical transformation: its Jacobian obeys the symplectic condition at every instant.
- Taking determinants gives , and continuity from (or the Pfaffian) sharpens it to : phase-space volume is exactly conserved.
- The invariant volume element is the top wedge power of the symplectic form, with — volume conservation is area conservation compounded times.
- Every intermediate power is conserved too: the Poincaré integral invariants , with = Liouville's theorem and = the conjugate-plane area sum.
- For , volume-preserving is strictly weaker than canonical: is one equation, is — maps exist that keep the volume while wrecking every lower rung.
- Key idea: Hamiltonian flow is a continuous canonical transformation, and every canonical transformation has unit Jacobian because forces — so the -dimensional phase volume is invariant, along with the entire ladder of wedge-power invariants beneath it.
Hamiltonian flow is a continuous canonical transformation, and every canonical transformation has Jacobian determinant because implies ; the -dimensional volume element is therefore invariant — and so is every lower wedge power of , which is more than plain volume conservation can say.
Where this lives today
The canonical-transformation reading of Liouville's theorem is embedded in nearly every long-time simulation running right now. Symplectic integrators — the leapfrog family, the splitting schemes of Poisson-Bracket Formulation of Dynamics, and their high-order descendants — are, by construction, discrete canonical maps: each step satisfies exactly, so each step conserves the entire Poincaré ladder exactly, and the million-orbit stability of planetary ephemerides, molecular-dynamics runs, and accelerator tracking codes is Derivation A operating at machine precision. The design logic runs through this page's warning in reverse: because volume alone is too weak a certificate, integrator authors verify symplecticity of the update map — the bracket test — rather than watching energy or volume drift. The frontier is the gap between the rungs. Gromov's 1985 non-squeezing theorem says a canonical map can never squeeze a ball of radius through a hole of radius in any single conjugate plane, no matter how enormously it spreads the other coordinates — even though volume bookkeeping would happily permit it. This "symplectic camel" rigidity is the classical shadow of the uncertainty principle (a minimal that no canonical trickery can beat), it constrains how much beam conditioning any conservative lattice can achieve beyond plain emittance conservation, and it seeded the field of symplectic capacities in mathematics. The fluid picture sees none of this: it is a theorem about the ladder, not the top rung.
The physical picture
Forget the fluid for a moment and think in the vocabulary of this chapter: charts and maps. The time- flow takes each initial state to the evolved state . That is a map of phase space to itself — formally identical to the canonical transformations you have been testing with brackets and building with generating functions, except that nature composes this one for you. The whole content of Liouville's theorem is that passes the canonicity test, and that passing it leaves the determinant of the Jacobian nowhere to go but .
The picture to carry is a stack of accountants. The fluid proof audits one number — total volume — and certifies it unchanged. The symplectic proof audits a whole ledger: the area of the region's shadow on each conjugate plane, summed (that is , the quantity your canonicity test already guards); the four-dimensional shadows taken in conjugate pairs (); and so on up to the full -volume (). A canonical map — and therefore Hamiltonian time evolution — balances every line of that ledger. A merely volume-preserving map balances only the last line, and for there are plenty of maps that do exactly that and no more.
One caution the companion article states and we repeat, because it bites in this chapter too: conservation of volume says nothing about conservation of shape. The flow may stretch a region enormously along while crushing it along ; the symplectic condition polices the products, not the factors. What the canonical viewpoint adds is a sharp lower limit on the crushing — Gromov's non-squeezing theorem, at the end of this page — which no amount of volume bookkeeping could detect.
The theorem in one determinant
Recall the algebraic fingerprint of this chapter. A map with Jacobian matrix is canonical exactly when it satisfies the condition established in Symplectic Condition — the matrix form of the fundamental brackets of Fundamental Poisson Brackets:
where: — the Jacobian of the transformation; — the standard symplectic matrix; — the identity. Equation (1) packs all independent fundamental-bracket conditions into one matrix identity; it is the same test Poisson Brackets as the Test for Canonicity runs bracket by bracket. Now do to (1) the crudest thing linear algebra allows: take the determinant of both sides. Determinants multiply, , and , so the condition collapses to a single scalar sentence:
where: the sign is fixed at , not merely — Derivation A gives two independent reasons. Equation (2) is Liouville's theorem in embryo: a determinant is precisely the local volume-stretch factor of a map, and a map whose stretch factor is everywhere moves regions around without changing their content. Note what the argument did not use: no Hamiltonian, no equations of motion, no time. Unit Jacobian is a property of every canonical transformation — a coordinate change to action-angle variables, a generating-function map, anything that passes test (1). The change-of-variables formula turns (2) into the integral statement. For any region mapped to ,
where: — the phase-space volume element. Reading (3) for the special canonical map "evolve for time " is Liouville's theorem; reading it for a coordinate change says the phase-space measure is chart-independent — the license behind every ensemble integral in statistical mechanics, and the reason the density of states does not care which canonical coordinates you compute it in.
We are proving that every matrix satisfying has determinant exactly . The determinant-squared step is two lines; the real content is pinning the sign, because alone would permit orientation-reversing "anticanonical" maps, and the difference matters — it is why Hamiltonian flow can never mirror-flip phase space. The strategy: take determinants for the magnitude, then use the Pfaffian — the polynomial square root of the determinant that every antisymmetric matrix possesses — for the sign. Watch that nothing here mentions dynamics: the result is pure linear algebra about the canonical group.
Step 1. Take the determinant of both sides of . Multiplicativity gives
Step 2. Use and cancel , which equals : the blocks of commute, so the block-determinant formula gives . Then
Step 3. Fix the sign with the Pfaffian. Every real antisymmetric matrix has a polynomial invariant with and the transformation law for any . Apply it to the symplectic condition with , :
Since (it equals depending on the coordinate ordering convention), divide: . No symplectic matrix reverses orientation. Why a second argument is worth having: for the flow map specifically, continuity does the same job — is the identity with , and a continuously evolving determinant confined to the two-point set can never jump. The Pfaffian argument is stronger: it covers every canonical map, including discrete ones (a symplectic integrator step, a generating-function chart change) that are not connected to the identity through the family you happen to be using.
Step 4. Conclude with the change of variables: everywhere makes every region's volume invariant under the map, equation (3). For the symplectic condition reads directly — condition and conclusion coincide, which is why one bracket decides everything in one degree of freedom.
Time evolution passes the test
Equation (2) applies to time evolution only if the flow map is actually canonical. This chapter has already assembled the pieces: an infinitesimal time step is an infinitesimal canonical transformation with generator — that is the content of Hamiltonian as Generator of Time Evolution, built on the F2 machinery of Infinitesimal Canonical Transformations — and compositions of canonical maps are canonical. What remains is to see the symplectic condition hold exactly along the flow, not just to first order in the step. The clean statement is differential. Let be the Jacobian of the flow map at time ; differentiating Hamilton's equations with respect to the initial conditions gives its equation of motion,
where: — the (symmetric) Hessian matrix of second derivatives of , evaluated along the trajectory; — the linearization of the Hamiltonian vector field. Equation (4) is called the variational or tangent-map equation; numerically integrating it beside the trajectory is how one computes stability exponents in practice. Its structure — antisymmetric times symmetric — is exactly what makes the following derivation close.
Go deeper · Derivation B · 2 minThe flow map is canonical at every instant
We are proving that for all , which certifies the time- flow as a canonical transformation and (through Derivation A) delivers Liouville's theorem. Rather than compose infinitely many infinitesimal steps and track error terms, we use the sharpest version of the argument: show that the combination is a constant of the motion of the variational equation — its time derivative vanishes identically because a symmetric Hessian sandwiched between 's cancels against its transpose. The one thing to watch is where symmetry of enters; that is the only property of the proof consumes, so the result holds for any Hamiltonian, driven or autonomous.
Step 1. Differentiate the candidate invariant along the flow, using the product rule and equation (4) with its transpose (since ):
Step 2. Evaluate the two matrix products of with itself. From and : and . Substitute:
Why the cancellation is not luck: the two terms are transposes of one another up to the antisymmetry of and the symmetry of — the same interplay that makes cancel in the fluid proof's divergence. The two derivations are spending the identical mathematical coin (, Clairaut's theorem) in different currencies.
Step 3. Fix the constant by the initial condition. At the flow map is the identity, , so . A quantity with zero time derivative keeps its initial value:
Step 4. Chain the conclusions. satisfies the symplectic condition → Derivation A gives → equation (3) gives for every comoving region. Liouville's theorem, proved without ever mentioning a density. Why time-dependence of H costs nothing: the derivation used as an arbitrary symmetric matrix at each instant — nothing required to be conserved or even autonomous. A driven system's flow is every bit as canonical, and its phase volume every bit as rigid; what fails for driven systems is energy conservation, a logically independent statement. This is the cleanest way to see that Liouville's theorem and energy conservation are different theorems with different hypotheses.
The wedge ladder — what volume conservation is made of
The determinant proof is efficient but slightly wasteful: it crushes the full symplectic condition — scalar equations — into the single scalar . The wedge-product language shows what the crushing discards. The symplectic form
where: — the antisymmetric (exterior) product of differentials, so — is the coordinate-free packaging of the fundamental brackets: preserving is the symplectic condition, one form instead of a matrix identity. Geometrically, eats a small parallelogram in phase space and returns the sum of the signed areas of its shadows on the conjugate planes. That single sentence is worth internalizing — it is the invariant your canonicity test has been protecting all along. Because canonical maps preserve , they automatically preserve every wedge power , and the top power is — up to a constant — the volume element itself:
where: the cancels the overcounting from the orderings of the identical factors in the wedge power. Equation (6) is Liouville's theorem stated as geometry: the volume form is built out of the symplectic form, so no map can preserve and fail to preserve volume. Integrated over -dimensional surfaces, the intermediate powers give the full ladder,
where: — any -dimensional comoving surface (or region boundary) in phase space; — the conjugate-plane area sum, the invariant beam physicists call emittance; — total volume, Liouville's theorem. These are the Poincaré integral invariants. The ladder is strictly ordered in strength: preserving (all rungs) implies preserving volume (top rung), but a map can preserve the top rung alone — Worked Example 2 constructs one with three lines of arithmetic and the canonicity test of this chapter catches it immediately.
Go deeper · Derivation C · 2 minVolume as the top rung — the ladder from the symplectic form
We are deriving equation (6) — that the -th wedge power of is times the volume form — and with it the conservation of the whole ladder (7). The computation is a bookkeeping exercise in wedge algebra, and doing it once honestly demystifies both the and the claim that "volume conservation is area conservation compounded times". The strategy: expand the power multinomially, kill the repeated factors by antisymmetry, and count the survivors. Keep track of one subtlety — the two-forms commute with each other (even total degree), so no signs appear, only counting.
Step 1. Expand by the multinomial theorem. A generic term picks the factor from the first copy, from the second, and so on — a word with letters from .
Step 2. Kill the repeats. If any index appears twice, the term contains , which vanishes because appears twice in a wedge product. Only words using each index exactly once survive: the permutations of .
Step 3. Reorder each survivor. Each block is a form of even degree two, and even-degree forms commute through anything: moving a block past another block flips two pairs of odd factors, sign . Every permutation therefore reorders to the same standard product with coefficient .
Step 4. Count: identical surviving terms give , which is equation (6). Since Derivation B showed the flow preserves (that is what says in form language), it preserves for every — the integrand of each is transported intact, so each integral over a comoving surface is constant. The ladder stands. Why the ladder outranks the determinant: conversely, preserving the top power alone does not force preservation of — the determinant is one polynomial condition on , the form condition is . The gap between them, empty for , is where volume-preserving-but-not-canonical maps live for , and it is the precise mathematical home of the distinction between a merely volume-preserving integrator and a symplectic one. Two quick limiting checks: for the ladder collapses to its single rung = area = volume, and canonical ⇔ area-preserving-with-orientation, consistent with the one-bracket test; for , , matching .
Limiting cases
| Case | Result | Meaning |
|---|---|---|
| volume-preserving and canonical coincide; the ladder has one rung | ||
| volume is strictly weaker than symplectic — see Worked Example 2 | ||
| Driven | Derivation B unchanged ( arbitrary symmetric) | volume conserved instant by instant; energy conservation is a separate theorem |
| Dissipation added | flow no longer canonical; | contraction onto attractors — the regime the companion article dissects |
| Discrete canonical map | symplectic integrator step: all exact | volume exact, energy only approximate (shadow Hamiltonian) |
| Linearized flow | eigenvalues come in pairs — stretch is always paid for by squeeze | |
| -side image | counts states | unitary evolution is the quantum Liouville; the measure quantization uses is the invariant one |
Worked examples
1 · The oscillator flow map, and the integrator that fails the test (confidence builder)
For the harmonic oscillator with and , write the time- flow map explicitly, verify at , then compute the volume inflation of the explicit-Euler discretization with step after steps, and repair it with a one-line change.
Step 1. The exact flow. Hamilton's equations for have the well-known solution, linear in the initial data:
Step 2. Test it at , where , , , and :
The identity makes the determinant exactly at every — the flow map is a rotation in the scaled phase plane, and for that single number certifies full canonicity.
Step 3. Discretize badly. Explicit Euler updates , , a linear map with
Step 4. Compound the crime. Each step multiplies every phase-space area by ; after steps (100 s of simulated time, about 32 periods) the accumulated factor is
A blob of initial conditions ends up 55 times fatter — the monotone energy inflation every student who codes Euler on an oscillator has watched, now diagnosed as a determinant sitting off the canonical group.
Step 5. The one-line repair. Update first, then use the new in the step (symplectic Euler): , then , giving
Same cost, same first-order accuracy, but the update map now lives in the canonical group: areas are exact forever, and the energy merely breathes around a shadow value instead of ramping. Liouville's theorem is not just something the true flow obeys — it is a design constraint you can build into an algorithm.
2 · Volume preserved, symplectic structure shredded (exam level)
In two degrees of freedom, consider the linear map , , , with . Show it preserves phase-space volume exactly, show it is not canonical, and quantify the damage on the Poincaré ladder for an initial product region with conjugate-plane areas and .
Step 1. Volume: the Jacobian is diagonal, in the ordering , so
Every -volume is exactly preserved: the map satisfies Liouville's conclusion perfectly.
Step 2. Canonicity: run the fundamental-bracket test of this chapter. , and . Two fundamental brackets fail (the cross brackets , , etc. all vanish correctly), so : not canonical, despite the unit determinant.
Step 3. Read the damage on the ladder. Take the initial region to be a product of disks in the two conjugate planes. The map scales areas plane by plane by exactly the failed brackets: and . The two rungs:
Step 4. Interpret. The map robs conjugate plane 2 to pay conjugate plane 1 — a currency exchange the top rung cannot see, because the product of the areas is deaf to transfers between the factors. Any genuinely canonical map would have held each bracket, hence both rungs, fixed. No Hamiltonian, in any amount of time, can generate this map: Derivation B guarantees the flow preserves , and this map does not.
Step 5. The exam moral. When asked "is this transformation canonical?", the determinant is never sufficient evidence for — compute the fundamental brackets (six independent ones for , counting antisymmetry). And when asked what Liouville's theorem says, remember it is the weakest consequence of canonicity: the flow conserves the whole ladder, of which volume is only the last, bluntest rung.
Origins · 1 minHenri Poincaré and how this was discovered
Poincaré met phase-space volume where it mattered most: the three-body problem. His prize memoir of 1890 for King Oscar II of Sweden — famously corrected after Phragmén spotted an error, at a cost to Poincaré exceeding the prize money — introduced the integral invariants as the conserved integrals of Hamiltonian flow and wielded the top one, Liouville's volume, to prove the recurrence theorem: a bounded incompressible flow must return arbitrarily close to its starting state. The same memoir contains the first glimpse of homoclinic chaos, volume-preserving yet unpredictable — a combination that seemed paradoxical then and is a commonplace of dynamics now. Poincaré treated the invariant ladder as the true skeleton of mechanics, a view vindicated a century later when Gromov's non-squeezing theorem (1985) showed symplectic maps are rigid in ways volume accounting cannot detect, founding modern symplectic topology on precisely the gap between and that this page maps out.
Going further
References. Goldstein, Poole & Safko, Classical Mechanics, 3rd ed., §9.5 and §9.9 (canonical/Poincaré invariants; Liouville's theorem) · Landau & Lifshitz, Mechanics, 3rd ed., §46 (Liouville's theorem) · Arnold, Mathematical Methods of Classical Mechanics, Ch. 8 (symplectic structure and integral invariants) · Hairer, Lubich & Wanner, Geometric Numerical Integration, Ch. VI (symplectic integrators) · McDuff & Salamon, Introduction to Symplectic Topology (non-squeezing, capacities) Four key checks underpin the article: (1) follows from Hamilton's equations via equality of mixed partials; (2) by taking determinants with ; (3) reduces to via the convective derivative; (4) the damped-oscillator velocity-field divergence equals . No empirical numerical constants are asserted. Key numerics: the oscillator flow-map determinant at ; the Euler inflation against the exact symplectic-Euler determinant ; the ladder example with fixed. The fluid-picture derivations and statistical-mechanics consequences live in the companion article Liouville's Theorem and are deliberately not duplicated here.
Builds on: Symplectic Condition · Definition of Canonical Transformations · Poisson Brackets: Definition · Poisson-Bracket Formulation of Dynamics Leads to: Symplectic Group and Phase-Space Geometry · Poisson Brackets as a Test for Canonicity · Algebra of Poisson Brackets
The phase-space chapter already has a full Liouville article. What does this one add that it does not?
Division of labor, stated plainly: the companion Liouville's Theorem proves volume conservation from the divergence-free velocity field and then develops what the theorem is for — the Liouville equation, equilibrium ensembles, entropy, filamentation, attractors. This page proves the same theorem from the symplectic condition and develops what the theorem is made of: the unit Jacobian of every canonical map, the invariance of and its wedge powers, the full Poincaré ladder, and the strict gap between volume-preserving and canonical for . If you need consequences for ensembles, go there; if you need to know why symplectic integrators work, why exactly, or why a volume check can never certify canonicity, the answers live on this side. The two proofs spend the same mathematical coin — symmetry of second derivatives against antisymmetry of the canonical structure — in different currencies.
Why is the determinant exactly +1 rather than just plus-or-minus 1?
Two independent reasons, useful in different situations. For a flow, continuity: has determinant , the determinant varies continuously with , and a continuous function trapped in the two-point set cannot jump. For an arbitrary canonical map — including discrete ones not obviously connected to the identity — the Pfaffian: every real antisymmetric matrix has a polynomial invariant with , and applying this to gives directly, since . Physical content: canonical maps preserve orientation — Hamiltonian evolution can shear and fold phase space but never mirror-reflect it. A hypothetical map would preserve volume too, but it lies outside the canonical group.
Is volume preservation equivalent to being canonical or not? I have seen both claims.
Both circulate because the answer depends on . For one degree of freedom they coincide exactly: phase space is a plane, the only fundamental bracket is , and it literally equals — so is the entire symplectic condition. That special case is where the folklore "canonical = area-preserving" comes from, and it is true (with orientation). For the equivalence fails, and the counting says by how much: is one scalar equation, imposes — six conditions for . Worked Example 2 lives in the gap: unit determinant, two broken brackets, ladder rung inflated by . So quote the equivalence only in the phase plane; everywhere else, canonical is strictly stronger.
What do the intermediate invariants I_k actually measure, physically?
Project your comoving region onto each conjugate plane and add the signed shadow areas: that sum is , the quantity a beam physicist calls (total) emittance. The higher do the same with -dimensional shadows taken over all choices of distinct conjugate pairs at once — for , sums the three 4-volumes of shadows on the , , pair-planes. Only conjugate pairings enter; shadows on non-conjugate planes like are not protected, which is exactly why a cloud may spread without bound in configuration space. The flow conserves every rung simultaneously — a far tighter corset than volume alone, and the reason "the ellipse rotates and shears but its area survives" remains true plane by plane, not just in aggregate.
Does the symplectic proof still work when H depends explicitly on time?
Yes, and the proof makes the reason unusually transparent: Derivation B differentiates along the flow and uses only one property of the Hamiltonian — that its Hessian is symmetric, which any function's second-derivative matrix is, driven or not. Energy conservation never enters. So a parametrically driven oscillator, a particle in a ramping trap, an RF-modulated accelerator lattice: all have exactly volume-preserving, fully canonical flows at every instant, while their energies wander freely. Keep the two theorems apart — Liouville's theorem needs Hamiltonian structure; energy conservation needs Hamiltonian structure plus time-translation symmetry, the diagonal of Symmetries and Conservation Laws in Hamiltonian Form.
How can Gromov non-squeezing be true if I am free to squeeze one coordinate as thin as I like?
You are free to squeeze — but not in a conjugate pair simultaneously. Take a ball of radius : its shadow on the plane has area . Gromov's theorem says no canonical map can fit the ball inside a cylinder with — the conjugate-plane shadow can never be compressed below its initial disk — even though volume conservation alone would allow it (make the cylinder long enough and its volume is infinite anyway). Squeezing against , or against , remains perfectly legal; the protection is pair-wise, a strengthening of the story into a genuine topological rigidity that no finite list of integral invariants implies. It is the sharpest known classical echo of the uncertainty principle: a minimal conjugate-plane footprint that survives every canonical manipulation.
Why do symplectic integrators conserve volume exactly but energy only approximately? Should it not be the other way around?
Because the two conservation laws have different mechanisms, and the integrator can only inherit one. Volume (and the whole ladder) is conserved by any canonical map — it is a property of the group the map belongs to, not of the particular Hamiltonian. A symplectic integrator's step is constructed to be an exactly canonical map (a composition of exact sub-flows, as in the splitting schemes of Poisson-Bracket Formulation of Dynamics), so it conserves volume with zero error, forever. Energy conservation, by contrast, requires the map to be the flow of that specific — and the discrete step is not; it is the exact flow of a nearby "shadow" Hamiltonian . Hence the signature behavior of Worked Example 1's repaired scheme: volume exact, energy oscillating boundedly around a shadow value, never drifting. If a scheme's energy drifts monotonically, its update map has left the canonical group — check its determinant and brackets.
What happens to Liouville volume in quantum mechanics?
It becomes the state count. Semiclassically, each quantum state occupies a cell of volume in phase space, so the invariant measure counts states — and Liouville's theorem is what makes that count independent of the canonical coordinates used and constant under evolution, the classical skeleton of unitarity. The dynamical statement transcribes through the bracket-to-commutator dictionary: the density operator obeys , unitary evolution preserving and all spectral content, exactly as the classical flow transports without compression. Even Gromov's non-squeezing has a quantum reading: the protected conjugate-plane disk of area is the classical ancestor of . The measure, the evolution, and the rigidity all quantize along the lines this chapter drew.