IB PHYSICS • WAVE BEHAVIOUR

Understand Simple Harmonic Motion — Understand C.1 Simple harmonic motion

Discover why swinging pendulums and vibrating springs follow the same elegant mathematical pattern.

Historical Context & Motivation

Humans have been fascinated by repetitive, back-and-forth motion for centuries. From the rhythmic swing of a temple bell to the steady tick of a grandfather clock, periodic motion is woven into everyday life. The scientific study of this kind of motion — called simple harmonic motion (SHM) — began when natural philosophers tried to understand why certain oscillations are so perfectly regular. Their discoveries laid the groundwork for everything from modern timekeeping to our understanding of sound and light waves.

1583
Galileo and the Pendulum
Legend holds that Galileo Galilei, watching a swinging chandelier in the Cathedral of Pisa, noticed that each swing took the same amount of time regardless of its size. This observation of isochronism — equal time for each oscillation — sparked formal study of periodic motion.
1656
Huygens Builds the Pendulum Clock
Christiaan Huygens applied Galileo's pendulum insight to invent the first accurate pendulum clock. His work required a precise mathematical description of oscillation, pushing scientists toward the equations we use today.
1676
Hooke's Law of Elasticity
Robert Hooke published his law stating that the force exerted by a spring is proportional to its extension. This linear restoring force became the defining feature of SHM.
1687
Newton's Laws of Motion
Isaac Newton's second law (F = ma) provided the mathematical framework to connect Hooke's restoring force to acceleration, producing the differential equation that governs all simple harmonic oscillators.
1822
Fourier's Harmonic Analysis
Joseph Fourier demonstrated that any periodic wave can be decomposed into a sum of simple sinusoidal oscillations. This showed that SHM is the fundamental building block of all wave behaviour.

The central question that SHM answers is deceptively simple: What happens when an object is displaced from equilibrium and the force pulling it back is proportional to how far it has moved? The answer turns out to be a beautifully predictable sinusoidal oscillation, and understanding it is the gateway to mastering waves, sound, and the entire IB Physics wave behaviour topic.

Core Principles & Definitions

Simple harmonic motion is a specific type of periodic, oscillatory motion. Not every back-and-forth motion qualifies as SHM — it must meet a strict condition involving the restoring force and displacement. Before diving into the math, let's pin down the essential vocabulary and ideas that define SHM.

1

Equilibrium Position

The position where the net force on the object is zero. When undisturbed, the object rests here. All displacement is measured from this point.
2

Displacement (x)

The signed distance of the object from equilibrium at any instant. It can be positive or negative depending on direction. In SHM, displacement varies sinusoidally with time.
3

Amplitude (x₀ or A)

The maximum magnitude of displacement — the farthest the object travels from equilibrium. Amplitude is always positive and determines the total energy stored in the oscillation.
4

Period (T) and Frequency (f)

The period is the time for one complete oscillation (in seconds). Frequency is the number of oscillations per second (in hertz, Hz). They are reciprocals: f = 1/T.
5

Restoring Force Condition

For SHM, the net force must be proportional to displacement and directed toward equilibrium: F = −kx. The negative sign means the force always opposes the displacement.

The IB Physics syllabus states the defining condition of SHM as: acceleration is proportional to displacement and always directed toward the equilibrium position. Mathematically, this means a = −ω²x, where ω is the angular frequency. This single relationship is what separates SHM from other oscillatory motions. If the acceleration–displacement relationship is not linear or not directed toward equilibrium, the motion is not simple harmonic.

KEY TAKEAWAY
Think of SHM like a ball rolling inside a perfectly smooth bowl. No matter which direction you push the ball, the bowl always nudges it back toward the bottom (equilibrium). The farther you push it up the side, the stronger the push back. That proportional, always-toward-the-centre restoring force is what makes the motion 'simple harmonic.'

Visualising Simple Harmonic Motion

One of the most powerful ways to understand SHM is to see how displacement, velocity, and acceleration change over time. All three quantities follow sinusoidal curves, but they are shifted relative to each other. The diagram below shows one full cycle of SHM, plotting these three quantities against time on the same axis.

At t = 0 the displacement (cyan) is at its maximum (x₀), velocity (violet) is zero, and acceleration (pink) is at its maximum negative value. Notice that velocity leads displacement by a quarter-period (T/4), and acceleration is exactly opposite (anti-phase) to displacement.

Several important observations emerge from this diagram. When displacement is at a maximum (either positive or negative), velocity is zero — the object momentarily stops at its turning point. Meanwhile, acceleration is at its maximum magnitude but directed back toward equilibrium. When the object passes through equilibrium (x = 0), velocity reaches its maximum and acceleration drops to zero, because there is no net force at the equilibrium position. This interplay between displacement, velocity, and acceleration is the heartbeat of SHM.

