Skip to main content
ScotlandMathematics of MechanicsSyllabus dot point

What is simple harmonic motion, and how do you find the period, speed and displacement of an oscillating body, including a mass on a spring obeying Hooke's law?

Define simple harmonic motion by the equation a equals minus omega squared x; derive and use the displacement, velocity and period results; apply Hooke's law to springs and strings; and analyse the energy of an oscillation.

A focused answer to the SQA Advanced Higher Mathematics of Mechanics content on simple harmonic motion, covering the defining equation, the displacement and velocity solutions, the period and amplitude, Hooke's law for springs and elastic strings, and the interchange of kinetic and potential energy in an oscillation.

Generated by Claude Opus 4.814 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. The defining equation and its solution
  3. Hooke's law and the spring oscillator
  4. Energy in an oscillation
  5. The phase and starting conditions
  6. Try this

What this dot point is asking

Simple harmonic motion (SHM) is the standard model for any oscillation about an equilibrium - a mass bobbing on a spring, a pendulum at small angle, a particle on an elastic string. The SQA wants you to recognise SHM from its defining equation, use the displacement, velocity and period results, apply Hooke's law to set up the equation for a spring or string, and track the exchange of kinetic and potential energy.

The defining equation and its solution

What makes motion "simple harmonic" is a single relationship between acceleration and displacement. Everything else follows from it.

The velocity relation is the most used result: it lets you find the speed at any displacement without involving time. The fastest point is the centre (x=0x = 0, v=ωav = \omega a) and the slowest are the turning points (x=±ax = \pm a, v=0v = 0).

Hooke's law and the spring oscillator

Hooke's law states that the tension (or thrust) in a spring or elastic string is proportional to its extension. It is what supplies the restoring force that makes a spring-mass system oscillate harmonically.

The neat point is that the steady weight does not affect the oscillation: at the equilibrium position the spring tension already balances gravity, so the extra displacement feels only the extra spring force kx-kx, which is exactly the SHM condition.

Energy in an oscillation

Because the only force doing work is the conservative spring force, the total mechanical energy stays constant. Energy continuously transfers between kinetic and elastic potential.

The total energy follows directly from the velocity relation. The kinetic energy at displacement xx is 12mv2=12mω2(a2x2)\tfrac{1}{2}mv^2 = \tfrac{1}{2}m\omega^2(a^2 - x^2), and the potential energy stored in the restoring force is 12mω2x2\tfrac{1}{2}m\omega^2 x^2. Adding them, the x2x^2 terms cancel and the constant total 12mω2a2\tfrac{1}{2}m\omega^2 a^2 remains, which is a clean way to check a piece of SHM work: if your kinetic and potential energies do not sum to a constant, there is a slip somewhere.

The phase and starting conditions

The arbitrary phase ε\varepsilon in x=asin(ωt+ε)x = a\sin(\omega t + \varepsilon) is fixed by where the body starts. A body released from rest at the extreme x=ax = a has x=acosωtx = a\cos\omega t; a body passing through the centre at t=0t = 0 has x=asinωtx = a\sin\omega t. Choosing the form that matches the starting state, rather than carrying ε\varepsilon through the algebra, usually keeps the working short.

Try this

Q1. An SHM has period 44 s. Find its angular frequency. [2 marks]

  • Cue. ω=2πT=2π4=π2\omega = \dfrac{2\pi}{T} = \dfrac{2\pi}{4} = \dfrac{\pi}{2} rad s1^{-1}.

Q2. A particle in SHM has amplitude 0.10.1 m and maximum speed 0.60.6 m s1^{-1}. Find ω\omega. [2 marks]

  • Cue. vmax=ωav_{\max} = \omega a, so ω=0.60.1=6\omega = \dfrac{0.6}{0.1} = 6 rad s1^{-1}.

Exam-style practice questions

Practice questions written in the style of SQA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

AH style: SHM speed5 marksA particle moves with simple harmonic motion of amplitude 0.20.2 m and period π\pi seconds. Find the maximum speed and the speed when the particle is 0.10.1 m from the centre.
Show worked answer →

The angular frequency is ω=2πT=2ππ=2\omega = \dfrac{2\pi}{T} = \dfrac{2\pi}{\pi} = 2 rad s1^{-1} (1 mark).

Maximum speed occurs at the centre, vmax=ωa=2×0.2=0.4v_{\max} = \omega a = 2\times 0.2 = 0.4 m s1^{-1} (1 mark).

Using v2=ω2(a2x2)v^2 = \omega^2(a^2 - x^2) with x=0.1x = 0.1: v2=4(0.040.01)=4(0.03)=0.12v^2 = 4(0.04 - 0.01) = 4(0.03) = 0.12 (2 marks).

So v=0.120.346v = \sqrt{0.12} \approx 0.346 m s1^{-1} (1 mark). Markers reward finding ω\omega from the period, the maximum speed ωa\omega a, and the velocity relation v2=ω2(a2x2)v^2 = \omega^2(a^2 - x^2).

AH style: Hooke's law SHM6 marksA particle of mass 0.40.4 kg hangs in equilibrium on a light spring of stiffness k=16k = 16 N m1^{-1}. It is pulled down a small distance and released. Show that the motion is simple harmonic and find the period. Take g=9.8g = 9.8 m s2^{-2}.
Show worked answer →

At equilibrium the spring extension ee satisfies ke=mgke = mg, so e=0.4×9.816=0.245e = \dfrac{0.4\times 9.8}{16} = 0.245 m (1 mark).

Displace the mass a further xx below equilibrium. The net restoring force is (k(e+x)mg)=kx-(k(e + x) - mg) = -kx, since ke=mgke = mg cancels (2 marks).

Newton's second law: mx¨=kxm\ddot{x} = -kx, so x¨=kmx\ddot{x} = -\dfrac{k}{m}x, which is SHM with ω2=km=160.4=40\omega^2 = \dfrac{k}{m} = \dfrac{16}{0.4} = 40 (2 marks).

Period T=2πω=2π400.993T = \dfrac{2\pi}{\omega} = \dfrac{2\pi}{\sqrt{40}} \approx 0.993 s (1 mark). Markers reward showing the restoring force is proportional to displacement (the equilibrium terms cancel) and the period from ω=k/m\omega = \sqrt{k/m}.

Related dot points

Sources & how we know this