Upside-down pendulum A particle P is attached to a support S by a light rigid rod of length a, which is freely pivoted at S. P moves in a vertical plane through S and at the same time the support S is made to oscillate vertically having upward displacement Z=ϵacospt at time t. Take θ, the angle between SP and the upward vertical, as generalised coordinate and show that Lagrange's equation is
θ¨−(Ω2+ϵp2cospt)sinθ=0,
where Ω2=g/a. The object is to show that, for suitable choices of the parameters, the pendulum is stable in the vertically upwards position!
First write the equation in dimensionless form by introducing the dimensionless time τ=pt. Then θ(τ) satisfies
dτ2d2θ−(p2Ω2+ϵcosτ)sinθ=0.
Solve this equation numerically with initial conditions in which the pendulum starts from rest near the upward vertical. Plot the solution θ(τ) as a function of τ for about twenty oscillations of the support. Try ϵ=0.3 with increasing values of the parameter p/Ω in the range 1≤p/Ω≤10. You will know that the upside-down pendulum is stable when θ remains small in the subsequent motion.