← 2025 Paper 2
UPSC Maths 2025 Paper 2 Q8c-ii — Solution
10 marks · Section B
Question
Consider the Lagrangian L=mx˙y˙−mω02xy where m and ω0 are constants. Find the Hamiltonian and Hamilton’s equations of motion. Identify the system.
Technique
Take the Legendre transform of this cross-coupled Lagrangian: compute the conjugate momenta, invert them, form H=pxx˙+pyy˙−L, write Hamilton’s equations, and decouple via the equations of motion to identify the system.
Solution
Canonical momenta
px=∂x˙∂L=my˙,py=∂y˙∂L=mx˙.
Note the cross structure: px depends on y˙ and py on x˙. Invert:
x˙=mpy,y˙=mpx.
Hamiltonian
H=pxx˙+pyy˙−L=pxmpy+pympx−(mx˙y˙−mω02xy).
Now mx˙y˙=m⋅mpy⋅mpx=mpxpy, so
H=m2pxpy−mpxpy+mω02xy=mpxpy+mω02xy.
H=mpxpy+mω02xy.
Hamilton’s equations
x˙=∂px∂H=mpy,y˙=∂py∂H=mpx,
p˙x=−∂x∂H=−mω02y,p˙y=−∂y∂H=−mω02x.
Identify the system
Differentiate x˙=py/m and use p˙y=−mω02x:
x¨=mp˙y=−ω02x⟹x¨+ω02x=0.
Similarly y¨=mp˙x=−ω02y⟹y¨+ω02y=0.
So x and y each execute independent simple harmonic motion of angular frequency ω0. Although the Lagrangian/Hamiltonian is written in coupled (bilinear) form, the dynamics decouples: the system is two independent one-dimensional harmonic oscillators, each of angular frequency ω0.
Answer
H=mpxpy+mω02xy,
x˙=mpy,y˙=mpx,p˙x=−mω02y,p˙y=−mω02x.
The equations of motion are x¨+ω02x=0 and y¨+ω02y=0: the system is two independent simple harmonic oscillators of angular frequency ω0.