Tag

Without air resistance

To apply Equations (??), we will treat it as a simple pendulum with no friction, a massless rod and no air resistance. The pendulum will consist of a rod with a bob at one end and freely rotating around a central point. We will define this central point as being the origin in Cartesian coordinates. Say the rod is of fixed length ll metres. The pendulum bob will be of mass mm kilograms. As you can see in Figure , we have defined θ\theta as the angle between the rod and the positive xx-axis going counter-clockwise. Hence the xx and yy coordinates of the pendulum bobs are:

x=lcos⁡θy=lsin⁡θ.\begin{aligned} x &= l\cos{\theta} \\ y &= l\sin{\theta}. \end{aligned}

Hence:

x˙=−lθ˙sin⁡θy˙=lθ˙cos⁡θ.\begin{aligned} \dot{x} &= -l\dot{\theta}\sin{\theta} \\ \dot{y} &= l\dot{\theta}\cos{\theta}. \end{aligned}

As for velocity squared, it is defined as:

v2=x˙2+y˙2=l2θ˙2sin⁡2θ+l2θ˙2cos⁡2θ=l2θ˙2.\begin{aligned} v^2 &= \dot{x}^2+\dot{y}^2 \\ &= l^2\dot{\theta}^2\sin^2{\theta} + l^2\dot{\theta}^2\cos^2{\theta} \\ &= l^2\dot{\theta}^2. \end{aligned}

Hence v=lθ˙v=l\dot{\theta}. The kinetic energy is:

T=mv22=ml2θ˙22.\begin{aligned} T &= \dfrac{mv^2}{2} \\ &= \dfrac{ml^2\dot{\theta}^2}{2}. \end{aligned}

As for potential energy, given this bob is moving solely under the force of gravity:

V=mgy=mglsin⁡θ.\begin{aligned} V &= mgy \\ &= mgl\sin{\theta}. \end{aligned}

Hence:

L=T−V=ml2θ˙22−mglsin⁡θ.\begin{aligned} L &= T - V \\ &= \dfrac{ml^2\dot{\theta}^2}{2} - mgl\sin{\theta}. \end{aligned}

∂L∂θ˙\dfrac{\partial L}{\partial \dot{\theta}} is hence:

∂L∂θ˙=ml2θ˙.\begin{aligned} \dfrac{\partial L}{\partial \dot{\theta}} &= ml^2 \dot{\theta}. \end{aligned}

And its time derivative is:

ddt∂L∂θ˙=ml2θ¨.\begin{aligned} \dfrac{d}{dt}\dfrac{\partial L}{\partial \dot{\theta}} = ml^2 \ddot{\theta}. \end{aligned}

As for the ∂L∂θ\dfrac{\partial L}{\partial \theta} term it is:

∂L∂θ=−mglcos⁡θ.\begin{aligned} \dfrac{\partial L}{\partial \theta} &= -mgl\cos{\theta}. \end{aligned}

So Equations (??) becomes:

ml2θ¨+mglcos⁡θ=0.\begin{aligned} ml^2 \ddot{\theta} + mgl\cos{\theta} &= 0. \end{aligned}

Dividing by ml2ml^2 and taking the second term to the right-hand side yields:

θ¨=−glcos⁡θ.\begin{align} \ddot{\theta} &= -\dfrac{g}{l}\cos{\theta}. \tag{1} \end{align}

Equation (1) has, as its highest order derivative, a second-order derivative. It also only involves ordinary derivatives (not partial derivatives). Hence it is a second-order ordinary differential equation (ODE). Second-order ODEs are typically obtained in both Newtonian and Lagrangian mechanics. The number of second-order ODEs obtained for a given system depends on the number of degrees of freedom of the system.

Technically speaking it is possible to analytically solve Equation (1), but it requires the use of non-standard functions called elliptic integrals. If you would like to check out numerical solutions to this equation, see this page.