3.6.1.2 - Simple Harmonic Motion

3.6.1.2 - Simple Harmonic Motion

Simple harmonic motion (SHM) is one of the most important types of motion in physics. From the swing of a pendulum to the vibration of atoms in a crystal lattice, SHM underpins a vast range of physical phenomena. In this lesson you will learn the defining conditions of SHM, the key equations that describe displacement, velocity, and acceleration, and how to interpret the graphical relationships between these quantities.

1. What is Simple Harmonic Motion?

An oscillation occurs whenever an object moves repeatedly back and forth through an equilibrium position. The equilibrium position is the point at which the object would remain at rest if undisturbed. Not every oscillation qualifies as SHM; the motion must satisfy two strict conditions simultaneously.

Simple Harmonic Motion

Oscillating motion in which the acceleration of the object is directly proportional to its displacement from the equilibrium position and is always directed towards that equilibrium position (i.e., in the opposite direction to the displacement).

These two conditions can be expressed compactly as:

axa \propto -x

The negative sign is essential: it encodes the requirement that the acceleration always acts back towards equilibrium, opposing the displacement. Without this restoring nature, the motion would not be oscillatory.

Defining Equation of SHM

a=ω2xa = -\omega^2 x

In this equation:

  • aa is the acceleration of the object (m s2^{-2}),
  • xx is the displacement from the equilibrium position (m),
  • ω\omega is the angular frequency of the oscillation (rad s1^{-1}), defined as ω=2πT=2πf\omega = \frac{2\pi}{T} = 2\pi f, where TT is the time period and ff is the frequency.

The constant of proportionality is ω2\omega^2, which means that a shorter time period (faster oscillation) produces a larger acceleration for any given displacement.

Angular Frequency

The angular frequency ω\omega is defined as ω=2πT=2πf\omega = \frac{2\pi}{T} = 2\pi f, where TT is the time period and ff is the frequency. It is measured in rad s1^{-1}.

Some key terms used throughout this lesson are worth defining precisely here.

Amplitude

The amplitude AA of an oscillation is the maximum displacement of the oscillating object from its equilibrium position.

The amplitude tells you how far the object travels from its rest position. Closely related are two quantities that describe how quickly the oscillations repeat.

Time Period

The time period TT is the time taken for one complete cycle of oscillation. One full cycle returns the object to the same position, moving in the same direction.

The reciprocal of the time period gives the frequency of the oscillation.

Frequency

The frequency ff is the number of complete oscillations per unit time. It is measured in hertz (Hz), where 1 Hz = 1 cycle per second. It is related to the time period by f=1Tf = \frac{1}{T}.

The figure below shows the equilibrium position, an intermediate displacement, and both turning points; notice that amplitude is measured from the centre to an extreme while the restoring acceleration at the extremes points back towards equilibrium.

[DIAGRAM: asset_name: 6.1.2 - Simple Harmonic Motion - Diagram 1; asset_slug: 6.1.2 - Simple Harmonic Motion - Diagram 1; recommended_method: retained_png; description: An oscillating object shown on a horizontal line at three positions. The centre is labelled "equilibrium position, x=0x = 0". The left turning point is labelled "x=Ax = -A" and the right turning point "x=+Ax = +A". A shorter arrow from the centre to an intermediate point is labelled "displacement xx". A full arrow from the centre to one turning point is labelled "amplitude AA". Arrows at both turning points point back towards the centre to show the restoring acceleration.]
Diagram
This diagram helps separate two ideas that students often merge. The displacement xx is the object's current signed distance from equilibrium, so it can be positive, negative, or zero. The amplitude AA is the largest value that x|x| ever reaches. Equilibrium is the midpoint of the motion, not one end of it.

Consider a simple pendulum: when displaced to one side and released, the restoring component of its weight always acts back towards the lowest point (the equilibrium). At maximum displacement (the amplitude), the acceleration is at its greatest magnitude because x|x| is at its maximum. At the equilibrium position (x=0x = 0), the acceleration is zero.

2. Displacement as a Function of Time

The defining equation a=ω2xa = -\omega^2 x is a second-order differential equation. Its solution gives displacement as a sinusoidal function of time. If we choose to start timing (t=0t = 0) at the instant when the object is at maximum positive displacement (x=+Ax = +A), the solution is:

Displacement–Time Equation

x=Acos(ωt)x = A\cos(\omega t)

Here AA is the amplitude and ωt\omega t must be calculated in radians (ensure your calculator is in radian mode).

This cosine form applies when the object starts at x=+Ax = +A. If instead timing begins as the object passes through equilibrium moving in the positive direction, the displacement follows x=Asin(ωt)x = A\sin(\omega t). Both are valid solutions; which one to use depends on the initial conditions of the problem.

The time period TT does not depend on the amplitude. Whether you pull a pendulum back by a small angle or a larger angle (within the SHM approximation), the period remains the same. This is a hallmark of SHM.

