Skip to content
IB Diploma ProgrammeSL & HL

Simple harmonic motion

Physics SL & HL Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Simple harmonic motion notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Simple harmonic motion notes as text: skim, search, and jump between subtopics.

~12 min read

1. Conditions for simple harmonic motion

A particle performs simple harmonic motion (SHM) when its acceleration is proportional to its displacement from the equilibrium position and is always directed towards that position. For a mass on a spring, the force exerted by the spring must be proportional to the displacement, so the spring obeys Hooke's law.

The defining equation is given in the data booklet. The minus sign is the point: acceleration a and displacement x always have opposite directions. The acceleration always points towards the equilibrium position.

In the worked question, "describe" is answered by naming the property in full. One mark is available, so no reason is needed.

a = -ω²x

Worked example 11 mark

A student investigates simple harmonic motion with a mass-spring system that oscillates horizontally on a frictionless surface. Describe what property the spring must have for the motion of the system to be simple harmonic.

  1. 1

    the spring obeys Hooke's law or has a fixed spring constant, or the force exerted by the spring must be proportional to the displacement [1]

2. Describing an oscillation

The equilibrium position is where the forces are balanced, so the net force is zero. The displacement x is measured from it. The amplitude x₀ is the maximum displacement.

The time period T is the time for one complete oscillation. The frequency f is the number of oscillations per unit time, in hertz. The angular frequency ω is measured in rad s⁻¹.

Radians are used for phase angle calculations. Set the calculator to radians before using ω t in a sine or cosine.

T = 1/f = 2π/ω

Worked example 13 marks

A piston oscillates 50 times in 20 s. Calculate its time period, frequency and angular frequency.

  1. 1

    time period T = 20/50 = 0.40 s [1]

  2. 2

    frequency f = 1/T = 1/0.40 = 2.5 Hz [1]

  3. 3

    angular frequency ω = 2π/T = 2π/0.40 = 16 rad s⁻¹ [1]

3. Mass–spring system and simple pendulum

For a mass m on a spring of spring constant k, the time period depends on m and k only. The amplitude does not appear. A larger mass gives a longer period.

For a simple pendulum of length l, the period depends on l and g only. The mass does not appear.

Both equations come from the data booklet. The period varies as the square root of m or of l. Tripling the mass multiplies T by √3, not by 3.

T = 2π√(m/k)

T = 2π√(l/g)

Worked example 12 marks

A student investigates simple harmonic motion with a mass-spring system that oscillates horizontally on a frictionless surface. In a first trial, the spring is compressed and the mass is released from rest at time t = 0. The mass oscillates with a period T. In a second trial, the mass is tripled without changing the spring. Determine the ratio (frequency of oscillation in the first trial)/(frequency of oscillation in the second trial).

  1. 1

    use of f = 1/2π√(k/m) or f = 1/T with T = 2π√(m/k), so f ∝ 1/(√m) [1]

  2. 2

    ratio = √3 or 1.7 [1]

4. Energy changes in one cycle

In a mass–spring system the energy is stored as elastic potential energy and kinetic energy. At an extreme position the mass is momentarily at rest, so the energy is all potential. At equilibrium the energy is all kinetic.

As the mass moves towards equilibrium, potential energy decreases and kinetic energy increases. As it moves away, the reverse happens. The total energy stays constant when there is no damping.

A quantitative approach to these energy changes is required at higher level only. It follows in block 6.

Worked example 12 marks

A student investigates simple harmonic motion with a mass-spring system that oscillates horizontally on a frictionless surface. In a first trial, the spring is compressed and the mass is released from rest at time t = 0. The mass oscillates with a period T. State the energy changes that take place:(i) between t = 0 and t = T/4;(ii) between t = T/4 and t = T/2.

  1. 1

    (i) elastic/spring potential energy to kinetic energy, or elastic potential energy decreases and kinetic energy increases [1]

  2. 2

    (ii) kinetic energy to elastic/spring potential energy, or kinetic energy decreases and elastic potential energy increases [1]

  3. 3

    The markscheme must see elastic or spring potential energy specifically, not just potential energy.

