Skip to content
MathsGenie logo
Open app

Course home

  1. A Level
  2. Physics OCR A
  3. Revision guides

Energy of a simple harmonic oscillator

What you'll learn

  • How kinetic energy and potential energy interchange during simple harmonic motion.
  • Why the total mechanical energy of an ideal oscillator stays constant.
  • How to use the SHM energy equations involving mmm, ω\omegaω, AAA and xxx.
  • How to interpret and sketch energy-displacement graphs for a simple harmonic oscillator.

The SHM ideas you need first

A simple harmonic oscillator is a system that undergoes simple harmonic motion: its acceleration is directly proportional to its displacement from equilibrium and acts in the opposite direction.

The defining equation is:

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

where aaa is acceleration in metres per second squared, xxx is displacement from equilibrium in metres, and ω\omegaω is angular frequency in radians per second.

Definition

Key positions in SHM

The equilibrium position is where the resultant force is zero. The amplitude AAA is the maximum displacement from equilibrium. The turning points are at x=+Ax = +Ax=+A and x=−Ax = -Ax=−A, where the oscillator momentarily has zero speed.

For a particle of mass mmm, Newton’s second law gives:

F=ma=−mω2xF = ma = -m\omega^2xF=ma=−mω2x

So the restoring force is proportional to displacement. This is why SHM energy graphs have smooth, symmetric curves.

Energy forms in an oscillator

In SHM, energy moves between two stores:

  • Kinetic energy EkE_kEk​: energy due to motion, given by Ek=12mv2E_k = \frac{1}{2}mv^2Ek​=21​mv2.
  • Potential energy EpE_pEp​: energy stored because the oscillator is displaced from equilibrium.

For a horizontal mass-spring oscillator, the potential energy is elastic strain energy. For a pendulum, it is gravitational potential energy. In both cases, for small oscillations that obey SHM, the potential energy is lowest at equilibrium and greatest at the turning points.

Mass-spring oscillator showing energy transfer at the turning points and equilibrium

Key Idea

Energy interchange

In an ideal undamped oscillator, total mechanical energy is constant. At the turning points, all the energy is potential. At equilibrium, the potential energy is minimum and the kinetic energy is maximum.

The word ideal matters: it means no energy is transferred away to the surroundings by friction, air resistance or internal heating.

Potential energy as a function of displacement

Because the restoring force is proportional to displacement, the work done to move the oscillator slowly from equilibrium to displacement xxx is the area under a straight-line force-displacement graph.

That area is triangular, so:

Ep=12mω2x2E_p = \frac{1}{2}m\omega^2x^2Ep​=21​mω2x2

This assumes we choose the potential energy at equilibrium to be zero.

For a spring oscillator, since mω2=km\omega^2 = kmω2=k, you may also write:

Ep=12kx2E_p = \frac{1}{2}kx^2Ep​=21​kx2

where kkk is the spring constant in newtons per metre.

Tip

Why the square matters

Potential energy depends on x2x^2x2, so the potential energy is the same at +x+x+x and −x-x−x. Being equally far left or right of equilibrium stores the same energy.

Total energy of the oscillator

The maximum potential energy occurs at the turning points, where x=±Ax = \pm Ax=±A and the speed is zero.

So the total mechanical energy is:

ET=12mω2A2E_T = \frac{1}{2}m\omega^2A^2ET​=21​mω2A2

For a spring oscillator:

ET=12kA2E_T = \frac{1}{2}kA^2ET​=21​kA2

This tells you an important scaling rule: if the amplitude doubles, the total energy becomes four times larger.

Kinetic energy at any displacement

At any displacement, the total energy is split between potential and kinetic energy:

ET=Ek+EpE_T = E_k + E_pET​=Ek​+Ep​

So:

Ek=ET−Ep=12mω2A2−12mω2x2=12mω2(A2−x2)\begin{aligned} E_k &= E_T - E_p \\ &= \frac{1}{2}m\omega^2A^2 - \frac{1}{2}m\omega^2x^2 \\ &= \frac{1}{2}m\omega^2(A^2 - x^2) \end{aligned}Ek​​=ET​−Ep​=21​mω2A2−21​mω2x2=21​mω2(A2−x2)​

