In this guide
← Physics guides

C. Wave behaviour · C.1 · SL & HL

Simple harmonic motion

An oscillator repeatedly passes an equilibrium position. Its changing speed and acceleration make sense once you track the restoring force.

Course focus: Shared SL and HL content includes the condition \(a=-\omega^2x\), period and frequency, mass–spring and small-angle pendulum periods, motion graphs and qualitative energy changes. The final section, labelled HL extension, adds phase, time-dependent equations and quantitative energy.

Before you start: Review force and acceleration, Hooke’s law, and reading a displacement–time graph. Define one direction as positive before giving velocity or acceleration signs.

01

Where is it in the cycle?

Displacement is measured from equilibrium, not from an extreme

The equilibrium position is where the net force would be zero. Displacement \(x\) is signed distance from it. Amplitude \(A\) is the greatest magnitude of displacement, so the extremes are \(x=+A\) and \(x=-A\). One full oscillation returns the object to the same position and direction of motion, not merely to the centre.

The spring force always points toward equilibrium. At either extreme the speed is zero and restoring acceleration has its greatest magnitude; at the centre speed is greatest.A mass on a spring is shown at left extreme, equilibrium and right extreme, with arrows showing restoring force toward the centre for displaced positions.The sign of acceleration follows the positionequilibriumleft extremecentreright extremea →← a
The spring force always points toward equilibrium. At either extreme the speed is zero and restoring acceleration has its greatest magnitude; at the centre speed is greatest.

At an extreme, it stops momentarily before reversing, so velocity is zero. The restoring force and acceleration point toward the centre and have greatest magnitude there for SHM. At the centre, the net restoring force and acceleration are zero, while speed is greatest. The object passes the centre twice in a full cycle, once each way.

Worked example: count a full cycle

A mass begins at its right extreme at t = 0 and completes a cycle in 0.80 s. Where is it at 0.20, 0.40 and 0.60 s?

  1. Each quarter-cycle takes 0.80/4 = 0.20 s.
  2. At 0.20 s it crosses equilibrium moving left; at 0.40 s it reaches the left extreme; at 0.60 s it crosses equilibrium moving right.
  3. It returns to the right extreme, at rest before repeating, at 0.80 s.
02

The defining test

A restoring force alone is not enough: it must scale with displacement

\[a=-\omega^2x\quad\text{or}\quad F=-m\omega^2x\]

The minus sign means acceleration always points opposite the signed displacement, toward equilibrium. Its magnitude grows linearly with \(|x|\). That exact proportionality defines ideal simple harmonic motion (SHM). A bouncing ball can oscillate periodically without being SHM because its acceleration is not a linear restoring function of displacement throughout the motion.

For a horizontal mass on an ideal spring, Hooke’s law gives \(F=-kx\), so Newton’s second law gives \(a=-(k/m)x\) and \(\omega^2=k/m\). For a pendulum, the restoring force is approximately linear only at small angles; its period formula is therefore a small-angle approximation.

Worked example: use an acceleration–displacement graph

A straight a–x graph passes through the origin and contains x = 0.20 m, a = −5.0 m s⁻². Is this SHM, and what is ω?

  1. Its gradient is a/x = −5.0/0.20 = −25 s⁻². The negative straight line through the origin satisfies a = −ω²x.
  2. Thus ω² = 25 s⁻² and ω = 5.0 rad s⁻¹. A curved a–x graph would not show exact SHM across the full range.
03

One repeat

Period, frequency and angular frequency are linked

\[f=\frac1T,\qquad \omega=2\pi f=\frac{2\pi}{T}\]

\(T\) is time per cycle in seconds; \(f\) is cycles per second in hertz; \(\omega\) is phase rate in radians per second. For the ideal mass–spring system, \(T=2\pi\sqrt{m/k}\). For a simple pendulum with length \(l\) at small angle, \(T=2\pi\sqrt{l/g}\). In these ideal approximations period does not depend on amplitude; real damping and large pendulum swings can break the simple picture.

Worked example: spring period

A 0.50 kg mass is attached to a spring of stiffness 200 N m⁻¹. Find its period and frequency.

  1. T = 2π√(m/k) = 2π√(0.50/200) = 0.314 s.
  2. f = 1/T ≈ 3.18 Hz. Increasing mass would lengthen the period, while increasing stiffness would shorten it.
Worked example: pendulum scaling

