Worked examples — Action-angle variables — integrable systems
The scenario matrix
Before we compute, let us list every cell a 1-degree-of-freedom periodic system can land in. A cell = one qualitatively different phase-space loop or one different question type.
| Cell | Name | What is different about it | Example |
|---|---|---|---|
| A | Smooth well (libration) | Loop is a closed oval; has two signs | Ex 1 (SHO) |
| B | Hard walls (libration) | is constant, loop is a rectangle | Ex 2 (box) |
| C | Power-law well | Loop is neither oval nor rectangle; depends on | Ex 3 (quartic) |
| D | Pendulum below the barrier | Swings back and forth — libration, same as A but with | Ex 4 |
| E | Pendulum above the barrier | Whirls all the way round — rotation, a different contour | Ex 5 |
| F | Attractive (bound orbit) | Loop with turning points ; a real astronomy word problem | Ex 6 |
| G | Degenerate / zero input | Zero energy, zero amplitude — does the recipe survive the limit? | Ex 7 |
| H | Exam twist | A relation that looks like it needs the trajectory but does not | Ex 8 |
We now hit each cell in turn. Read "Forecast" and guess before scrolling — that is where the learning lives.
Ex 1 — Cell A: the smooth well (harmonic oscillator)
The phase-space picture (why an ellipse?). The equation is the equation of an ellipse — a squashed circle. Its two half-widths (called semi-axes, the distance from centre to edge along each axis) are

Step 1 — Solve for . Why this step? needs as a function of ; rearranging the energy equation is the only place appears. The is the top and bottom halves of the oval (blue = , red = in the figure).
Step 2 — Get the area without integrating. The area of an ellipse is (area of a circle stretched by one way, the other). So Why this step? is the enclosed area — a known formula beats an integral.
Step 3 — Divide by and invert.
Step 4 — Differentiate for the frequency. Why this step? ; since is a straight line, its slope is — independent of energy. This is the special property that makes the oscillator isochronous (same period at any amplitude).
Ex 2 — Cell B: hard walls (particle in a box)
The phase-space picture. Between walls there is no force, so is constant. The particle moves right at , hits the wall, instantly reverses to , moves back. In the plane that is a rectangle: top edge at , bottom edge at , joined by vertical jumps at the walls.

Step 1 — Momentum. , constant. Why? No potential means all energy is kinetic.
Step 2 — Area = the whole loop (there-and-back). Why this step? A full cycle is out and back — traversing the box twice. The bottom edge contributes a second positive because both and flip sign there (a negative times a negative). This is the classic factor-of-2 trap.
Step 3 — Action and inversion.
Step 4 — Frequency and period. using . Why this step? Unlike the spring, is a parabola, so its slope grows with — a faster particle bounces more often.
Ex 3 — Cell C: a power-law well (quartic oscillator)
The idea — scaling instead of a hard integral. We do not need the messy integral; we need only how scales with . Write the turning point where : , so .
Step 1 — Rescale the integral. Substitute so runs over a fixed range independent of : where collects all the -independent constants and . Why this step? Pulling every outside the integral turns an unsolvable integral into a pure power law — all we need for the frequency.
Step 2 — Invert.
Step 3 — Frequency. Why this step? increases with energy: a stiffer-than-spring well ( rises faster than ) makes the particle turn around sooner, so it oscillates faster at higher amplitude. The period shrinks — the opposite of your maybe-guess.
Ex 4 — Cell D: pendulum below the barrier (libration)
The two regimes of a pendulum. The angle is measured from straight down. If total energy (energy at the top), the bob cannot reach the top; it swings back and forth — a libration loop (closed oval), our Cell D. If it whirls all the way over — Cell E (next example). The dividing energy is the separatrix.

