Theme C · Wave behaviourSL & HL≈ 30 min read

IB Physics C.1 Simple Harmonic Motion — Notes (SL & HL)

Written by Evan Kotronis for the IB Diploma Physics course (first assessment 2025). Sections 1–6 are for SL and HL. C.1 has additional HL content — phase angle, the equations for \(x\), \(v\) and the energies, and quantitative energy problems — which is in the purple HL section at the end.

What this page covers

  • The conditions an oscillation must meet to be simple harmonic
  • The defining equation \(a=-\omega^2x\), and what its minus sign means
  • Describing an oscillation: its equilibrium position, displacement and amplitude, and its period, frequency and angular frequency
  • Linking period, frequency and angular frequency: \(T=\dfrac1f=\dfrac{2\pi}{\omega}\)
  • The period of a mass on a spring, \(T=2\pi\sqrt{m/k}\)
  • The period of a simple pendulum, \(T=2\pi\sqrt{l/g}\)
  • How kinetic, potential and total energy change during one cycle (qualitatively)
  • Using the phase angle to describe where an oscillator is in its cycle (HL)
  • Solving problems with \(x=x_0\sin(\omega t+\phi)\), \(v=\omega x_0\cos(\omega t+\phi)\) and \(v=\pm\omega\sqrt{x_0^2-x^2}\) (HL)
  • Calculating energies with \(E_T=\tfrac12m\omega^2x_0^2\) and \(E_p=\tfrac12m\omega^2x^2\) (HL)

In one minute

  • Simple harmonic motion (SHM) happens when the acceleration is proportional to the displacement from a fixed equilibrium position and directed towards it: \(a=-\omega^2x\).
  • \(\omega\) is the angular frequency: \(\omega=2\pi f=\dfrac{2\pi}{T}\). The period of SHM does not depend on the amplitude.
  • Mass on a spring: \(T=2\pi\sqrt{\dfrac mk}\). Simple pendulum (small angles): \(T=2\pi\sqrt{\dfrac lg}\) — independent of the mass of the bob.
  • Speed is greatest at the equilibrium position; acceleration and restoring force are greatest at the extremes, where the speed is zero.
  • Kinetic and potential energy swap back and forth twice per cycle; with no energy dissipated, the total energy stays constant.
  • HL: \(x=x_0\sin(\omega t+\phi)\), \(v=\pm\omega\sqrt{x_0^2-x^2}\), \(E_T=\tfrac12m\omega^2x_0^2\). Phase angles are always in radians.

What conditions lead to simple harmonic motion?

An oscillation is a repeated back-and-forth motion about an equilibrium position — the position where the resultant force on the body is zero. Many oscillations (a mass on a spring, a pendulum, a ship rolling, an atom vibrating in a molecule) share one special pattern, called simple harmonic motion.

Simple harmonic motion is oscillation in which the acceleration of the body is proportional to its displacement from a fixed equilibrium position and is always directed towards that position.

For SHM to happen, the body needs:

  • a stable equilibrium position;
  • a restoring force that always acts back towards that position whenever the body is displaced; and
  • a restoring force whose size is proportional to the displacement: \(F\propto -x\).

By Newton's second law, \(a=F/m\), so a restoring force proportional to \(-x\) gives an acceleration proportional to \(-x\). This is written as the defining equation of SHM:

\[ a=-\omega^2x \]
  • \(a\) = acceleration (m s−2), \(x\) = displacement from the equilibrium position (m), \(\omega\) = angular frequency of the oscillation (rad s−1). In the data booklet.
  • \(\omega^2\) is a positive constant for a given oscillator, so \(a\) is proportional to \(x\).
  • The minus sign shows that the acceleration is always in the opposite direction to the displacement, i.e. towards the equilibrium position. Without it the body would accelerate further away and never return.
O (equilibrium)+xmF, ax = +x0a and F maximum, towards O; v = 0mF, ax = +x0/2a and F half the maximum, towards Omx = 0a = 0 and F = 0; speed maximummF, ax = −x0/2a and F half the maximum, towards OmF, ax = −x0a and F maximum, towards O; v = 0
A mass on a smooth horizontal surface attached to a spring, shown at five displacements. The restoring force F and the acceleration a always point towards O, and their arrows are drawn to scale: twice the displacement gives twice the force.

Why must the defining equation take this form?

  • Proportional (\(a\propto x\)): if the restoring force grew faster or slower than \(x\), the time for a cycle would depend on how far the body was displaced. Proportionality is what makes the period the same for every amplitude.
  • Negative: only a force directed back towards equilibrium produces oscillation. A force in the same direction as \(x\) would push the body away.
  • The constant is written as a square, \(\omega^2\), so that it is always positive and has units of s−2, making \(\omega\) a frequency in rad s−1. For a particular system it comes from the physics: \(\omega^2=k/m\) for a spring, \(\omega^2=g/l\) for a pendulum.