Worked Example: An object oscillates in SHM with amplitude 58 mm and time period 3.0 s. Find its displacement at t=0.50t = 0.50 s, given that it starts at maximum positive displacement.

Solution:

ω=2πT=2π3.0=2.094 rad s1\omega = \frac{2\pi}{T} = \frac{2\pi}{3.0} = 2.094 \text{ rad s}^{-1} x=Acos(ωt)=0.058cos(2.094×0.50)=0.058cos(1.047)x = A\cos(\omega t) = 0.058 \cos(2.094 \times 0.50) = 0.058 \cos(1.047) x=0.058×0.500=0.029 m=29 mmx = 0.058 \times 0.500 = 0.029 \text{ m} = 29 \text{ mm}

At t=0.50t = 0.50 s (which is T6\frac{T}{6}), the object has moved from 58 mm to 29 mm — it is returning towards equilibrium.

3. Velocity in SHM

Velocity in SHM can be expressed as a function of displacement using the equation:

Velocity–Displacement Equation

v=±ωA2x2v = \pm\omega\sqrt{A^2 - x^2}

The ±\pm sign indicates that for any given displacement xx (other than ±A\pm A), the object could be moving in either direction — towards or away from that point.

From this equation, several important results follow:

  • At the equilibrium position (x=0x = 0): v=±ωA20=±ωAv = \pm\omega\sqrt{A^2 - 0} = \pm\omega A. This is the maximum speed.
  • At the extremes (x=±Ax = \pm A): v=±ωA2A2=0v = \pm\omega\sqrt{A^2 - A^2} = 0. The object is momentarily at rest before reversing direction.

Maximum Speed

vmax=ωAv_{\max} = \omega A

This makes physical sense: the object is fastest as it passes through the centre and stationary at the turning points.

Earthquake-resistant building design relies on understanding SHM. During seismic activity, buildings oscillate laterally. Engineers model these oscillations using SHM principles to calculate the maximum velocity and acceleration experienced by the structure. By knowing vmax=ωAv_{\max} = \omega A, they can determine how quickly floors move at the equilibrium crossing, which directly informs the specification of damping systems to absorb kinetic energy and prevent structural failure.

Worked Example: A mass on a spring oscillates with amplitude 0.040 m and frequency 1.5 Hz. Calculate the maximum speed of the mass.

Solution:

ω=2πf=2π×1.5=9.42 rad s1\omega = 2\pi f = 2\pi \times 1.5 = 9.42 \text{ rad s}^{-1} vmax=ωA=9.42×0.040=0.38 m s1v_{\max} = \omega A = 9.42 \times 0.040 = 0.38 \text{ m s}^{-1}

4. Acceleration in SHM

From the defining equation a=ω2xa = -\omega^2 x, the magnitude of the acceleration is greatest when x|x| is greatest, that is, when the object is at maximum displacement (x=±Ax = \pm A).

Maximum Acceleration

amax=ω2Aa_{\max} = \omega^2 A

At the equilibrium position (x=0x = 0), the acceleration is zero. This is the exact opposite of velocity: velocity is maximum where acceleration is zero, and acceleration is maximum where velocity is zero.

Worked Example: An object on a spring oscillates with time period 0.48 s and maximum acceleration 9.8 m s2^{-2}. Calculate (a) its frequency, and (b) its amplitude.

Solution:

(a) f=1T=10.48=2.08f = \frac{1}{T} = \frac{1}{0.48} = 2.08 Hz 2.1\approx 2.1 Hz

(b) From amax=ω2Aa_{\max} = \omega^2 A:

ω=2πf=2π×2.08=13.1 rad s1\omega = 2\pi f = 2\pi \times 2.08 = 13.1 \text{ rad s}^{-1} A=amaxω2=9.813.12=9.8171.6=0.057 m=57 mmA = \frac{a_{\max}}{\omega^2} = \frac{9.8}{13.1^2} = \frac{9.8}{171.6} = 0.057 \text{ m} = 57 \text{ mm}

5. Graphical Representations: Linking xx, vv, and aa with Time

One of the most important skills in SHM is understanding and interpreting displacement–time, velocity–time, and acceleration–time graphs, and appreciating how they are connected through calculus (differentiation).

Displacement–time graph (xx vs tt): Since x=Acos(ωt)x = A\cos(\omega t), the graph is a cosine curve oscillating between +A+A and A-A with period TT.

The figure below stacks the three time graphs on one shared axis; notice how the dashed guide lines connect turning points, zero crossings, and the phase shifts between xx, vv, and aa.

