Liouville’s Theorem and the Second Law

Proof

Liouville’s theorem says that if you’ve got a set of possible states of a physical system, a “volume” in “phase space” which you might take to represent uncertainty, then that volume doesn’t change as the system evolves. This applies to systems that obey conservation of energy.

Liouville’s theorem can be easily proven using the Hamiltonian formulation of classical mechanics, which we can phrase in terms of phase spaces. (Aside: Hamiltonian mechanics generalizes better to quantum mechanics.)

Fig 1

Phase space is just the space of co-ordinates and momenta of a physical system. If you add on some extra structure, you get dynamics in this space, where each point represents a state of a physical system and a parameterized curve represents how that state evolves over time.

The core bit of structure you need to add here is the Hamiltonian , which is the energy as a function of position and momentum . tells us everything about the state of our physical system, and in fact generates our equations of motion:

This isn’t anything mysterious: for a single particle in a potential well, we have

So

But we won’t need anything that specific for Liouville’s theorem. The general equations of motion (1) are all we’ll need for Liouville’s theorem.

As is usual for physics, start with an infinitesimal volume element, dp dq (fig 1). This can represent the possible states of a physical system. We wish to show this volume is conserved as the states evolve.

Note that and are the differences in position/​momenta along corners of the rectangle. To calculate how they change, we need to see how positions and momenta change. In an infinitesimal time step, by (1),

Using 2a and 2b, we can show that

This implies that for all t,

So for all t

In words, infinitesimal rectangles in phase space have constant volume. This analysis generalizes to higher dimensions and different shapes. QED.

The Second Law

You might wonder how Liouville’s theorem squares with the second law of thermodynamics, if volumes in phase space are meant to represent uncertainty. One theorem says uncertainty remains constant, one law says it must increase. The answer is that:

  1. We’re using the full description of our physical system in Liouville’s theorem, and in the context of thermodynamics we’ve thrown away almost all the info we have about our system. This grows the size of the phase space we’re uncertain over.

  2. In phase space, our system might evolve into very complex states that require fine-grained knowledge to keep track of. Instead of neat squares, we wind up with fractal, space filling shapes. But the thermodynamic model involves far coarser evolution, resulting in all the little gaps between thin “strands” of our phase space volume getting filled in because we can’t keep track of the fine details of where our volume is/​isn’t.

So the thermodynamic uncertainty is larger and gets larger.

How a volume in phase space evolves over time to eventually become too complex to model in fine detail and force us to lossily approximate it, increasing the apparent volume.