Physics · C.1 · SL and HL

Simple harmonic motion (SHM)

Simple harmonic motion is one model that fits a mass on a spring, a pendulum, a tuning fork and a vibrating molecule. The definition is worth two marks on its own and students regularly lose one of them, and most numerical errors in this topic come from mixing up ω\omega and ff.

Written from the stages “The condition for simple harmonic motion” and “Mass–spring systems, pendulums and energy” of the 7Quest Physics course. The questions are our own, in the style of the exam; none are from past papers.

The condition for SHM

SHM is oscillatory motion in which the acceleration is proportional to the displacement from the equilibrium position and always directed towards that position. In symbols (data booklet):

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

The minus sign carries the second half of the definition: the acceleration always points the opposite way to the displacement. The mass–spring system shows where the equation comes from. Hooke’s law gives a restoring force F=−kxF = -kx, Newton’s second law gives a=−kmxa = -\frac{k}{m}x, and the constant km\frac{k}{m} is what we call ω2\omega^2.

On a graph of aa against xx, SHM is a straight line through the origin with a negative gradient equal to −ω2-\omega^2. A gradient of −25 s−2-25\,\text{s}^{-2} means ω=5.0 rad s−1\omega = 5.0\,\text{rad s}^{-1}.

Period, frequency and angular frequency

The amplitude x0x_0 is the maximum displacement from equilibrium, the period TT is the time for one complete oscillation, and the frequency ff is the number of oscillations per unit time. One oscillation corresponds to 2π2\pi radians, which links them:

T=1f=2πωT = \frac{1}{f} = \frac{2\pi}{\omega}

A 440 Hz tuning fork has T=2.27×10−3 sT = 2.27 \times 10^{-3}\,\text{s} and ω=2π×440=2.76×103 rad s−1\omega = 2\pi \times 440 = 2.76 \times 10^3\,\text{rad s}^{-1}. The maximum acceleration is ω2x0\omega^2 x_0, which for a prong amplitude of 0.50 mm is about 3.8×103 m s−23.8 \times 10^3\,\text{m s}^{-2}.

The period of SHM does not depend on the amplitude. A bigger swing covers more distance, but it also moves faster, and the two effects cancel. At equilibrium the speed is greatest and the acceleration is zero; at the extremes the speed is zero and the acceleration has its greatest magnitude, pointing back towards the centre.

Mass on a spring and simple pendulum

Comparing a=−kmxa = -\frac{k}{m}x with a=−ω2xa = -\omega^2 x gives ω2=km\omega^2 = \frac{k}{m}, so

T=2πmkT = 2\pi\sqrt{\frac{m}{k}}

A 0.25 kg mass on a spring with k=40 N m−1k = 40\,\text{N m}^{-1} has T=2π0.25/40=0.50 sT = 2\pi\sqrt{0.25/40} = 0.50\,\text{s}. Four times the mass gives twice the period. Hanging the spring vertically changes nothing: gravity moves the equilibrium position down, but the restoring force about it is still −kx-kx, so gg does not appear.

For a simple pendulum of length ll, the restoring force is the component of the weight along the arc, −mgsinθ-mg\sin\theta. For small angles sinθ≈θ=xl\sin\theta \approx \theta = \frac{x}{l}, so a≈−glxa \approx -\frac{g}{l}x and

T=2πlgT = 2\pi\sqrt{\frac{l}{g}}

The period does not depend on the mass of the bob, and the approximation holds while the angle stays below about 10∘10^\circ. A 0.80 m pendulum on Earth has T=1.8 sT = 1.8\,\text{s}. In the lab you time 20 oscillations from the equilibrium position, where the bob moves fastest, and plot T2T^2 against ll: the gradient is 4π2g\frac{4\pi^2}{g}.

Energy during an oscillation

An undamped oscillator keeps swapping energy between two stores. At the extremes it is momentarily at rest, so the kinetic energy is zero and the potential energy is at its maximum. At equilibrium the kinetic energy is at its maximum. For a horizontal spring the potential store is elastic, for a pendulum it is gravitational, and for a vertical spring it is both. Without friction the total stays constant.

Energy is a scalar, so EkE_k is the same whether the mass is moving left or right. That means each energy reaches its maximum twice per oscillation, and the energy–time graphs have half the period of the displacement–time graph.

