# Liouville's theorem (Hamiltonian)

In physics, Liouville's theorem, named after the French mathematician Joseph Liouville, is a key theorem in classical statistical and Hamiltonian mechanics. It asserts that the phase-space distribution function is constant along the trajectories of the system—that is that the density of system points in the vicinity of a given system point traveling through phase-space is constant with time. This time-independent density is in statistical mechanics known as the classical a priori probability.[1]

There are related mathematical results in symplectic topology and ergodic theory.

There are extensions of Liouville's theorem to stochastic systems[2].

## Liouville equations

The Liouville equation describes the time evolution of the phase space distribution function. Although the equation is usually referred to as the "Liouville equation", Josiah Willard Gibbs was the first to recognize the importance of this equation as the fundamental equation of statistical mechanics.[3][4] It is referred to as the Liouville equation because its derivation for non-canonical systems utilises an identity first derived by Liouville in 1838.[5] Consider a Hamiltonian dynamical system with canonical coordinates ${\displaystyle q_{i}}$ and conjugate momenta ${\displaystyle p_{i}}$, where ${\displaystyle i=1,\dots ,n}$. Then the phase space distribution ${\displaystyle \rho (p,q)}$ determines the probability ${\displaystyle \rho (p,q)\,d^{n}q\,d^{n}p}$ that the system will be found in the infinitesimal phase space volume ${\displaystyle d^{n}q\,d^{n}p}$. The Liouville equation governs the evolution of ${\displaystyle \rho (p,q;t)}$ in time ${\displaystyle t}$:

${\displaystyle {\frac {d\rho }{dt}}={\frac {\partial \rho }{\partial t}}+\sum _{i=1}^{n}\left({\frac {\partial \rho }{\partial q_{i}}}{\dot {q}}_{i}+{\frac {\partial \rho }{\partial p_{i}}}{\dot {p}}_{i}\right)=0.}$

Time derivatives are denoted by dots, and are evaluated according to Hamilton's equations for the system. This equation demonstrates the conservation of density in phase space (which was Gibbs's name for the theorem). Liouville's theorem states that

The distribution function is constant along any trajectory in phase space.

A proof of Liouville's theorem uses the n-dimensional divergence theorem. This proof is based on the fact that the evolution of ${\displaystyle \rho }$ obeys an n-dimensional version of the continuity equation:

${\displaystyle {\frac {\partial \rho }{\partial t}}+\sum _{i=1}^{n}\left({\frac {\partial (\rho {\dot {q}}_{i})}{\partial q_{i}}}+{\frac {\partial (\rho {\dot {p}}_{i})}{\partial p_{i}}}\right)=0.}$

That is, the 3-tuple ${\displaystyle (\rho ,\rho {\dot {q}}_{i},\rho {\dot {p}}_{i})}$ is a conserved current. Notice that the difference between this and Liouville's equation are the terms

${\displaystyle \rho \sum _{i=1}^{n}\left({\frac {\partial {\dot {q}}_{i}}{\partial q_{i}}}+{\frac {\partial {\dot {p}}_{i}}{\partial p_{i}}}\right)=\rho \sum _{i=1}^{n}\left({\frac {\partial ^{2}H}{\partial q_{i}\,\partial p_{i}}}-{\frac {\partial ^{2}H}{\partial p_{i}\partial q_{i}}}\right)=0,}$

where ${\displaystyle H}$ is the Hamiltonian, and Hamilton's equations as well as conservation of the Hamiltonian along the flow have been used. That is, viewing the motion through phase space as a 'fluid flow' of system points, the theorem that the convective derivative of the density, ${\displaystyle d\rho /dt}$, is zero follows from the equation of continuity by noting that the 'velocity field' ${\displaystyle ({\dot {p}},{\dot {q}})}$ in phase space has zero divergence (which follows from Hamilton's relations).[6]

Another illustration is to consider the trajectory of a cloud of points through phase space. It is straightforward to show that as the cloud stretches in one coordinate ${\displaystyle p_{i}}$ say it shrinks in the corresponding ${\displaystyle q^{i}}$ direction so that the product ${\displaystyle \Delta p_{i}\,\Delta q^{i}}$ remains constant.

Equivalently, the existence of a conserved current implies, via Noether's theorem, the existence of a symmetry. The symmetry is invariance under time translations, and the generator (or Noether charge) of the symmetry is the Hamiltonian.

## Other formulations

### Poisson bracket

The theorem is often restated in terms of the Poisson bracket as

${\displaystyle {\frac {\partial \rho }{\partial t}}=-\{\,\rho ,H\,\}}$

or in terms of the Liouville operator or Liouvillian,