−0.1 −0.05 0 0.05 0.1 −6 −4 −2 0 2 4 6 x / m a / m s⁻² x = +x0: a = −6.25 m s⁻²x = −x0: a = +6.25 m s⁻²gradient = −ω² = −62.5 s⁻²straight line through the origin
Acceleration against displacement for an oscillator with ω² = 62.5 s⁻² and amplitude 0.10 m. The graph of a against x for SHM is a straight line through the origin with a negative gradient equal to −ω², and it ends at ±x₀.
Exam tip — testing for SHM from a graph

To show that data describe SHM, plot \(a\) against \(x\) and state two features: the line passes through the origin (proportional) and has a negative gradient (opposite direction). The angular frequency is then \(\omega=\sqrt{-\text{gradient}}\).

How do we describe an oscillation?

QuantitySymbol and unitMeaning
Equilibrium position\(x=0\)the position where the resultant force on the body is zero; the centre of the oscillation
Displacement\(x\) (m)distance and direction of the body from the equilibrium position at a given instant; a vector, so it can be negative
Amplitude\(x_0\) (m)the maximum displacement from the equilibrium position (not the distance between the two extremes, which is \(2x_0\))
Time period\(T\) (s)the time taken for one complete oscillation
Frequency\(f\) (Hz)the number of complete oscillations per unit time
Angular frequency\(\omega\) (rad s−1)\(2\pi\) times the frequency; \(\omega^2\) is the constant in \(a=-\omega^2x\)
\[ T=\frac1f=\frac{2\pi}{\omega} \qquad\Longleftrightarrow\qquad \omega=2\pi f=\frac{2\pi}{T} \]
  • Both relationships are in the data booklet.
  • One complete oscillation corresponds to \(2\pi\) radians, which is why \(\omega=2\pi f\). It is called angular frequency because of the link with circular motion (see the HL section and How this topic connects).
  • For SHM the period is independent of the amplitude (the oscillation is isochronous). A freely swinging pendulum keeps the same period even as its swing slowly dies away.
0 1 2 3 4 5 −4 −2 0 2 4 t / s x / cm period T = 2.0 samplitudex0 = 4.0 cmxequilibriumposition, x = 0
Displacement–time graph for a pendulum bob oscillating with amplitude 4.0 cm and period 2.0 s (f = 0.50 Hz, ω = π rad s⁻¹). The period can be measured between any two points at the same stage of the cycle, e.g. two successive maxima. The displacement x at t = 2.3 s is shown in green.

Quick example. A guitar string vibrates at 196 Hz. Its period is \(T=1/196=5.10\times10^{-3}\ \text{s}\) and its angular frequency is \(\omega=2\pi\times196=1.23\times10^{3}\ \text{rad s}^{-1}\).

How are displacement, velocity and acceleration related?

The motion can be analysed graphically. Below, a mass is pulled to \(x=+x_0\) and released from rest at \(t=0\), with \(x_0=5.0\ \text{cm}\) and \(T=0.80\ \text{s}\).

0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 −5 0 5 x / cm released from x = +x0 0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 −0.4 0 0.4 v / m s⁻¹ speed max at x = 0v = gradient of x–t 0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 −3 0 3 t / s a / m s⁻² a = gradient of v–t
Aligned graphs for SHM (x₀ = 5.0 cm, T = 0.80 s). Dotted lines mark every quarter period. Velocity is the gradient of the x–t graph, acceleration is the gradient of the v–t graph; maximum speed 0.39 m s⁻¹, maximum acceleration 3.1 m s⁻².
  • Velocity is the gradient of the x–t graph (A.1). The gradient is zero at the extremes (\(v=0\), turning points) and steepest as the body passes through \(x=0\) (maximum speed).
  • Acceleration is the gradient of the v–t graph, and it is also given by \(a=-\omega^2x\): the a–t graph is the x–t graph turned upside down and scaled by \(\omega^2\).
  • All three graphs are sinusoidal with the same period. Each is shifted a quarter of a cycle from the next.
  • The maximum acceleration is \(a_{\max}=\omega^2x_0\) (from the defining equation). Here \(\omega=2\pi/0.80=7.85\ \text{rad s}^{-1}\), so \(a_{\max}=7.85^2\times0.050=3.1\ \text{m s}^{-2}\).
PositionDisplacementSpeedAcceleration and restoring force
Extreme (turning point)maximum, \(\pm x_0\)zeromaximum, directed towards equilibrium
Equilibrium positionzeromaximumzero
Moving away from equilibriumincreasingdecreasingincreasing; opposite to the velocity (body slows)
Moving towards equilibriumdecreasingincreasingdecreasing; same direction as the velocity (body speeds up)
Try it yourself

