← 2015 Paper 2
UPSC 2015 Maths Optional Paper 2 Q7c-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 Hamiltonian of a system with one degree of freedom has the form
H=2αp2−bqpe−αt+2bαq2e−αt(α+be−αt)+2kq2,
where α,b,k are constants, q is generalized coordinate, p generalized momentum.
Find a Lagrangian corresponding to this Hamiltonian.
Technique
Standard Legendre transform L=pq˙−H with p=α(q˙+bqe−αt) extracted from q˙=∂H/∂p.
Solution
Strategy. Use the Legendre transform L=pq˙−H, with p expressed in terms of q˙ via q˙=∂H/∂p.
Step 1 — Compute q˙=∂H/∂p
q˙=∂p∂H=αp−bqe−αt.
Solve for p:
p=α(q˙+bqe−αt)=αq˙+αbqe−αt.
Step 2 — Compute L=pq˙−H
First pq˙=αq˙2+αbqq˙e−αt.
Now H in terms of q˙: substitute p=α(q˙+bqe−αt).
p2=α2(q˙+bqe−αt)2=α2q˙2+2α2bq˙qe−αt+α2b2q2e−2αt.
2αp2=2αq˙2+αbq˙qe−αt+2αb2q2e−2αt.
bqpe−αt=bqe−αt⋅α(q˙+bqe−αt)=αbqq˙e−αt+αb2q2e−2αt.
2bαq2e−αt(α+be−αt)=2bα2q2e−αt+2b2αq2e−2αt.
Sum:
H=2αq˙2+αbq˙qe−αt+2αb2q2e−2αt
−αbqq˙e−αt−αb2q2e−2αt
+2bα2q2e−αt+2b2αq2e−2αt+2kq2.
Group by term:
- q˙2 terms: αq˙2/2.
- q˙q terms: αbq˙qe−αt−αbqq˙e−αt=0.
- q2e−2αt terms: αb2/2−αb2+b2α/2=0.
- q2e−αt term (from "α" piece of the third term): bα2/2.
- q2 term: k/2.
So H=2αq˙2+2bα2q2e−αt+2kq2.
Hmm wait, that’s much cleaner than I expected. Let me re-verify by recomputing the third term:
2bαq2e−αt(α+be−αt) — this has two pieces: 2bα2q2e−αt and 2b2αq2e−2αt.
Then H has terms:
- p2/(2α)=αq˙2/2+αbqq˙e−αt+αb2q2e−2αt/2.
- −bqpe−αt=−αbqq˙e−αt−αb2q2e−2αt.
- +2bα2q2e−αt+2b2αq2e−2αt.
- +kq2/2.
Sum coefficient of qq˙e−αt: αb−αb=0 ✓.
Sum coefficient of q2e−2αt: αb2/2−αb2+αb2/2=0 ✓.
Coefficient of q2e−αt: bα2/2.
Coefficient of q˙2: α/2.
Coefficient of q2: k/2.
So
H=2αq˙2+2bα2q2e−αt+2kq2(in terms of q˙ and q).
But this is H expressed in (q,q˙,t). Now L=pq˙−H.
pq˙=αq˙2+αbqq˙e−αt.
L=αq˙2+αbqq˙e−αt−2αq˙2−2bα2q2e−αt−2kq2
=2αq˙2+αbqq˙e−αt−2bα2q2e−αt−2kq2.
Answer
L=2αq˙2+αbqq˙e−αt−2bα2q2e−αt−2kq2.