Simple Harmonic Motion — Springs, Pendulums and x = A cos(ωt)
Simple harmonic motion: the mathematics of oscillation. Period formulas for springs and pendulums, energy, and real examples.
Quick answer
Simple harmonic motion is oscillation where the restoring force is proportional to displacement (F = −kx): springs, pendulums (small swings), and countless systems. Position follows a cosine curve in time.
Example: A 1 m pendulum has period T = 2π√(1/9.8) ≈ 2.0 s — the famous 'seconds pendulum' that ticks once per swing.
What you will learn
- State the defining condition of SHM (F = −kx)
- Use T = 2π√(m/k) and T = 2π√(L/g)
- Describe position as x = A cos(ωt)
- Explain energy exchange in oscillation
What makes motion 'simple harmonic'
Many systems oscillate — but simple harmonic motion (SHM) is the special, mathematically clean case defined by one rule:
The restoring force is proportional to the displacement and points back toward equilibrium (the minus sign). Stretch a spring twice as far, get twice the pull-back. This single condition guarantees sinusoidal motion — and an astonishing number of systems obey it, at least approximately.
The spring-mass system
Hang a mass on a spring of stiffness , pull it down, and release. Hooke's law () is exactly the SHM condition, giving:
Heavier mass → slower oscillation. Stiffer spring → faster. Notice what's missing: the amplitude. Pull it 2 cm or 10 cm — the period is identical (ideally). That amplitude-independence is SHM's signature and why springs make good timekeepers.
The simple pendulum
A simple pendulum — mass on a light string of length — also qualifies, but only for small angles, where the restoring component of gravity is approximately proportional to displacement:
Longer string → slower swing. Mass cancels out entirely. Clockmakers exploited this for centuries: to slow a clock, lengthen the pendulum.
Position as a cosine
Solving with yields a differential equation whose solution is:
- : amplitude — maximum displacement
- : angular frequency — how fast phase advances
- : phase constant — where in the cycle you start
This is why SHM and uniform circular motion share mathematics: cosine is literally the shadow of circular motion projected onto a line.
Energy sloshing back and forth
In SHM, energy continuously trades forms:
- At maximum displacement: all potential (), instantaneously at rest.
- At equilibrium: all kinetic (), moving fastest.
- Total mechanical energy stays (no friction).
This exchange is why the mass moves fastest through the middle and momentarily stops at the turnarounds — the velocity profile is itself sinusoidal.
Small angles and idealizations
Real springs aren't perfectly Hookean at large stretch, real pendulums aren't point masses on massless strings, and air drag always steals energy. The SHM formulas are idealizations — superbly accurate for small oscillations, progressively worse beyond.
Physicists love SHM anyway because it's the universal first approximation: nearly any stable equilibrium, examined closely enough, looks like . Molecules vibrating, buildings swaying, LC circuits ringing — all SHM at heart.
SHM is the hydrogen atom of oscillations: the simple case that unlocks thousands of real systems. Master it once, recognize it everywhere.
Variables and units
| Symbol | Name | Unit | Meaning |
|---|---|---|---|
| Period | s | Time for one complete oscillation | |
| Amplitude | m | Maximum displacement from equilibrium | |
| Angular frequency | rad/s | Phase advance per second; ω = 2πf | |
| Spring constant | N/m | Spring stiffness | |
| Length | m | Pendulum string length |
Common mistakes
For small angles, T = 2π√(L/g) — no mass, no amplitude. Galileo's great discovery: a heavy bob and a light bob swing together.
SHM specifically requires restoring force proportional to displacement (F = −kx). A bouncing ball or a swing pushed hard are oscillations, but not SHM.
It's a small-angle approximation (≲15°). At 60° the true period is about 7% longer — the approximation visibly breaks.
Real-world applications
Pendulum clocks kept the best time for 300 years because a pendulum's period is nearly independent of swing size.
Car suspensions are tuned spring-mass-damper systems — the spring sets the natural frequency, the shock absorber kills the bounce.
Seismometers detect earthquakes with a mass on a spring: the ground moves, inertia keeps the mass still, and the relative motion is recorded.
Frequently asked questions
What is ω (omega)?
Angular frequency — how fast the oscillation cycles in radians per second. ω = 2πf = 2π/T. It appears because the math of SHM is the math of circular motion projected onto one axis.
Why does 2π appear in the period formulas?
A full cycle is 2π radians of phase. The cosine completes one oscillation when its argument advances by 2π, hence T = 2π/ω.
Is a playground swing simple harmonic motion?
Approximately, for small swings — that's the whole point of the 'simple' qualifier. Large swings need the full nonlinear treatment, and the period grows slightly.
What is damping?
Damping is friction-like loss that shrinks the amplitude over time. Light damping barely changes the period; heavy damping can stop oscillation entirely (like a car's shock absorbers).