Guide

Simple Harmonic Motion: Building Real Intuition

10 min read

Hang a mass on a spring, pull it down, and let go. It does not drift to a halt or fly off; it retraces the same journey over and over with a rhythm you could set a clock by. That rhythm is simple harmonic motion, and it is the most reusable pattern in physics - the same handful of equations describes a pendulum, a vibrating guitar string, an atom jiggling in a crystal, and the current in an oscillating circuit.

What makes the topic worth understanding properly is that the behaviour is dictated by one condition, not by the object involved. Get that condition clear and the formulas follow from it instead of needing to be stored separately. This guide builds the picture first, attaches the equations to it, and finishes with a worked example you can check line by line.

The one condition that creates SHM

Simple harmonic motion happens whenever the restoring force on an object is proportional to its displacement from equilibrium and points back toward equilibrium. In symbols, F = −k·x. The minus sign carries the whole idea: push the object one way and the force pulls it back the other way, and the further you push, the harder it pulls.

Feed that into Newton's second law and you get a = −(k/m)·x. Acceleration is proportional to displacement and opposite in sign. Nothing else in introductory mechanics behaves like this - under gravity alone the acceleration is constant, and under drag it depends on speed - so this signature is what you should look for when deciding whether a system will oscillate harmonically. It also explains why so many systems qualify: close to any stable equilibrium, almost every restoring force looks linear provided the displacement stays small.

Position, velocity and acceleration

The motion that satisfies a = −(k/m)·x is a cosine: x = A·cos(ωt + φ). Here A is the amplitude, the largest displacement reached; ω is the angular frequency in radians per second; and φ is the phase constant, which only records where in the cycle you started the clock. Taking φ = 0 means the object begins at maximum displacement, which is exactly what happens when you pull a mass aside and release it from rest.

Differentiate once to get v = −A·ω·sin(ωt + φ), and again to get a = −A·ω²·cos(ωt + φ), which is simply a = −ω²·x. Comparing that with a = −(k/m)·x identifies the angular frequency at once: ω = √(k/m) for a mass on a spring. Almost everything else in the topic is bookkeeping around those three lines.

  • At the extremes, x = ±A, the speed is zero and the acceleration is largest: a_max = ω²·A.
  • At the centre, x = 0, the acceleration is zero and the speed is largest: v_max = ω·A.
  • Velocity runs a quarter cycle ahead of displacement, so the object moves fastest exactly where it feels no force.
  • It takes a quarter of a period to travel from the centre out to an extreme.

Period, frequency, and the amplitude surprise

The period is the time for one complete cycle, T = 2π/ω, and the frequency is f = 1/T = ω/(2π). For a mass on a spring this gives T = 2π·√(m/k): a heavier mass oscillates more slowly, a stiffer spring more quickly. For a simple pendulum at small angles the restoring force comes from gravity rather than a spring, and the same algebra yields ω = √(g/L) and T = 2π·√(L/g), where L is the length of the pendulum.

The result that surprises most students is what is absent from those expressions: the amplitude. Pull the mass twice as far and it travels twice the distance each cycle, but it also moves twice as fast throughout, and the two effects cancel exactly. A pendulum swinging through a wider small arc keeps the same period as one swinging through a narrower arc, which is precisely why pendulums made good clocks. The independence is not perfect - for a pendulum it relies on the small-angle approximation, and a genuinely wide swing runs slightly slow - but inside the harmonic regime it holds.

Energy shuttles back and forth

In an ideal oscillator the total mechanical energy stays constant and simply trades between two forms. At maximum displacement everything is stored as potential energy, ½·k·A², because the object is momentarily at rest. At the centre everything is kinetic, ½·m·v_max². Setting those two equal reproduces v_max = ω·A with no calculus at all, since ω = √(k/m).

So the total energy of a harmonic oscillator is E = ½·k·A² = ½·m·ω²·A². Energy depends on the square of the amplitude, so doubling the amplitude costs four times the energy - a quick sanity check on any answer, and the same scaling that makes wave intensity depend on amplitude squared. One subtlety worth noticing: the energy sloshes between kinetic and potential twice per cycle, because the object passes through the centre twice, so the energy exchange runs at double the frequency of the motion itself.

A worked example, start to finish

Take a 0.50 kg block on a spring of stiffness k = 200 N/m, pulled 0.10 m from equilibrium and released from rest. Working in a fixed order makes every other quantity fall out.

  1. Angular frequency: ω = √(k/m) = √(200/0.50) = √400 = 20 rad/s.
  2. Period and frequency: T = 2π/ω = 2π/20 ≈ 0.31 s, so f = 1/T ≈ 3.2 Hz.
  3. Equation of motion: released from rest at full displacement means φ = 0, so x = 0.10·cos(20t) metres.
  4. Maximum speed: v_max = ω·A = 20 × 0.10 = 2.0 m/s, reached each time it crosses equilibrium.
  5. Maximum acceleration: a_max = ω²·A = 400 × 0.10 = 40 m/s², reached at each extreme.
  6. Total energy: E = ½·k·A² = 0.5 × 200 × 0.010 = 1.0 J.
  7. Check the answer: ½·m·v_max² = 0.5 × 0.50 × 4.0 = 1.0 J, which agrees, so the numbers are consistent.

Damping, resonance, and where SHM turns up

Real oscillators lose energy to friction, air resistance, or internal heating, so the amplitude decays instead of repeating forever. For light damping the decay is roughly exponential and the frequency is barely affected, which is why a plucked string fades in loudness but not in pitch. Push a damped oscillator repeatedly at close to its natural frequency and you get resonance: small, well-timed inputs accumulate into a large amplitude, the reason a swing responds to gentle pushes and why engineers work hard to keep bridges and buildings away from their natural frequencies.

The pattern also connects topics that look unrelated. Watch an object in uniform circular motion from the side and its shadow performs exact simple harmonic motion, which is where the angular frequency ω and the phase constant φ get their names. Travelling waves are built from the same motion repeated in space, so the SHM formulas quietly underpin sound, light, and every standing-wave problem you will meet. If you want to see how the pieces sit together, the waves and oscillations section of PhysRef collects the displacement, velocity, period, and energy relations in one place with their variables spelled out.

Frequently asked questions

What actually makes motion simple harmonic?

A restoring force proportional to displacement and directed back toward equilibrium, F = −k·x. That single condition forces the acceleration to obey a = −ω²·x, whose solution is a sinusoid. If the restoring force is not proportional to displacement, the motion may still repeat but it is not simple harmonic.

Why does amplitude not affect the period?

A larger amplitude means a longer path, but the restoring force and therefore the speed grow in exact proportion. The two effects cancel, leaving T = 2π/ω, which contains only stiffness and mass for a spring, or length and gravity for a pendulum.

Where is the object fastest, and where does it accelerate most?

It is fastest at the equilibrium position, with v_max = ω·A, and there the acceleration is zero. It accelerates most at the two extremes, with a_max = ω²·A, and there the speed is zero. Speed and acceleration are a quarter cycle out of step.

Does a pendulum really keep the same period at any angle?

Only for small swings. T = 2π·√(L/g) comes from approximating sin θ by θ, which is good to about one percent below roughly 10 to 15 degrees. Push the amplitude much beyond that and the real period grows slightly longer than the formula predicts.

How is simple harmonic motion related to circular motion?

Project uniform circular motion onto any straight line through the centre and the projection is exactly simple harmonic motion, with the same ω. That is why angular frequency is measured in radians per second even when nothing is going round in a circle.

Keep going