← 2014 Paper 2
UPSC 2014 Maths Optional Paper 2 Q5e — Step-by-Step Solution
10 marks · Section B
Hamilton's equations · Mechanics & Fluid Dynamics · asked 10× in 13 yrs · Read the full method →
Question
Find the equation of motion of a compound pendulum using Hamilton’s equations.
Technique
Standard Lagrangian → Hamiltonian transition; for natural systems H=T+V; Hamilton’s equations yield the equation of motion.
Solution
Setup. Rigid body of mass M free to rotate about a fixed horizontal axis (pivot) through point O. Let h = distance from pivot to centre of gravity, I = moment of inertia about the pivot axis, θ = angle of swing from the downward vertical.
Step 1 — Kinetic and potential energy
T=21Iθ˙2,V=−Mghcosθ
(with V=0 when the CG is at the level of the pivot; V minimum at θ=0).
Step 2 — Lagrangian and generalised momentum
L=T−V=21Iθ˙2+Mghcosθ.
Generalised momentum:
p=∂θ˙∂L=Iθ˙⟹θ˙=Ip.
Step 3 — Hamiltonian
For natural system (kinetic energy quadratic in velocities, holonomic time-independent constraints), H=T+V expressed in (θ,p):
H(θ,p)=2Ip2−Mghcosθ.
Step 4 — Hamilton’s equations
θ˙=∂p∂H=Ip.(1)
p˙=−∂θ∂H=−Mghsinθ.(2)
Step 5 — Combine to second-order equation
From (1): p=Iθ˙, so p˙=Iθ¨.
Substituting into (2): Iθ¨=−Mghsinθ, i.e.,
Answer
θ¨+IMghsinθ=0.