Hamilton–Jacobi Theory and Action-Angle Variables
CSIR NET advanced mechanics: Hamilton–Jacobi equation, characteristic functions, separation of variables, action-angle variables, adiabatic invariants.
- 20 min
On this page · 15 sections
Prerequisites
- Poisson Brackets and Canonical Transformations: generating functions, especially type \( F_2(q, P, t) \), and \( K = H + \partial F/\partial t \).
- Symmetry, Invariance and Noether’s Theorem: conserved quantities, which become the separation constants here.
- Central Forces, Scattering and Collisions: the effective potential and Kepler orbits used in the separable examples.
The Hook: A Pendulum on a Shortening String
The Hamilton–Jacobi Equation
Seek a type-2 generating function \( S(q, P, t) \) for which the new Hamiltonian is zero:
$$K = H\left(q, \frac{\partial S}{\partial q}, t\right) + \frac{\partial S}{\partial t} = 0$$That is the Hamilton–Jacobi equation (HJE):
$$\boxed{H\left(q_1, \ldots, q_n,\ \frac{\partial S}{\partial q_1}, \ldots, \frac{\partial S}{\partial q_n},\ t\right) + \frac{\partial S}{\partial t} = 0}$$With \( K = 0 \), the new momenta and coordinates are all constants: call them \( \alpha_i \) and \( \beta_i \). A complete integral is a solution \( S(q, \alpha, t) \) containing \( n \) independent non-additive constants \( \alpha_1, \ldots, \alpha_n \). (An additive constant in \( S \) is irrelevant.) Then
$$\boxed{p_i = \frac{\partial S}{\partial q_i}, \qquad \beta_i = \frac{\partial S}{\partial\alpha_i}}$$The second set of \( n \) equations, solved for \( q_i \), gives the trajectory \( q_i(t, \alpha, \beta) \); the first gives the momenta. The \( 2n \) constants are fixed by initial conditions.
What \( S \) is
Along an actual trajectory,
$$\frac{dS}{dt} = \sum_i\frac{\partial S}{\partial q_i}\dot q_i + \frac{\partial S}{\partial t} = \sum_ip_i\dot q_i - H = L$$So \( S = \int L\,dt + \text{const} \): Hamilton’s principal function is the action, evaluated along the true path as a function of its end point. It satisfies \( \partial S/\partial q = p \) and \( \partial S/\partial t = -H \).
Time-independent Hamiltonians
If \( H \) has no explicit \( t \), separate time off:
$$S(q, \alpha, t) = W(q, \alpha) - Et$$where Hamilton’s characteristic function \( W \) satisfies the time-independent HJE
$$\boxed{H\left(q, \frac{\partial W}{\partial q}\right) = E}$$Take \( \alpha_1 = E \). The equation \( \beta_1 = \partial S/\partial E = \partial W/\partial E - t \) gives \( t \) as a function of position (the timing); the others, \( \beta_i = \partial W/\partial\alpha_i \) for \( i \geq 2 \), give the orbit shape without time.
| Function | Arguments | Satisfies | Generates |
|---|---|---|---|
| Principal function \( S \) | \( q, \alpha, t \) | \( H + \partial S/\partial t = 0 \) | \( K = 0 \): all new variables constant |
| Characteristic function \( W \) | \( q, \alpha \) | \( H(q, \partial W/\partial q) = E \) | \( K = E \): new momenta constant, new coordinates linear in \( t \) |
Worked Solutions
Separation of Variables
The HJE is useful because it often separates. Try \( W = \sum_iW_i(q_i) \). If a coordinate \( q_k \) appears in \( H \) only through a combination \( f_k(q_k, \partial W/\partial q_k) \) that can be set equal to a constant, it separates.
- Cyclic coordinates separate trivially: if \( q_k \) is cyclic, \( W_k = \alpha_kq_k \) with \( \alpha_k = p_k \).
- Separation constants are conserved quantities: \( E \), \( p_z \), \( L_z \), \( L^2 \) and so on. Each symmetry of Symmetry, Invariance and Noether’s Theorem supplies one.
- Separability depends on the coordinates. The Kepler problem separates in spherical coordinates and also in parabolic coordinates (the second fact is why parabolic coordinates are used for hydrogen in a uniform electric field, the Stark problem).
Central force in a plane
$$H = \frac{p_r^2}{2m} + \frac{p_\theta^2}{2mr^2} + V(r)$$\( \theta \) is cyclic, so \( W = \alpha_\theta\theta + W_r(r) \), with \( \alpha_\theta = L \), and
$$W_r = \int\sqrt{2m\left(E - V(r)\right) - \frac{L^2}{r^2}}\,dr$$Then \( \partial W/\partial L = \beta_2 \) gives the orbit,
$$\theta - \beta_2 = \int\frac{L\,dr}{r^2\sqrt{2m(E - V) - L^2/r^2}}$$which is the standard orbit integral, now obtained without writing a single equation of motion.
Central force in space
In spherical coordinates the HJE reads
$$\frac{1}{2m}\left[\left(\frac{\partial W}{\partial r}\right)^2 + \frac{1}{r^2}\left(\frac{\partial W}{\partial\theta}\right)^2 + \frac{1}{r^2\sin^2\theta}\left(\frac{\partial W}{\partial\phi}\right)^2\right] + V(r) = E$$It separates in the order \( \phi \), then \( \theta \), then \( r \):
$$\frac{\partial W}{\partial\phi} = \alpha_\phi = L_z, \qquad \left(\frac{\partial W}{\partial\theta}\right)^2 + \frac{\alpha_\phi^2}{\sin^2\theta} = \alpha_\theta^2 = L^2, \qquad \frac{1}{2m}\left(\frac{\partial W}{\partial r}\right)^2 + \frac{\alpha_\theta^2}{2mr^2} + V = E$$The three separation constants \( E \), \( L^2 \), \( L_z \) are the three commuting conserved quantities of a central force, the same ones that label hydrogen states by \( n, l, m \).
Action-Angle Variables
For a periodic motion (libration between turning points, or rotation of an angle-like coordinate) with one degree of freedom, define the action variable
$$\boxed{J = \oint p\,dq}$$the area enclosed by the orbit in phase space, a function of \( E \) alone. Invert to get \( H = H(J) \). Use \( J \) as the new momentum; the conjugate angle variable is \( w = \partial W/\partial J \), and
$$\dot J = 0, \qquad \dot w = \frac{\partial H}{\partial J} \equiv \nu(J)$$So \( w = \nu t + \beta \) and, over one period, \( w \) increases by exactly 1. Hence:
$$\boxed{\nu = \frac{\partial H}{\partial J} = \left(\frac{\partial J}{\partial E}\right)^{-1}, \qquad T = \frac{\partial J}{\partial E}}$$The frequency comes from \( H(J) \) without solving the equation of motion.
Standard action variables
| System | \( J = \oint p\,dq \) | \( H(J) \) | Frequency \( \nu = \partial H/\partial J \) |
|---|---|---|---|
| Harmonic oscillator | \( 2\pi E/\omega \) | \( \omega J/2\pi \) | \( \omega/2\pi \), independent of \( E \) |
| Particle in a box of width \( L \) | \( 2L\sqrt{2mE} \) | \( J^2/8mL^2 \) | \( \sqrt{2E/m}/2L = v/2L \) |
| Ball bouncing on a floor in gravity \( g \) | \( \dfrac{4\sqrt2}{3g\sqrt m}E^{3/2} \) | \( \propto J^{2/3} \) | \( \dfrac{g}{2}\sqrt{\dfrac{m}{2E}} = \dfrac{1}{2\sqrt{2h/g}} \) |
| Plane rotor, moment of inertia \( I \) | \( 2\pi p_\phi \) | \( J^2/8\pi^2I \) | \( p_\phi/2\pi I = \dot\phi/2\pi \) |
| Power law \( V = a\lvert x\rvert^k \) | \( \propto E^{1/2 + 1/k} \) | \( \propto J^{2k/(k+2)} \) | \( \propto E^{1/2 - 1/k} \) |
The power-law row checks against mechanical similarity: for \( k = 2 \), \( \nu \) is independent of \( E \); for \( k = 4 \), \( \nu\propto E^{1/4}\propto \) amplitude (period halves when the amplitude doubles).
Several degrees of freedom and the Kepler degeneracy
For a separable system, define one action for each coordinate, \( J_i = \oint p_i\,dq_i \), and \( \nu_i = \partial H/\partial J_i \). For the Kepler problem with \( V = -k/r \), the energy depends on the actions only through their sum:
$$H = -\frac{2\pi^2mk^2}{(J_r + J_\theta + J_\phi)^2}$$So all three frequencies are equal: \( \nu_r = \nu_\theta = \nu_\phi \). The radial and angular oscillations stay in step and the orbit closes, the same fact that the Runge–Lenz vector expresses. A frequency degeneracy of this kind is the action-angle signature of a hidden symmetry.
With \( J = J_r + J_\theta + J_\phi \), \( \nu = \partial H/\partial J = 4\pi^2mk^2/J^3 = 2\lvert E\rvert/J \). Setting \( J = nh \) (Bohr–Sommerfeld, below) with \( k = e^2/4\pi\varepsilon_0 \) gives \( E_n = -mk^2/2n^2\hbar^2 = -13.6\ \text{eV}/n^2 \), the Bohr levels.
Adiabatic Invariants
Let a parameter \( \lambda \) of the Hamiltonian (a length, a spring constant, a field) change slowly compared with the period: \( T\,\lvert\dot\lambda\rvert \ll \lvert\lambda\rvert \). Then the energy changes, but the action \( J \) stays constant (its changes are smaller than any power of the slowness). \( J \) is an adiabatic invariant.
| Slow change | Invariant | Consequence |
|---|---|---|
| Oscillator, \( \omega \) varied | \( E/\omega \) | \( E\propto\omega \) |
| Pendulum length \( l \) shortened | \( E/\omega \), with \( \omega = \sqrt{g/l} \) and \( E = \tfrac{1}{2}mgl\theta_0^2 \) | \( E\propto l^{-1/2} \), amplitude \( \theta_0\propto l^{-3/4} \) |
| Box width \( L \) changed | \( L\sqrt E \) | \( E\propto L^{-2} \); in 3D \( E\propto V^{-2/3} \), so \( PV^{5/3} = \) const for a monatomic ideal gas |
| Charge gyrating in a slowly varying \( \mathbf{B} \) | \( mv_\perp^2/2B \) (magnetic moment), equivalently flux through the orbit | magnetic mirrors and trapping |
The box result is the mechanical origin of the adiabatic law: a slow (quasi-static) compression of a monatomic ideal gas raises each particle’s energy as \( V^{-2/3} \), matching the \( \gamma = 5/3 \) adiabat of Laws of Thermodynamics, Entropy and Heat Engines.
Connections to Quantum Mechanics
Old quantum theory. Bohr and Sommerfeld quantised by setting \( \oint p\,dq = nh \). The adiabatic invariance of \( J \) made this consistent: a slow change cannot cause a jump between quantised values. The WKB approximation refines the rule to \( \oint p\,dq = (n + \tfrac{1}{2})h \) for smooth turning points, which is exact for the oscillator (\( E = (n + \tfrac{1}{2})\hbar\omega \)). For hard walls (the box) the correction changes: \( 2L\sqrt{2mE} = nh \) gives the exact box levels.
The classical limit. Write \( \psi = A\,e^{iS/\hbar} \) in the Schrödinger equation. The terms of order \( \hbar^0 \) give exactly the Hamilton–Jacobi equation for \( S \); the next order gives the continuity equation for \( A^2 \). Surfaces of constant \( S \) are wavefronts and trajectories are their normals, with \( \mathbf{p} = \nabla S \): Hamilton’s optical–mechanical analogy, completed by quantum mechanics. This is the basis of the WKB method in One-Dimensional Problems: Box, Oscillator and Tunnelling.
Memory Tricks
Don’t Confuse
| This | vs | That |
|---|---|---|
| Principal function \( S(q, \alpha, t) \): \( K = 0 \) | Characteristic function \( W(q, \alpha) \): \( K = E \) | |
| \( p = \partial S/\partial q \) | \( \beta = \partial S/\partial\alpha \) (new coordinate, constant) | |
| Goldstein \( J = \oint p\,dq \), \( \nu = \partial H/\partial J \) | Landau \( I = J/2\pi \), \( \omega = \partial H/\partial I \) | |
| Adiabatic invariant \( J \) constant | Energy \( E \) changes under slow variation | |
| Adiabatic in mechanics: slow compared with the period | Adiabatic in thermodynamics: no heat exchange (the two meet for the ideal gas) | |
| Bohr–Sommerfeld \( \oint p\,dq = nh \) | WKB \( (n + \tfrac{1}{2})h \) for smooth turning points |
Common Mistakes
Practice
All questions below are original practice questions written for this page. They are not from any CSIR NET paper.
Level 1: Foundation
- Write the Hamilton–Jacobi equation for a free particle in one dimension.
- Give the action variable \( J = \oint p\,dq \) of a harmonic oscillator of energy \( E \) and angular frequency \( \omega \).
- For a time-independent Hamiltonian, how are \( S \) and \( W \) related?
Answers
- \( \dfrac{1}{2m}\left(\dfrac{\partial S}{\partial x}\right)^2 + \dfrac{\partial S}{\partial t} = 0 \).
- \( J = 2\pi E/\omega \) (the area of the phase-space ellipse).
- \( S = W - Et \).
Level 2: Part B Style
Practice Q1. A particle of mass \( m \) moves back and forth between rigid walls a distance \( L \) apart with energy \( E \). Using action-angle variables, the frequency of the motion is:
(a) \( \dfrac{1}{L}\sqrt{\dfrac{2E}{m}} \) (b) \( \dfrac{1}{2L}\sqrt{\dfrac{2E}{m}} \) (c) \( \dfrac{1}{4L}\sqrt{\dfrac{2E}{m}} \) (d) \( \dfrac{E}{2\pi L} \)
Answer: (b)
\( J = 2L\sqrt{2mE} \Rightarrow E = J^2/8mL^2 \), and \( \nu = \partial E/\partial J = J/4mL^2 = 2L\sqrt{2mE}/4mL^2 = \dfrac{1}{2L}\sqrt{\dfrac{2E}{m}} \). Check: speed \( v = \sqrt{2E/m} \) and a round trip of length \( 2L \) gives \( \nu = v/2L \). Option (a) uses only half the loop.
Practice Q2. A simple pendulum swings with a small angular amplitude \( \theta_0 \). Its length is slowly reduced to one quarter of the original. The new amplitude is:
(a) \( \theta_0/4 \) (b) \( 2\theta_0 \) (c) \( 2^{3/2}\theta_0 \) (d) \( 4\theta_0 \)
Answer: (c)
\( E/\omega \) is invariant. \( E = \tfrac{1}{2}mgl\theta_0^2 \) and \( \omega = \sqrt{g/l} \), so \( E/\omega = \tfrac{1}{2}m\sqrt g\,l^{3/2}\theta_0^2 \) is constant and \( \theta_0\propto l^{-3/4} \). For \( l\to l/4 \): \( \theta_0\to4^{3/4}\theta_0 = 2^{3/2}\theta_0\approx2.83\,\theta_0 \).
Practice Q3. For a particle in \( V = ax^4 \), the frequency of oscillation depends on the energy as:
(a) \( \nu\propto E^{-1/4} \) (b) \( \nu\propto E^0 \) (c) \( \nu\propto E^{1/4} \) (d) \( \nu\propto E^{3/4} \)
Answer: (c)
\( J = 4\int_0^{x_0}\sqrt{2m(E - ax^4)}\,dx \) with \( x_0 = (E/a)^{1/4} \). Substituting \( x = x_0u \): \( J\propto\sqrt E\cdot E^{1/4} = E^{3/4} \). So \( E\propto J^{4/3} \) and \( \nu = dE/dJ\propto J^{1/3}\propto E^{1/4} \). Consistent with mechanical similarity: amplitude \( \propto E^{1/4} \) and \( T\propto(\text{amplitude})^{-1} \).
Practice Q4. For \( H = \dfrac{p_x^2 + p_y^2}{2m} + mgy \), a complete integral of the time-independent HJE is \( W = \alpha_xx + W_y(y) \) with:
(a) \( W_y = \displaystyle\int\sqrt{2m(E - mgy)}\,dy \) (b) \( W_y = \displaystyle\int\sqrt{2m(E - mgy) - \alpha_x^2}\,dy \) (c) \( W_y = \displaystyle\int\sqrt{2mE - \alpha_x^2}\,dy \) (d) \( W_y = \displaystyle\int\sqrt{2m(E + mgy) - \alpha_x^2}\,dy \)
Answer: (b)
\( x \) is cyclic, so \( \partial W/\partial x = \alpha_x = p_x \). Substituting: \( \dfrac{\alpha_x^2}{2m} + \dfrac{1}{2m}W_y'^2 + mgy = E \), so \( W_y' = \sqrt{2m(E - mgy) - \alpha_x^2} \). Then \( \partial W/\partial\alpha_x = \beta_2 \) gives the parabolic path and \( \partial W/\partial E - t = \beta_1 \) gives the timing.
Level 3: Part C Style
Practice Q5. Non-interacting particles move freely inside a cubical box whose walls are moved inward very slowly, compared with the time between wall collisions. Which statements are correct?
- Each particle’s energy scales as \( L^{-2} \), where \( L \) is the side of the box.
- When \( L \) is halved, the rate at which a given particle strikes one particular wall increases by a factor of 4.
- The action variable of each Cartesian degree of freedom decreases in proportion to \( L \).
- For a monatomic ideal gas made of such particles, \( PV^{5/3} \) stays constant.
(a) 1 and 4 only (b) 1, 2 and 4 only (c) 2 and 3 only (d) 1, 2, 3 and 4
Answer: (b) 1, 2 and 4 only
- For each direction, \( J_x = 2L\lvert p_x\rvert \) is adiabatically invariant, so \( \lvert p_x\rvert\propto1/L \) and \( E\propto L^{-2} \). True.
- Collision rate on one wall \( = \lvert v_x\rvert/2L \). Halving \( L \) doubles \( \lvert v_x\rvert \) and halves \( 2L \): factor 4. True.
- The action is the adiabatic invariant; it does not change. False.
- Total energy \( U\propto L^{-2} = V^{-2/3} \), and for a monatomic ideal gas \( P = \frac{2U}{3V}\propto V^{-5/3} \). True.
Practice Q6. For the Kepler problem, \( H = -\dfrac{2\pi^2mk^2}{J^2} \) with \( J = J_r + J_\theta + J_\phi \). Applying \( J = nh \) to the electron in hydrogen (\( k = e^2/4\pi\varepsilon_0 \), \( \lvert E_1\rvert = 13.6 \) eV, \( h = 4.136\times10^{-15} \) eV s), the classical orbital frequency in the \( n = 1 \) orbit is closest to:
(a) \( 3.29\times10^{15} \) Hz (b) \( 6.58\times10^{15} \) Hz (c) \( 1.32\times10^{16} \) Hz (d) \( 2.07\times10^{16} \) Hz
Answer: (b)
\( \nu = \dfrac{\partial H}{\partial J} = \dfrac{4\pi^2mk^2}{J^3} = \dfrac{2\lvert E\rvert}{J} \). With \( J = h \) and \( \lvert E_1\rvert = 13.6 \) eV:
$$\nu_1 = \frac{2\times13.6}{4.136\times10^{-15}}\ \text{Hz} \approx 6.58\times10^{15}\ \text{Hz}$$Option (a) is \( \lvert E_1\rvert/h \), the frequency of the series limit of the Lyman lines (half the orbital frequency). For large \( n \), the frequency emitted in an \( n\to n - 1 \) transition approaches \( 2\lvert E_n\rvert/nh \), the classical orbital frequency: Bohr’s correspondence principle.
Practice Q7. For \( H = \dfrac{p^2}{2m} + mgq \), take \( W = -\dfrac{2}{3g}\sqrt{\dfrac{2}{m}}(E - mgq)^{3/2} \) and \( S = W - Et \). Which statements are correct?
- \( \partial S/\partial q \) equals the momentum \( \sqrt{2m(E - mgq)} \) (on the upward part of the motion).
- \( \beta = \partial S/\partial E \) gives \( q = \dfrac{E}{mg} - \dfrac{g}{2}(t + \beta)^2 \).
- \( dS/dt \) along the motion equals \( H \).
- \( W \) is a complete integral because it contains one non-additive constant \( E \).
(a) 1, 2 and 4 only (b) 1 and 2 only (c) 2, 3 and 4 only (d) 1, 2, 3 and 4
Answer: (a) 1, 2 and 4 only
- \( \partial W/\partial q = -\dfrac{2}{3g}\sqrt{\dfrac{2}{m}}\cdot\dfrac{3}{2}(E - mgq)^{1/2}(-mg) = \sqrt{2m(E - mgq)} \). True (the positive root; the downward part uses the other sign).
- \( \partial S/\partial E = -\dfrac{1}{g}\sqrt{\dfrac{2}{m}}(E - mgq)^{1/2} - t = \beta \). So \( E - mgq = \dfrac{mg^2}{2}(t + \beta)^2 \), giving the stated \( q(t) \). True.
- \( dS/dt = L = T - V \), not \( H \). False.
- One degree of freedom needs one non-additive constant. True.
Quick Revision Table
| Idea | Result |
|---|---|
| HJE | \( H(q, \partial S/\partial q, t) + \partial S/\partial t = 0 \) |
| Solution | \( p = \partial S/\partial q \), \( \beta = \partial S/\partial\alpha \) |
| Meaning of \( S \) | action along the true path; \( dS/dt = L \) |
| Time-independent | \( S = W - Et \), \( H(q, \partial W/\partial q) = E \) |
| Free particle | \( S = m(x - x_0)^2/2(t - t_0) \) |
| Separation | cyclic \( q_k \): \( W_k = \alpha_kq_k \); central force: \( E, L^2, L_z \) |
| Action | \( J = \oint p\,dq \); \( \nu = \partial H/\partial J \) |
| Oscillator | \( J = 2\pi E/\omega \) |
| Box | \( J = 2L\sqrt{2mE} \), \( \nu = v/2L \) |
| Bouncing ball | \( J\propto E^{3/2} \) |
| Kepler | \( H = -2\pi^2mk^2/(J_r + J_\theta + J_\phi)^2 \); degenerate frequencies |
| Adiabatic invariant | \( J \); pendulum \( \theta_0\propto l^{-3/4} \), \( E\propto l^{-1/2} \) |
| Quantum links | \( \oint p\,dq = nh \); \( \psi\sim e^{iS/\hbar} \) gives the HJE as \( \hbar\to0 \) |
Key Takeaways
What’s Next
- Classical Mechanics (Advanced): Quick Revision: every result from the unit on one page.
- Dynamical Systems, Phase Space and Stability: what happens to the invariant tori of integrable systems when integrability breaks.
- Perturbation Theory and the Variational Method: the quantum counterpart of slow (adiabatic) and sudden changes.
- Hamilton’s Canonical Equations: the Mathematical Sciences view of the same structure.