Hamiltonian Mechanics: Advanced Topics
10.1 Canonical Transformations
A canonical transformation from to preserves the form of Hamilton’s equations. It is generated by a generating function .
Type 1 (): , , .
Type 2 (): , , .
Type 3 (): , , .
Type 4 (): , , .
The transformation is canonical if and only if:
Poisson bracket invariance. Canonical transformations preserve the Poisson bracket: .
Example. The point transformation (just relabelling coordinates) with is trivially canonical. A non-trivial example: the rotation , is canonical (it preserves ).
10.2 Action-Angle Variables
For a periodic system with frequency , define the action:
The conjugate angle variable evolves linearly: .
Properties:
- is adiabatically invariant (conserved under slow parameter changes).
- The motion is trivial in action-angle variables: , .
- The transformation to action-angle variables is a canonical transformation.
Application: Kepler problem. In the Kepler problem, the action variables are: (angular momentum), (related to eccentricity), (related to energy). The angle variables give the orbital elements.
10.3 Hamilton—Jacobi Equation
The Hamilton—Jacobi equation is a reformulation of Hamiltonian mechanics as a PDE for Hamilton’s principal function :
If can be found by separation of variables, the transformation to new coordinates makes all momenta constant, effectively solving the problem.
Separation for the harmonic oscillator. For :
The new momentum (constant), and the new coordinate gives a linear function of time.
Maupertuis principle. For energy-conserving systems, the Hamilton—Jacobi equation simplifies to:
where is the abbreviated action. This is equivalent to Fermat’s principle in optics.
10.4 Adiabatic Invariants
An adiabatic invariant is a quantity that remains constant when a parameter of the system is changed slowly compared to the period of motion.
For a harmonic oscillator with slowly varying :
This has important applications:
- Fermi acceleration: Cosmic rays gaining energy from moving magnetic fields
- Magnetic mirrors: Charged particles trapped between magnetic mirrors conserve (the magnetic moment)
- Planetary orbits: The semi-major axis is an adiabatic invariant under slow mass loss from the Sun
- Pendulum with slowly changing length: If the length changes slowly, is conserved.
Derivation (sketch). For a periodic Hamiltonian with , the action satisfies , so is approximately constant over many periods.
10.5 Liouville’s Theorem and Phase Space
Liouville’s theorem: The phase space distribution function is constant along trajectories:
This means phase space volume is conserved: a region of phase space evolves like an incompressible fluid.
Consequences:
- The phase space density of an ensemble of systems cannot increase
- This constrains the focusing of particle beams in accelerators
- The theorem underpins the ergodic hypothesis in statistical mechanics
- Poincare recurrence: bounded Hamiltonian systems return arbitrarily close to their initial state
Proof. The flow generated by Hamilton’s equations satisfies (canonical transformation), so the Jacobian is 1. By the change of variables formula, is conserved along trajectories.
10.6 Perturbation Theory and KAM Theorem
Perturbation theory addresses Hamiltonian systems close to integrable ones: .
Lindstedt—Poincare method. Expand both the solution and the frequency in powers of to avoid secular terms.
KAM theorem (Kolmogorov—Arnold—Moser). For sufficiently small , most invariant tori of the integrable system persist under perturbation, provided the frequency vector satisfies a Diophantine condition (sufficiently irrational).
The surviving tori have positive measure for small , but the remaining phase space contains chaotic regions. This explains the stability of the solar system over billions of years (integrable Kepler problem + small planetary perturbations).
Common Pitfalls
Using the wrong generating function type. Each type of generating function expresses different variables as independent. Choosing the wrong type leads to implicit equations that may not be solvable.
Forgetting the time dependence in generating functions. If depends explicitly on , the new Hamiltonian is , not .
Confusing canonical with point transformations. Not all coordinate changes are canonical. A transformation is canonical only if it preserves the symplectic structure .
Applying perturbation theory to non-integrable systems. The KAM theorem requires the unperturbed system to be integrable. For chaotic systems, perturbation theory fails.
Worked Example 10.1: Action-Angle Variables for the Harmonic Oscillator
For the 1D harmonic oscillator: .
The action variable:
The contour is the ellipse with semi-axes and .
The area (and hence the action):
So and the Hamiltonian in action-angle form is:
The angle variable evolves as Giving .
The frequency is Independent of (harmonic oscillator has no frequency shift with amplitude --- a special property).