IB Physics HL Topic 3 — Oscillations & Waves Paper 1 & 2 x, v, a equations ~13 min read

Equations for Simple Harmonic Motion

So far SHM has been about ideas and graphs. Now we put real formulas to work — equations that tell you the exact displacement, velocity and acceleration of an oscillator at any moment. There are two sets, and the only thing that decides which to use is a simple question: where did the object start? Get that straight and the rest is just careful substitution.

📘 What you need to know

Two starting points, two sets of equations

An oscillator’s equations depend on where it is when the clock starts (t = 0). There are two standard choices, and they differ only by whether displacement follows a sine or a cosine curve.

Same motion, different start point x t sine: starts at x=0 cosine: starts at x=x₀
Blue starts at equilibrium (sine); red starts at the amplitude (cosine). Same amplitude, same period — just shifted a quarter-cycle. The start point decides which formula to reach for.

Starting from equilibrium (sine equations)

If the object begins at the centre (x = 0 when t = 0), the displacement grows as a sine curve from zero. The three equations are:

Object starts at equilibrium x = x0 sin ωt v = ωx0 cos ωt a = −ω²x0 sin ωt

Each one follows from the one above it — velocity is the rate of change of displacement, and acceleration is the rate of change of velocity. Notice the acceleration equation is just −ω² times the displacement equation, which is exactly the SHM rule a = −ω²x in disguise.

WE 1

An object starts oscillating from equilibrium with amplitude 0.08 m and frequency 1.5 Hz. Find its displacement 0.10 s after it is released.

Step 1 — starts at equilibrium, so x = x₀ sin(ωt) Step 2 — find ω ω = 2πf = 2π × 1.5 = 9.42 rad s⁻¹ Step 3 — substitute (calculator in radians!) x = 0.08 × sin(9.42 × 0.10) = 0.08 × sin(0.942) x = 0.08 × 0.809 x = 0.065 m (6.5 cm) The angle ωt is in radians — sin(0.942 rad), not sin(0.942°). This is the classic trap.

Starting from the amplitude (cosine equations)

If instead the object is released from a maximum displacement (x = x0 when t = 0) — like pulling a mass down and letting go — the displacement starts at its peak and follows a cosine curve:

Object starts at the amplitude x = x0 cos ωt v = −ωx0 sin ωt a = −ω²x0 cos ωt
Here’s the memory hook: sine starts at zero, cosine starts at the top. If the object is let go from rest at the edge of its swing (the most common lab setup — pull and release), it starts at maximum displacement, so use cosine. If it’s pushed off from the middle, it starts at zero, so use sine. Match the graph’s starting height to sin(0)=0 or cos(0)=1.

Maximum speed and maximum acceleration

The equations reveal two very useful “peak” values. Since sine and cosine never exceed 1, the biggest that velocity and acceleration can get are:

Maximum values maximum speed: vmax = ωx0 maximum acceleration: amax = ω²x0

The maximum speed happens at the centre (where the object rushes through equilibrium), and the maximum acceleration happens at the extremes (where it’s flung back hardest). These pop up constantly in exam questions.

WE 2

A mass oscillates in SHM with amplitude 0.05 m and time period 0.40 s. Calculate its maximum speed and maximum acceleration.

Step 1 — find ω from the period ω = 2π/T = 2π/0.40 = 15.71 rad s⁻¹ Step 2 — maximum speed = ωx₀ v_max = 15.71 × 0.05 = 0.785 m s⁻¹ Step 3 — maximum acceleration = ω²x₀ a_max = (15.71)² × 0.05 = 12.3 m s⁻² v_max = 0.79 m s⁻¹, a_max = 12.3 m s⁻² Both use the same ω — find it once from the period, then reuse it.

Velocity without time: the v–x relation

Sometimes you know where the object is but not when. There’s a neat equation that gives velocity directly from displacement, with no time involved:

Velocity–displacement relation v = ±ω√(x0² − x²)

The ± sign is there because the object passes each point twice — once going each way — so the velocity can be positive or negative. Reading the equation: at the centre (x = 0) the speed is maximum (ωx0); at the extremes (x = x0) the square root is zero, so the object is momentarily still.

Velocity vs displacement v x+ωx₀ +x₀ −x₀
Plotting v against x gives an ellipse: fastest at the centre (x = 0), stationary at the extremes (x = ±x0). Two branches because the object passes each point both ways.
WE 3

An oscillator has amplitude 0.12 m and angular frequency 8.0 rad s⁻¹. Find its speed when it is 0.06 m from equilibrium.

Step 1 — use v = ω√(x₀² − x²) Step 2 — substitute x₀ = 0.12 m, x = 0.06 m v = 8.0 × √(0.12² − 0.06²) = 8.0√(0.0144 − 0.0036) v = 8.0 × √0.0108 = 8.0 × 0.104 v = 0.83 m s⁻¹ At half the amplitude the speed is still 87% of the maximum (0.96 m s⁻¹) — the object is fast for most of its swing.

The equations summarised

QuantityStarts at equilibriumStarts at amplitude
Displacementx = x0 sin ωtx = x0 cos ωt
Velocityv = ωx0 cos ωtv = −ωx0 sin ωt
Accelerationa = −ω²x0 sin ωta = −ω²x0 cos ωt
Velocity at any xv = ±ω√(x0² − x²)
Displacement
x
rate of change
(differentiate)
Velocity
v
rate of change
(differentiate)
Acceleration
a

💡 Top tips

⚠ Common mistakes

Quick recap: Which SHM equations you use depends on the start. From equilibrium: x = x0 sin ωt (and its v, a); from the amplitude: x = x0 cos ωt. Maximum speed ωx0 is at the centre, maximum acceleration ω²x0 is at the extremes, and v = ±ω√(x0² − x²) gives velocity from displacement without needing time.
These equations all assumed the object starts neatly at x = 0 or x = x0. But what if it starts somewhere in between? Then we need a phase angle to shift the curve along. That’s the final piece of the SHM toolkit, and it’s the next page: phase angles in SHM.

Want the SHM equations to feel automatic?

Book a free meeting and we’ll drill the sine/cosine choice, the v–x relation and past-paper questions together.

Book your free meeting