C.1 Simple Harmonic Motion simulation: change the mass, spring constant and amplitude, and watch the displacement, velocity and acceleration graphs build up together.

What is the period of a mass–spring system?

For a mass \(m\) on a spring of spring constant \(k\), Hooke's law (A.2) gives a restoring force \(F=-kx\). Newton's second law then gives \(a=-\dfrac{k}{m}x\). Comparing with \(a=-\omega^2x\):

\[ \omega^2=\frac km \qquad\Rightarrow\qquad T=2\pi\sqrt{\frac mk} \]
  • \(T\) = period (s), \(m\) = oscillating mass (kg), \(k\) = spring constant (N m−1). \(T=2\pi\sqrt{m/k}\) is in the data booklet.
  • A larger mass (more inertia) gives a longer period; a stiffer spring (larger \(k\)) gives a shorter period. \(T\propto\sqrt m\): four times the mass doubles the period.
  • The period does not depend on the amplitude or on \(g\). The same spring and mass have the same period horizontally, vertically, or on the Moon.
  • The model assumes a light spring that obeys Hooke's law throughout the motion and no energy dissipation.

Vertical springs

When a mass hangs from a spring, the spring stretches by \(e\) until \(ke=mg\). This new position is the equilibrium position for the oscillation. If the mass is pulled down a further distance \(x\), the upward spring force becomes \(k(e+x)\), so the resultant force is \(k(e+x)-mg=kx\) upwards — a restoring force proportional to \(x\), exactly as for a horizontal spring. Gravity only shifts the equilibrium position.

natural lengthmmgkeequilibrium: ke = mgresultant force zeroe = 8.0 cmmmgk(e + x)pulled down by x:resultant kx upwardsxequilibrium position
A 0.150 kg mass on a spring that stretches 8.0 cm at equilibrium (worked example 2). Force arrows are to scale. At equilibrium ke = mg; pulled 3.0 cm lower, the spring force exceeds the weight by kx, giving an upward restoring force.
Worked example 1 Easy · Calculate

A trolley of mass 0.40 kg is attached to a spring of spring constant 25 N m−1 and oscillates on a horizontal track with negligible friction.

(a) Calculate the period, the frequency and the angular frequency of the oscillations. (b) Determine the mass of trolley needed to double the period.

(a) \(T=2\pi\sqrt{\dfrac mk}=2\pi\sqrt{\dfrac{0.40}{25}}=\) 0.79 s (0.795 s)
\(f=\dfrac1T=\dfrac1{0.795}=\) 1.3 Hz (1.26 Hz)
\(\omega=\dfrac{2\pi}{T}=\sqrt{\dfrac km}=\sqrt{\dfrac{25}{0.40}}=\) 7.9 rad s−1 (7.91 rad s−1)

(b) \(T\propto\sqrt m\), so doubling \(T\) needs \(4m\): \(4\times0.40=\) 1.6 kg

Worked example 2 Medium · Show that / Determine / Explain

A mass of 0.150 kg hangs at rest from a light spring, which is extended by 8.0 cm. The mass is pulled down a further 3.0 cm and released from rest.

(a) Show that the period of the oscillations is about 0.57 s. (b) Determine the magnitude and direction of the acceleration of the mass at the lowest point. (c) Explain why the motion remains simple harmonic throughout.

(a) At equilibrium \(ke=mg\), so \(\dfrac mk=\dfrac eg\) and \(T=2\pi\sqrt{\dfrac eg}=2\pi\sqrt{\dfrac{0.080}{9.8}}=\) 0.568 s ≈ 0.57 s
(Alternatively \(k=\dfrac{0.150\times9.8}{0.080}=18.375\approx18.4\ \text{N m}^{-1}\), then \(T=2\pi\sqrt{0.150/18.375}=0.568\ \text{s}\); rounding \(k\) to 18.4 first gives 0.567 s.)

(b) The amplitude is 0.030 m. \(\omega=\dfrac{2\pi}{0.568}=11.1\ \text{rad s}^{-1}\), so \(a_{\max}=\omega^2x_0=11.07^2\times0.030=\) 3.7 m s−2 upwards (3.68 m s−2), towards the equilibrium position.

(c) The amplitude (3.0 cm) is less than the equilibrium extension (8.0 cm), so even at the highest point the spring is still stretched by 5.0 cm. The spring therefore always pulls on the mass and obeys Hooke's law throughout, so the resultant force stays proportional to the displacement and directed towards equilibrium.