HL: phase and the SHM equations

At HL you also use the phase angle ϕ\phi and the equations x=x0sin(ωt+ϕ)x = x_0\sin(\omega t + \phi), v=ωx0cos(ωt+ϕ)v = \omega x_0\cos(\omega t + \phi) and v=±ωx02−x2v = \pm\omega\sqrt{x_0^2 - x^2}, with the total energy ET=12mω2x02E_T = \frac{1}{2}m\omega^2 x_0^2. They are in the HL stage that follows the two on this page. At SL, energy questions on a spring can still be answered with Ep=12kx2E_p = \frac{1}{2}kx^2, as in the third question below.

Where the marks go

  • Defining SHM as “acceleration proportional to displacement” and stopping there. The second mark needs “and directed towards the equilibrium position” (or “opposite to the displacement”).
  • Using ff where ω\omega belongs. ω=2πf\omega = 2\pi f, and forgetting the 2π2\pi is the commonest numerical error in the topic.
  • Timing from the extremes of the swing, or timing a single oscillation. Time many oscillations, starting and stopping at the equilibrium position.
  • Drawing EkE_k against time with the same period as xx against time. Energy repeats twice per oscillation.
  • Leaving the calculator in degrees when working with sinωt\sin\omega t (HL).

Three questions to try

Answer on paper first, then open the markscheme and mark yourself honestly. A mark only counts if your answer says that point.

Calculate4 marksPaper 2 style

A mass of 0.40 kg on a spring oscillates with simple harmonic motion. A student times 20 complete oscillations and gets 15.6 s.
(a) Calculate the spring constant kk. [2]
(b) The amplitude of the oscillation is 3.0 cm. Calculate the maximum acceleration of the mass. [2]

Show the markscheme

Markscheme (4 marks)

  1. (a) T=15.620=0.780 sT = \frac{15.6}{20} = 0.780\,\text{s} [1]
  2. (a) k=4π2mT2=4π2×0.400.7802=26 N m−1k = \frac{4\pi^2 m}{T^2} = \frac{4\pi^2 \times 0.40}{0.780^2} = 26\,\text{N m}^{-1} [1]
  3. (b) ω=2πT=8.06 rad s−1\omega = \frac{2\pi}{T} = 8.06\,\text{rad s}^{-1} [1]
  4. (b) amax=ω2x0=8.062×0.030=1.9 m s−2a_{max} = \omega^2 x_0 = 8.06^2 \times 0.030 = 1.9\,\text{m s}^{-2} [1]

A full-marks answer

(a) One oscillation takes T=15.620=0.780 sT = \frac{15.6}{20} = 0.780\,\text{s}. Rearranging T=2πm/kT = 2\pi\sqrt{m/k} gives k=4π2mT2=4π2×0.400.7802=26 N m−1k = \frac{4\pi^2 m}{T^2} = \frac{4\pi^2 \times 0.40}{0.780^2} = 26\,\text{N m}^{-1}.
(b) ω=2π0.780=8.06 rad s−1\omega = \frac{2\pi}{0.780} = 8.06\,\text{rad s}^{-1}. The acceleration is greatest at maximum displacement: amax=ω2x0=8.062×0.030=1.9 m s−2a_{max} = \omega^2 x_0 = 8.06^2 \times 0.030 = 1.9\,\text{m s}^{-2} (1.947 before rounding to the 2 s.f. of the data).

Show3 marksPaper 2 style

A simple pendulum consists of a bob of mass mm on a light string of length ll. Show that, for small displacements, the bob moves with simple harmonic motion, and deduce an expression for its angular frequency.

Show the markscheme

Markscheme (3 marks)

  1. Restoring force is the component of the weight along the arc: F=−mgsinθF = -mg\sin\theta [1]
  2. For small angles sinθ≈θ=xl\sin\theta \approx \theta = \frac{x}{l}, so a=−glxa = -\frac{g}{l}x [1]
  3. This has the form a=−ω2xa = -\omega^2 x (acceleration proportional to displacement and towards equilibrium), with ω=gl\omega = \sqrt{\frac{g}{l}} [1]

A full-marks answer

