A particle in simple harmonic motion continuously exchanges energy between two forms — kinetic energy (because it is moving) and potential energy (stored in the restoring mechanism, such as a stretched spring). Because the restoring force is conservative, the total mechanical energy stays constant throughout the oscillation, even though KE and PE individually change from instant to instant.
Kinetic energy. At displacement $x$ the speed is $v=\omega\sqrt{A^2-x^2}$, so the kinetic energy is $KE=\frac{1}{2}mv^2=\frac{1}{2}m\omega^2(A^2-x^2)$. The kinetic energy is maximum at the mean position ($x=0$), where $KE_{max}=\frac{1}{2}m\omega^2 A^2$, and zero at the extremes ($x=\pm A$).
Potential energy. The restoring force is $F=-m\omega^2 x$ (so the effective force constant is $k=m\omega^2$). The work done against this force in displacing the particle from the mean position to $x$ is stored as potential energy: $PE=\frac{1}{2}m\omega^2 x^2=\frac{1}{2}kx^2$. The potential energy is zero at the mean position and maximum at the extremes, where $PE_{max}=\frac{1}{2}m\omega^2 A^2$.
- Total energy: $E=KE+PE=\frac{1}{2}m\omega^2(A^2-x^2)+\frac{1}{2}m\omega^2 x^2=\frac{1}{2}m\omega^2 A^2$. The $x$-dependence cancels, so the total energy is constant and independent of position.
- $E\propto A^2$ and $E\propto \omega^2$ — doubling the amplitude makes the energy four times larger; the energy also scales with $f^2$ since $\omega=2\pi f$.
- At the mean position all the energy is kinetic; at the extremes all of it is potential; in between it is shared.
Energy–displacement graph. Plotted against $x$, the kinetic energy $\frac{1}{2}m\omega^2(A^2-x^2)$ is a downward-opening parabola peaking at $x=0$, while the potential energy $\frac{1}{2}m\omega^2 x^2$ is an upward-opening parabola with its minimum at $x=0$. At every displacement the two curves add up to the same horizontal line — the constant total energy. The two are equal when $\frac{1}{2}m\omega^2 x^2=\frac{1}{2}m\omega^2(A^2-x^2)$, i.e. at $x=\pm\frac{A}{\sqrt{2}}$.
Frequency of energy variation. Both KE and PE complete two full cycles for each cycle of the displacement, so the energy oscillates at twice the frequency of the motion itself — a small but examinable subtlety of SHM.