A small-angle pendulum has period T. What happens if its length becomes four times greater at the same location?

  1. Since T is proportional to √l, Tnew/Told = √4 = 2.
  2. Its new period is 2T; bob mass does not appear in this approximation.
04

Read shape, slope and sign

Motion graphs reveal what the oscillator is doing

In simple harmonic motion, acceleration is a straight-line function of displacement with negative gradient −ω². Displacement against time repeats sinusoidally.Left plot: an acceleration-displacement line slopes down through the origin. Right plot: a smooth repeated displacement-time curve with labelled amplitude and period.Two graphs that reveal SHMaxgradient = −ω²xtperiod TA
In simple harmonic motion, acceleration is a straight-line function of displacement with negative gradient −ω². Displacement against time repeats sinusoidally.

An ideal displacement–time graph is sinusoidal. Its peak magnitude is the amplitude and the time between identical peaks is one period. The gradient at any instant is velocity: zero at an extreme and steepest at a centre crossing. The acceleration–time graph has the opposite sign to the displacement–time graph. An acceleration–displacement graph is a straight line through the origin with gradient \(-\omega^2\) when the motion is SHM.

Suppose \(x>0\) while the mass moves left: \(v<0\) and \(a<0\). It speeds up toward equilibrium. After crossing, \(x<0\), \(v<0\) but \(a>0\), so it slows down. A sign table prevents the common mistake of assuming velocity and acceleration always point the same way.

Worked example: period from graph gradient

An SHM a–x graph has gradient −16 s⁻². Find the period.

  1. Gradient = −ω², so ω = √16 = 4 rad s⁻¹.
  2. T = 2π/ω = 2π/4 = 1.57 s.
05

Qualitative SL and HL

Energy moves between kinetic and potential stores

For a horizontal spring oscillator with negligible resistance, the spring stores the most elastic potential energy at either extreme. There the mass is at rest, so kinetic energy is zero. At equilibrium, elastic potential energy is smallest and speed and kinetic energy are greatest. Between those positions, it has some of each. The total mechanical energy stays constant in the ideal model; friction would make the amplitude and mechanical energy decrease over time.

In ideal spring SHM, kinetic energy peaks at the centre while elastic potential energy peaks at both extremes. Their sum stays constant.Energy versus displacement has a U-shaped potential-energy curve, an inverted U-shaped kinetic-energy curve and a horizontal total-energy line.Energy swaps form, not total amountenergyxtotalpotentialkinetic−A0+A
In ideal spring SHM, kinetic energy peaks at the centre while elastic potential energy peaks at both extremes. Their sum stays constant.

Energy graphs can repeat more often than the displacement graph: the mass reaches each kind of extreme twice in a full oscillation, and kinetic energy is maximal at two centre crossings. Do not read the repeat time of an energy graph automatically as the displacement period.

HL

HL extension

Describe phase and calculate motion or energy quantitatively

HL extension: A convenient time description is \(x=A\cos(\omega t+\phi)\), where \(\phi\) sets the initial phase. Then \(v=-\omega A\sin(\omega t+\phi)\) and \(a=-\omega^2A\cos(\omega t+\phi)=-\omega^2x\). If the object starts at positive amplitude at rest, choose \(\phi=0\). If it starts at equilibrium moving positive, a sine form is often simpler. These are equivalent descriptions with different choices of time origin.

\[v_{\max}=\omega A,\quad a_{\max}=\omega^2A,\quad v^2=\omega^2(A^2-x^2)\]

Two oscillations with the same period but shifted in time by \(\Delta t\) differ in phase by \(\Delta\phi=2\pi\Delta t/T\) modulo one full cycle. Quarter-period separation is \(\pi/2\) radians. State which graph leads or lags if the question asks for a signed difference.

For a spring oscillator, \(k=m\omega^2\). Its total energy is \(E=\tfrac12kA^2\), elastic potential energy \(E_p=\tfrac12kx^2\) and kinetic energy \(E_k=\tfrac12k(A^2-x^2)\). The sign of velocity still requires the direction of travel; \(v^2\) alone cannot tell you that.

Worked example: HL speed away from the centre

A spring oscillator has amplitude 0.10 m and ω = 5.0 rad s⁻¹. Find speed at x = +0.060 m, and state why velocity has two possible signs.

  1. v² = ω²(A² − x²) = 25(0.0100 − 0.0036) = 0.160 m² s⁻².
  2. Speed is √0.160 = 0.40 m s⁻¹.
  3. The mass passes x = +0.060 m once moving right and once moving left in each cycle, so velocity can be +0.40 or −0.40 m s⁻¹.
