Interactive · A pendulum in phase space

the pendulumangle q →momentum p ↑−180°

It swings back and forth, so its point in phase space goes round a closed loop. The faint curves are other energies; the dark one is the separatrix.

Push the pendulum and watch its single point in phase space. Gentle pushes trace closed loops; past the dashed separatrix it goes over the top and the curve never closes. Release a cloud of nearly identical pendulums to see Liouville’s theorem: the cloud stretches but its area stays the same.