💡 IB Exam Tip
IB examiners frequently ask you to sketch or interpret x–t, v–t, and a–t graphs. Remember: velocity is the gradient of the displacement–time graph, and acceleration is the gradient of the velocity–time graph. If displacement is a cosine curve, velocity is a negative sine curve and acceleration is a negative cosine curve.

Mathematical Framework

The mathematics of SHM revolves around a handful of key equations. Each one connects displacement, velocity, acceleration, and time through the angular frequency ω (omega). Angular frequency tells you how rapidly the oscillation cycles, measured in radians per second. Let's build the framework step by step.

DEFINING CONDITION OF SHM
a = −ω²x
a = acceleration (m s⁻²), ω = angular frequency (rad s⁻¹), x = displacement from equilibrium (m). The negative sign indicates that acceleration is always directed opposite to displacement.
ANGULAR FREQUENCY
ω = 2πf = 2π / T
f = frequency (Hz), T = period (s). This equation links angular frequency to the directly measurable quantities period and frequency.
DISPLACEMENT AS A FUNCTION OF TIME
x = x₀ sin(ωt) or x = x₀ cos(ωt)
x₀ = amplitude (m), t = time (s). Use cosine when the object starts at maximum displacement; use sine when it starts at equilibrium. The choice depends on the initial conditions of the problem.
VELOCITY AS A FUNCTION OF TIME
v = ωx₀ cos(ωt) or v = −ωx₀ sin(ωt)
The velocity equation is the time derivative of displacement. Maximum speed occurs at equilibrium: vmax = ωx₀.

There is also an extremely useful equation that relates velocity to displacement without involving time directly:

VELOCITY–DISPLACEMENT RELATIONSHIP
v = ±ω √(x₀² − x²)
This shows that speed is greatest when x = 0 (at equilibrium) and zero when x = ±x₀ (at the turning points). The ± indicates two possible directions of motion.
⚠️ Units Check
Always confirm that ω is in rad s⁻¹, not Hz. A common mistake is substituting frequency f directly where ω belongs. Remember: ω = 2πf. Forgetting the 2π factor will make your answer off by about a factor of 6.

Energy in Simple Harmonic Motion

Energy analysis provides a deeper perspective on SHM. As an oscillator moves, energy continuously transforms between kinetic energy (Ek) and potential energy (Ep). In an ideal SHM system with no friction, the total mechanical energy remains constant throughout the motion.

At the extremes (x = ±x₀), all energy is potential (pink) and kinetic energy (cyan) is zero. At equilibrium (x = 0), all energy is kinetic and potential energy is zero. The dashed amber line shows that total energy is constant at every point in the oscillation.
TOTAL ENERGY IN SHM
E_total = ½mω²x₀²
m = mass (kg), ω = angular frequency (rad s⁻¹), x₀ = amplitude (m). Notice that total energy is proportional to the square of the amplitude — doubling the amplitude quadruples the energy.
  • At x = 0 (equilibrium): Ek = ½mω²x₀² (maximum), Ep = 0.
  • At x = ±x₀ (extremes): Ek = 0, Ep = ½mω²x₀² (maximum).
  • At any point: Ek + Ep = ½mω²x₀² = constant (no energy lost in ideal SHM).

Worked Example

Let's apply the SHM equations to a concrete problem typical of IB Physics examinations.

Mass–Spring Oscillator
1
Step 1 — Read the ProblemA 0.50 kg mass attached to a horizontal spring oscillates with simple harmonic motion. The amplitude is 0.12 m and the period is 0.80 s. Determine: (a) the angular frequency, (b) the maximum speed, (c) the maximum acceleration, and (d) the speed when the displacement is 0.060 m.
2
Step 2 — Find Angular Frequency (ω)Using ω = 2π / T = 2π / 0.80 s.
ω = 7.85 rad s⁻¹ (≈ 7.9 rad s⁻¹)
3
Step 3 — Find Maximum Speed (v_max)The maximum speed occurs at equilibrium: vmax = ωx₀ = 7.85 × 0.12.
vmax = 0.94 m s⁻¹
4
Step 4 — Find Maximum Acceleration (a_max)Maximum acceleration occurs at maximum displacement: amax = ω²x₀ = (7.85)² × 0.12 = 61.6 × 0.12.
amax = 7.4 m s⁻²
5
Step 5 — Find Speed at x = 0.060 mUse v = ω√(x₀² − x²) = 7.85 × √(0.12² − 0.060²) = 7.85 × √(0.0144 − 0.0036) = 7.85 × √(0.0108) = 7.85 × 0.1039.
v = 0.82 m s⁻¹
6
Step 6 — Interpret the ResultsAt half the maximum displacement (0.060 m is half of 0.12 m), the speed is 0.82 m s⁻¹, which is about 87% of the maximum speed (0.94 m s⁻¹). This makes sense because the velocity–displacement relationship is not linear — it follows a curve (the square-root expression), so the speed drops off slowly at first and then rapidly near the turning points.

