[Math] Conservation of Energy on Pendulum

calculusordinary differential equations

So I've been working on tons of these pendulum problems and they consistently get me stuck. My question this time is:

Consider a nonlinear pendulum. Show that the sum of the potential energy ( $mgy$ where $y$ is the vertical distance of the pendulum above its natural position ) and the kinetic energy ( $mv^{2}/2$, where $v$ is the speed of the mass ) is a constant. Hint: Suppose a mass m located at $\left(x,y\right)$ is acted upon by a force field, $\vec{F}$ ( i.e., $m\,{\rm d}^{2}\vec{x}/{\rm d}t^{2} = \vec{F}$ ). The kinetic energy is defined as
$$
{1 \over 2}\,m\left[%
\left({\rm d}x \over {\rm d}t\right)^{2} + \left({\rm d}y \over {\rm d}t\right)^{2}
\right]
$$ it again equals $mv^{2}/2$. The potential energy is defined as
$$
-\int_\vec{x_{1}}^{\vec{x}}\vec{F}\cdot{\rm d}\vec{s}$$
where $\vec{x_{1}}$ is any fixed position.

I'm not totally sure how the hint helps but I'm completely lost on this. I have some idea as I know that as the pendulum swings up it's potential energy will increase but it's kinetic energy will decrease thereby balancing the overall $E$ to be a constant energy value, thus energy is conserved. But I don't know how to show that. Any ideas ?.

Best Answer

It's not clear what you can assume, where you're stuck, etc.

If this is a pendulum confined to a plane, with length $l$, local gravitational acceleration $g$, and polar coordinate $\theta$, then its equation of motion is $$\frac{d^2\theta}{dt^2}=-\frac{g}{l}\sin\theta.$$ The standard trick is to multiply both sides by $d\theta/dt$: $$\frac{d\theta}{dt}\frac{d^2\theta}{dt^2}=-\frac{g}{l}\frac{d\theta}{dt}\sin\theta.$$ Now note that the left hand side can be expressed as $$\frac{d\theta}{dt}\frac{d^2\theta}{dt^2}=\frac{1}{2}\frac{d}{dt}\left(\frac{d\theta}{dt}\right)^2$$ and the right hand side as $$-\frac{g}{l}\frac{d\theta}{dt}\sin\theta=-\frac{g}{l}\frac{d}{dt}\left(-\cos\theta\right).$$ Putting back these expressions in terms of derivatives, we have $$0=\frac{d}{dt}\left(\frac{1}{2}\left(\frac{d\theta}{dt}\right)^2-\frac{g}{l}\cos\theta\right).$$ Integrating with respect to $t$ and multiplying through by $m$, the mass of the pendulum bob, and $l^2$, we get $$\frac{1}{2}ml^2\left(\frac{d\theta}{dt}\right)^2-mgl\cos\theta=\textrm{constant}.$$ Now you can recognize these pieces as the kinetic and potential energies. It's not an accident. If you search "first integral of motion", you'll find more details on the general phenomenon.