Topper Copies

Write Hamiltonian for spherical pendulum.

Akshit Bhardwaj, AIR 12, 2025

[a rod hanging from point O with angle $\theta$ from the vertical, length $l$ marked along the rod, and a dashed horizontal line marked with $\phi$]

$l$ is fixed

Generalised coordinates are $\theta$ & $\phi$

Taking O as (0,0) & Reference point

$V = -mg\frac{l}{2}\cos\theta$

For Kinetic energy T, consider a particle mass $dm = \frac{m}{l}dx$

[the rod with a small element at distance $x$ from the top end]

Velocity of $dm$ $= x\dot{\theta}\,\hat{\theta} + x\sin\theta\,\dot{\phi}\,\hat{\phi}$

$\Rightarrow$ K.E of $dm$ $= \frac{1}{2}dm\left(x^2\dot{\theta}^2 + x^2\sin^2\theta\,\dot{\phi}^2\right)$

Total KE $T = \int_0^l \frac{1}{2}\frac{m}{l}\left(\dot{\theta}^2 + \sin^2\theta\,\dot{\phi}^2\right)x^2\,dx$

$= \frac{m}{2\ell}\left(\dot\theta^2 + \sin^2\theta\,\dot\phi^2\right)\cdot\frac{\ell^2}{3}$

$= \frac{m\ell^2}{6}\left(\dot\theta^2 + \sin^2\theta\,\dot\phi^2\right)$

Languangian $L = T - V = \frac{m\ell^2}{6}\left(\dot\theta^2 + \sin^2\theta\,\dot\phi^2\right) + mg\frac{\ell}{2}\cos\theta$

Hamiltonian $= \sum p\dot q - L = H$

$p_\theta = \frac{\partial L}{\partial\dot\theta} = \frac{m\ell^2}{3}\dot\theta$, $p_\phi = \frac{m\ell^2}{3}\sin^2\theta\,\dot\phi$

$\Rightarrow H = \frac{m\ell^2}{3}\dot\theta^2 + \frac{m\ell^2}{3}\sin^2\theta\,\dot\phi^2 - L$