This is largest at x=0x = 0x=0 and zero at x=±Ax = \pm Ax=±A.

Common Mistake

Using x instead of A for total energy

The total energy depends on the amplitude AAA, not the current displacement xxx. Use ET=12mω2A2E_T = \frac{1}{2}m\omega^2A^2ET​=21​mω2A2 for the total, then use Ep=12mω2x2E_p = \frac{1}{2}m\omega^2x^2Ep​=21​mω2x2 for the energy stored at a particular position.

Example

Calculating energy at a displacement

A mass of 0.150 kg oscillates with frequency 2.00 Hz and amplitude 5.0 cm. Calculate the total energy, the potential energy and the kinetic energy when the displacement is 3.0 cm.

  1. Convert the distances into metres and calculate angular frequency:

    A=5.0 cm=0.050 mx=3.0 cm=0.030 mω=2πf=2π×2.00 Hz=12.6 rad s−1\begin{aligned} A &= 5.0\text{ cm} = 0.050\text{ m} \\ x &= 3.0\text{ cm} = 0.030\text{ m} \\ \omega &= 2\pi f = 2\pi \times 2.00\text{ Hz} = 12.6\text{ rad s}^{-1} \end{aligned}Axω​=5.0 cm=0.050 m=3.0 cm=0.030 m=2πf=2π×2.00 Hz=12.6 rad s−1​
  2. Use the amplitude to calculate the total energy:

    ET=12mω2A2=12(0.150 kg)(12.6 rad s−1)2(0.050 m)2=2.96×10−2 J\begin{aligned} E_T &= \frac{1}{2}m\omega^2A^2 \\ &= \frac{1}{2}(0.150\text{ kg})(12.6\text{ rad s}^{-1})^2(0.050\text{ m})^2 \\ &= 2.96 \times 10^{-2}\text{ J} \end{aligned}ET​​=21​mω2A2=21​(0.150 kg)(12.6 rad s−1)2(0.050 m)2=2.96×10−2 J​
  3. Use the current displacement to calculate the potential energy:

    Ep=12mω2x2=12(0.150 kg)(12.6 rad s−1)2(0.030 m)2=1.07×10−2 J\begin{aligned} E_p &= \frac{1}{2}m\omega^2x^2 \\ &= \frac{1}{2}(0.150\text{ kg})(12.6\text{ rad s}^{-1})^2(0.030\text{ m})^2 \\ &= 1.07 \times 10^{-2}\text{ J} \end{aligned}Ep​​=21​mω2x2=21​(0.150 kg)(12.6 rad s−1)2(0.030 m)2=1.07×10−2 J​
  4. Subtract to find the kinetic energy:

    Ek=ET−Ep=2.96×10−2 J−1.07×10−2 J=1.89×10−2 J\begin{aligned} E_k &= E_T - E_p \\ &= 2.96 \times 10^{-2}\text{ J} - 1.07 \times 10^{-2}\text{ J} \\ &= 1.89 \times 10^{-2}\text{ J} \end{aligned}Ek​​=ET​−Ep​=2.96×10−2 J−1.07×10−2 J=1.89×10−2 J​

Energy-displacement graphs

An energy-displacement graph shows how energy depends on position xxx, not on time.

For a simple harmonic oscillator:

  • Total energy ETE_TET​ is a horizontal line.
  • Potential energy EpE_pEp​ is an upward-opening parabola.
  • Kinetic energy EkE_kEk​ is a downward-opening parabola.
  • Both EpE_pEp​ and EkE_kEk​ are symmetric about x=0x = 0x=0.
  • The allowed motion is only between x=−Ax = -Ax=−A and x=+Ax = +Ax=+A.

Energy-displacement graph for a simple harmonic oscillator showing total, kinetic and potential energy

At the turning points:

x=±A,Ek=0,Ep=ETx = \pm A,\quad E_k = 0,\quad E_p = E_Tx=±A,Ek​=0,Ep​=ET​

At equilibrium:

x=0,Ep=0,Ek=ETx = 0,\quad E_p = 0,\quad E_k = E_Tx=0,Ep​=0,Ek​=ET​
Common Mistake

