classical mechanics
Hamiltonian Mechanics
You should know: lagrangian mechanics, partial derivatives
Overview
Hamiltonian mechanics reformulates classical mechanics by replacing generalised velocities with generalised momenta, switching from configuration space to phase space. The Hamiltonian function H(q, p, t) — the Legendre transform of the Lagrangian — governs evolution through Hamilton's equations, a symmetric system of first-order ODEs. The phase-space picture reveals deep geometric structure: Liouville's theorem, Poisson brackets, canonical transformations, and the connection to quantum mechanics via canonical quantisation.
Intuition
In Lagrangian mechanics the state is (q, q̇) — position and velocity. Hamiltonian mechanics replaces velocity with momentum p = ∂L/∂q̇, moving to phase space (q, p). Hamilton's equations are symmetric first-order ODEs: q̇ = ∂H/∂p and ṗ = −∂H/∂q. The geometric structure of phase space (symplectic structure) is preserved by time evolution — this is Liouville's theorem — and underpins both classical statistical mechanics and quantum mechanics.
Formal Definition
The Hamiltonian H is defined via the Legendre transform of the Lagrangian L. The canonical equations govern the evolution of position and momentum.
Notation
| Notation | Meaning |
|---|---|
| Phase-space coordinates (position, momentum) | |
| Hamiltonian function | |
| Poisson bracket of phase-space functions f and g | |
| Symplectic 2-form on phase space |
Theorems
Worked Examples
- 1
Apply Hamilton's first equation.
- 2
Apply Hamilton's second equation.
- 3
Eliminate p: differentiate the first equation and substitute the second.
✓ Answer
Hamilton's equations give q̈ + ω²q = 0 — the standard harmonic oscillator.
Practice Problems
Prove that if {f, H} = 0 and ∂f/∂t = 0, then f is a constant of the motion.
Common Mistakes
The Hamiltonian always equals the total mechanical energy
H = T + V only for natural systems (time-independent constraints, no velocity-dependent potentials). In general H is the Legendre transform of L and may differ from the mechanical energy.
Poisson brackets are just antisymmetric bilinear maps
Poisson brackets must also satisfy the Jacobi identity {{f,g},h} + {{g,h},f} + {{h,f},g} = 0, making them a Lie algebra structure on phase-space functions.
Quiz
Historical Background
William Rowan Hamilton developed his formulation between 1833 and 1835, seeking a unified theory for optics and mechanics. The resulting phase-space picture proved more symmetric and powerful than the Lagrangian formulation for mathematical analysis. Carl Gustav Jacobi extended the theory with the Hamilton–Jacobi equation. In the 20th century, the Hamiltonian framework became the natural language for quantum mechanics (canonical quantisation) and statistical mechanics (phase-space distributions).
- 1833
Hamilton presents his reformulation of mechanics using the characteristic function
William Rowan Hamilton
- 1835
Hamilton derives what we now call Hamilton's equations of motion
William Rowan Hamilton
- 1837
Jacobi reformulates the theory and introduces the Hamilton–Jacobi equation
Carl Gustav Jacobi
- 1838
Liouville proves volume preservation in phase space
Joseph Liouville
- 1925
Dirac identifies Poisson brackets with quantum commutators, enabling canonical quantisation
Paul Dirac
Summary
- Hamiltonian mechanics operates in phase space (q, p); H is the Legendre transform of L in the velocities.
- Hamilton's equations q̇ᵢ = ∂H/∂pᵢ and ṗᵢ = −∂H/∂qᵢ are first-order and symmetric.
- Poisson brackets encode the algebraic structure: {qᵢ, pⱼ} = δᵢⱼ; time evolution: df/dt = {f, H} + ∂f/∂t.
- Liouville's theorem: Hamiltonian flow preserves phase-space volume.
- The Hamiltonian framework is the bridge to quantum mechanics via canonical quantisation ({·,·} → [·,·]/iℏ).
References
- BookGoldstein, H., Poole, C. & Safko, J. — Classical Mechanics, 3rd ed. (2002), Addison-Wesley, Chapter 8–9
- BookArnol'd, V.I. — Mathematical Methods of Classical Mechanics, 2nd ed. (1989), Springer, Chapter VIII–IX
- BookLandau, L.D. & Lifshitz, E.M. — Mechanics, 3rd ed. (1976), Butterworth-Heinemann, §40–45
- WebsiteMathWorld — Hamiltonian
Mathematics