5. Phase angle and the equations of motion

At higher level the displacement is a sine function of time. The phase angle varphi says where in its cycle the particle is at t = 0. It is in radians.

The velocity is the gradient of the displacement–time graph, so it is a cosine with amplitude ω x₀. The acceleration obeys a = -ω²x, so it is a negative sine with amplitude ω²x₀.

The equations for x and v are in the data booklet. The equation for a follows from a = -ω²x. Each time x is differentiated, a factor ω appears.

x = x₀ sin(ω t + varphi)

v = ω x₀ cos(ω t + varphi)

a = -ω²x₀ sin(ω t + varphi)

Worked example 11 mark

The displacement x at time t of an object performing simple harmonic motion is x = 0.04sin(5t + 0.1). What is the acceleration of the object? A. -0.2cos(5t + 0.1) B. -0.2sin(5t + 0.1) C. -cos(5t + 0.1) D. -sin(5t + 0.1)

  1. 1

    D: ω = 5 rad s⁻¹, so a = -ω²x = -25 × 0.04sin(5t + 0.1) = -sin(5t + 0.1) [1]

  2. 2

    A is wrong: 0.2 = ω x₀ has only one factor of ω, and a cosine is the shape of the velocity, not the acceleration.

  3. 3

    B is wrong: the amplitude 0.2 has only one factor of ω. The acceleration needs ω².

  4. 4

    C is wrong: the amplitude 1 is right but a cosine is the wrong function. The acceleration is in antiphase with x.

6. Speed and energy at any displacement

Squaring and combining the sine and cosine equations gives the speed at displacement x. The speed is greatest at x = 0 and zero at x = ± x₀.

The total energy is proportional to the square of the amplitude. The potential energy at displacement x is proportional to x². The kinetic energy is the difference.

For a mass–spring system ω² = k/m, which follows from T = 2π√(m/k).

v = ±ω√(x₀² - x²)

E_T = 1/2mω²x₀²

E_p = 1/2mω²x²

E_k = E_T - E_p

Worked example 11 mark

An object performs simple harmonic motion with frequency f. The distance between the extreme positions at which the object is at rest is b. What is the speed of the object when it is halfway between its equilibrium position O and its extreme position? A. π f b/4 B. π f b/2 C. √3 π f b/4 D. √3 π f b/2

  1. 1

    D: x₀ = b/2, x = b/4 and ω = 2π f. Then v = 2π f√(b²/4 - b²/16) = 2π f × (√3 b)/4 = (√3)/2π f b [1]

  2. 2

    A is wrong: 1/4π f b = π f × b/4. It takes ω = π f instead of 2π f and uses x in place of √(x₀² - x²).

  3. 3

    B is wrong: 1/2π f b = 2π f × b/4 = ω x. It uses the displacement x in place of √(x₀² - x²).

  4. 4

    C is wrong: (√3)/4π f b is half the correct value. It takes ω = π f instead of 2π f.