Common SHM Systems Compared

Two classic systems in IB Physics demonstrate SHM: the mass–spring system and the simple pendulum. While both produce sinusoidal oscillations, they have different expressions for period, and the pendulum only approximates SHM for small angles. Understanding their similarities and differences is essential for the exam.

Comparison of the two primary SHM systems studied in IB Physics
FeatureMass–Spring SystemSimple Pendulum
Restoring forceF = −kx (Hooke's law)F ≈ −(mg/L)x (for small angles)
PeriodT = 2π√(m/k)T = 2π√(L/g)
Depends on mass?Yes — heavier mass → longer periodNo — period is independent of mass
Depends on amplitude?No (for ideal spring)No (small angles only, < ~10°)
True SHM?Yes — exactly, if spring obeys Hooke's lawApproximately — only for small angular displacements
Type of potential energyElastic PE: ½kx²Gravitational PE: mgh ≈ ½(mg/L)x²
KEY TAKEAWAY
The period of a pendulum depends on its length and the gravitational field strength, not on mass or amplitude. This is why Galileo could time the cathedral chandelier reliably — the swing time stayed the same even as air resistance slowly reduced the amplitude. For a spring, the period depends on the mass and the stiffness constant k, but again not on amplitude. In both cases, the period's independence from amplitude is a hallmark of true SHM.

Connection to Damping, Resonance & Waves

The ideal SHM you've studied so far assumes no friction and no energy loss. In reality, all oscillations experience some form of damping — energy gradually transfers to the surroundings as heat, sound, or deformation. Furthermore, when an external periodic force drives an oscillator at its natural frequency, the amplitude grows dramatically in a phenomenon called resonance. Both topics build directly on SHM and appear later in the IB syllabus.

Ideal SHM vs real-world oscillations
FeatureIdeal SHM (C.1)Damped / Driven Oscillations (C.4)
Amplitude over timeConstant — oscillation continues foreverDecreases exponentially (damped) or can grow (driven at resonance)
Total energyConservedDecreases (damped) or increases until limited by damping (driven)
External forceNone after initial displacementPeriodic driving force may be present
Mathematical modelx = x₀ cos(ωt), pure sinusoidx = x₀e^(−bt) cos(ω't), decaying sinusoid

SHM is also the foundation for understanding travelling and standing waves. A wave can be thought of as many connected particles, each executing SHM but with a phase difference from its neighbours. When you study wave behaviour in Topic C, you'll see that the same sinusoidal mathematics governs wave speed, wavelength, interference, and diffraction. Mastering SHM now gives you a powerful toolkit for all of wave physics.

Practice Problems

PROBLEM 1CONCEPTUAL
A mass on a spring is pulled to one side and released. At which point(s) in its oscillation is the acceleration zero? At which point(s) is the velocity zero? Explain your reasoning using the defining condition of SHM.
PROBLEM 2BASIC CALCULATION
A simple pendulum has a length of 0.45 m. Calculate its period on Earth (g = 9.81 m s⁻²) and its frequency.
PROBLEM 3INTERMEDIATE
A 0.25 kg mass oscillates on a spring with a spring constant k = 40 N m⁻¹ and an amplitude of 0.080 m. Determine (a) the angular frequency, (b) the total energy, and (c) the speed of the mass when its displacement is 0.050 m.
PROBLEM 4APPLIED
An earthquake-resistant building is modelled as a mass–spring system with a natural period of 2.0 s. During an earthquake, the building's top floor oscillates with SHM of amplitude 0.15 m. Calculate the maximum acceleration experienced by a person standing on the top floor and compare it with gravitational acceleration g. Would the person feel the motion strongly?
PROBLEM 5CRITICAL THINKING
A student claims: 'If you double the amplitude of SHM, the maximum velocity doubles but the period also doubles.' Evaluate both parts of this claim. Use the relevant equations to justify your answer and explain why the period of SHM is independent of amplitude.

Lesson Summary

Simple harmonic motion (SHM) is defined by a single condition: the acceleration is proportional to displacement and directed toward the equilibrium position, expressed as a = −ω²x. The motion is described by sinusoidal functions: x = x₀ cos(ωt) for displacement, with velocity leading by a quarter period and reaching its maximum v_max = ωx₀ at equilibrium. The angular frequency ω = 2π/T = 2πf connects the oscillation to its period and frequency.

Energy in SHM continuously converts between kinetic and potential forms, with total energy E = ½mω²x₀² remaining constant (proportional to amplitude squared). Two key systems — the mass–spring (T = 2π√(m/k)) and the simple pendulum (T = 2π√(L/g)) — exemplify SHM, and in both cases the period is independent of amplitude. SHM is the foundation for understanding damped oscillations, resonance, and all wave phenomena in IB Physics.

Varsity Tutors • IB Physics • Understand Simple Harmonic Motion — Understand C.1 Simple harmonic motion