Check: \(a_{\max}=g\times\dfrac{3.0}{8.0}=3.68\ \text{m s}^{-2}\), which is less than \(g\), consistent with the spring never going slack.

What is the period of a simple pendulum?

A simple pendulum is a small, dense bob on a light, inextensible string of length \(l\), swinging from a fixed point. When the bob is displaced through an angle \(\theta\), the weight has a component \(mg\sin\theta\) along the arc, directed back towards equilibrium. This is the restoring force. The tension and the other weight component act along the string and do not restore the bob.

xequilibriumθlmgTmg cos θmg sin θrestoring forceθSmall θ (in radians):sin θ ≈ θ = x / lF ≈ −(mg / l) xa ≈ −(g / l) x → ω² = g / l
Forces on a pendulum bob at the end of its swing, where v = 0 and the tension equals mg cos θ. The only unbalanced force is the restoring component mg sin θ, acting along the arc towards equilibrium. The angle is exaggerated for clarity.

For small angles, \(\sin\theta\approx\theta\) (in radians), and \(\theta=x/l\), where \(x\) is the displacement along the arc. The restoring force becomes \(F\approx-\dfrac{mg}{l}x\), so \(a\approx-\dfrac gl x\). This is SHM with \(\omega^2=g/l\):

\[ T=2\pi\sqrt{\frac lg} \]
  • \(l\) = length of the pendulum, from the point of suspension to the centre of the bob (m); \(g\) = acceleration of free fall (gravitational field strength) (m s−2). In the data booklet.
  • The period is independent of the mass of the bob: mass appears in both the restoring force and the inertia, and cancels.
  • The equation is valid only for small amplitudes. At 10° the approximation \(\sin\theta\approx\theta\) is in error by only 0.5 %; at 20° by 2.0 %. For large swings the motion is periodic but not simple harmonic.
  • A pendulum is a way of measuring \(g\): on the Moon (\(g=1.62\ \text{m s}^{-2}\)) the same pendulum has a period \(\sqrt{9.8/1.62}=2.5\) times longer.

Measuring g with a pendulum

Squaring \(T=2\pi\sqrt{l/g}\) gives \(T^2=\dfrac{4\pi^2}{g}l\). A graph of \(T^2\) against \(l\) is a straight line through the origin with gradient \(\dfrac{4\pi^2}{g}\).

\(l\) / m0.2000.4000.6000.8001.000
\(T\) / s0.9001.2651.5591.7942.008
\(T^2\) / s20.8101.602.433.224.03
0 0.2 0.4 0.6 0.8 1 1.2 0 1 2 3 4 l / m T² / s² Δl = 1.00 mΔT² = 4.03 s²best-fit line: gradient = 4.03 / 1.00 = 4.03 s² m⁻¹ = 4π² / g
T² against l for the data in the table (worked example 3). The points lie close to a straight line through the origin; the gradient triangle uses points on the line, not data points.
Worked example 3 Medium · Determine (graph) / Explain

A student uses a light gate and data logger to measure the period of a pendulum for five different lengths and obtains the data in the table above.

(a) Use the graph to determine \(g\). (b) Calculate the length of a pendulum with a period of 2.00 s at this location. (c) Suppose the student had measured each length to the top of the bob rather than to its centre. Explain the effect of this on the graph and on the value of \(g\).

(a) Gradient of the best-fit line, from two points on the line far apart, \(=\dfrac{4.43-0.40}{1.10-0.10}=\dfrac{4.03}{1.00}=4.03\ \text{s}^2\ \text{m}^{-1}\).
\(\dfrac{4\pi^2}{g}=4.03\Rightarrow g=\dfrac{4\pi^2}{4.03}=\) 9.8 m s−2 (9.80 m s−2)

(b) \(l=\dfrac{gT^2}{4\pi^2}=\dfrac{T^2}{\text{gradient}}=\dfrac{2.00^2}{4.03}=\) 0.99 m (0.993 m)

(c) Every measured length would be too short by the same amount (the radius \(r\) of the bob), a systematic error. The true relationship would be \(T^2=\dfrac{4\pi^2}{g}(l_{\text{measured}}+r)\), so the line would be shifted: it would no longer pass through the origin but would have a small positive intercept on the \(T^2\) axis. The gradient would be unchanged, so the value of \(g\) found from the gradient would not be affected.

How does energy change during one oscillation?

During simple harmonic motion energy is continually transferred between kinetic energy and potential energy. If no energy is dissipated, the total energy of the oscillator stays constant.
  • At the extremes (\(x=\pm x_0\)): the body is momentarily at rest, so the kinetic energy is zero and the potential energy is maximum. All the energy is potential.
  • At the equilibrium position (\(x=0\)): the speed is maximum, so the kinetic energy is maximum; the potential energy is minimum (taken as zero). All the energy is kinetic.
  • For a pendulum the potential energy is gravitational; for a horizontal spring it is elastic potential energy. For a vertical spring both change, but together they behave as a single potential energy that is zero at the equilibrium position.
  • The total energy depends on the amplitude: a larger amplitude means more energy (it is proportional to \(x_0^2\), HL).
