Skip to content
PhysicsPhy
Start learning

Physics · Lesson 7.1

Oscillatory Motion & Simple Harmonic Motion

Vibrations with a restoring force proportional to displacement: the definition a = −ω²x and its solutions.

Core syllabus1 linked experiment
01

Learning objectives

By the end of this lesson, you should be able to:

  • Define oscillatory motion and its amplitude, period and frequency
  • State the SHM condition a = −ω²x and identify which systems satisfy it
  • Write x = A sin(ωt) and v = Aω cos(ωt) for a mass–spring
  • Apply ω = √(k/m) for springs and compare with the pendulum
02

Lesson

Pluck a guitar string, push a child on a swing, strike a tuning fork — in every case something is displaced from its rest position and, instead of settling straight back, it overshoots, returns, overshoots again. This back-and-forth motion about an equilibrium position is oscillatory motion, and it is one of the most repeated patterns in physics: bridges sway in wind, atoms in a solid vibrate about their lattice sites, and a quartz crystal in a wristwatch oscillates over a million times per second to keep time.

The special case that deserves its own name is simple harmonic motion (SHM): oscillation in which the restoring force is exactly proportional to the displacement. Its mathematics is astonishingly clean — one equation, a = −ω2x, describes the mass on a spring, the small-amplitude pendulum, and vibrating molecules alike. In the SHM oscillator lab below you can hang a mass on a spring, displace it, and watch the live displacement trace confirm every formula on this page.

Vibrations, equilibrium and restoring forces

An oscillator always has an equilibrium position — a place where the net force on it is zero and it can rest indefinitely. Pull it away from that position and a restoring force appears, so named because it always points back toward equilibrium. A stretched spring pulls back on the mass; a pendulum lifted to one side feels a component of gravity dragging it back down the arc. Give the oscillator some speed as it passes equilibrium and it sails through, the restoring force then slows it on the far side, and the cycle repeats.

Three quantities describe any oscillation. The amplitude A is the maximum displacement from equilibrium, measured in metres (m). The period T is the time for one complete back-and-forth cycle, in seconds (s). The frequency f counts cycles per second, f = 1/T, measured in hertz (Hz). A pendulum that completes one full swing every 2 s has T = 2 s and f = 0.5 Hz.

The SHM condition: a = −ω²x

Simple harmonic motion is defined by how the restoring force grows with displacement. For a mass on a spring, Hooke’s law gives F = −kx, where k is the spring constant in newtons per metre (N/m) and the minus sign records that the force opposes the displacement. Newton’s second law, F = ma, then yields a = −(k/m)x, customarily written a = −ω2x with ω2 = k/m. The acceleration is proportional to the displacement and always directed back toward equilibrium.

That innocent-looking equation is the whole subject. It says the oscillator’s acceleration is biggest at the extremes (where it points inward, braking the motion) and zero at the centre (where the speed is greatest). The only family of functions whose second derivative is a negative constant times the function itself is the sine and cosine family — which is why every graph on this page is a sinusoid.

The sinusoidal solution and its relatives

Solving a = −ω2x gives the displacement as x = A sin(ωt), with A the amplitude and ω the angular frequency in radians per second (rad/s), ω = √(k/m). Differentiating once gives the velocity v = Aω cos(ωt), so the maximum speed is vmax = Aω, reached as the mass shoots through equilibrium. Differentiating again gives a = −ω2A sin(ωt), so the maximum acceleration is amax = ω2A, at the turning points where the displacement is largest.

The period follows by asking how long the argument of the sine takes to grow by 2π: since ωt advances by ω each second, one cycle takes T = 2π/ω = 2π√(m/k). Notice what is missing from that formula: the amplitude. A stiff spring snapped a short distance and the same spring pulled far both complete a cycle in the same time — a property called isochronism, which is exactly what a clock needs. The SHM oscillator lab below lets you change m, k and A independently and check each prediction against the live trace.

Where the model holds — and where it fails

No real system obeys F = −kx perfectly. The pendulum satisfies it only approximately and only for small angles (Topic 7.4 makes this precise). Real springs depart from Hooke’s law when stretched far, and every real oscillator loses energy to friction and air drag, so its amplitude decays slowly rather than holding steady — the damping treated in Topic 7.12.

The model survives these insults because so many systems spend their working lives close to equilibrium, where any smooth restoring force is, to good approximation, linear in displacement. That is why SHM describes not just classroom springs but the vibration of atoms in molecules, the trembling of a bridge deck, and the oscillation of charge in the tuning circuit of a radio.

