What makes motion “simple harmonic”

Simple harmonic motion (SHM) describes any back-and-forth motion where the restoring force pulling an object back toward equilibrium is proportional to how far it’s been displaced. The farther you pull it, the harder it gets pulled back — and that specific relationship produces smooth, repeating, wave-like motion.

The classic example is a mass on a spring, governed by Hooke’s law:

F = -kx

Here x is how far the spring is stretched or compressed from its resting position, k is a constant describing the spring’s stiffness, and the negative sign shows the force always points back toward equilibrium — hence “restoring force.”

The defining features

Every simple harmonic oscillator shares the same basic behavior:

  • It has an amplitude — the maximum distance from equilibrium
  • It has a period — the time for one complete back-and-forth cycle
  • Its speed is greatest at equilibrium and zero at the extremes of motion
  • For an ideal spring or pendulum (with small swings), the period doesn’t depend on amplitude — a pendulum swinging through a small arc takes the same time per swing as one swinging through a slightly larger arc

Pendulums: a different restoring force, the same math

A swinging pendulum is also (approximately) simple harmonic motion, but the restoring force here comes from gravity pulling the pendulum back toward hanging straight down, rather than a spring’s stiffness. Despite the different source of the restoring force, the resulting motion follows the same mathematical pattern as a mass on a spring.

Why this matters

Simple harmonic motion isn’t just about springs and pendulums — it’s the mathematical foundation for describing sound waves, light waves, alternating electrical current, and even the vibrations of atoms in a solid material. Once you recognize the pattern, you start seeing it almost everywhere physical systems oscillate around a stable equilibrium.

Try it yourself

Interactive simulation: Pendulum Lab, by PhET Interactive Simulations, University of Colorado Boulder. Simulation details ↗