ABCDEEkEpETA: x = −x0turning pointEkEpETB: x = −x0/2EkEpETC: x = 0fastestEkEpETD: x = +x0/2EkEpETE: x = +x0turning point
Energy bar charts for a pendulum bob at five positions. Ek + Ep = ET everywhere. Halfway to the extreme the potential energy is only a quarter of the total, because Ep ∝ x² (shown quantitatively in the HL section).
0 0.2 0.4 0.6 0.8 1 0 0.04 0.08 0.12 0.16 0.2 t / s energy / J T/2 = 0.25 sT = 0.50 s (one oscillation)ET (total)Ep potentialEk kinetic
Kinetic and potential energy against time for an oscillator released from rest at maximum displacement at t = 0 (period 0.50 s). Energies are never negative, and each reaches a maximum twice per oscillation, so they vary with period T/2 (frequency 2f). The total energy is constant.

Even without equations, you can sketch these graphs from the physics: \(E_k\) is zero whenever the body is at an extreme (twice per cycle) and maximum whenever it passes through equilibrium (also twice per cycle). On an energy–displacement graph, \(E_p\) is smallest at \(x=0\) and rises symmetrically towards both extremes, while \(E_k\) does the opposite.

HL: How are phase angle and the SHM equations used?

HL Phase angle

The phase angle of an oscillator, \(\omega t+\phi\), describes the stage of the cycle it has reached. One complete cycle corresponds to a phase angle of \(2\pi\) radians. The initial phase \(\phi\) fixes where the oscillation is at \(t=0\).
  • Phase angles are always measured in radians; set your calculator to radians before evaluating \(\sin(\omega t+\phi)\).
  • \(\phi=0\): the body starts at equilibrium moving in the positive direction. \(\phi=\dfrac{\pi}{2}\): it starts at \(x=+x_0\), at rest, and \(x=x_0\cos\omega t\).
  • Phase difference \(\Delta\phi\) compares two oscillations of the same frequency. In phase: \(\Delta\phi=0\) (or \(2\pi\)); in antiphase: \(\Delta\phi=\pi\). A time difference \(\Delta t\) corresponds to \(\Delta\phi=\dfrac{2\pi\,\Delta t}{T}\).
  • In any SHM, the velocity is \(\dfrac{\pi}{2}\) ahead of the displacement, and the acceleration is in antiphase with the displacement (\(\Delta\phi=\pi\)) — see the aligned graphs in section 3.
ωt = 0φPωt + φx0txx0−x0x = x0 sin φx = x0 sin(ωt + φ)T
Reference circle. A point P moves round a circle of radius x₀ at constant angular velocity ω. Its projection on the vertical diameter moves with SHM, x = x₀ sin(ωt + φ). The phase angle ωt + φ is the angle of P; φ is its angle at t = 0.

The SHM equations

\[ x=x_0\sin(\omega t+\phi) \qquad\qquad v=\omega x_0\cos(\omega t+\phi) \qquad\qquad v=\pm\,\omega\sqrt{x_0^2-x^2} \]
  • \(x\) = displacement at time \(t\) (m), \(x_0\) = amplitude (m), \(v\) = velocity (m s−1), \(\omega\) = angular frequency (rad s−1), \(\phi\) = initial phase (rad). All three are in the data booklet.
  • The maximum speed is \(v_{\max}=\omega x_0\), reached at \(x=0\). The maximum acceleration is \(a_{\max}=\omega^2x_0\), reached at \(x=\pm x_0\).
  • \(v=\pm\omega\sqrt{x_0^2-x^2}\) gives the speed at a given position without needing the time. The \(\pm\) is there because the body passes each position twice per cycle, once in each direction.
Worked example 4 HL · Medium · Determine

A point on a vibrating test platform moves with SHM of amplitude 0.060 m and frequency 1.6 Hz. At \(t=0\) its displacement is +0.030 m and it is moving in the positive direction.

(a) Determine the initial phase \(\phi\). (b) Calculate the displacement and the velocity at \(t=0.40\ \text{s}\). (c) Calculate the speed of the point when its displacement is +0.030 m, and its maximum speed.

\(\omega=2\pi f=2\pi\times1.6=10.05\ \text{rad s}^{-1}\).

