Your Equation

Library / Foundations: Physics / FPH-53

Foundations: Physics

Total energy of a simple harmonic oscillator

Constant total energy of an undamped oscillator.

Ref
FPH-53
Rev
v1
Field
Foundations: Physics
Result
E [J]

The total energy of an undamped oscillator is constant and equals ½mω²A²: all kinetic energy at the centre, all potential energy at the ends, and a mix in between. Because k = mω², it is the same as ½kA², the energy stored in a spring stretched to the amplitude. It rises with the square of the amplitude.

Constant total energy of an undamped oscillator. It equals the kinetic energy at the centre of the motion and the potential energy at the ends.

Calculator

Solve for
J
kg
0.0110
rad/s
1100
m
0.0011
  • Stiffness implied, k = mω²50 N/m
  • Maximum speed, ωA0.5 m/s
  • Kinetic energy at half the amplitude0.04688 J

What drives the result

Each variable is moved across its typical range while the others stay at the values above. The longest bar is the key driver.

Total energy (J) current value 0.0625 J
AAmplitudeKey driver
2.5e-525
ωAngular frequency
6.25e-46.25
mOscillating mass
0.001251.25
  • A 0.5 kg mass oscillating at ω = 10 rad/s with a 5 cm amplitude carries 0.0625 J, equivalent to a spring of stiffness 50 N/m stretched 5 cm.
  • Doubling the amplitude quadruples the energy (to 0.25 J), which is why the damage from a vibration grows so quickly with its size.
Chart data as tables

Ranked variables

VariableTypical rangeLowest resultHighest resultSwing (J)Local stepChange in result
A Amplitude0.001 to 1 m2.5e-52525+10%+21 %
ω Angular frequency1 to 100 rad/s6.25e-46.256.249+10%+21 %
m Oscillating mass0.01 to 10 kg0.001251.251.249+10%+10 %

Sweep of Amplitude

Amplitude (m)Total energy (J)
0.0012.5e-5
0.0023711.406e-4
0.0056237.906e-4
0.013340.004446
0.031620.025
0.074990.1406
0.17780.7906
0.42174.446
125

Sweep one variable

Total energy (J)Hover, touch, or use the arrow keys on the chart
0510152025 0.0010.0050.020.10.5 Amplitude (m), log scale now 0.0625

Variables and how each one contributes

E

Total energy

Result · J

What the equation gives you. Everything else feeds it.

m

Oscillating mass

kg · typical 0.01 to 10

The oscillating mass, in kg. Raises the energy in direct proportion for a given ω and A. Raising it by 0.1 kg (to 0.6 kg) moves the result by +20 %, from 0.0625 to 0.075 J.

ω

Angular frequency

rad/s · typical 1 to 100

The angular frequency, in rad/s. Raises the energy with its square: a stiffer spring gives a larger energy for the same amplitude. Raising it by 5 rad/s (to 15 rad/s) moves the result by +125 %, from 0.0625 to 0.1406 J.

A

Amplitude

m · typical 0.001 to 1

The amplitude, in m. Raises the energy with its square: doubling the amplitude gives four times the energy. Raising it by 0.01 m (to 0.06 m) moves the result by +44 %, from 0.0625 to 0.09 J.

Worked example with the values above

  1. Square the amplitude and frequency: A² = 0.0025, ω² = 100.
  2. Multiply: m ω² A² = 0.5 × 100 × 0.0025 = 0.125 J.
  3. E = ½ × 0.125 = 0.0625 J.

Assumptions and limits

  • An undamped simple harmonic oscillator: a restoring force proportional to the displacement.
  • Constant amplitude and angular frequency; displacement is measured from the equilibrium position.

Common mistakes

  • Using the frequency in hertz where ω in rad/s is needed.
  • Forgetting that the energy depends on A², not A.

Statistics and uncertainty

Because the energy depends on A², a 1 % error in the amplitude gives a 2 % error in the energy, and the same holds for ω. The mass is usually known best.

Where it is used

  • Energy stored in a vibrating spring-mass system.
  • Energy that damping must remove in a cycle.

Maths you need

  • Angular frequency: ω = 2π times the frequency, in rad/s
  • Amplitude: the largest displacement from equilibrium

Related formulas

Practise this formula