Simple Harmonic Motion Explained with Worked Examples

Simple harmonic motion obeys , with solution and period .

Write 2x or 2*x to multiply, ^ for powers, and ; between simultaneous equations. You can also type factor, expand, derivative of, integrate … from a to b, limit … as x->0 or 15% of 80.

Try an example

Before you start

This page is easier if you are comfortable with:

What Simple harmonic motion means

The acceleration is proportional to the displacement and points back towards the centre. The auxiliary equation has roots , so the solution is the case of complex roots. The motion repeats after the period , found from the period of sine and cosine.

For a mass on a spring of stiffness , . With and , and s. If the amplitude is , the maximum speed is (at the centre) and the maximum acceleration is (at the ends); see speed and acceleration in SHM and circular motion.

Adding friction gives damped oscillations, and adding a driving force leads to resonance. The energy exchanges between kinetic and elastic forms, see the work-energy principle. The equation is solved by the methods in the auxiliary equation.

What is it used for?

Simple harmonic motion is the repeating motion of a spring or a pendulum for small swings. The acceleration always points back to the centre.

How to use simple harmonic motion

  1. Write the equation as and identify .
  2. Use with and to find and .
  3. Find the period .
  4. Use and for maximum speed and acceleration.

Graph

x = 3 cos 2t has period π and amplitude 3repeats at t = πstart: x = 30123456-3-2-10123x = 3 cos 2t has period π and amplitude 3txx = 3cos 2tGraph with x from 0 to 6.3 and y from -3.5 to 3.5. Shows the curve x = 3cos 2t; point repeats at t = π at (3.1416, 3); point start: x = 3 at (0, 3).

The motion repeats every π seconds, twice in the interval shown.

Worked examples

These examples are worked by hand, step by step, so you can compare your own working.

Example 1: period

Find the period when .

Worked example
Answer
π≈3.1416\pi\approx3.1416
  1. ω² = 4, so ω = 2
  2. Period

Example 2: maximum speed

A particle has and amplitude 0.5. Find its maximum speed.

Worked example
Answer
33
  1. ω
  2. Maximum speed

Example 3: a spring

A 4 kg mass on a spring of stiffness 100 N/m oscillates. Find the period.

Worked example
Answer
2π5≈1.257 s\dfrac{2\pi}{5}\approx1.257\ \text{s}
  1. ω
  2. Period

Special cases

A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.

ẍ = −9x

ω

3.

ω = 3

T = 2π/ω

2.0944.

A = 0.5, ω = 4

max speed Aω

2.

A = 0.5, ω = 4

max acceleration Aω²

8.

Word problems

SHM satisfies ẍ = −ω²x; period T = 2π/ω, maximum speed Aω and maximum acceleration Aω².

ω

ẍ = −9x.

  1. √9
  2. Check: ✓3

Period

ω = 3.

  1. 2π/3
  2. Check: ✓2.0944

Max speed Higher

A = 0.5, ω = 4.

  1. 0.5 × 4
  2. Check: ✓2

Max acceleration Higher

Same.

  1. 0.5 × 16
  2. Check: ✓8

Common mistakes

ω = 9

ω² ✗

ω = √9 ✓

Root.

T = 2πω

multiply ✗

2π/ω ✓

Period.

Max acceleration Aω

first power ✗

Aω² ✓

Square.

Positive sign

ẍ = ω²x ✗

ẍ = −ω²x ✓

Restoring.

Exam tips

  1. ẍ = −ω²x.
  2. T = 2π/ω.
  3. v max = Aω.
  4. a max = Aω².
  5. Amplitude does not change T.

Practice questions

Try each one on paper, then open the answer. Use the solver above to see the full working.

1. ω if ẍ = −16x Foundation

4

2. T if ω = 2 (4 dp) Foundation

3.1416

3. Max speed: A = 2, ω = 3 Foundation

6

4. Max acceleration: A = 2, ω = 3 Higher

18

5. ω if T = π Higher

2

6. Max speed: A = 0.1, ω = 10 Higher

1

Practice generator

Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.

Solve: …

Key terms

SHM
Simple harmonic motion.
Amplitude (A)
Maximum displacement.
Angular frequency (ω)
rad/s.
Period (T)
Time for one cycle.
Frequency
1/T.
Restoring force
Towards equilibrium.

Frequently asked questions

What is the SHM equation?

ẍ = −ω²x.

What is the period?

T = 2π/ω.

What is the maximum speed?

Aω.

What is the maximum acceleration?

Aω².

Which page covers SHM speed?

SHM speed and acceleration.

Which page covers damping?

damped oscillations.

More in Differential equations and transforms and the formula sheets.