Pendulum¶
Textbook & Collegerama
- Chapter 4: section 4.2
- Tn1612TU_12
Learning goals
- Derive the equation of motion for a pendulum
- Approximate the motion around the equilibrium
A well-known example of an oscillation is the pendulum. In essence, a (simple) pendulum is a massless, stif rod of length
First, let's realize that although the motion is in a plane (2D) it is in fact a 1D problem. How to understand this? Well, there is a strong constraint: the mass will always be at a distance
Equation of Motion¶
In order to set up the equation of motion, we look at the gravitational force in the radial and tangential direction.
-
In the radial direction
, the component of gravity is balanced by the tension force in the rod. This force is such that there is no motion in the direction: . -
In the tangential direction
the component of gravity is: .Thus, the equation of motion in the tangential direction reads as:
.
Thus, N2 for a pendulum is
with initial conditions: at
Now that this looks similar to a harmonic oscillator, but it is not. The sine is in the way. However, for small
Now this exactly is the undamped harmonic oscillator! The frequency of oscillation
Using the energy equation¶
We can write the kinetic energy in polar coordinates then
Substituting this into the energy equation
we arrive at
Now we take the derivative with respect to time (and remember
The approach via the energy might not look as easy as via the forces, but in fact that is how you will approach any problem the rest of your physics life after you have followed the second year class on Classical Mechanics. The main advantage is that we could directly reduce the problem to 1D. We did not even need to think about the tension force.
Example¶
The solution of the equation of motion for the pendulum is not easy for larger angles
In the widget below, you can see how much the difference is. The widget shows a harmonic oscillator at small angles (the green dot). You can set a harmonic oscillator at an initial angle (the blue dot) and a pendulum at the same angle (red dot).
Note that both harmonic oscillators have the appearance of a pendulum with
Click image to start the widget. Watch the time traces on the right!
Jupyter labs¶
- Pendulum with a spring Exercise5.ipynb