← 2020 Paper 2

UPSC 2020 Maths Optional Paper 2 Q6c — Step-by-Step Solution

20 marks · Section B

Hamilton's equations · Mechanics & Fluid Dynamics · asked 10× in 13 yrs · Read the full method →

Question

By writing down the Hamiltonian, find the equations of motion of a particle of mass mm constrained to move on the surface of a cylinder defined by x2+y2=R2x^2+y^2=R^2, RR constant. The particle is subject to a force directed towards the origin and proportional to the distance rr of the particle from the origin, given by F=kr\vec F=-k\vec r, kk constant.

Technique

Cylindrical coordinates with fixed RR; L=TVL=T-V with V=12kr2V=\tfrac12kr^2; Legendre transform to H(θ,z,pθ,pz)H(\theta,z,p_\theta,p_z); Hamilton’s canonical equations.

Solution

Step 1 — Generalized coordinates

The constraint x2+y2=R2x^2+y^2=R^2 leaves two degrees of freedom. Use cylindrical coordinates with fixed radius RR:

x=Rcosθ,y=Rsinθ,z=z.x=R\cos\theta,\qquad y=R\sin\theta,\qquad z=z.

Generalized coordinates: θ, z\theta,\ z.

Step 2 — Kinetic energy and potential

x˙=Rθ˙sinθ,y˙=Rθ˙cosθ,z˙=z˙,\dot x=-R\dot\theta\sin\theta,\quad \dot y=R\dot\theta\cos\theta,\quad \dot z=\dot z, T=12m(x˙2+y˙2+z˙2)=12m(R2θ˙2+z˙2).T=\tfrac12 m(\dot x^2+\dot y^2+\dot z^2)=\tfrac12 m\big(R^2\dot\theta^2+\dot z^2\big).

The force F=kr\vec F=-k\vec r is conservative (central, linear): potential

V=12kr2=12k(x2+y2+z2)=12k(R2+z2),V=\tfrac12 k\,r^2=\tfrac12 k\,(x^2+y^2+z^2)=\tfrac12 k\,(R^2+z^2),

since F=V\vec F=-\nabla V. (The constant 12kR2\tfrac12kR^2 is dynamically irrelevant but kept for completeness.)

The Lagrangian:

L=TV=12mR2θ˙2+12mz˙212k(R2+z2).L=T-V=\tfrac12 m R^2\dot\theta^2+\tfrac12 m\dot z^2-\tfrac12 k(R^2+z^2).

Step 3 — Generalized momenta

pθ=Lθ˙=mR2θ˙,pz=Lz˙=mz˙.p_\theta=\frac{\partial L}{\partial\dot\theta}=mR^2\dot\theta,\qquad p_z=\frac{\partial L}{\partial\dot z}=m\dot z.

So θ˙=pθmR2\dot\theta=\dfrac{p_\theta}{mR^2}, z˙=pzm\dot z=\dfrac{p_z}{m}.

Step 4 — Hamiltonian

H=pθθ˙+pzz˙L=T+V(scleronomic constraint, V=V(q)),H=p_\theta\dot\theta+p_z\dot z-L=T+V\quad(\text{scleronomic constraint, }V=V(q)),   H=pθ22mR2+pz22m+12k(R2+z2).  \boxed{\;H=\frac{p_\theta^2}{2mR^2}+\frac{p_z^2}{2m}+\frac12 k\big(R^2+z^2\big).\;}

Step 5 — Hamilton’s equations of motion

θ˙=Hpθ=pθmR2,z˙=Hpz=pzm,\dot\theta=\frac{\partial H}{\partial p_\theta}=\frac{p_\theta}{mR^2},\qquad \dot z=\frac{\partial H}{\partial p_z}=\frac{p_z}{m}, p˙θ=Hθ=0,p˙z=Hz=kz.\dot p_\theta=-\frac{\partial H}{\partial\theta}=0,\qquad \dot p_z=-\frac{\partial H}{\partial z}=-kz.

Interpretation of the equations of motion:

Answer

  mz¨=kzz¨+ω2z=0,  ω=km.  \boxed{\;m\ddot z=-kz\quad\Longrightarrow\quad \ddot z+\omega^2 z=0,\ \ \omega=\sqrt{\tfrac{k}{m}}.\;}
We post more of this — worked solutions, CSAT trap breakdowns, guide chapters — a few times a week on Telegram. Free, no sign-in. Join

This solution is part of the Maths Coverage Map — 13 years, mapped. Get the take-away PDF free.