Recap

  • SHM: a = -ω²x. The acceleration is proportional to the displacement and opposite to it.
  • T = 1/f = 2π/ω. Use radians for phase angle.
  • Mass–spring: T = 2π√(m/k). Pendulum: T = 2π√(l/g).
  • Energy swaps between elastic potential and kinetic. The total is constant without damping.
  • HL: x = x₀sin(ω t + varphi), v = ω x₀cos(ω t + varphi).
  • HL: v = ±ω√(x₀² - x²), E_T = 1/2mω²x₀², E_p = 1/2mω²x².

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. State the direction of the acceleration of a particle in simple harmonic motion relative to its displacement from equilibrium.1 mark
    Answer
    1. The acceleration is opposite to the displacement, towards the equilibrium position.

    Trap: The minus sign gives the direction, not a negative value: the acceleration is positive when the displacement is negative.

  2. A pendulum completes 30 oscillations in 24 s. Calculate its time period.2 marks
    Answer
    1. T = 24/30.
    2. T = 0.80 s.

    Trap: 30/24 = 1.25 is the frequency in Hz, not the time period.

  3. A particle in simple harmonic motion has a time period of 0.40 s. Calculate its angular frequency.2 marks
    Answer
    1. ω = 2π/T = 2π/0.40.
    2. ω = 16 rad s⁻¹.

    Trap: Multiplying 2π by T gives 2.5, which is wrong. ω = 2π f and f = 1/T.

  4. A mass of 250 g hangs from a spring of spring constant 40 N m⁻¹ and oscillates. Calculate the time period.3 marks
    Answer
    1. m = 0.250 kg.
    2. T = 2π√(0.250/40) = 2π × 0.0791.
    3. T = 0.50 s.

    Trap: Using 250 for the mass in grams gives a period near 16 s. The mass must be in kg.

  5. Determine the length of a simple pendulum that has a time period of 2.0 s. Use g = 9.8 m s⁻².3 marks
    Answer
    1. l = gT²/4π².
    2. l = (9.8 × 2.0²)/4π² = 39.2/39.5.
    3. l = 0.99 m.

    Trap: Forgetting to square T gives l = 0.50 m.

  6. A mass on a horizontal spring is pulled to one side and released from rest. There is no friction. Describe the energy changes during one complete cycle.3 marks
    Answer
    1. At the extreme positions the mass is at rest, so the energy is all elastic potential energy and the kinetic energy is zero [1].
    2. As the mass moves to equilibrium, elastic potential energy decreases and kinetic energy increases. At equilibrium the kinetic energy is greatest [1].
    3. The energy changes back on the way to the other extreme. The total energy stays constant [1].

    Trap: Writing "potential energy" without "elastic": the markscheme must see elastic or spring potential energy.

  7. A mass-spring system has time period T. The mass is increased to four times its original value and the spring is unchanged. What is the new time period? A. T/2 B. T C. 2T D. 4T1 mark
    Answer
    1. C: T ∝ √m, so T is multiplied by √4 = 2.
    2. D is wrong because it treats T as proportional to m.

    Trap: T varies as √m, not as m.

  8. A block of mass 0.20 kg oscillates on a horizontal frictionless spring of spring constant 50 N m⁻¹. The amplitude is 0.12 m. (a) Determine the total energy of the oscillation. (b) Calculate the kinetic energy when the displacement is 0.080 m. (c) Determine the maximum speed of the block.6 marks
    Answer
    1. (a)
    2. ω² = k/m = 50/0.20 = 250 s⁻² [1].
    3. E_T = 1/2mω²x₀² = 1/2 × 0.20 × 250 × 0.12² = 0.36 J [1].
    4. (b)
    5. E_p = 1/2 × 0.20 × 250 × 0.080² = 0.16 J [1].
    6. E_k = 0.36 - 0.16 = 0.20 J [1].
    7. (c)
    8. The speed is greatest at equilibrium, where E_k = E_T [1].
    9. v = √((2 × 0.36)/0.20) = 1.9 m s⁻¹ [1].

    Trap: Taking ω² = k (not k/m) gives 0.072 J in (a). Using x₀ in place of x in (b) gives zero kinetic energy.

  9. A motion sensor on a footbridge records the vertical oscillation of the deck. The displacement, upwards positive, is x = 0.025sin(3.0π t + π/6), where x is in metres, t is in seconds and the angle is in radians. Determine the velocity of the deck at t = 0.40 s.4 marks
    Answer
    1. ω = 3.0π = 9.42 rad s⁻¹, so ω x₀ = 9.42 × 0.025 = 0.236 m s⁻¹ [1].
    2. Phase at t = 0.40 s: 3.0π × 0.40 + π/6 = 4.29 rad [1].
    3. v = ω x₀cos(4.29) = 0.236 × (-0.407) = -0.096 m s⁻¹ [1].
    4. The sign is negative, so the deck is moving downwards at 0.096 m s⁻¹ [1].

    Trap: v = ±ω√(x₀² - x²) gives the speed but not the direction, and a calculator in degree mode gives +0.235 m s⁻¹, upwards.

  10. A seismometer contains a mass of 45 g on a horizontal spring. The mass oscillates in simple harmonic motion with a frequency of 2.5 Hz. When its displacement is 1.2 cm, its speed is 0.15 m s⁻¹. (a) Determine the amplitude of the oscillation. (b) Calculate the total energy of the oscillation. (c) Determine the displacement at which the kinetic energy equals the elastic potential energy.7 marks
    Answer
    1. (a)
    2. ω = 2π f = 2π × 2.5 = 15.7 rad s⁻¹ [1].
    3. x₀² = x² + v²/ω² = 0.012² + (0.15/15.7)² = 2.35 × 10⁻⁴ m² [1].
    4. x₀ = 0.015 m, or 1.5 cm [1].
    5. (b)
    6. E_T = 1/2mω²x₀² = 1/2 × 0.045 × 15.7² × 2.35 × 10⁻⁴, with m in kg and the unrounded x₀² [1].
    7. E_T = 1.3 × 10⁻³ J [1].
    8. (c)
    9. E_p = 1/2E_T, so 1/2mω²x² = 1/4mω²x₀² and x = x₀/(√2) [1].
    10. x = 0.0153/(√2) = 0.011 m, or 1.1 cm [1].

    Trap: Taking x = x₀/2 for equal energies gives 0.0077 m, but the potential energy varies as x², not as x.

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
“potential energy” to kinetic energyelastic/spring potential energy to kinetic energy
the kinetic energy decreases (the second energy store is not named)kinetic energy decreases and elastic potential energy increases
f = 1/T = 8 Hz in a "show that", with the result of the calculation not shownf = 1/2π√(504/0.200) = 7.99 Hz: the full substitution or an answer to 3 or more significant figures
The force is linear with the extension.The force is proportional to the extension.