${\displaystyle \mathrm {i} {\widehat {\mathbf {L} }}=\sum _{i=1}^{n}\left[{\frac {\partial H}{\partial p_{i}}}{\frac {\partial }{\partial q^{i}}}-{\frac {\partial H}{\partial q^{i}}}{\frac {\partial }{\partial p_{i}}}\right]=\{\cdot ,H\}}$

as

${\displaystyle {\frac {\partial \rho }{\partial t}}+{\mathrm {i} {\widehat {\mathbf {L} }}}\rho =0.}$

### Ergodic theory

In ergodic theory and dynamical systems, motivated by the physical considerations given so far, there is a corresponding result also referred to as Liouville's theorem. In Hamiltonian mechanics, the phase space is a smooth manifold that comes naturally equipped with a smooth measure (locally, this measure is the 6n-dimensional Lebesgue measure). The theorem says this smooth measure is invariant under the Hamiltonian flow. More generally, one can describe the necessary and sufficient condition under which a smooth measure is invariant under a flow. The Hamiltonian case then becomes a corollary.

### Symplectic geometry

In terms of symplectic geometry, the phase space is represented as a symplectic manifold. The theorem then states that the natural volume form on a symplectic manifold is invariant under the Hamiltonian flows. The symplectic structure is represented as a 2-form, given as a sum of wedge products of dpi with dqi. The volume form is the top exterior power of the symplectic 2-form, and is just another representation of the measure on the phase space described above. One formulation of the theorem states that the Lie derivative of this volume form is zero along every Hamiltonian vector field.

In fact, the symplectic structure itself is preserved, not only its top exterior power, namely a symplectomorphism.

### Quantum Liouville equation

The analog of Liouville equation in quantum mechanics describes the time evolution of a mixed state. Canonical quantization yields a quantum-mechanical version of this theorem, the Von Neumann equation. This procedure, often used to devise quantum analogues of classical systems, involves describing a classical system using Hamiltonian mechanics. Classical variables are then re-interpreted as quantum operators, while Poisson brackets are replaced by commutators. In this case, the resulting equation is[7][8]

${\displaystyle {\frac {\partial \rho }{\partial t}}={\frac {1}{i\hbar }}[H,\rho ]}$

where ρ is the density matrix.

When applied to the expectation value of an observable, the corresponding equation is given by Ehrenfest's theorem, and takes the form

${\displaystyle {\frac {d}{dt}}\langle A\rangle ={\frac {1}{i\hbar }}\langle [A,H]\rangle }$

where ${\displaystyle A}$ is an observable. Note the sign difference, which follows from the assumption that the operator is stationary and the state is time-dependent.

In the Phase space formulation of Quantum mechanics, supplanting the Moyal brackets for Poisson brackets in the phase-space analog of the von Neumann equation results in compressibility of the probability fluid, and thus violations of Liouville's theorem incompressibility. This, then, leads to concomitant difficulties in defining meaningful quantum trajectories.

## References

1. Harald J. W. Müller-Kirsten, Basics of Statistical Physics, 2nd ed., World Scientific (Singapore, 2013)
2. Kubo, Ryogo (1963-02-01). "Stochastic Liouville Equations". Journal of Mathematical Physics. 4 (2): 174–183. doi:10.1063/1.1703941. ISSN 0022-2488.
3. J. W. Gibbs, "On the Fundamental Formula of Statistical Mechanics, with Applications to Astronomy and Thermodynamics." Proceedings of the American Association for the Advancement of Science, 33, 57–58 (1884). Reproduced in The Scientific Papers of J. Willard Gibbs, Vol II (1906), p. 16.
4. Gibbs, Josiah Willard (1902). Elementary Principles in Statistical Mechanics. New York: Charles Scribner's Sons.
5. J. Liouville, Journ. de Math., 3, 342 (1838), .
6. Harald J.W. Müller-Kirsten, Introduction to Quantum Mechanics: Schrödinger Equation and Path Integral, 2nd ed., World Scientific (Singapore, 2012).
7. For a particularly clear derivation see Tolman, R. C. (1979). The Principles of Statistical Mechanics. Dover. pp. 48–51.
8. "Phase Space and Liouville's Theorem". Retrieved January 6, 2014. Nearly identical to proof in this Wikipedia article. Assumes (without proof) the n-dimensional continuity equation.
9. "Preservation of phase space volume and Liouville's theorem". Retrieved January 6, 2014. A rigorous proof based on how the Jacobian volume element transforms under Hamiltonian mechanics.
10. "Physics 127a: Class Notes" (PDF). Retrieved January 6, 2014. Uses the n-dimensional divergence theorem (without proof).
11. Nash, Oliver (January 8, 2015). "Liouville's theorem for pedants" (PDF). Retrieved October 1, 2015. Proves Liouville's theorem using the language of modern differential geometry.