Level 3 — ProductionAnalytical Mechanics

Analytical Mechanics

45 minutes60 marksprintable — key stays hidden on paper

Level: 3 (From-scratch derivations, explain-out-loud, code-from-memory) Time limit: 45 minutes Total marks: 60

Answer all questions. Show every step; state assumptions explicitly. Where "explain out loud" is requested, write the reasoning in full sentences.


Q1. (10 marks) Euler–Lagrange from D'Alembert. Starting from D'Alembert's principle i(Fip˙i)δri=0,\sum_i \left(\mathbf{F}_i - \dot{\mathbf{p}}_i\right)\cdot \delta \mathbf{r}_i = 0, derive the Euler–Lagrange equations ddtLq˙jLqj=0\frac{d}{dt}\frac{\partial L}{\partial \dot q_j} - \frac{\partial L}{\partial q_j} = 0 for a system with holonomic, scleronomic constraints and conservative forces. State clearly where each assumption enters. (10)


Q2. (12 marks) Bead on a rotating hoop. A bead of mass mm slides frictionlessly on a circular hoop of radius aa that rotates about a vertical diameter with constant angular velocity ω\omega. Let θ\theta be the angle from the downward vertical.

(a) State whether the constraint is holonomic, and rheonomic or scleronomic. (2) (b) Write the Lagrangian in terms of θ,θ˙\theta,\dot\theta. (4) (c) Derive the equation of motion. (3) (d) Find all equilibrium angles θ0\theta_0 and the critical angular velocity ωc\omega_c above which the off-bottom equilibrium appears. (3)


Q3. (10 marks) Hamiltonian and Poisson brackets. For a particle in a plane under a central potential V(r)V(r), using polar coordinates (r,ϕ)(r,\phi):

(a) Construct H(r,ϕ,pr,pϕ)H(r,\phi,p_r,p_\phi) from the Lagrangian. (4) (b) Write Hamilton's equations. (3) (c) Show, using Poisson brackets, that pϕp_\phi is conserved, and state the symmetry responsible via Noether's theorem. (3)


Q4. (10 marks) Coupled oscillators — normal modes. Two equal masses mm connected in a line by three identical springs (constant kk) to fixed walls: wall–mmmm–wall.

(a) Write the Lagrangian for displacements x1,x2x_1,x_2. (3) (b) Find the two normal-mode frequencies. (4) (c) Give the normal coordinates and describe each mode physically ("explain out loud"). (3)


Q5. (10 marks) Liouville & phase space — code from memory. (a) State Liouville's theorem and outline (in words + one line of algebra) why phase-space volume is conserved for Hamiltonian flow. (4) (b) Write, from memory, a short Python (NumPy) snippet that integrates the simple pendulum θ¨=sinθ\ddot\theta = -\sin\theta using symplectic Euler (semi-implicit) for a grid of initial conditions and reports the area of the evolved cloud. Comment on what you'd expect to see. (6)


Q6. (8 marks) Steady precession of a gyroscope. A symmetric top spins with large spin angular momentum Ls=I3ψ˙L_s = I_3\dot\psi about its symmetry axis, tilted at angle θ\theta to the vertical, pivoted at a fixed point a distance \ell from the centre of mass (mass MM). Derive the steady precession rate Ω\Omega in the fast-spin (gyroscopic) approximation, and state the assumption used. (8)

Answer keyMark scheme & solutions

Q1 (10 marks)

Setup. Virtual displacements consistent with constraints; write δri=jriqjδqj\delta\mathbf r_i = \sum_j \frac{\partial \mathbf r_i}{\partial q_j}\delta q_j (holonomic ⇒ coordinates qjq_j independent). (1)

Applied-force term. Generalized force iFiδri=jQjδqj,Qj=iFiriqj.\sum_i \mathbf F_i\cdot\delta\mathbf r_i = \sum_j Q_j \delta q_j,\quad Q_j=\sum_i\mathbf F_i\cdot\frac{\partial\mathbf r_i}{\partial q_j}. (1) Conservative: Qj=V/qjQ_j = -\partial V/\partial q_j. (1)

Inertial term. ip˙iδri=j[ddtTq˙jTqj]δqj.\sum_i \dot{\mathbf p}_i\cdot\delta\mathbf r_i = \sum_j\left[\frac{d}{dt}\frac{\partial T}{\partial\dot q_j}-\frac{\partial T}{\partial q_j}\right]\delta q_j. Key identities used:

  • riqj=r˙iq˙j\frac{\partial \mathbf r_i}{\partial q_j} = \frac{\partial \dot{\mathbf r}_i}{\partial \dot q_j} (cancellation of dots). (2)
  • ddtriqj=r˙iqj\frac{d}{dt}\frac{\partial \mathbf r_i}{\partial q_j} = \frac{\partial \dot{\mathbf r}_i}{\partial q_j}. (1) Product-rule manipulation gives the TT-form above. (1)

