Energy Interchange and Phase in Oscillations

In simple harmonic motion the total mechanical energy E = ½kA2 is constant, and it is continuously exchanged between kinetic energy ½mv2 (maximum at equilibrium) and potential energy ½kx2 (maximum at the extremes); phase describes the position within the cycle, and the velocity leads the displacement by a quarter of a cycle (π/2). In brief: at any displacement x, Ek = ½k(A2 − x2) and Ep = ½kx2. Both oscillate at twice the frequency of the displacement. The speed at displacement x is v = ω√(A2 − x2). Doubling the amplitude quadruples the energy.

An oscillating system trades energy between two forms, like a pendulum between height and speed. This guide shows the energy of a spring-mass system and a pendulum, explains phase and phase difference, compares the energy at different points in a table, works through numerical examples and corrects common mistakes.

How is energy exchanged in SHM?

In a frictionless mass-spring system, the only forces doing work are the conservative spring force, so the total mechanical energy is conserved. The potential energy stored in the spring is Ep = ½kx2, and the kinetic energy of the mass is Ek = ½mv2. At the extremes (x = ±A), v = 0, so E = ½kA2 is all potential. At the equilibrium position (x = 0), the potential energy is zero and all of the energy is kinetic: ½mvmax2 = ½kA2, which gives vmax = A√(k ÷ m) = Aω. At a general position, Ek = E − Ep = ½k(A2 − x2), so v = ±ω√(A2 − x2). For a pendulum, the exchange is between gravitational potential energy (maximum at the highest points) and kinetic energy (maximum at the lowest point). The total energy is proportional to the square of the amplitude, and is also E = ½mω2A2.

What do the energy graphs show?

Against displacement, Ep is a parabola opening upward, Ek is an inverted parabola, and their sum is a horizontal line at the total energy E. The particle is confined to the region where Ek ≥ 0, which is |x| ≤ A (the turning points are where the potential curve meets the total energy line). Against time, Ek = E sin2ωt and Ep = E cos2ωt (starting from the extreme position): both are positive, oscillate at twice the frequency 2f of the motion (they reach their maxima twice per cycle) and are in antiphase. The time-average of each is E/2.

Potential and kinetic energy of a spring oscillator against displacement −5 −2.5 0 2.5 5 0.0 0.1 0.2 0.3 Displacement x (cm) Energy (J) total E = 0.25 J Ep Ek
Energy of the 0.50 kg mass on a 200 N/m spring with amplitude 5.0 cm. The potential energy (solid) is a parabola, the kinetic energy (dashed) is an inverted parabola, and their sum is the constant total of 0.25 J (dotted line). At x = ±3.0 cm (marked) the potential energy is 0.090 J and the kinetic energy is 0.16 J. The motion cannot go beyond ±5.0 cm, where all the energy is potential.

What is phase?

The phase of an oscillation is the argument (ωt + φ) of the sinusoidal function, which specifies the stage of the cycle. The phase difference between two oscillations of the same frequency is the difference of their phases, expressed in radians (or degrees, or as a fraction of a cycle). Two oscillations are in phase if the difference is 0 (or a multiple of 2π), and in antiphase if it is π. In SHM:

Energy at different points

Energy during an oscillation of amplitude A
Displacement Potential energy Kinetic energy Total
x = ±A½kA2 (maximum)0½kA2
x = ±A/2¼ of the total¾ of the total½kA2
x = 00½kA2 (maximum)½kA2

Worked example: energy of a spring oscillator

A 0.50 kg mass on a spring (k = 200 N/m) oscillates with amplitude 5.0 cm.

  1. Total energy: E = ½kA2 = ½ × 200 × 0.0502 = 0.25 J.
  2. Maximum speed: ½mvmax2 = 0.25, so vmax = √(2 × 0.25 ÷ 0.50) = 1.0 m/s. Check: ω = √(200 ÷ 0.50) = 20 rad/s, so Aω = 0.050 × 20 = 1.0 m/s ✓.
  3. At x = 3.0 cm: Ep = ½ × 200 × 0.0302 = 0.090 J. Ek = 0.25 − 0.090 = 0.16 J. Speed: v = √(2 × 0.16 ÷ 0.50) = 0.80 m/s (check: ω√(A2 − x2) = 20 × 0.040 = 0.80 m/s ✓).
    0.090 J 0.16 J 0.25 J 3.0 5.0 −5.0 x (cm)
  4. At x = A/2 = 2.5 cm: Ep = ½ × 200 × 0.0252 = 0.0625 J = E/4, and Ek = 0.1875 J = 3E/4.
  5. Doubling the amplitude: to 10 cm, the energy is 4 × 0.25 = 1.0 J and vmax = 2.0 m/s.
  6. Phase and time: T = 2π ÷ 20 = 0.314 s. A phase difference of π/2 corresponds to a time difference of T/4 = 0.0785 s. The velocity is maximum 0.0785 s after the mass is at the extreme.

Why is this important?

The exchange between potential and kinetic energy is used to analyze oscillating systems from molecules to bridges and electrical circuits (in an LC circuit, energy oscillates between the capacitor and the inductor). Quantum mechanics describes the vibrations of molecules with discrete energy levels of a harmonic oscillator, E = (n + ½)hf, the zero-point energy ½hf being nonzero even at absolute zero. Max Planck’s 1900 treatment of oscillators in a black body began the quantum theory.

Which mistakes are common?

Mistake 1: Saying that energy is lost at the turning points

It is all potential there. The total is unchanged.

Mistake 2: Thinking that the kinetic energy has the same frequency as the displacement

The energies oscillate at twice the frequency.

Mistake 3: Mixing up phase leads and lags

The velocity leads the displacement by π/2; the displacement lags the velocity.

Mistake 4: Forgetting damping in real systems

Real oscillations lose energy to friction. SHM with constant amplitude is an idealization.