07

Independent practice

Try it yourself

Questions 1–5 use shared SL/HL content. Questions 6–8 apply the clearly labelled HL extension.

  1. 1

    A mass completes 12 oscillations in 6.0 s. Find f and T.

    Hint

    Frequency counts cycles per second.

    Show complete solution
    1. f = 12/6.0 = 2.0 Hz; T = 1/f = 0.50 s.
  2. 2

    At x = −A, what are velocity and acceleration directions in SHM?

    Hint

    The mass has turned around; a = −ω²x.

    Show complete solution
    1. Velocity is momentarily zero. Acceleration points positive, toward equilibrium, and has maximum magnitude.
  3. 3

    An a–x graph has positive gradient through the origin. Does it show SHM?

    Hint

    Compare with a = −ω²x.

    Show complete solution
    1. No. SHM requires negative gradient so acceleration restores the object toward the origin.
  4. 4

    A small-angle pendulum's length is reduced to one quarter. What happens to its period?

    Hint

    T is proportional to √l.

    Show complete solution
    1. Tnew/Told = √(1/4) = 1/2. The period halves.
  5. 5

    In an ideal mass–spring oscillator, where are kinetic energy and elastic potential energy greatest?

    Hint

    Compare speed and extension at the centre and extremes.

    Show complete solution
    1. Kinetic energy is greatest at equilibrium, where speed is greatest. Elastic potential energy is greatest at either extreme, where spring extension or compression is greatest.
  6. 6

    HL: x = 0.040 cos(10t) in SI units. Find A, ω, T and maximum speed.

    Hint

    Compare with A cos(ωt).

    Show complete solution
    1. A = 0.040 m; ω = 10 rad s⁻¹; T = 2π/10 ≈ 0.628 s.
    2. vmax = ωA = 10(0.040) = 0.40 m s⁻¹.
  7. 7

    HL: Two equal-period oscillations are shifted by T/8. Find the magnitude of phase difference.

    Hint

    A full period corresponds to 2π radians.

    Show complete solution
    1. Δφ = 2π(T/8)/T = π/4 rad = 45°.
  8. 8

    HL: A spring with k = 80 N m⁻¹ oscillates at amplitude 0.050 m. Find total energy and kinetic energy at x = 0.030 m.

    Hint

    Use E = kA²/2 and Ep = kx²/2.

    Show complete solution
    1. Total E = 0.5(80)(0.050)² = 0.100 J.
    2. Ep = 0.5(80)(0.030)² = 0.036 J, so Ek = 0.100 − 0.036 = 0.064 J.

Put the ideas together

These original multi-part questions use the methods from this guide. Marks show the level of detail to aim for; reveal the worked answers after trying every part.

1. A mass on a spring

A 0.25 kg mass oscillates on a spring of constant 100 N m⁻¹ with amplitude 0.040 m. Ignore damping.

  1. Find the angular frequency and period. (3 marks)
  2. Find the maximum speed. (2 marks)
  3. State where speed is greatest and acceleration is zero. (1 marks)
Show worked answers
  1. ω=√(k/m)=√(100/0.25)=20 rad s⁻¹; T=2π/ω≈0.314 s.
  2. vmax=ωA=20(0.040)=0.80 m s⁻¹.
  3. At equilibrium, x=0.

2. Interpret an oscillation graph

The displacement of an oscillator reaches +0.060 m at t = 0 and again at t = 0.80 s, with no positive maximum in between.

  1. Determine amplitude, period and frequency. (3 marks)
  2. Find its displacement at t = 0.40 s. (2 marks)
  3. State the acceleration direction at that instant. (1 marks)
Show worked answers
  1. Amplitude = 0.060 m; period = 0.80 s; frequency = 1/0.80 = 1.25 Hz.
  2. Half a cycle after the positive maximum, displacement is −0.060 m.
  3. Toward equilibrium, hence in the positive displacement direction.
Find a specific method or formula

Keep learning Physics

Waves are built from local oscillations that transfer energy through space. The next guide uses period and frequency again to describe a travelling disturbance.

Browse Physics guides →

Original Arc Practice teaching notes for IB Physics C.1, first assessment 2025. Scope checked against the IB Physics guide and the Simple harmonic motion chapter of K. A. Tsokos, Physics for the IB Diploma, seventh edition (Cambridge, 2023). Diagrams, examples and exercises are original Arc material. Not an official IB publication. Report a correction.