← 2025 Paper 2
UPSC 2025 Maths Optional Paper 2 Q8c-i — 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 particle of mass m moves in a force field of potential V(r)=−r2kcosθ, k is constant. Find the Hamiltonian and the Hamilton’s equations in spherical polar coordinates (r,θ,ϕ).
Technique
Work in spherical polar coordinates: write the kinetic energy, form the canonical momenta pq=∂L/∂q˙, invert to express q˙ in momenta, build H=T+V (natural, time-independent system), and write Hamilton’s equations q˙=∂H/∂pq, p˙q=−∂H/∂q.
Solution
Kinetic energy and Lagrangian
In spherical coordinates (r,θ,ϕ) the speed-squared is
v2=r˙2+r2θ˙2+r2sin2θϕ˙2.
So
T=21m(r˙2+r2θ˙2+r2sin2θϕ˙2),L=T−V=T+r2kcosθ.
Canonical momenta
pr=∂r˙∂L=mr˙,pθ=∂θ˙∂L=mr2θ˙,pϕ=∂ϕ˙∂L=mr2sin2θϕ˙.
Invert:
r˙=mpr,θ˙=mr2pθ,ϕ˙=mr2sin2θpϕ.
Hamiltonian
Since the coordinate transformation is time-independent and V has no velocity dependence, H=T+V expressed in momenta:
H=2mpr2+2mr2pθ2+2mr2sin2θpϕ2−r2kcosθ.
Hamilton’s equations
Coordinate equations q˙=∂H/∂pq:
r˙=mpr,θ˙=mr2pθ,ϕ˙=mr2sin2θpϕ.
Momentum equations p˙q=−∂H/∂q:
p˙r=−∂r∂H=mr3pθ2+mr3sin2θpϕ2−r32kcosθ,
p˙θ=−∂θ∂H=mr2sin3θpϕ2cosθ−r2ksinθ,
p˙ϕ=−∂ϕ∂H=0.
The last equation shows ϕ is cyclic (ignorable): pϕ=mr2sin2θϕ˙ is conserved (azimuthal angular momentum). The energy H is conserved since ∂H/∂t=0.
Answer
H=2mpr2+2mr2pθ2+2mr2sin2θpϕ2−r2kcosθ,
with Hamilton’s equations
r˙=mpr,θ˙=mr2pθ,ϕ˙=mr2sin2θpϕ,
p˙r=mr3pθ2+mr3sin2θpϕ2−r32kcosθ,p˙θ=mr2sin3θpϕ2cosθ−r2ksinθ,p˙ϕ=0.
ϕ is cyclic, so pϕ is conserved.