Simple harmonic motion is a very specific type of harmonic motion that occurs when an object moves sinusoidally, or like a sine wave. In order for a force to produce harmonic motion, there are two criteria necessary:
To demonstrate, let’s start with one of the simplest examples of simple harmonic motion: a spring-mass sytem.
Recall that Hookean springs obey (by definition) Hooke’s Law:
This meets our critera for simple harmonic motion; the spring force is proportional to the displacement and is a restoring force (as indicated by the negative sign). Thus, we expected the spring to move sinusoidally. A demo of such a system is shown below.
Now, let’s try to derive the position of the mass at any given time during its oscillation. First, we start with Hooke’s law and write it in acceleration rather than force. To simplify things, we’ll assume the spring is moving along the x-axis so we can remove the vector signs, but this solution applies to any spring-mass system moving in a line.
The function of position we’re looking for has the property that it is proportional to its own negative second derivative. Particularly, the trigonometric functions sine and cosine have this property:
Although this is an ordinary differential equation that could be solved directly, it’s beyond the scope of this article. See other article for more details on the specific procedure involved to solve this type of differential equation.
Either one will work fine, but is usually used out of convenience, since it models a spring mass system that starts at equillibirum. However, just itself isn’t quite right, as it doesn’t account for our constant of proportionality . To get an intuition for the general form of a position vs time function, let’s consider how different spring mass systems could differ from each other.
First off, releasing the masses from different distances from equillibrium will lead to a spring-mass system that goes further out in both directions, as seen below.
This maximum distance from equilibrium is known as the amplitude and is given the symbol A. Our current function, , has a maximum and minimum of 1 and -1, but we can multiply it by A to get a function that has a max and min of A and -A.
There are also factors that could affect the general speed of oscillation. For example, if the mass is heavier, it will resist the spring force more, and so will oscillate slower than a lighter mass. The spring constant also affects the speed of oscillation; if a spring is more “stiff”, it will oscillate faster.
This oscillation speed is represented as and is often referred to as the angular frequency. In our position function, it is multiplied by time:
Finally, we need to consider that the system is not always at equilibrium at ; it could already have an initial velocity.
The above three springs are all identical other than the fact that they are offset but some amount of time. To represent this offset in our position function, we use , called the phase constant.
This is the general form for the position of a simple harmonic oscillator.
Since we have a closed form for the position, we can simply differentiate with respect to time to find the velocity and acceleration as well.
If we rearrange the expression for acceleration, we can confirm that this is in fact a solution to equation :
with our constant of proportionality being .
Although we derived this general function from a spring-mass system, it applies to any object in simple harmonic motion, with the constants , , and varying. For the spring mass sytem, we can solve for as follows:
Now we focus our attention onto another device that is commonly used to demonstrate simple harmonic motion, the pendulum. A simple pendulum consists of a mass attatched to a string; when dropped, it begins to oscillate due to the force of gravity.
Let’s create a free-body diagram to analyze the net acceleration of the pendulum.
At all times, gravity is pulling down on the mass with a force in the downwards direction. However, depending on the angle of the pendulum, some of this force is direction directly outwards, and is counteracted by the force of tension. The only component of the force of gravity that is causing acceleration is tangential.
Sidenote: in the following derivation, the centripetal force and acceleration are ignored, as they do not contribute to the change in speed of the pendulum, but keep in mind that these are still acting. Centripetal acceleration is keeping the bob on the path, but gravity is the one causing its speed to change.
Using the geometry of the problem, we can find that the tangential component of force . Now we can follow a similar reasoning as for the spring-mass system.
As you can see, the force is not directly proportional to the displacement, but rather the sine of the displacement. Thus, in general, a pendulum does not undergo simple harmonic motion. However, we can model the pendulum with simple harmonic motion if theta stays relatively small. For small angles (on the order of ), we can say that . This approximation can be seen by observing the taylor series for :
For small , the second term forward is very small and can be neglected. Using the substitution , our updated diffrential is
Now we follow the same reasoning as the spring mass sytem, letting .