When the string makes an angle θ\theta with the vertical, the component of the weight along the arc pulls the bob back towards the lowest point: F=−mgsinθF = -mg\sin\theta. For small angles, measured in radians, sinθ≈θ\sin\theta \approx \theta, and the arc length gives θ=xl\theta = \frac{x}{l}. So F≈−mglxF \approx -\frac{mg}{l}x and, dividing by mm, a=−glxa = -\frac{g}{l}x. The acceleration is proportional to the displacement and directed towards equilibrium, which is the condition for SHM, and comparing with a=−ω2xa = -\omega^2 x gives ω=gl\omega = \sqrt{\frac{g}{l}}.

Calculate4 marksPaper 2 style

A trolley of mass 0.20 kg is attached to a horizontal spring of spring constant 50 N m−150\,\text{N m}^{-1} and oscillates on a frictionless track with an amplitude of 0.040 m.
(a) Calculate the total energy of the oscillation. [1]
(b) Calculate the speed of the trolley when its displacement is 0.020 m. [3]

Show the markscheme

Markscheme (4 marks)

  1. (a) Total energy = elastic potential energy at the amplitude: 12kx02=12×50×0.0402=0.040 J\frac{1}{2}kx_0^2 = \frac{1}{2} \times 50 \times 0.040^2 = 0.040\,\text{J} [1]
  2. (b) At x=0.020 mx = 0.020\,\text{m}, Ep=12×50×0.0202=0.010 JE_p = \frac{1}{2} \times 50 \times 0.020^2 = 0.010\,\text{J} [1]
  3. (b) Ek=0.040−0.010=0.030 JE_k = 0.040 - 0.010 = 0.030\,\text{J} [1]
  4. (b) v=2×0.0300.20=0.55 m s−1v = \sqrt{\frac{2 \times 0.030}{0.20}} = 0.55\,\text{m s}^{-1} [1]

A full-marks answer

(a) At the amplitude the trolley is momentarily at rest, so all the energy is elastic potential energy: ET=12kx02=12×50×0.0402=0.040 JE_T = \frac{1}{2}kx_0^2 = \frac{1}{2} \times 50 \times 0.040^2 = 0.040\,\text{J}.
(b) At x=0.020 mx = 0.020\,\text{m} the spring stores 12×50×0.0202=0.010 J\frac{1}{2} \times 50 \times 0.020^2 = 0.010\,\text{J}, so the kinetic energy is 0.040−0.010=0.030 J0.040 - 0.010 = 0.030\,\text{J}. Then 12mv2=0.030\frac{1}{2}mv^2 = 0.030 gives v=2×0.0300.20=0.55 m s−1v = \sqrt{\frac{2 \times 0.030}{0.20}} = 0.55\,\text{m s}^{-1}. (At HL, v=ωx02−x2v = \omega\sqrt{x_0^2 - x^2} with ω=50/0.20\omega = \sqrt{50/0.20} gives the same answer.)

Where this is in 7Quest

It is in Oscillator Room, the part of the Physics map for Simple harmonic motion and the wave model:

  • The condition for simple harmonic motionSyllabus C.1 · 3 exam-style questions
  • Mass–spring systems, pendulums and energySyllabus C.1 · 3 exam-style questions

Each stage has a short lesson, quick questions, a minigame and exam-style questions marked point by point, and what you get wrong comes back in your review a few days later. If this is the topic you find hardest, you can choose Simple harmonic motion and the wave model as your free Physics topic and do all of it without paying or giving a card. Full access is a subscription per subject that renews each September and stops after your final exams, so nothing is charged once you have finished (prices and details).

Questions students ask about this

Is SHM on the SL syllabus?

Yes. The condition a=−ω2xa = -\omega^2 x, the period equations for a spring and a pendulum and the energy changes are for SL and HL. The phase angle and the equations for xx, vv and energy in terms of ω\omega and x0x_0 are HL only.

Does the mass of a pendulum bob change its period?

No. A heavier bob has a larger restoring force but also more inertia, and the two cancel, so T=2πl/gT = 2\pi\sqrt{l/g} has no mass in it. For a mass on a spring, on the other hand, the period does depend on the mass.

Why is the pendulum formula only for small angles?

The derivation uses sinθ≈θ\sin\theta \approx \theta, which is accurate only for small angles (below roughly 10∘10^\circ). At larger angles the motion is still periodic but no longer simple harmonic, and the period is slightly longer.