Analytical Mechanics
Time limit: 2 hours 30 minutes Total marks: 60 Instructions: Answer all three questions. Show all derivations. Coding answers may be given as clean pseudocode or Python (NumPy/SciPy). Use / notation. Marks in brackets.
Question 1 — Canonical structure of a charged particle in a magnetic field (20 marks)
A particle of mass and charge moves in the -plane under a uniform magnetic field , described by the vector potential (symmetric gauge). The Lagrangian is
(a) Write explicitly in and compute the canonical momenta . Explain why physically. [4]
(b) Construct the Hamiltonian and show it equals the kinetic energy despite the momentum shift. [4]
(c) Compute the Poisson brackets of the velocity components expressed through phase-space variables (i.e. , etc.). Show that , and comment on the analogy with the quantum commutator of kinetic momenta. [5]
(d) Transform to guiding-center-type coordinates. Show that the two combinations are constants of motion (guiding centre), and compute . State what conserved quantity the cyclic-coordinate structure of (using canonical angular coordinate) reveals. [7]
Question 2 — Normal modes, Noether current and a numerical check (22 marks)
Two identical pendula of length and bob mass hang in gravity and are coupled by a spring of constant attached at the bobs (small oscillations, angles ).
(a) Write the Lagrangian to quadratic order in , identify the mass matrix and stiffness matrix . [4]
(b) Find the two normal-mode frequencies and the corresponding normal coordinates. Interpret each mode physically. [6]
(c) Now set (uncoupled) and consider instead a continuous symmetry: show that the full nonlinear two-pendulum Lagrangian with a shared external frame rotation is not symmetric, but that the total energy is conserved because has no explicit time dependence. State the Noether charge associated with the symmetry and derive it from Noether's theorem in general form. [6]
(d) Write a short program (pseudocode acceptable) that: (i) integrates the linearized coupled system from initial condition , and (ii) numerically extracts the beat period , then compares it against the analytic prediction . Explain how you would verify the code is correct to . [6]
Question 3 — Torque-free asymmetric top and chaos (18 marks)
A rigid body has principal moments and rotates freely (no torque).
(a) State Euler's equations of motion and the two quadratic conserved quantities (energy and angular momentum magnitude ). [4]
(b) Prove that steady rotation about the intermediate axis () is linearly unstable, while rotation about and are stable (the "tennis racket theorem"). Give the growth rate for the unstable case. [8]
(c) Define the maximal Lyapunov exponent and explain operationally how you would measure it for a driven-damped variant of this rigid body from a numerical trajectory. State how relates to the intermediate-axis instability of part (b) versus genuine chaos, and what Liouville's theorem implies about the sum of Lyapunov exponents for the conservative (undriven) system. [6]
Answer keyMark scheme & solutions
Question 1
(a) [4] In symmetric gauge , so (1) Momenta: because canonical momentum includes the field's contribution ; it is the conjugate (canonical) momentum, not the mechanical (kinetic) momentum . (1)
(b) [4] Kinetic momenta , . (1) Substituting, the field terms cancel: This equals kinetic energy because the magnetic force does no work; the potential-like terms merely shift momentum, not energy. (1)
(c) [5] , . (1) Using , cross terms zero:
=\frac{1}{m^2}\Big(\tfrac{qB}{2}(+1)+\tfrac{qB}{2}(-1)\cdot? \Big).$$ Carefully: $\{p_x,-\tfrac{qB}{2}x\}=-\tfrac{qB}{2}\{p_x,x\}=-\tfrac{qB}{2}(-1)=+\tfrac{qB}{2}$; $\{\tfrac{qB}{2}y,p_y\}=\tfrac{qB}{2}\{y,p_y\}=\tfrac{qB}{2}$. Wait — signs must give the correct total; the standard result is $$\boxed{\{v_x,v_y\}=-\frac{qB}{m^2}}. \;\;(3)$$ *(Marker: award full credit for correctly obtaining $\mp qB/m^2$; sign depends on bracket convention $\{f,g\}=\sum \partial_q f\partial_p g-\partial_p f\partial_q g$; with this convention the answer is $-qB/m^2$.)* Quantum analogy: $[\hat\pi_x,\hat\pi_y]=i\hbar qB$ with $\pi=p-qA$; via $\{,\}\to \tfrac{1}{i\hbar}[,]$ this matches $m^2\{v_x,v_y\}=-qB$ ⇒ $[\pi_x,\pi_y]=i\hbar qB$. *(1)* **(d)** [7] Equations of motion: $m\dot v_x=qv_yB\Rightarrow \dot v_x=\omega_c v_y$, $\dot v_y=-\omega_c v_x$. *(1)* Then $$\dot X=\dot x+\dot v_y/\omega_c=v_x+(-\omega_c v_x)/\omega_c=v_x-v_x=0.$$ *(2)* $$\dot Y=\dot y-\dot v_x/\omega_c=v_y-(\omega_c v_y)/\omega_c=0.$$ *(2)* So $(X,Y)$ = fixed guiding centre. Bracket: $$\{X,Y\}=\Big\{x+\tfrac{v_y}{\omega_c},\,y-\tfrac{v_x}{\omega_c}\Big\}.$$ $\{x,y\}=0,\ \{x,-v_x/\omega_c\}=-\tfrac{1}{m\omega_c}\{x,p_x\}=-\tfrac{1}{m\omega_c}$; $\{v_y/\omega_c,y\}=\tfrac{1}{\omega_c}\{v_y,y\}$ with $\{v_y,y\}=\tfrac1m\{p_y,y\}=-\tfrac1m$, giving $-\tfrac{1}{m\omega_c}$; the $\{v_y,v_x\}$ term gives $+\tfrac{1}{\omega_c^2}(qB/m^2)=+\tfrac{1}{m\omega_c}$. Net $$\{X,Y\}=\frac{1}{m\omega_c}=\frac{1}{qB}.\;\;(1)$$ Using polar canonical angle $\phi$, $H$ is independent of $\phi$ (rotational symmetry) ⇒ canonical angular momentum $p_\phi$ conserved — the guiding-centre distance / magnetic flux through the orbit. *(1)* --- ## Question 2 **(a)** [4] Small-angle: $T=\tfrac12 m\ell^2(\dot\theta_1^2+\dot\theta_2^2)$. *(1)* $V=\tfrac12 mg\ell(\theta_1^2+\theta_2^2)+\tfrac12 k\ell^2(\theta_1-\theta_2)^2$ (spring extension $\approx \ell(\theta_1-\theta_2)$). *(2)* $$\mathbf M=m\ell^2 I,\quad \mathbf K=\begin{pmatrix}mg\ell+k\ell^2 & -k\ell^2\\ -k\ell^2 & mg\ell+k\ell^2\end{pmatrix}. \;\;(1)$$ **(b)** [6] Eigenvectors $(1,1)$ and $(1,-1)$. *(2)* Symmetric mode $(1,1)$: spring unstretched, $$\omega_-^2=\frac{g}{\ell}. \;\;(1)$$ Antisymmetric $(1,-1)$: $$\omega_+^2=\frac{g}{\ell}+\frac{2k}{m}. \;\;(2)$$ Normal coordinates $Q_-=(\theta_1+\theta_2)/\sqrt2$ (in-phase swing), $Q_+=(\theta_1-\theta_2)/\sqrt2$ (out-of-phase, stretches spring). *(1)* **(c)** [6] The rotation of the external frame changes $g$'s direction relative to the pendula, so $L$ is *not* invariant under that spatial symmetry (gravity breaks it). *(2)* However $L$ has **no explicit $t$**: $\partial L/\partial t=0$. Noether's theorem for time translation $t\to t+\epsilon$ gives conserved $$H=\sum_i \dot q_i\frac{\partial L}{\partial\dot q_i}-L=E,$$ the energy function. *(2)* General derivation: under a symmetry $q_i\to q_i+\epsilon K_i$ leaving $L$ invariant, the conserved Noether charge is $J=\sum_i \frac{\partial L}{\partial\dot q_i}K_i$; for time translation one treats time as a coordinate and obtains $H$. Since $T$ is homogeneous quadratic and $V=V(q)$, $H=T+V$. *(2)* **(d)** [6] Pseudocode: ```python import numpy as np from scipy.integrate import solve_ivp g, l, m, k = 9.81, 1.0, 1.0, 2.0 wm2 = g/l wp2 = g/l + 2*k/m def rhs(t, s): th1,th2,w1,w2 = s a1 = -(g/l)*th1 - (k/m)*(th1-th2) a2 = -(g/l)*th2 - (k/m)*(th2-th1) return [w1,w2,a1,a2] th0=0.1 sol = solve_ivp(rhs,[0,400],[th0,0,0,0],max_step=0.01,dense_output=True) t=np.linspace(0,400,400000); th1=sol.sol(t)[0] # envelope of beats: find successive minima of |th1| env = np.abs(th1) # peaks of the slow envelope give beat period Tbeat_num = ... # from FFT of envelope or peak-spacing Tbeat_ana = 2*np.pi/abs(np.sqrt(wp2)-np.sqrt(wm2)) print(Tbeat_num, Tbeat_ana) ``` *(3 for correct EOM/integration, 1 for beat extraction, 1 for analytic comparison)* Verification to <1%: use a symplectic or high-accuracy RK45 with tight tolerance, check energy $E=\tfrac12 m\ell^2\sum\dot\theta^2+V$ drift $<10^{-4}$; refine step until $T_\text{beat}$ stops changing; confirm $|T_\text{num}-T_\text{ana}|/T_\text{ana}<0.01$. *(1)* --- ## Question 3 **(a)** [4] Euler's equations (torque-free): $$I_1\dot\omega_1=(I_2-I_3)\omega_2\omega_3,\;\;I_2\dot\omega_2=(I_3-I_1)\omega_3\omega_1,\;\;I_3\dot\omega_3=(I_1-I_2)\omega_1\omega_2.$$ *(2)* Conserved: $2E=I_1\omega_1^2+I_2\omega_2^2+I_3\omega_3^2$ and $L^2=I_1^2\omega_1^2+I_2^2\omega_2^2+I_3^2\omega_3^2$. *(2)* **(b)** [8] Steady spin about $\hat e_2$: $\omega_2=\Omega$, small $\omega_1,\omega_3$. *(1)* Linearize: $$I_1\dot\omega_1=(I_2-I_3)\Omega\,\omega_3,\qquad I_3\dot\omega_3=(I_1-I_2)\Omega\,\omega_1,$$ $\dot\omega_2\approx0$. *(2)* Differentiate: $$\ddot\omega_1=\frac{(I_2-I_3)(I_1-I_2)}{I_1 I_3}\Omega^2\,\omega_1. \;\;(2)$$ Let $\alpha=\dfrac{(I_2-I_3)(I_1-I_2)}{I_1 I_3}\Omega^2$. Since $I_1<I_2<I_3$: $(I_2-I_3)<0$ and $(I_1-I_2)<0$ ⇒ product $>0$ ⇒ $\alpha>0$ ⇒ exponential growth $\propto e^{\sqrt\alpha\,t}$: **unstable**, growth rate $$\lambda=\Omega\sqrt{\frac{(I_3-I_2)(I_2-I_1)}{I_1 I_3}}. \;\;(2)$$ For $\hat e_1$ or $\hat e_3$ axis the analogous coefficient