Frequently asked questions

What is the condition for simple harmonic motion?
A particle performs simple harmonic motion when its acceleration is proportional to its displacement from the equilibrium position and is always directed towards that position. For a mass on a spring, the spring must obey Hooke's law, so the force it exerts is proportional to the displacement. The minus sign in a = -ω²x shows that acceleration and displacement have opposite directions.
How do you calculate the time period, frequency and angular frequency of an oscillation?
Divide the time by the number of oscillations to get the time period, then use f = 1/T for the frequency. For a piston that oscillates 50 times in 20 s, T = 20/50 = 0.40 s and f = 2.5 Hz. The angular frequency is ω = 2π/T = 16 rad s⁻¹.
Why does a heavier mass on a spring oscillate with a longer time period?
The time period of a mass on a spring depends only on the mass and the spring constant, through T = 2π√(m/k). The period varies as the square root of the mass, so a larger mass gives a longer period. The amplitude does not appear in the equation. Tripling the mass multiplies T by √3, not by 3.
How is the energy shared between kinetic and potential energy in a mass on a spring?
The energy swaps between elastic potential energy and kinetic energy. At an extreme position the mass is momentarily at rest, so all the energy is potential. At equilibrium all the energy is kinetic. The total energy stays constant when there is no damping.
How do you find the speed of a particle in simple harmonic motion at a given displacement?
Use v = ±ω√(x₀² - x²), where x₀ is the amplitude and x is the displacement. The speed is greatest at x = 0 and zero at x = ± x₀. The total energy is E_T = 1/2mω²x₀², which is proportional to the square of the amplitude.
What mistake do students make with the phase angle when calculating velocity?
A calculator set to degree mode gives the wrong answer. Phase angles are in radians, so the ω t in a sine or cosine must be used in radians. On a footbridge with x = 0.025sin(3.0π t + π/6), degree mode gives +0.235 m s⁻¹, upwards, instead of -0.096 m s⁻¹. The sign gives the direction.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters