6.1 Simple Harmonic Motion

Oscillations are periodic variations of a quantity about some equilibrium. This could be an object moving back and forth, a voltage going up and down, or any other physical variable. Let’s look at a system we have seen before, a mass on a horizontal spring. We are going to study the motion of the mass in much more detail than earlier. The only force acting on the mass is the spring restoring force, which is given by Hooke’s law:

𝑭=kxı^. (6.1)

By Newton II, we can write

ax=d2xdt2=kmx. (6.2)

The general solution to this differential equation is

x(t)=A1cos(ωt)+A2sin(ωt), (6.3)

where

ω=km. (6.4)

Systems where displacement is a sinusoidal function of time are said to exhibit simple harmonic motion. This motion is characteristic of any system where the force is oppositely proportional to displacement. We will see more examples of this later.

We can simplify the equation for x(t) using a trigonometric addition formula. If we let A1=xmcosϕ, A2=xmsinϕ, where ϕ is some angle. Then we have

x(t) =xmcosϕcos(ωt)+xmsinϕsin(ωt) (6.5)
=xmcos(ωt+ϕ). (6.6)

We still have two constants xm and ϕ rather than A1 and A2 to specify the particular solution. Since cosine has a maximum value of 1, xm must represent the maximum amplitude of the oscillation. ϕ is the initial phase of the oscillation, i.e. the point on the cosine curve where the mass is at t=0. Calculating the derivatives of x(t), we find

v(t) =dxdt=xmωsin(ωt+ϕ) (6.7)
a(t) =d2xdt2=xmω2cos(ωt+ϕ)=ω2x(t). (6.8)

Thankfully we have recovered the equation of motion (6.2) for the acceleration. The two constants can be found using two initial conditions, usually x(0) and v(0). For example, let’s suppose x(0)=0 and v(0)=v0, then we have

x(0)=xmcosϕ=0ϕ=±π2 (6.9)
v(0)=xmωsinϕ=v0ϕ<0, (6.10)

so xm=v0ω, ϕ=π2.

6.1.1 Period and Frequency of Oscillation

ω has units of rad s1 (the same as angular velocity!), and we call it the natural or resonant (angular) frequency. Let’s work out the period of oscillation. It should be equal to the time taken for the phase to change by 2π.

ωt+ϕ =ω(t+T)+ϕ (6.11)
ωT =2π (6.12)
T =2πω. (6.13)

Linear frequency f is a more familiar unit, being measured in cycles per second or Hz. It is related to the period by f=1/T, and therefore to angular frequency by

ω=2πf. (6.14)

6.1.2 Motion of a Pendulum

Let’s look at a pendulum on a string of length L now. We are assuming that the string is massless and ignoring the effects of air resistance. Given that the arc length of the pendulum is related to the angular displacement by s=Lθ and that the restoring force is F=mgsin(θ), we have the equation of motion:

F=md2sdt2=mgsin(θ). (6.15)

This is a nonlinear differential equation. We will simplify this by assuming that the angle θ is small so sin(θ)θ (small-angle approximation). Then the equation of motion becomes

d2sdt2=gθ=gLs. (6.16)

Note that this has the same form as equation 6.2, so the trajectory will have the same form! What we have effectively done is assume that the displacement s and the restoring force F are pointing in a straight line, not along the arc of a circle, so that the force becomes identical to Hooke’s law.

s(t)=smcos(ωt+ϕ), (6.17)

where ω in this case is given by

ω=gL. (6.18)
Example 6.1.

As an exercise, let’s rederive this result by looking at the torques on the pendulum rather than the forces.

The pendulum, being a point mass, has a moment of inertia I=mL2. Then the torque on the pendulum is

τ=rFsinθ=mgLsinθmgLθ. (6.19)

Using τ=Iα, we get

α=d2θdt2 =mgLIθ (6.20)
d2θdt2 =mgLmL2θ (6.21)
d2θdt2 =gLθ. (6.22)

Solving this, we get

θ(t)=θmcos(ωt+ϕ), (6.23)

which is the same solution as before where sm=Lθm and ω=gL. Note that we have to be quite careful here, as the angular frequency ω is not the angular velocity θ˙, since the latter changes with time.

What happens if we don’t use the small-angle approximation? Unfortunately, equation 6.15 cannot be solved analytically. Fortunately, it is easy to solve numerically! Analysing the solution is outside the scope of these notes, but to put it simply, as the maximum amplitude of the oscillation increase, the resonant frequency decreases. I.e. ω becomes a function of sm (or θm).

6.1.3 SHM in Multiple Dimensions

There is another example of simple harmonic motion that we have seen already. Think back to uniform circular motion. An object moving with UCM has a trajectory of the form

θ(t)=ωt+ϕ, (6.24)

where ω is the angular velocity and ϕ is the angular displacement at t=0. If we describe this motion in cartesian coordinates, the trajectory takes the form

𝒓(t)=rcos(ωt+ϕ)ı^+rsin(ωt+ϕ)ȷ^, (6.25)

so we see that UCM is really SHM in two dimensions! If we look at the object dead-on from the y or x direction, we would see identical motion to that of a mass on a spring. For UCM, the motion in the two perpendicular directions are perfectly out of phase (out of phase by one quarter turn, or π/2).

Example 6.2.

Consider a pendulum of mass m and length L which is swinging around in uniform circular motion. What is the frequency of the oscillation?

The radial acceleration is ar=θ˙2r=ω2Lsinθ. Therefore, we have

mgsinθ=mω2Lsinθ (6.26)
ω=gL, (6.27)

which is the same frequency as a normal pendulum.