Step 1 — Small-angle limit. For small , , so Why this step? Near the bottom the well looks parabolic — this is exactly the harmonic form of Ex 1 with mass and stiffness .
Step 2 — Read off the frequency by analogy. For an oscillator we need : Why this step? We already solved the harmonic case in Ex 1 (, energy-independent); mapping onto it saves all the work.
Step 3 — Action near the bottom. Using Ex 1's result (with measured from the well bottom):
Ex 5 — Cell E: pendulum above the barrier (rotation)
Why a different contour (the whole point of this cell). In libration (Ex 4) reaches a maximum, stops, and returns — the loop closes back on itself, takes both signs. In rotation, never changes sign: the bob keeps going the same way, and increases by a full each turn. The "one period" is one full revolution, so the contour runs once, not there-and-back.

Step 1 — Momentum stays one-signed. Why this step? guarantees the bracket is always positive — the bob never runs out of kinetic energy, so it never stops. No ; just .
Step 2 — The action integral, single sweep. Why this step? One full turn is exactly one period, so no factor of 2 here (contrast the box in Ex 2, which needed it). This is the single most common mistake: rotation and libration use different contours.
Step 3 — High-energy limit (fast spinning). When , barely matters: so — the frequency is just the spin rate. Why? A fast rotor ignores gravity; it behaves like a free rotor whose "period" is one revolution.
Ex 6 — Cell F: gravity word problem (radial action of a bound orbit)
Step 1 — The radial turning points. Set : the bob's radial motion reverses where all radial kinetic energy is spent. The two roots of are — perigee and apogee. Between them, librates like a 1-DOF well.
Step 2 — Radial action (standard contour integral). Why this step? This is a known residue integral; the point for us is the result, which isolates cleanly.
Step 3 — Invert for energy. Solve for : Why this step? depends on and only through the sum — a hint that the two frequencies will be equal (a degeneracy special to ).
Step 4 — Frequency. Since depends only on , — the radial and angular periods coincide, so the orbit closes into a fixed ellipse (no precession). Why? This equality is exactly why Kepler orbits do not drift — a hallmark of the pure law.
Ex 7 — Cell G: degenerate / zero input (does the recipe survive?)
Step 1 — Oscillator at . From Ex 1, and (constant). Why this step? The loop area shrinks to zero (a point at the origin), so ; but the shape stays an ellipse of the same aspect ratio, so the frequency is unchanged. A point still has a well-defined frequency — the limiting frequency of infinitesimally small swings. No blow-up.
Step 2 — Box at . From Ex 2, and with , so , . Why this step? A particle with zero speed never completes a bounce — the period diverges. This is the correct, physical degenerate limit: no motion, no period.
Step 3 — The lesson. The recipe is robust at the boundary: for the spring the degenerate limit is finite (isochronous), for the box it diverges (speed-controlled). Neither produces nonsense because we take limits of and that were built from areas, which vanish smoothly.
Ex 8 — Cell H: the exam twist (frequency without solving anything)
Step 1 — Don't look for the trajectory. The whole reason action–angle exists is that needs only the relation. Why this step? The parent's magic line: frequency comes from the area-vs-energy curve, never from integrating .
Step 2 — Invert.
Step 3 — Differentiate. Rewrite in terms of using , so : Why this step? decreases with energy — a stiffening well (like a milder version of the quartic in Ex 3). You solved it with algebra alone; the "impossible-looking" problem was two lines.
Recall Self-test (cover the answers)
A pendulum with just above — which cell? ::: Cell E (rotation), but barely — near the separatrix the period diverges. Why does the box get a factor of 2 but the whirling pendulum does not? ::: Box librates (out-and-back, ); the whirling pendulum rotates (one sweep , single-signed ). The spring's frequency is independent of . Which matrix property causes that? ::: is a straight line, so its slope is constant.
Connections
- Parent topic — the recipe
- Hamiltonian mechanics — every example is a Hamiltonian
- Canonical transformations and Generating functions — the machinery turning into
- Hamilton–Jacobi equation — where comes from
- Poisson brackets and Liouville–Arnold theorem — the multi-DOF (torus) generalization
- Adiabatic invariants — why is preserved under slow changes (Ex 7's shrinking loop)
- Bohr–Sommerfeld quantization — Ex 1's becomes the SHO spectrum
- KAM theorem — what survives when these integrable systems are perturbed