Combine. D'Alembert ⇒ j[ddtTq˙jTqj+Vqj]δqj=0.\sum_j\left[\frac{d}{dt}\frac{\partial T}{\partial\dot q_j}-\frac{\partial T}{\partial q_j}+\frac{\partial V}{\partial q_j}\right]\delta q_j=0. Independence of δqj\delta q_j (holonomic) ⇒ each bracket =0=0. (1) With VV velocity-independent, V/q˙j=0\partial V/\partial\dot q_j=0, so define L=TVL=T-V: ddtLq˙jLqj=0.\frac{d}{dt}\frac{\partial L}{\partial\dot q_j}-\frac{\partial L}{\partial q_j}=0. \quad\blacksquare (1)

Assumptions flagged: holonomic ⇒ independent qjq_j; scleronomic used in KE identities; conservative & velocity-independent VV.


Q2 (12 marks)

(a) Constraint (radius aa fixed, rotation ϕ=ωt\phi=\omega t imposed) is holonomic and rheonomic (explicit time dependence). (2)

(b) Position: x=asinθcosωtx=a\sin\theta\cos\omega t, etc. Kinetic energy T=12ma2θ˙2+12ma2ω2sin2θ,T=\tfrac12 m a^2\dot\theta^2+\tfrac12 m a^2\omega^2\sin^2\theta, V=mgacosθ.V=-mga\cos\theta. L=12ma2θ˙2+12ma2ω2sin2θ+mgacosθ.L=\tfrac12 m a^2\dot\theta^2+\tfrac12 m a^2\omega^2\sin^2\theta+mga\cos\theta. (4)

(c) EOM: ma2θ¨=ma2ω2sinθcosθmgasinθm a^2\ddot\theta = m a^2\omega^2\sin\theta\cos\theta - mga\sin\theta θ¨=ω2sinθcosθgasinθ.\boxed{\ddot\theta=\omega^2\sin\theta\cos\theta-\frac{g}{a}\sin\theta.} (3)

(d) Equilibria (θ¨=0\ddot\theta=0): sinθ0=0\sin\theta_0=0θ0=0,π\theta_0=0,\pi; or cosθ0=g/(aω2)\cos\theta_0=g/(a\omega^2). (2) This third solution exists only when g/(aω2)1g/(a\omega^2)\le1, i.e. ωc=g/a.\boxed{\omega_c=\sqrt{g/a}.} (1)


Q3 (10 marks)

(a) L=12m(r˙2+r2ϕ˙2)V(r)L=\tfrac12 m(\dot r^2+r^2\dot\phi^2)-V(r). Momenta pr=mr˙p_r=m\dot r, pϕ=mr2ϕ˙p_\phi=mr^2\dot\phi. (2) H=prr˙+pϕϕ˙L=pr22m+pϕ22mr2+V(r).H=p_r\dot r+p_\phi\dot\phi-L=\frac{p_r^2}{2m}+\frac{p_\phi^2}{2mr^2}+V(r). (2)

(b) r˙=prm,ϕ˙=pϕmr2,\dot r=\frac{p_r}{m},\quad \dot\phi=\frac{p_\phi}{mr^2}, p˙r=pϕ2mr3V(r),p˙ϕ=0.\dot p_r=\frac{p_\phi^2}{mr^3}-V'(r),\quad \dot p_\phi=0. (3)

(c) p˙ϕ={pϕ,H}=H/ϕ=0\dot p_\phi=\{p_\phi,H\}=-\partial H/\partial\phi=0 since HH independent of ϕ\phi (cyclic). So pϕp_\phi conserved. (2) By Noether's theorem, this follows from rotational invariance (symmetry under ϕϕ+ϵ\phi\to\phi+\epsilon). (1)


Q4 (10 marks)

(a) L=12m(x˙12+x˙22)12k[x12+(x2x1)2+x22].L=\tfrac12 m(\dot x_1^2+\dot x_2^2)-\tfrac12 k\left[x_1^2+(x_2-x_1)^2+x_2^2\right]. (3)

