← 2018 Paper 2
UPSC 2018 Maths Optional Paper 2 Q7c — Step-by-Step Solution
20 marks · Section B
Hamilton's equations · Mechanics & Fluid Dynamics · asked 10× in 13 yrs · Read the full method →
Question
The Hamiltonian of a mechanical system is given by H=p1q1−aq12+bq22−p2q2, where a,b are the constants. Solve the Hamiltonian equations and show that q1p2−bq2= constant.
Technique
Hamilton’s canonical equations; the q‘s give pure exponentials; first-order linear ODEs (integrating factor) for the p‘s; the bBe−t term in p2 cancels bq2, leaving p2−bq2=Cet∝q1.
Solution
Setup. Hamilton’s canonical equations:
q˙i=∂pi∂H,p˙i=−∂qi∂H,i=1,2.
With H=p1q1−aq12+bq22−p2q2.
Step 1 — Write the four equations
q˙1=∂p1∂H=q1,q˙2=∂p2∂H=−q2,
p˙1=−∂q1∂H=−(p1−2aq1)=2aq1−p1,
p˙2=−∂q2∂H=−(2bq2−p2)=p2−2bq2.
Step 2 — Solve the q-equations
q˙1=q1 ⇒ q1=Aet,q˙2=−q2 ⇒ q2=Be−t,
where A,B are constants.
Step 3 — Solve the p-equations
p1: p˙1+p1=2aq1=2aAet. Integrating factor et: (p1et)′=2aAe2t, so p1et=aAe2t+D, giving
p1=aAet+De−t.
p2: p˙2−p2=−2bq2=−2bBe−t. Integrating factor e−t: (p2e−t)′=−2bBe−2t, so p2e−t=bBe−2t+C, giving
p2=Cet+bBe−t.
Step 4 — The conserved combination
From Step 2, q1=Aet and q2=Be−t, so bq2=bBe−t. Then
p2−bq2=(Cet+bBe−t)−bBe−t=Cet.
Therefore
q1p2−bq2=AetCet=AC=constant.
Answer
q1p2−bq2=AC=const.