Mechanics · Oscillations

Simple Harmonic Motion

The mathematics of rhythm — swings, springs, and the surprising constancy of the pendulum.

From a child on a swing to the quartz crystal keeping time in a watch, nature is full of things that oscillate back and forth in a regular rhythm. When that rhythm follows a particular mathematical pattern, physicists call it simple harmonic motion — one of the most important and widely applicable models in all of science.

What makes motion "simple harmonic"

Simple harmonic motion (SHM) occurs whenever the restoring force on an object is proportional to how far it has been displaced from equilibrium, and always points back toward that equilibrium. Pull a mass on a spring a little way and it pulls back gently; pull it further and it pulls back harder, in exact proportion. That proportionality is the signature of SHM.

The result is a smooth, repeating oscillation described by a sine wave. The object speeds up as it approaches the centre, reaches maximum speed there, then slows as it climbs to the far extreme, pauses, and reverses — over and over.

The pendulum

A simple pendulum — a mass swinging on a string — is the classic example. For small swings, its period (the time for one full back-and-forth) depends only on the length of the string and the strength of gravity:

T = 2π Lgperiod depends on length L and gravity g — not on the mass

One of the most surprising facts in physics hides in that formula: the period does not depend on the mass of the bob, nor on how wide the swing is (for small angles). A heavy weight and a light one on strings of equal length keep identical time. This is exactly why pendulums made such reliable clocks for centuries.

Try it in the calculatorEnter T = 2*pi*sqrt(L/g) to find a pendulum's period.
Open calculator

Amplitude, period and frequency

Three quantities describe any oscillation. The amplitude is how far the object swings from the centre — the size of the motion. The period is the time for one complete cycle. The frequency is the number of cycles per second, measured in hertz, and it is simply one divided by the period. A fast oscillation has a short period and a high frequency; a slow one has a long period and a low frequency.

A key feature of SHM: for small oscillations, the period is independent of the amplitude. Whether a pendulum swings through a wide arc or a tiny one, each swing takes the same time. This property is called isochronism.

Energy in oscillation

During simple harmonic motion, energy sloshes continuously between two forms. At the extremes of the swing, the object is momentarily still, and all its energy is potential — stored in the stretched spring or the raised pendulum. At the centre, the object moves fastest, and all that energy has become kinetic. In an ideal system with no friction, the total stays constant and the motion never dies away.

Why it matters everywhere

Simple harmonic motion is far more than swings and springs. The same mathematics describes the vibration of guitar strings and air columns that produce musical notes, the oscillation of atoms in a crystal, the alternating current in your power outlet, and the way a building sways in an earthquake. Understanding SHM gives you a single framework for an astonishing range of phenomena — which is why it appears so early and so often in physics courses.

Beyond the ideal: damping and resonance

Real oscillations eventually stop, because friction and air resistance drain energy — a process called damping. And if you push an oscillating system at just the right frequency, the amplitude can grow dramatically, a phenomenon called resonance. Resonance is why a singer can shatter a glass and why soldiers break step when crossing a bridge. These refinements build directly on the simple harmonic foundation.

Key takeaways

Advertisement

← Back to all guides