Hamilton's Equations
Hamilton's canonical equations are q̇i = ∂H/∂pi, ṗi = −∂H/∂qi (i = 1, …, n), together with dH/dt = ∂H/∂t. They replace n second-order Euler–Lagrange equations by 2n first-order equations defining a flow in phase space. Their antisymmetric form expresses the symplectic structure of mechanics; it implies that phase-space volume is conserved (Liouville's theorem) and that H is conserved when it has no explicit time dependence.
Curious
Newton's second law is a second-order equation: you need both where something is and how fast it is moving to predict its future. Hamilton split this into two first-order equations, one for how position changes and one for how momentum changes. Together they tell you, at every point in phase space, which way the system is heading, like arrows on a map.
The two equations have a strikingly symmetric form, with a minus sign in one but not the other. That small asymmetry encodes deep properties: energy conservation, the conservation of phase-space volume, and the structure that quantum mechanics later inherited (see Hamiltonian Mechanics).
Exploring
| Property | Consequence of Hamilton's equations |
|---|---|
| dH/dt = ∂H/∂t | Energy conserved if H has no explicit t |
| ṗi = 0 when ∂H/∂qi = 0 | Momentum conserved for cyclic coordinates |
| Divergence-free flow | Liouville: phase-space volume conserved |
| Time-reversible form | Reverse p and run backwards |
| Symplectic structure | Basis for canonical transformations |
Deep Dive
Derivation. Take the differential of H(q, p, t) = Σpq̇ − L and use the Euler–Lagrange equations and the definition of p: the q̇ terms cancel, leaving dH = Σ(q̇ dp − ṗ dq) − ∂L/∂t dt, from which the equations follow (see Euler-Lagrange Equations). They also follow from a phase-space version of the stationary-action principle.
Liouville's theorem. The velocity field (q̇, ṗ) has zero divergence because ∂²H/∂q∂p − ∂²H/∂p∂q = 0. Hence a cloud of initial conditions keeps the same phase-space volume as it moves, though its shape may stretch into fine filaments in chaotic systems. This underpins statistical mechanics (see Microcanonical Ensemble).
Numerical methods. Symplectic integrators such as the leapfrog (Störmer–Verlet) scheme preserve the structure of Hamilton's equations exactly, keeping energy errors bounded over billions of steps; they are standard in solar-system dynamics and molecular dynamics. Studies using them indicate the inner Solar System is chaotic on timescales of millions of years, although planetary orbits remain broadly stable over billions of years in most simulations.
Concept Relationship Map
Requires: Hamiltonian, partial derivatives
Enables: phase-space flow, Poisson brackets, Liouville's theorem
Commonly confused with: sign conventions
Sources
- Hamilton, W.R. (1835). Philosophical Transactions, 125, 95–144.
- Arnold, V.I. (1989). Mathematical Methods of Classical Mechanics (2nd ed.). New York: Springer.
- Laskar, J. (1989). “A numerical experiment on the chaotic behaviour of the Solar System.” Nature, 338, 237–238.