Energy Exchange and Conservation in SHM
Statement
For a one-dimensional undamped simple harmonic oscillator of mass \(m\) and stiffness \(k\), executing \(x(t)=A\cos(\omega_0 t+\varphi)\) with \(\omega_0=\sqrt{k/m}\), the total mechanical energy \(E=T+U\) is constant in time and equal to \(\tfrac12 kA^2\), while the kinetic part \(T\) and potential part \(U\) each oscillate about the mean value \(\tfrac14 kA^2\) at angular frequency \(2\omega_0\) — twice the oscillation frequency — exactly out of phase with one another.
Why it matters
This is the mechanical archetype of energy conservation in a conservative bound system: the total is fixed by the amplitude alone, and motion is nothing more than energy sloshing between two reservoirs. Every resonator you meet later — LC circuits, phonon modes, photon field modes, molecular vibrations — inherits this same \(\tfrac12 kA^2\) bookkeeping and the same factor-of-two doubling of the energy-exchange frequency.
Practically, the constant-\(E\) statement lets you solve for the speed at any displacement without ever integrating the equation of motion, and the frequency doubling is the fingerprint experimentalists use to distinguish a genuine energy signal (dissipated power, radiation pressure) from the raw displacement signal.
Assumptions
Derivation
Result
Reading. The total energy is set once and for all by the amplitude and stiffness; it does not depend on where in the cycle you look. Kinetic and potential energy each swing between \(0\) and the full \(\tfrac12 kA^2\), perfectly anti-correlated, so that whenever one is maximal the other is zero. Averaged over a cycle they are equal (the virial result for a quadratic potential), each carrying half the energy. Because \(\sin^2\) and \(\cos^2\) complete a full cycle in half the period of \(\sin\) and \(\cos\), the trading happens at \(2\omega_0\) — twice the oscillation frequency.
Units check. \([k][A]^2=(\mathrm{N\,m^{-1}})(\mathrm{m^2})=\mathrm{N\,m}=\mathrm{J}\). Equivalently \([m][\omega_0]^2[A]^2=\mathrm{kg}\cdot\mathrm{s^{-2}}\cdot\mathrm{m^2}=\mathrm{kg\,m^2\,s^{-2}}=\mathrm{J}\). Both forms are energies, as required, and the argument \(2\omega_0 t\) is dimensionless.
Limiting cases
- Zero amplitude \((A\to0)\): \(E\to0\) and the mass sits at rest at equilibrium — no energy, no exchange.
- Turning points \((x=\pm A)\): \(v=0\) so \(T=0\) and \(U=\tfrac12 kA^2\) — all energy is potential.
- Passing through equilibrium \((x=0)\): speed is maximal, \(v_{\max}=A\omega_0\), so \(U=0\) and \(T=\tfrac12 kA^2\) — all energy is kinetic.
- Cycle average: \(\langle T\rangle=\langle U\rangle=\tfrac14 kA^2=\tfrac12 E\), the equipartition/virial split for a quadratic potential.
- Stiff spring \((k\to\infty\) at fixed \(A)\): \(E\) grows without bound — more energy is stored for the same excursion.
Breaks when
- Damping is present. With a drag force \(-bv\), \(dE/dt=-bv^2\le0\): energy leaks monotonically and the amplitude decays, so \(\tfrac12 kA^2\) is no longer constant (\(A\) itself becomes time-dependent).
- The potential is anharmonic. If \(U\) contains \(x^3, x^4,\dots\) terms (large-amplitude pendulum, real molecular bonds), \(T\) and \(U\) still sum to a constant but no longer trade sinusoidally at a single frequency \(2\omega_0\) — the exchange acquires harmonics and the clean \(\tfrac14 kA^2\) mean fails.
- The oscillator is driven or parametrically pumped. An external force \(F(t)\) does net work over a cycle, and a time-varying \(k(t)\) can feed energy in at \(2\omega_0\); in either case \(E\) is not conserved.
- Relativistic or radiative regimes. When \(v\to c\), \(T\neq\tfrac12 mv^2\), or when the oscillator radiates (an accelerating charge), energy is carried away and the closed-system bookkeeping breaks.
Failure modes
- Forgetting the \(\omega_0^2=k/m\) substitution. Leaving \(T=\tfrac12 mA^2\omega_0^2\sin^2\) and \(U=\tfrac12 kA^2\cos^2\) with mismatched prefactors, then wrongly concluding the sum is not constant. The prefactors are equal precisely because \(m\omega_0^2=k\).
- Claiming \(T\) and \(U\) oscillate at \(\omega_0\). They contain \(\sin^2/\cos^2\), which repeat at \(2\omega_0\). Students read off the frequency of \(x(t)\) instead of the frequency of the energy.
- Confusing peak with mean. \(\langle\sin^2\rangle=\langle\cos^2\rangle=\tfrac12\) gives \(\langle T\rangle=\langle U\rangle=\tfrac14 kA^2\), not \(\tfrac12 kA^2\).
- Using \(v_{\max}=A\omega_0\) at the wrong point. Maximum speed is at \(x=0\), not at the turning points; plugging \(v_{\max}\) in at \(x=\pm A\) double-counts the energy.
- Wrong potential zero. Writing \(U=\tfrac12 k(x-x_0)^2\) but measuring \(x\) from a different origin, so \(U\) is not minimised at the actual equilibrium.
- Assuming conservation for a driven or damped system. Applying \(E=\tfrac12 kA^2\) to a decaying or forced oscillation where \(A\) is not constant.
Discussion
The deep content of this result is that a bound conservative system in one dimension has a single conserved scalar — the energy — and that this scalar organises the entire motion. Fixing \(E=\tfrac12 kA^2\) confines the trajectory to a closed curve in the \((x,v)\) phase plane: rescaling \(v\) by \(1/\omega_0\), the constant-energy contour \(v^2/\omega_0^2+x^2=A^2\) is a circle of radius \(A\) traced at uniform angular rate \(\omega_0\). The uniform rate around that circle is why the phase advances linearly and why the period is amplitude-independent (isochronism).
The factor of two in the exchange frequency is not a coincidence but a statement about quadratic quantities. Any bilinear energy density built from a single-frequency amplitude beats at twice that frequency, because squaring a sinusoid produces a DC term plus a component at double the frequency (the identity \(\sin^2\theta=\tfrac12-\tfrac12\cos 2\theta\) is exactly this). The same algebra explains why instantaneous power in AC circuits pulses at \(2f\), why intensity beats at twice the field frequency in optics, and why a mass on a spring pumped by moving its support responds at \(2\omega_0\) — the parametric-resonance condition.
The cycle-averaged equality \(\langle T\rangle=\langle U\rangle\) is the harmonic-oscillator instance of the virial theorem: for a potential \(U\propto x^{n}\), \(\langle T\rangle=\tfrac{n}{2}\langle U\rangle\), and \(n=2\) gives the clean 50/50 split. This equal partition between the kinetic and potential reservoirs is what later becomes the classical equipartition theorem — \(\tfrac12 k_B T\) per quadratic degree of freedom — and it is why a harmonic mode holds \(k_B T\) of thermal energy, not \(\tfrac12 k_B T\).
Structurally, energy conservation here is a consequence of time-translation symmetry: the Lagrangian \(L=\tfrac12 m\dot x^2-\tfrac12 kx^2\) has no explicit \(t\)-dependence, so by Noether's theorem the associated conserved quantity — the Hamiltonian \(H=\dfrac{p^2}{2m}+\tfrac12 kx^2\) — is constant along the motion. Damping and driving break exactly this symmetry (the former via an explicitly velocity-dependent, non-conservative force outside the Lagrangian framework, the latter via explicit time dependence), which is the unified reason both spoil conservation. In the quantised version the same Hamiltonian gives energy levels \(E_n=(n+\tfrac12)\hbar\omega_0\), and the classical \(\tfrac12 kA^2\) is recovered as the coherent-state expectation value in the correspondence limit.
Common misconceptions. Energy is not "used up" as the mass moves — in the ideal case it is only relocated between kinetic and potential form, never lost. The oscillator is not "fastest where the force is strongest": the force is largest at the turning points where the speed is zero, and zero at equilibrium where the speed is greatest. And the energy does not oscillate at the same rate as the position — it beats at double the frequency.
Worked examples
Check. At \(x=0.060\ \mathrm m\), \(U=\tfrac12(200)(0.060)^2=0.36\ \mathrm J\) and \(T=\tfrac12(0.50)(1.6)^2=0.64\ \mathrm J\); \(T+U=1.0\ \mathrm J\), consistent.
Reading. Halving the angular displacement leaves three-quarters of the energy in kinetic form, because potential energy scales as the square of displacement — a direct consequence of the quadratic well.
Problems
- (A) A \(0.20\ \mathrm{kg}\) mass oscillates on a spring with \(k=80\ \mathrm{N\,m^{-1}}\) and amplitude \(5.0\ \mathrm{cm}\). Find the total energy and the maximum speed.
Solution
\(E=\tfrac12 kA^2=\tfrac12(80)(0.050)^2=\tfrac12(80)(0.0025)=0.10\ \mathrm J.\) Maximum speed at \(x=0\): \(\tfrac12 mv_{\max}^2=E\Rightarrow v_{\max}=\sqrt{2E/m}=\sqrt{0.20/0.20}=1.0\ \mathrm{m\,s^{-1}}.\) Check: \(v_{\max}=A\omega_0=0.050\sqrt{80/0.20}=0.050\times20=1.0\ \mathrm{m\,s^{-1}}.\) - (A) At what displacement \(x\) (as a fraction of \(A\)) are the kinetic and potential energies equal?
Solution
Set \(T=U\). Since \(U=\tfrac12 kx^2\) and \(E=\tfrac12 kA^2\), \(T=U\) means \(U=\tfrac12 E\), so \(\tfrac12 kx^2=\tfrac12(\tfrac12 kA^2)\Rightarrow x^2=A^2/2\Rightarrow x=A/\sqrt2\approx0.707A.\) In time, this occurs when \(\cos^2(\omega_0 t+\varphi)=\tfrac12\), i.e. at \(\omega_0 t+\varphi=45^\circ,135^\circ,\dots\) — four times per period. - (B) A mass–spring oscillator has period \(T_p=0.40\ \mathrm s\) and total energy \(0.50\ \mathrm J\). If the mass is \(0.25\ \mathrm{kg}\), find the amplitude.
Solution
\(\omega_0=2\pi/T_p=2\pi/0.40=15.7\ \mathrm{rad\,s^{-1}}.\) Then \(k=m\omega_0^2=0.25\times(15.7)^2=0.25\times246.7=61.7\ \mathrm{N\,m^{-1}}.\) From \(E=\tfrac12 kA^2\): \(A=\sqrt{2E/k}=\sqrt{1.0/61.7}=\sqrt{0.0162}=0.127\ \mathrm m\approx13\ \mathrm{cm}.\) Equivalently \(A=\sqrt{2E/m}/\omega_0=\sqrt{4.0}/15.7=2.0/15.7=0.127\ \mathrm m.\) - (B) Show that the instantaneous rate at which the spring does work on the mass, \(P=-kxv\), oscillates at \(2\omega_0\), and find its amplitude.
Solution
\(P=dT/dt=-dU/dt.\) With \(x=A\cos\theta\), \(v=-A\omega_0\sin\theta\) (\(\theta=\omega_0 t+\varphi\)): \(P=-k(A\cos\theta)(-A\omega_0\sin\theta)=kA^2\omega_0\sin\theta\cos\theta=\tfrac12 kA^2\omega_0\sin 2\theta.\) The \(\sin 2\theta\) factor oscillates at \(2\omega_0\), with amplitude \(\tfrac12 kA^2\omega_0=E\omega_0\). This is the power flowing back and forth between the two reservoirs. - (C) A weakly damped oscillator loses a fraction \(\varepsilon=0.02\) of its energy per cycle. Estimate how many cycles until the energy falls to half its initial value, and comment on whether \(\tfrac12 kA^2\) is still conserved.
Solution
Per cycle \(E\to(1-\varepsilon)E\), so after \(N\) cycles \(E_N=E_0(1-\varepsilon)^N.\) Set \((1-0.02)^N=\tfrac12\): \(N=\ln(\tfrac12)/\ln(0.98)=(-0.693)/(-0.0202)\approx34\) cycles. Energy is conserved only over timescales short compared with this: on a single-cycle scale the undamped result \(\tfrac12 kA^2\) holds to within 2%, but over tens of cycles \(A\) is no longer constant and exact conservation fails. Formally \(E(t)=E_0 e^{-t/\tau}\) with \(\tau=T_p/\varepsilon\) the energy decay time; the quality factor is \(Q=2\pi/\varepsilon\approx314.\)