(b) EOM: mx¨1=2kx1+kx2,mx¨2=kx12kx2.m\ddot x_1=-2kx_1+kx_2,\quad m\ddot x_2=kx_1-2kx_2. Assume xeiωtx\sim e^{i\omega t}: eigenvalues of km(2112)\frac{k}{m}\begin{pmatrix}2&-1\\-1&2\end{pmatrix}ω2=km(21)\omega^2=\frac{k}{m}(2\mp1): ω1=k/m,ω2=3k/m.\boxed{\omega_1=\sqrt{k/m},\qquad \omega_2=\sqrt{3k/m}.} (4)

(c) Normal coordinates Q1=12(x1+x2)Q_1=\tfrac1{\sqrt2}(x_1+x_2) (symmetric, in-phase, lower frequency ω1\omega_1: masses move together, middle spring unstretched); Q2=12(x1x2)Q_2=\tfrac1{\sqrt2}(x_1-x_2) (antisymmetric, out-of-phase, higher frequency ω2\omega_2: middle spring strongly compressed/stretched). (3)


Q5 (10 marks)

(a) Liouville: the phase-space distribution density is constant along trajectories; equivalently phase volume is conserved. Reason: flow velocity (q˙,p˙)(\dot q,\dot p) has zero divergence: q˙q+p˙p=2Hqp2Hpq=0.\frac{\partial\dot q}{\partial q}+\frac{\partial\dot p}{\partial p}=\frac{\partial^2 H}{\partial q\partial p}-\frac{\partial^2 H}{\partial p\partial q}=0. (4)

(b) Model snippet:

import numpy as np
from scipy.spatial import ConvexHull
th = np.random.uniform(1.0,1.1,2000)   # cloud of initial conditions
p  = np.random.uniform(0.0,0.1,2000)
dt=0.01
for _ in range(1000):
    p  = p - dt*np.sin(th)   # symplectic (semi-implicit) Euler
    th = th + dt*p           # use updated p -> symplectic
pts=np.column_stack([th,p])
print("area:", ConvexHull(pts).volume)

Comment: symplectic Euler conserves phase-space area (up to hull approximation) even though it distorts the cloud's shape — consistent with Liouville, unlike naive explicit Euler which grows the area. (6)


Q6 (8 marks)

Setup. Gravity torque about pivot τ=Mgsinθ\tau=Mg\ell\sin\theta, horizontal, perpendicular to the axis' vertical plane. (2) In fast-spin approximation, angular momentum ≈ spin part Ls=I3ψ˙L_s=I_3\dot\psi along symmetry axis; nutation neglected. (2) Precession: τ=L˙=Ω×L\boldsymbol\tau=\dot{\mathbf L}=\boldsymbol\Omega\times\mathbf L, magnitude Mgsinθ=ΩLssinθ.Mg\ell\sin\theta=\Omega\,L_s\sin\theta. (2) Ω=MgI3ψ˙.\boxed{\Omega=\frac{Mg\ell}{I_3\dot\psi}.} Independent of θ\theta; valid when Ωψ˙\Omega\ll\dot\psi (large spin). (2)


[
  {"claim":"Bead critical angular velocity omega_c^2 = g/a from cos(theta)=g/(a w^2) boundary at theta=0",
   "code":"g,a,w=symbols('g a w',positive=True); crit=Eq(g/(a*w**2),1); sol=solve(crit,w); result=(sqrt(g/a) in sol)"},
  {"claim":"Coupled oscillator eigenvalues give omega1^2=k/m, omega2^2=3k/m",
   "code":"k,m=symbols('k m',positive=True); M=(k/m)*Matrix([[2,-1],[-1,2]]); evs=set(M.eigenvals().keys()); result=(evs=={k/m,3*k/m})"},
  {"claim":"Hamiltonian for central force: H = p_r^2/2m + p_phi^2/(2 m r^2)+V",
   "code":"m,r=symbols('m r',positive=True); pr,pphi=symbols('p_r p_phi'); rd,phid=symbols('rd phid'); V=symbols('V'); L=Rational(1,2)*m*(rd**2+r**2*phid**2)-V; pr_e=diff(L,rd); pphi_e=diff(L,phid); H=(pr_e*rd+pphi_e*phid-L); Hsub=H.subs({rd:pr/m,phid:pphi/(m*r**2)}); target=pr**2/(2*m)+pphi**2/(2*m*r**2)+V; result=simplify(Hsub-target)==0"},
  {"claim":"Gyroscope steady precession Omega = M g l/(I3 psidot)",
   "code":"Mg,l,I3,psid,th=symbols('Mg l I3 psid theta',positive=True); Om=symbols('Om'); eq=Eq(Mg*l*sin(th),Om*I3*psid*sin(th)); sol=solve(eq,Om)[0]; result=simplify(sol-Mg*l/(I3*psid))==0"}
]