Consider a system described by the Lagrangian $L=\frac{1}{2}mv^2-\frac{1}{2}kx^2$, where $v = dx/dt$. (a) Express $L$ in terms of the generalized coordinate $q = (km)^{1/4}x$ and the associated generalized velocity. (b) In terms of $q$ and its canonical momentum $p$ derive the form of the Hamiltonian $H$. Is $H$ a constant of motion ? Is it the energy $E$ of the system? (c) Derive Hamilton's equations of motion and solve for $q(t)$ and $p(t)$. (d) Elaborate on the trajectories of the system in phase space.
Akshit Bhardwaj, AIR 12, 2025
(a)
$q = (km)^{1/4}x$
$\dot{q} = (km)^{1/4}v$
$\Rightarrow L = \frac{1}{2}m v^2 - \frac{1}{2}kx^2$
$= \frac{1}{2}m\frac{\dot{q}^2}{\sqrt{km}} - \frac{1}{2}k\frac{q^2}{\sqrt{km}}$
$\Rightarrow L=\frac{1}{2}\sqrt{\frac{m}{k}}\,\dot{q}^2 - \frac{1}{2}\sqrt{\frac{k}{m}}\,q^2$
(b)
$p = \frac{\partial L}{\partial \dot{q}} = \sqrt{\frac{m}{k}}\,\dot{q}$
$H = p\dot{q} - L = \sqrt{\frac{m}{k}}\,\dot{q}^2 - L$
$\Rightarrow H = \frac{1}{2}\sqrt{\frac{m}{k}}\,\dot{q}^2 + \frac{1}{2}\sqrt{\frac{k}{m}}\,q^2$
putting $\dot{q} = \sqrt{\frac{k}{m}}\,p$
$H = \frac{1}{2}\sqrt{\frac{k}{m}}\,p^2 + \frac{1}{2}\sqrt{\frac{k}{m}}\,q^2$
putting $x = \frac{q}{(km)^{1/4}}$, $H = \frac{1}{2}mv^2 + \frac{1}{2}kx^2$
$=$ Total energy $\therefore$ H is Total energy
c) $H = \frac{1}{2}\sqrt{\frac{m}{K}}\,\dot{q}^2 + \frac{1}{2}\sqrt{\frac{K}{m}}\,q^2 = \frac{1}{2}\sqrt{\frac{K}{m}}\left[p^2+q^2\right]$
$\frac{\partial H}{\partial p} = \dot{q}$ & $\frac{\partial H}{\partial q} = -\dot{p}$ are the Hamiltonian equations
$\Rightarrow \dot{q} = p\sqrt{\frac{K}{m}}$ & $-\dot{p} = \sqrt{\frac{K}{m}}\,q$
$\dot{p} = -\sqrt{\frac{K}{m}}\,q$
$p = \sqrt{\frac{m}{K}}\,\dot{q}$ $\Rightarrow$ $\dot{p} = \sqrt{\frac{m}{K}}\,\ddot{q}$
$\Rightarrow \sqrt{\frac{m}{K}}\,\ddot{q} = -\sqrt{\frac{K}{m}}\,q$
$q = A\cos\sqrt{\frac{K}{m}}\,t + B\sin\sqrt{\frac{K}{m}}\,t$
$p = \sqrt{\frac{m}{K}}\,\dot{q} = \sqrt{\frac{m}{K}}\times\sqrt{\frac{K}{m}}\left[B\cos\sqrt{\frac{K}{m}}\,t - A\sin\sqrt{\frac{K}{m}}\,t\right]$
$= B\cos\sqrt{\frac{K}{m}}\,t - A\sin\sqrt{\frac{K}{m}}\,t$
d) The motion is of 1-D Harmonic oscillator