[DIAGRAM: asset_name: 6.1.2 - Simple Harmonic Motion - Diagram 2; asset_slug: 6.1.2 - Simple Harmonic Motion - Diagram 2; recommended_method: retained_png; description: Three vertically stacked graphs sharing the same time axis. Top graph: xx vs tt, a cosine curve with amplitude AA, labelled maxima at +A+A and minima at A-A. Middle graph: vv vs tt, a negative sine curve with amplitude ωA\omega A. Bottom graph: aa vs tt, a negative cosine curve with amplitude ω2A\omega^2 A. Vertical dashed lines at t=0t = 0, T/4T/4, T/2T/2, 3T/43T/4, and TT connect corresponding points across all three graphs.]
Diagram
Velocity–time graph (vv vs tt): Velocity is the gradient (derivative) of the displacement–time graph. If x=Acos(ωt)x = A\cos(\omega t), then v=dxdt=Aωsin(ωt)v = \frac{dx}{dt} = -A\omega\sin(\omega t). This is a negative sine curve:

  • When displacement is at a maximum (x=+Ax = +A), the gradient of the xxtt graph is zero, so v=0v = 0.
  • When displacement is zero (object passing through equilibrium), the gradient is steepest, giving v=±ωAv = \pm\omega A.

The velocity–time graph leads the displacement–time graph by a quarter of a cycle (π2\frac{\pi}{2} radians or 90°). More precisely, velocity reaches its maximum value a quarter period before displacement reaches its maximum.

Acceleration–time graph (aa vs tt): Acceleration is the gradient of the velocity–time graph. Differentiating again: a=dvdt=Aω2cos(ωt)=ω2xa = \frac{dv}{dt} = -A\omega^2\cos(\omega t) = -\omega^2 x, which confirms the defining equation. The acceleration–time graph is an inverted cosine curve:

  • Maximum positive acceleration occurs at maximum negative displacement.
  • Maximum negative acceleration occurs at maximum positive displacement.

The acceleration is exactly in antiphase with the displacement — a phase difference of π\pi radians (180°).

The velocity–time graph is the gradient of the displacement–time graph, and the acceleration–time graph is the gradient of the velocity–time graph. Acceleration is always in antiphase (π\pi rad) with displacement; velocity leads displacement by π2\frac{\pi}{2} rad.

These relationships are summarised in the table below:

QuantityAt x=+Ax = +A (max displacement)At x=0x = 0 (equilibrium)At x=Ax = -A (max negative displacement)
Displacement xx+A+A (max)0A-A (min)
Velocity vv0±ωA\pm\omega A (max magnitude)0
Acceleration aaω2A-\omega^2 A (max magnitude, negative)0+ω2A+\omega^2 A (max magnitude, positive)

6. The Connection Between Circular Motion and SHM

The mathematics of SHM is intimately connected to uniform circular motion. Consider a point P moving at constant speed around a circle of radius AA. If you project the position of P onto one axis (say the xx-axis), the projection oscillates back and forth between +A+A and A-A — this projected motion is SHM.

The figure below shows the circular-motion model; notice how the horizontal projection of point P gives the SHM displacement while the angle θ=ωt\theta = \omega t controls where that projection falls.

[DIAGRAM: asset_name: 6.1.2 - Simple Harmonic Motion - Diagram 3; asset_slug: 6.1.2 - Simple Harmonic Motion - Diagram 3; recommended_method: retained_png; description: A circle of radius AA centred at the origin. A point P is shown on the circle at angle θ=ωt\theta = \omega t from the positive xx-axis. A vertical dashed line drops from P to the xx-axis, showing the projection x=Acos(ωt)x = A\cos(\omega t). The angular velocity ω\omega is labelled along the arc.]
Diagram
At time tt, if P has moved through angle θ=ωt\theta = \omega t from the positive xx-axis, then the xx-coordinate of P is:

x=Acos(ωt)x = A\cos(\omega t)

The centripetal acceleration of P has magnitude ω2A\omega^2 A and is directed towards the centre. Its component along the xx-axis is ax=ω2Acos(ωt)=ω2xa_x = -\omega^2 A\cos(\omega t) = -\omega^2 x, which is exactly the defining equation of SHM.

This is why ω\omega — originally the angular velocity of circular motion — appears as the angular frequency in SHM, and why the constant of proportionality in a=ω2xa = -\omega^2 x is specifically ω2\omega^2.

Piston engines convert between rotational and linear motion. A piston connected to a rotating crankshaft via a connecting rod undergoes approximately simple harmonic motion along the cylinder axis. The displacement of the piston from its mid-stroke position can be modelled as x=Acos(ωt)x = A\cos(\omega t), where AA is the crank radius and ω\omega is the angular velocity of the crankshaft. This model allows automotive engineers to predict the maximum piston speed (ωA\omega A) and the forces on engine components due to the maximum acceleration (ω2A\omega^2 A) at high RPM.

By this stage, the separate pieces should fit into one model: define SHM with the restoring acceleration, describe the motion with the displacement equation, and then use gradients or phase differences to move between the graphs.