03

Worked example

A 0.5 kg mass hangs from a spring of stiffness k = 200 N/m and is pulled down 0.1 m from equilibrium, then released. Find (a) the angular frequency ω, (b) the period T and frequency f, (c) the maximum speed, and (d) the maximum acceleration.

Step 1 — given: m = 0.5 kg, k = 200 N/m, A = 0.1 m.

Step 2 — principle: ω = √(k/m), T = 2π√(m/k), vmax = Aω, amax = ω2A.

Step 3 — (a): ω = √(200/0.5) = √400 = 20 rad/s.

Step 4 — (b): T = 2π√(0.5/200) = 2π√0.0025 = 2π × 0.05 = 0.314 s; f = 1/T = 1/0.314 = 3.18 Hz.

Step 5 — (c) and (d): vmax = Aω = 0.1 × 20 = 2 m/s (at the equilibrium point); amax = ω2A = 400 × 0.1 = 40 m/s2 (at the highest and lowest points).

Answer: ω = 20 rad/s, T = 0.314 s, f ≈ 3.2 Hz, vmax = 2 m/s, amax = 40 m/s2. Reasonableness check: amax ≈ 4g for a gentle 10 cm pull sounds large, but a stiff 200 N/m spring on half a kilogram is genuinely snappy — and ω2 = k/m = 400 checks out dimensionally as (N/m)/kg = s−2.

04

Equations

SHM defining equationa = −ω² x
Solutionsx = A sin(ωt), v = A ω cos(ωt), a_max = ω²A
Mass–springω = √(k/m), T = 2π√(m/k)
05

Key points

  • Oscillatory motion is repeated back-and-forth movement about an equilibrium position, driven by a restoring force.
  • SHM is the special case with restoring force proportional to displacement: F = −kx, giving a = −ω2x with ω = √(k/m).
  • Solutions are sinusoidal: x = A sin(ωt), v = Aω cos(ωt); vmax = Aω at equilibrium, amax = ω2A at the extremes.
  • Mass–spring period T = 2π√(m/k) — independent of amplitude (isochronism).
  • Amplitude A in metres, period T in seconds, frequency f = 1/T in hertz; ω = 2πf in rad/s.
  • The model is an approximation: small angles for pendulums, Hooke-region for springs, no damping — yet it matches countless near-equilibrium systems.
06

Common misconceptions

Common mistake

SHM means moving at constant speed back and forth.

Correct understanding

The speed changes continuously: maximum at the centre, zero at the turning points. What stays constant is the period, not the speed.

Common mistake

A bigger amplitude makes the oscillation take longer, since there is more distance to cover.

Correct understanding

For ideal SHM the period does not depend on amplitude at all. A larger amplitude means a larger restoring force and proportionally larger speeds, and the two effects cancel exactly: T = 2π√(m/k) contains no A.

Common mistake

At maximum displacement the velocity and acceleration are both maximum.

Correct understanding

They are out of step by a quarter cycle. At the extremes the displacement and acceleration are maximum but the velocity is momentarily zero; at the centre the velocity is maximum and the acceleration is zero.

07

Check your understanding

1. Which condition defines simple harmonic motion?

2. A 0.5 kg mass on a 200 N/m spring oscillates. Its period is

3. Where in its cycle does an SHM oscillator have its greatest speed?

08

Frequently asked questions

Why use ω instead of plain frequency f?

Because the natural time unit of the sine function is the radian. Writing x = A sin(ωt) with ω = 2πf keeps every derivative clean (v = Aω cos ωt) and avoids writing 2πf in every formula. ω is measured in radians per second, f in hertz — two units for the same underlying rate.

Is a pendulum really in SHM?

Only approximately. Its restoring force is mg sin θ, which is proportional to displacement only when sin θ ≈ θ, true for small angles. Below about 10° the error is under a percent, which is why the pendulum is treated as an SHM system in Topic 7.4.

Does the mass of the spring itself matter?

A little. The standard formula assumes a massless spring. A real spring’s own mass effectively adds roughly a third of it to the oscillating mass — a small correction you would only notice with a heavy spring and a light load.

NERDLYY · FEEDBACK

Help shape Nerdlyy

Your feedback goes directly to the team. We read every submission.

No reply needed — you can send feedback without sharing contact details.