Legend has it that it was Galileo who first noticed that the period of a pendulum’s swing does not depend on how large the swing is, but only on the length of the pendulum. The swinging back and forth of a pendulum is an example of a very important type of motion which crops up in many places in Nature, so called *Simple Harmonic Motion* (SHM). In this blog I will derive the basic equations of SHM, and then go on and talk about the deep connection between SHM and circular motion.

## A swinging pendulum

If we start off by looking at a simple pendulum which has been displaced so that the bob is to the right of the vertical position, the angle the line of the pendulum makes with the vertical is given by , and for this derivation to work needs to be small.

The force restoring the pendulum bob back to the middle, which I have called in the diagram above, is given by (the minus sign comes about because the the force is back towards the centre, even though the angle increases as we move the bob to the right).

The restoring force, , can be written using Newton’s 2nd law as . The angle is measured in *radians* (see my blog here for a tutorial on radians). When is small, and so we can write that

where is the length of the pendulum and is the horizontal displacement of the pendulum bob.

Finally, the tension in the pendulum chord can be written as where is the mass of the bob and is the acceleration due to gravity (9.8 m/s/s for the Earth).

Putting all of this together, we can write that the restoring force can be written as

This means that the acceleration can be written as

It is more common to write this as

where for the pendulum. is called the *angular frequency* and it is related to how long the pendulum takes to complete one full swing, the *period*, by the equation . The frequency is just the reciprocal of the period, so we can write and so the angular frequency is related to the time frequency as .

Whenever the acceleration can be written as being proportional to the displacement, and in the opposite direction to the displacement, we have *Simple Harmonic Motion*. Other examples of SHM are an object bouncing vertically on a spring, or moving horizontally back and forth due to a spring attached at one end, even the vibrations of atoms in molecules.

## Solutions to the SHM equation

What are the solutions to the second order differential equation ? We have a displacement, , and it is proportional to the acceleration , but the acceleration acts in the opposite direction to the displacement.

We differentiate the displacement twice with respect to time to produce the acceleration (remember ), and for SHM, when we do this, the acceleration is proportional to the displacement and in the opposite direction.

Let us suppose we try the displacement

If we differentiate this once with respect to time we get the velocity

To get the acceleration we need to differentiate the velocity with respect to time so

Loh and behold, we now have that , so we have shown that, if that an object which has this displacement as a function of time will display SHM.

As the acceleration is proportional to the displacement, it will be at its maximum when the displacement is maximum, so for a pendulum when the bob is at its extreme positions. The acceleration at the centre is zero, as the displacement at the centre is zero.

Conversely the velocity behaves in the opposite sense. Remember, as it means that the velocity and displacement are out of phase with each other, when the displacement is a maximum the velocity is zero, and when the displacement is zero the velocity is a maximum. So, the bob will be travelling at its quickest when it passes through the centre, and at its extremes the velocity is (temporarily) zero.

## SHM and circular motion

If an object is moving at a constant speed in a circle in the x-y plane we can write that it’s position at any time is given by

But notice that the expression for is exactly the same as the expression which we had above, so an object moving in a circle performs SHM. But how? Surely, if it is moving with a constant speed (and hence constant angular velocity ), how is it also displaying SHM?

The SHM comes in when we look at the object’s x or y-position as a function of time. So, for example, if we look at the circle from below, as if we were looking along the plane of the screen from below, we would only see the x-displacement of the object, as the y-displacement would be invisible to us. The x-displacement is given by , so the x-position will move back and forth about the central point, displaying SHM. This regular “wobble” is one of the things we look for in trying to find exoplanets – planets around other stars. If we see a regular, rhythmic wobble in the position of the parent star, it’s a pretty good bet that it has a planet going around it with the force of gravity between the host star and its planet producing the apparent SHM.

on 10/09/2015 at 07:30 |Harmonic Oscillators | thecuriousastronomer[…] oscillators is another term for something which is exhibiting simple harmonic motion, and I did blog here about how a pendulum exhibits simple harmonic motion (SHM), and how this relates to circular […]

on 24/12/2017 at 14:33 |jaap aapwhat is T? (minor detail)

on 24/12/2017 at 16:12 |RhEvansT is the period of the pendulum. How long it takes to make one swing.