Topper Copies

Write Hamiltonian for spherical pendulum.

Divyank Gupta, AIR 21, 2024

In Spherical cordinates we know that

[a sketch of spherical coordinates: z-axis up, y-axis to the right, x-axis down-left; a point P at $(r, \theta, \ldots)$ joined to the origin, angle $\theta$ marked from the z-axis, angle $\phi$ marked in the xy-plane, dashed projection lines from P to the xy-plane]

$x = r\sin\theta\cos\phi$ $y = r\sin\theta\sin\phi$ $z = r\cos\theta$

So $T = \frac{1}{2}m\left(\dot{x}^2 + \dot{y}^2 + \dot{z}^2\right)$

Now $\dot{x} = \dot{r}\sin\theta\cos\phi + r\cos\theta\cos\phi\,\dot{\theta} - r\sin\theta\sin\phi\,\dot{\phi}$ $\dot{y} = \dot{r}\sin\theta\sin\phi + r\cos\theta\sin\phi\,\dot{\theta} + r\sin\theta\cos\phi\,\dot{\phi}$ $\dot{z} = \dot{r}\cos\theta - r\sin\theta\,\dot{\theta}$

then $T = \frac{m}{2}\left[\dot{r}^2 + r^2\dot{\theta}^2 + r^2\sin^2\theta\,\dot{\phi}^2\right]$

and $V = mg\,r\cos\theta$

so $L = T - V$

Then $P_\theta = \frac{\partial L}{\partial \dot\theta} = mr^2\dot\theta \Rightarrow \dot\theta = \frac{P_\theta}{mr^2}$ $P_r = \frac{\partial L}{\partial \dot r} = m\dot r \Rightarrow \dot r = \frac{P_r}{m\dot r}$ $P_\phi = \frac{\partial L}{\partial \dot\phi} = mr^2\sin^2\theta\,\dot\phi \Rightarrow \dot\phi = \frac{P_\phi}{mr^2\sin^2\theta}$

and $H = \sum_\alpha P_\alpha \dot q_\alpha - L$

Ans