← 2023 Paper 2
UPSC 2023 Maths Optional Paper 2 Q5d — Step-by-Step Solution
10 marks · Section B
Hamilton's equations · Mechanics & Fluid Dynamics · asked 10× in 13 yrs · Read the full method →
Question
A planet of mass m is revolving around the sun of mass M. The kinetic energy T and the potential energy V of the planet are given by T=21m(r˙2+r2θ˙2) and V=GMm(2a1−r1), where (r,θ) are the polar coordinates of the planet at time t, G is the gravitational constant and 2a is the major axis of the ellipse (the path of the planet). Find the Hamiltonian and the Hamilton equations of the planet’s motion.
Technique
Standard Legendre transform from L(q,q˙) to H(q,p); the system is natural so H=T+V.
Solution
Generalised coordinates. (q1,q2)=(r,θ).
Step 1 — Lagrangian and generalised momenta.
L=T−V=21m(r˙2+r2θ˙2)−GMm(2a1−r1).
Momenta:
pr=∂r˙∂L=mr˙,pθ=∂θ˙∂L=mr2θ˙.
Invert: r˙=mpr,θ˙=mr2pθ.
Step 2 — Hamiltonian.
For a holonomic, scleronomic system (constraints time-independent and kinetic energy quadratic in velocities), H=T+V expressed in terms of (q,p):
T=21m(r˙2+r2θ˙2)=2mpr2+2mr2pθ2,
V=GMm(2a1−r1).
H(r,θ,pr,pθ)=2mpr2+2mr2pθ2+GMm(2a1−r1).
Step 3 — Hamilton’s equations.
r˙=∂pr∂H=mpr,
θ˙=∂pθ∂H=mr2pθ,
p˙r=−∂r∂H=mr3pθ2−r2GMm,
p˙θ=−∂θ∂H=0.
(The last equation says angular momentum pθ is conserved — Kepler’s second law in disguise.)
Answer
r˙=mpr,θ˙=mr2pθ,p˙r=mr3pθ2−r2GMm,p˙θ=0.