On this page
Draw a mass on a spring in phase space, with position q on one axis and momentum p on the other, and its motion traces a closed loop. Action-angle variables turn that loop into the simplest motion possible: one number that never changes, and one angle that ticks forward at a steady rate.
What are action-angle variables?
For a system that oscillates in one dimension, the action is the area enclosed by its orbit in phase space, divided by 2π. David Tong's Cambridge lecture notes define it as J = (1/2π)∮p dq, "the area of phase space enclosed by an orbit (divided by 2π)", and show that it depends only on the energy (Tong, Classical Dynamics, chapter 4). The notes call it I; we use J here.
Its partner, the angle θ, runs from 0 to 2π once per cycle. Hamilton's equations in the new variables read dθ/dt = ∂H/∂J = ω, so θ = ωt + constant, and the curled-up loop becomes a straight line (same source).
The same notes add a warning: such variables exist only for integrable systems, and "by far the majority" of systems, chaotic ones among them, are not integrable (Tong, chapter 4).
Some texts, including Wikipedia's article on action-angle coordinates, drop the 1/2π: J = ∮p dq, the angle rises by 1 per cycle, and the frequency appears as ν = ∂E/∂J.
How do you find J and θ for a harmonic oscillator?
Write the Hamiltonian: H = p²/2m + ½mω²q².
Fix the energy. At H = E the orbit is an ellipse with semi-axes q_max = √(2E/mω²) and p_max = √(2mE).
Take the area: π × q_max × p_max = π × √(2E/mω²) × √(2mE) = 2πE/ω.
Divide by 2π: J = E/ω, so H = ωJ.
Read off the frequency: ∂H/∂J = ω, the same for every amplitude.
Tong reaches the same H = ωJ with the canonical substitution q = √(2J/mω) sin θ, p = √(2Jmω) cos θ (Tong, chapter 4).
Put in numbers. A 0.2 kg mass on a 20 N/m spring has ω = √(k/m) = 10 rad/s. Pulled 5 cm and released, it has E = ½kA² = 0.025 J, so J = E/ω = 0.0025 J s.
Why does ∂H/∂J give the frequency?
Because θ and J are a canonical pair, dJ/dt = −∂H/∂θ = 0 (H contains no θ) and dθ/dt = ∂H/∂J. Once you know E(J), one derivative gives the frequency without solving the equation of motion, a fast test of whether the period depends on amplitude. For the oscillator, ∂H/∂J is a constant. For a pendulum at large swings it falls as J grows, so the period lengthens; the large-amplitude pendulum period worked out with an elliptic integral shows exactly how much. A stiffening spring does the opposite, as in the Duffing oscillator.
A recipe for any one-dimensional problem:
Solve H(q, p) = E for p(q, E).
Integrate J(E) = (1/2π)∮p dq; the loop integral is twice the integral of p from one turning point to the other.
Invert to get E(J).
Differentiate: ω = dE/dJ, and the period is T = 2π/ω.
How did old quantum theory use J = nh?
The Wilson–Sommerfeld rule, proposed independently by William Wilson and Arnold Sommerfeld, required ∮p dq = nh for each periodic coordinate, so the action came in whole units of Planck's constant (Old quantum theory).
For the oscillator, 2πE/ω = nh gives E = nħω = nhν, Planck's rule. Full quantum mechanics differs by ½ħω, a constant the old theory could not determine (same source).
Now the spring. Planck's constant is h = 6.62607015 × 10⁻³⁴ J s (NIST). Our oscillator has n = 2πJ/h = 2π × 0.0025 / (6.626 × 10⁻³⁴) ≈ 2.4 × 10³¹, which is why nobody sees a spring's energy step up one quantum at a time.
Why quantise the action and not the energy? The action variables are adiabatic invariants: if a parameter changes slowly, J stays nearly fixed (Adiabatic invariant). At the 1911 Solvay conference Lorentz asked what happens to a pendulum whose string is slowly shortened; Einstein's answer was that its energy and frequency both change but their ratio E/ω does not (same source; Tong, chapter 4). A quantity that slow changes cannot move is the natural one to count in whole numbers.
Where do action-angle variables help in perturbation theory?
Action-angle variables are used in perturbation theory, especially to find adiabatic invariants, and in KAM theory (Action-angle coordinates). The idea: solve the simple problem exactly in (θ, J), then add a small extra term H₁. Now dJ/dt = −∂H₁/∂θ, and because θ runs round evenly this averages to zero over a cycle, so J only wobbles; the averaged term shifts the frequency instead.
If phase space still feels abstract, the Fermi Simulation Lab has interactive simulations for ideas easier to see than read, and the Fermi Concept Library covers every concept in physics, chemistry, biology, mathematics and computing.



