Frequency: 10 sub-parts across 8 of 13 years (2014, 2015, 2016, 2018, 2019, 2020, 2023, 2025)
Priority tier: T1
Marks (count): 10 (6), 15 (2), 20 (2)
Average solve time: ~10 min
Difficulty mix: medium 6, easy 3, hard 1
Section: B | Dominant type: derivation
Why This Chapter Matters
Hamilton’s equations appear in 8 of the last 13 years and are the most commonly 10-mark questions in Paper 2 Section B — meaning they reward quick, clean execution. The method is a fixed procedure: write the Lagrangian, form momenta, do the Legendre transform to get H, write the four canonical equations. The same five-step skeleton works for pendulums, rolling bodies, central-force problems, and abstract algebraic Hamiltonians. A student who practises this once per physical setup can reliably collect 10 marks per appearance.
Minimum Theory
Hamiltonian. Given a Lagrangian L(q,q˙,t), the generalised momentum is pk=∂L/∂q˙k. The Hamiltonian is
H(q,p,t)=∑kpkq˙k−L,
where q˙k is expressed in terms of pk by inverting pk=∂L/∂q˙k.
For natural systems (holonomic time-independent constraints, V independent of velocities): H=T+V expressed in (q,p) — the total mechanical energy.
Conservation laws. (1) If ∂H/∂t=0 (no explicit time dependence), then dH/dt=0 — energy conserved. (2) If ∂H/∂qk=0 (qk cyclic), then p˙k=0 — momentum pk conserved.
Legendre transform for cross-coupled L. When L has cross terms x˙y˙, compute both momenta px=∂L/∂x˙ and py=∂L/∂y˙, solve for x˙,y˙, substitute into H=pxx˙+pyy˙−L.
Question Archetypes
Three patterns cover all Hamilton’s equations questions.
Fold the rolling constraint before forming momenta. For the sphere: effective mass is 57M, so p=57Mx˙ and H=14M5p2−Mgxsinθ. Computing momenta without folding gives the wrong H.
Sign in p˙k=−∂H/∂qk: for H=p1q1−…, ∂H/∂q1=p1 so p˙1=−(p1−2aq1)=2aq1−p1. One sign error cascades through the entire solution.
∂H/∂r for a term pθ2/(2mr2): ∂/∂r=−pθ2/(mr3), so p˙r=+pθ2/(mr3)+… (centrifugal).
H conserved requires ∂H/∂t=0 — write this explicitly when asked to “show H is a constant of motion.”
For cross-coupled L=mx˙y˙: momenta px=my˙ and py=mx˙ — the subscripts are swapped. Don’t write px=mx˙.
hamilton-jacobi (1 question(s); 2016)
Recognition Cues
“Find Hamilton’s principal/characteristic function S.”
Free particle from origin to (x,y,z) in time τ.
Solution Template
Hamilton’s principal function S= action along the actual trajectory. For a free particle with constant velocity x˙i=xi/τ: integrate L=T over [0,τ].
Worked Example(s)
2016 Paper 2, 2016-P2-Q5c (10 marks)
Free particle, mass m, from origin to (x,y,z) in time τ. Find Hamilton’s characteristic function S.
Constant-velocity motion: x˙i=xi/τ. Integrand constant in time:
S=∫0τ21mτ2r2dt=2τmr2,r2=x2+y2+z2.
Use q˙=∂H/∂p to invert p=p(q,q˙,t), then L=pq˙−H.
Worked Example(s)
2015 Paper 2, 2015-P2-Q7c-i (10 marks)
H=2αp2−bqpe−αt+2bαq2e−αt(α+be−αt)+2kq2. Find L.
q˙=∂H/∂p=p/α−bqe−αt⇒p=α(q˙+bqe−αt).
Substitute into L=pq˙−H; the bqe−αt cross terms and e−2αt terms all cancel:
L=2αq˙2+αbqq˙e−αt−2bα2q2e−αt−2kq2.
(Adding dF/dt with F=−αbq2e−αt/2 reduces this to the SHM Lagrangian 2αq˙2−2kq2 — see MF-03 gauge-lagrangian.)
Marks-Aware Writing
10-mark questions (2014, 2016, 2023, 2025): Write T and V (one line each), form pk and H (two lines), state all canonical equations (four lines), identify cyclic coordinates. Box the answer.
15-mark questions (2015, 2019): For the rolling sphere: show the constraint fold explicitly (I/Mr2 factor), state the effective mass in H, derive the acceleration. For the pendulum: also write the conservation proof dH/dt=0 step by step.
20-mark questions (2018, 2020): Solve all four ODEs (show integrating factor for the p equations); for the invariant proof show either the explicit cancellation or the shortcut w˙/w=q˙1/q1.
Practice Set
Year
Paper/Q
Marks
Archetype
One-line hint
2025
P2-Q8c-i
10
hamilton-eom
v2 in spherical coords; ϕ cyclic; p˙r picks up centrifugal +pθ2/(mr3)