This is not a time graph

An energy-displacement graph does not tell you whether the oscillator is moving left or right. The oscillator passes most displacements twice per cycle, once in each direction, with the same kinetic and potential energies.

Reading graph values using fractions

You can often solve energy graph questions without knowing mmm or ω\omegaω.

Since:

Ep=12mω2x2E_p = \frac{1}{2}m\omega^2x^2Ep​=21​mω2x2

and:

ET=12mω2A2E_T = \frac{1}{2}m\omega^2A^2ET​=21​mω2A2

dividing gives:

EpET=x2A2\frac{E_p}{E_T} = \frac{x^2}{A^2}ET​Ep​​=A2x2​

So:

Ep=ET(xA)2E_p = E_T\left(\frac{x}{A}\right)^2Ep​=ET​(Ax​)2

Then:

Ek=ET−EpE_k = E_T - E_pEk​=ET​−Ep​
Example

Reading an energy-displacement graph

An oscillator has amplitude 8.0 cm and total energy 0.32 J. Find the kinetic and potential energies when the displacement is 4.0 cm.

  1. Compare the displacement with the amplitude:

    xA=4.0 cm8.0 cm=0.50\frac{x}{A} = \frac{4.0\text{ cm}}{8.0\text{ cm}} = 0.50Ax​=8.0 cm4.0 cm​=0.50
  2. Square the fraction to find the fraction of total energy stored as potential energy:

    EpET=(0.50)2=0.25\frac{E_p}{E_T} = (0.50)^2 = 0.25ET​Ep​​=(0.50)2=0.25
  3. Calculate the potential energy:

    Ep=0.25×0.32 J=0.080 JE_p = 0.25 \times 0.32\text{ J} = 0.080\text{ J}Ep​=0.25×0.32 J=0.080 J
  4. Use conservation of energy to calculate the kinetic energy:

    Ek=0.32 J−0.080 J=0.24 JE_k = 0.32\text{ J} - 0.080\text{ J} = 0.24\text{ J}Ek​=0.32 J−0.080 J=0.24 J

A quick method for exam calculations

When you see an SHM energy question, use this order:

  1. Identify the amplitude AAA and the displacement xxx separately.
  2. Convert all distances into metres.
  3. Find ω\omegaω if needed, usually from ω=2πf\omega = 2\pi fω=2πf.
  4. Calculate total energy using AAA.
  5. Calculate potential energy using xxx.
  6. Calculate kinetic energy by subtraction.
Exam technique

In the exam

  1. Label the turning points x=−Ax = -Ax=−A and x=+Ax = +Ax=+A before interpreting an energy graph.
  2. Check whether the question gives amplitude, displacement, frequency, period or spring constant; choose the matching energy equation.
  3. Sanity-check your answer: EkE_kEk​ cannot be negative, and EpE_pEp​ cannot exceed ETE_TET​ for a valid displacement.
Self review

Check yourself

  • Why is kinetic energy zero at the turning points but maximum at equilibrium?
  • If the amplitude of an ideal oscillator is tripled, what happens to its total energy?
  • On an energy-displacement graph, why do the curves have the same values at +x+x+x and −x-x−x?
PreviousNext

How was this guide?

Teach Genie

Review Energy of a simple harmonic oscillator by teaching Genie

Teach it back in your own words, spot gaps, and remember it better.

Start teaching
Genie and Baby Genie

Lesson

Recap your knowledge with an interactive lesson

6 minute activity

Start lesson

In a simple harmonic oscillator, energy constantly interchanges between two primary stores: kinetic energy and potential energy. Kinetic energy (EkE_kEk​) is due to motion, while potential energy (EpE_pEp​) is stored because the system is displaced from its equilibrium position.

For an ideal, undamped oscillator, no energy is lost to friction or air resistance. This means the total mechanical energy (ETE_TET​) remains absolutely constant throughout the entire motion.

Flashcards

Remember key concepts with flashcards

3 flashcards

Practice flashcards

In an ideal simple harmonic oscillator, what happens to the total mechanical energy over time?

Energy of a simple harmonic oscillator Revision Guide

  1. A Level
  2. /Physics
  3. /Energy of a simple harmonic oscillator