(a) \(0.030=0.060\sin\phi\Rightarrow\sin\phi=0.50\), so \(\phi=\dfrac{\pi}{6}\) or \(\dfrac{5\pi}{6}\). The velocity at \(t=0\) is positive, so \(\cos\phi>0\): φ = π/6 = 0.52 rad

(b) Phase angle \(=\omega t+\phi=10.05\times0.40+0.524=4.54\ \text{rad}\).
\(x=0.060\sin(4.54)=\) −0.059 m (−0.0592 m)
\(v=\omega x_0\cos(4.54)=10.05\times0.060\times\cos(4.54)=\) −0.10 m s−1 (−0.101 m s−1)
The point is close to \(-x_0\), still moving in the negative direction and about to turn round (\(3\pi/2=4.71\) rad is the turning point).

(c) \(v=\pm\omega\sqrt{x_0^2-x^2}=10.05\sqrt{0.060^2-0.030^2}=\) 0.52 m s−1 (0.522 m s−1)
\(v_{\max}=\omega x_0=10.05\times0.060=\) 0.60 m s−1

Check: \(v(0)=\omega x_0\cos(\pi/6)=0.522\ \text{m s}^{-1}\) — the same as (c), as it must be, because at \(t=0\) the displacement is +0.030 m.

Energy in SHM (quantitative)

\[ E_T=\tfrac12m\omega^2x_0^2 \qquad\qquad E_p=\tfrac12m\omega^2x^2 \qquad\qquad E_k=E_T-E_p=\tfrac12m\omega^2\left(x_0^2-x^2\right) \]
  • \(E_T\) = total energy (J), \(E_p\) = potential energy at displacement \(x\) (J), \(m\) = mass (kg). \(E_T\) and \(E_p\) are in the data booklet; the \(E_k\) form is not, but follows from \(E_k=E_T-E_p\) or from \(\tfrac12mv^2\) with \(v=\omega\sqrt{x_0^2-x^2}\).
  • \(E_T\propto x_0^2\): doubling the amplitude gives four times the energy. For a mass–spring system \(m\omega^2=k\), so \(E_T=\tfrac12kx_0^2\).
  • \(E_k=E_p\) when \(x^2=\tfrac12x_0^2\), i.e. at \(x=\pm\dfrac{x_0}{\sqrt2}\approx\pm0.71x_0\) — not at half the amplitude.
Worked example 5 HL · Hard · Calculate / Determine

A block of mass 0.25 kg on a spring of spring constant 40 N m−1 oscillates on a smooth horizontal surface with amplitude 0.080 m.

(a) Calculate the total energy of the oscillator. (b) Determine the speed of the block when its displacement is 0.050 m. (c) Determine the displacements at which the kinetic energy equals the potential energy. (d) Determine the frequency at which the kinetic energy of the block varies.

\(\omega=\sqrt{\dfrac km}=\sqrt{\dfrac{40}{0.25}}=12.6\ \text{rad s}^{-1}\) (\(\omega^2=160\ \text{s}^{-2}\)).

(a) \(E_T=\tfrac12m\omega^2x_0^2=\tfrac12\times0.25\times160\times0.080^2=\) 0.128 J

(b) \(E_p=\tfrac12\times0.25\times160\times0.050^2=0.050\ \text{J}\), so \(E_k=0.128-0.050=0.078\ \text{J}\).
\(v=\sqrt{\dfrac{2E_k}{m}}=\sqrt{\dfrac{2\times0.078}{0.25}}=\) 0.79 m s−1 (0.790 m s−1)
Check: \(v=\omega\sqrt{x_0^2-x^2}=12.65\sqrt{0.080^2-0.050^2}=0.790\ \text{m s}^{-1}\).

(c) \(E_k=E_p\Rightarrow E_p=\tfrac12E_T\Rightarrow x^2=\tfrac12x_0^2\Rightarrow x=\pm\dfrac{0.080}{\sqrt2}=\) ±0.057 m (±0.0566 m)

(d) \(T=\dfrac{2\pi}{\omega}=0.497\ \text{s}\), so the block oscillates at \(f=2.01\ \text{Hz}\). The kinetic energy reaches a maximum each time the block passes through equilibrium — twice per oscillation — so it varies at 4.0 Hz (4.03 Hz), twice the frequency of the motion.

−0.08 −0.04 0 0.04 0.08 0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 x / m energy / J ET = 0.128 JEpEkat x = 0.050 m:Ek = 0.078 JEp = 0.050 J±x0/√2
Energy against displacement for worked example 5 (m = 0.25 kg, k = 40 N m⁻¹, x₀ = 0.080 m). Ep is a parabola, Ek an inverted parabola, and their sum is the constant ET = 0.128 J. The curves cross at x = ±x₀/√2.

Exam tips for C.1

Exam tip 1 — the definition has two parts

When asked to state the conditions for SHM, give both: the acceleration (or restoring force) is proportional to the displacement from the equilibrium position and is directed towards the equilibrium position (opposite to the displacement). “Proportional to the distance” without the direction, or “towards the centre” without proportionality, earns only part of the credit. Say displacement from equilibrium, not just “position”.

Exam tip 2 — energy graphs repeat twice per cycle

When sketching \(E_k\) or \(E_p\) against time, the curve must stay between 0 and \(E_T\), never go negative, and have two peaks per oscillation period. Check the starting value too: an oscillator released from rest at an extreme has \(E_k=0\) at \(t=0\). Drawing an energy curve with the same period as the displacement is a very common error.

Exam tip 3 — quarter periods

The time from an extreme to the equilibrium position is \(T/4\), not \(T/2\). A pendulum released from rest first reaches maximum speed a quarter of a period after release, and first returns to its starting point after a full period \(T\).

Exam tip 4 — “Show that” and radians

In a “Show that” question, write the substituted equation and give the answer to one more significant figure than the value quoted (0.568 s, not 0.57 s). In HL calculations with \(\sin(\omega t+\phi)\), the calculator must be in radian mode — a degree-mode answer scores nothing for that step.

Exam tip 5 — what the period depends on

Learn the dependencies: a pendulum's period depends only on \(l\) and \(g\) (not on mass or, for small angles, amplitude); a mass–spring period depends only on \(m\) and \(k\) (not on \(g\) or amplitude). Multiple-choice questions often change one of these quantities — use proportionality (\(T\propto\sqrt l\), \(T\propto\sqrt m\), \(T\propto1/\sqrt k\)) rather than recalculating.

Common misconceptions

MisconceptionWhy it is wrongCorrect idea
A larger amplitude gives a longer period.The body travels further but also moves faster, because the restoring force is larger.In SHM the period is independent of the amplitude.
A heavier pendulum bob swings more slowly.Mass appears in both the restoring force (\(mg\sin\theta\)) and the inertia, and cancels.\(T=2\pi\sqrt{l/g}\) does not contain the mass.
The acceleration is zero at the extremes because the body stops there.Zero velocity does not mean zero acceleration; the restoring force is largest there.At \(x=\pm x_0\), \(v=0\) and \(|a|\) is maximum, \(\omega^2x_0\).
The acceleration is always in the direction of motion.The acceleration points towards equilibrium; when the body moves away from equilibrium it is slowing down.The acceleration is always opposite to the displacement; it is along the velocity when the body moves towards equilibrium and against it when the body moves away.
Kinetic energy oscillates at the same frequency as the displacement.\(E_k\) is maximum each time the body passes equilibrium, which happens twice per cycle.Energies vary with frequency \(2f\) and period \(T/2\).
A mass–spring system oscillates faster on Earth than on the Moon.\(g\) only shifts the equilibrium position of a vertical spring.\(T=2\pi\sqrt{m/k}\) is independent of \(g\); only the pendulum period depends on \(g\).

How this topic connects

Shadows of a rotating point: picturing SHM through circular motion

Imagine a point moving round a circle of radius \(x_0\) at constant angular velocity \(\omega\) (A.2). Its shadow (projection) on a diameter moves back and forth between \(-x_0\) and \(+x_0\). The centripetal acceleration of the point is \(\omega^2x_0\) towards the centre, and its component along the diameter is \(-\omega^2x\) — exactly the SHM condition. This is why the same \(\omega\) appears in both topics, why one oscillation corresponds to \(2\pi\) radians, and why the phase angle is literally an angle on the reference circle (see the HL section).

Energy loss in oscillators: what damping does to amplitude and period

Real oscillators lose energy to their surroundings through friction and air resistance (dissipative forces, A.3). The total energy then decreases with time, and since the energy depends on the square of the amplitude, the amplitude decreases too. For light damping the period stays almost the same — the oscillations simply die away gradually. Heavier damping makes the amplitude fall faster. Light, critical and heavy damping, and the effect of damping on driven oscillators, are developed in C.4.

Oscillating particles, travelling waves: SHM as the building block of the wave model

In a mechanical wave (C.2), each particle of the medium oscillates about its own equilibrium position, to a good approximation with SHM, while the wave carries energy past it. Neighbouring particles oscillate with the same frequency but with a phase difference that grows with distance along the wave. The language of C.1 — amplitude, period, frequency and phase — therefore carries straight over to waves, and a displacement–time graph for one particle in a wave is the SHM graph of section 2.

Tools & inquiry — timing oscillations (NOS: models and approximations)

  • Time many oscillations: measure the time for 10–20 oscillations and divide. Your reaction-time uncertainty (about 0.2 s) is spread over all of them, so the percentage uncertainty in \(T\) is much smaller.
  • Use a fiducial marker at the equilibrium position and start and stop the timer as the bob passes it: the bob moves fastest there, so the instant of passing is sharpest.
  • Video analysis: filming the oscillator next to a ruler and a timer lets you plot its displacement against time frame by frame and see the sinusoidal shape directly.
  • Linearise: plot \(T^2\) against \(l\) (pendulum) or \(T^2\) against \(m\) (spring, gradient \(4\pi^2/k\)) to get a straight line; a non-zero intercept reveals a systematic error.
  • NOS — the small-angle approximation: \(T=2\pi\sqrt{l/g}\) comes from an idealised model (point mass, light string, \(\sin\theta\approx\theta\)). Scientists accept such models because they know their range of validity: keep the amplitude below about 10° and the model's error is smaller than typical timing uncertainties.

Key equations

EquationUseLevelIn data booklet?
\(a=-\omega^2x\)defining equation of SHMSL & HLyes
\(T=\dfrac1f=\dfrac{2\pi}{\omega}\)period, frequency, angular frequencySL & HLyes
\(T=2\pi\sqrt{\dfrac mk}\)mass–spring systemSL & HLyes
\(T=2\pi\sqrt{\dfrac lg}\)simple pendulum (small angles)SL & HLyes
\(a_{\max}=\omega^2x_0\)maximum accelerationSL & HLno — from \(a=-\omega^2x\) at \(x=x_0\)
\(x=x_0\sin(\omega t+\phi)\)displacement at time \(t\)HLyes
\(v=\omega x_0\cos(\omega t+\phi)\)velocity at time \(t\)HLyes
\(v=\pm\omega\sqrt{x_0^2-x^2}\)velocity at displacement \(x\); \(v_{\max}=\omega x_0\)HLyes (\(v_{\max}\) follows from it)
\(E_T=\tfrac12m\omega^2x_0^2\)total energyHLyes
\(E_p=\tfrac12m\omega^2x^2\)potential energy at displacement \(x\)HLyes
\(E_k=\tfrac12m\omega^2(x_0^2-x^2)\)kinetic energy at displacement \(x\)HLno — use \(E_T-E_p\)

Check your understanding

1. A pendulum has a period of 1.50 s on the Earth. Calculate its period on the Moon, where g = 1.62 m s−2.

\(T\propto\dfrac1{\sqrt g}\), so \(T_{\text{Moon}}=1.50\sqrt{\dfrac{9.8}{1.62}}=3.7\ \text{s}\) (3.69 s). The length is unchanged and the mass is irrelevant.

2. The mass on a spring is replaced by one four times as large. State and explain the effect on the period and on the frequency.

\(T=2\pi\sqrt{m/k}\), so \(T\propto\sqrt m\): the period doubles and the frequency halves. The larger inertia means the same restoring force produces a smaller acceleration.

3. A mass on a spring is released from rest at maximum displacement at t = 0. Its period is 0.80 s. State the times during the first oscillation at which (a) its speed is greatest, (b) the magnitude of its acceleration is greatest.

(a) At equilibrium: \(t=T/4=0.20\ \text{s}\) and \(t=3T/4=0.60\ \text{s}\). (b) At the extremes: \(t=0\), \(t=T/2=0.40\ \text{s}\) and \(t=T=0.80\ \text{s}\).

4. A graph of acceleration against displacement for an oscillator is a straight line through the origin with gradient −36 s−2. Determine the frequency of the oscillation.

Gradient \(=-\omega^2\Rightarrow\omega=\sqrt{36}=6.0\ \text{rad s}^{-1}\). \(f=\dfrac{\omega}{2\pi}=\dfrac{6.0}{2\pi}=0.95\ \text{Hz}\) (0.955 Hz).

5. (HL) An oscillator has amplitude 5.0 cm and angular frequency 8.0 rad s−1. Calculate its maximum speed and its speed when the displacement is 3.0 cm.

\(v_{\max}=\omega x_0=8.0\times0.050=0.40\ \text{m s}^{-1}\). At \(x=0.030\ \text{m}\): \(v=\omega\sqrt{x_0^2-x^2}=8.0\sqrt{0.050^2-0.030^2}=8.0\times0.040=0.32\ \text{m s}^{-1}\).

Practise C.1 with exam-style questions

Original Paper 1A, 1B and 2 questions on simple harmonic motion, with full mark schemes. Tick the questions you want and print them as your own test.

Revise and explore

← Previous: B.5 Current and circuits  ·  Next: C.2 Wave model →

Want this topic to click?

One-to-one IB Physics lessons, online. We start with a free consultation about C.1 and anything else that is costing marks.

Book a free consultation