Hamiltonian mechanics and Poisson brackets
In the autumn of 1925 a young Paul Dirac was reading a paper by Werner Heisenberg in which quantities no longer multiplied in either order to give the same answer. On a Sunday walk he recalled an old piece of classical mechanics, the Poisson bracket, and saw that quantum mechanics could be written by changing that one bracket and almost nothing else. Established
This chapter builds the Hamiltonian form of mechanics, in which a system’s state is a point in phase space and its motion is a flow. It is the form quantum mechanics grew out of.
From velocity to momentum
Lagrange describes a system by positions and velocities. Hamilton swaps velocity for momentum, defined from the Lagrangian as . The swap is a Legendre transform, and it produces a new function, the Hamiltonian:
For ordinary systems this is simply the total energy, . Written in terms of momentum, a mass on a spring has .
Hamilton’s equations
Motion now comes from two first-order equations with a striking symmetry:
Because energy is conserved, the state moves along a contour of in the plane of position and momentum, the phase plane. The plate shows a pendulum, . Give it an energy of 0.00. Below 1 it swings back and forth on a closed loop; above 1 it goes right over the top and keeps rotating. The curve at exactly 1, the separatrix, divides the two.
A flow that never compresses
Take not one starting state but a small blob of them, and let every point follow Hamilton’s equations. . It stretches and twists, and near the separatrix it smears out into a long thin streak, yet its area never changes. That is Liouville’s theorem: Hamiltonian flow behaves like an incompressible fluid in phase space.
It is the foundation of statistical mechanics, because a probability spread over phase space can move but never pile up. Its quantum twin says that time evolution preserves probability.
Integrators that respect the flow
Simulate the pendulum with Euler’s method and the blob slowly inflates: Euler does not preserve phase-space area, so it invents energy. After 500 time units with a step of 0.1, the energy has drifted by 24, more than ten times the pendulum’s whole range. The leapfrog method updates momentum by half a step, position by a full step, then momentum again. It preserves area exactly, and its energy error stays below a thousandth forever. Methods built this way are called symplectic, and they are how planetary orbits and molecules are simulated for long times.
The Poisson bracket
For any two quantities and defined on phase space, define
Then the rate of change of any quantity is its bracket with the Hamiltonian: . A quantity whose bracket with is zero is conserved. The most basic bracket of all is . For angular momentum, and its cyclic partners: the components do not “commute”, a hint of the quantum spin that cannot point along two axes at once.
Changing coordinates without breaking anything
A change of variables is canonical if it keeps ; then Hamilton’s equations keep their form in the new variables. Some are surprising: , swaps the roles of position and momentum entirely and is perfectly canonical. In quantum mechanics this swap becomes the Fourier transform of Chapter 6.
Dirac’s step
Dirac’s proposal was to keep every equation of Hamiltonian mechanics but replace the Poisson bracket of two quantities with the commutator of two operators, divided by :
The equation of motion becomes Heisenberg’s . The single fact will give the uncertainty principle, the spacing of atomic energy levels and the stability of matter. That is the bracket quantum mechanics changed.
What you now have
Momentum as a coordinate, Hamilton’s equations, phase space as an incompressible flow, symplectic simulation, Poisson brackets and the bridge to quantum commutators.
· · ·
Three questions to carry with you.
And one to work out. For with , what is when ?
Sources: H. Goldstein, C. Poole and J. Safko, Classical Mechanics. P. A. M. Dirac, Proc. R. Soc. A 109, 642 (1925). Checked by code: leapfrog preserves blob area to 5×10⁻⁵; Euler energy drift 24.3 vs leapfrog 6×10⁻⁴ over 500 time units.