← Physics Physics · Chapter 1

Oscillation basics

A mass on a spring is the simplest oscillator. Its rules (Hooke's law, simple harmonic motion and energy exchange) describe vibrating molecules, heartbeat sensors and many lab instruments.

1. Read each section and learn the formulas in the essentials by heart.
2. Open the 3D lab under each section, move one slider at a time and check the worked example against what you see.
3. Test yourself with the 30-question quiz and look up any missed term in the glossary.
Overview

Chapter map

The chapter in one picture. Click a box to jump to its part.

OscillationbasicsSpringF = −kxT = 2π√(m/k)Simple harmonicx = A cos(ωt)ω = √(k/m)Energy½mv² + ½kx²E = ½kA²
  1. SpringF = −kx · T = 2π√(m/k)
  2. Simple harmonicx = A cos(ωt) · ω = √(k/m)
  3. Energy½mv² + ½kx² · E = ½kA²
Part 1

Hooke's law and the mass-spring system

The essentials

  • Hooke's law: the spring force is F = −kx, proportional to the displacement x and opposite to it.
  • The spring constant k (N/m) measures stiffness: a larger k means a stiffer spring.
  • Period of a mass-spring system: T = 2π√(m/k); frequency f = 1/T.
  • A heavier mass gives a longer period; a stiffer spring gives a shorter period.
  • For an ideal spring the period does not depend on the amplitude.

Stretch or compress a spring by a distance x from its rest length and it pulls back with a force F = −kx. This is Hooke's law. The minus sign means the force always points back toward the equilibrium position. The constant k, in newtons per metre, is the spring constant: it tells you how stiff the spring is.

Attach a mass m and release it. The spring accelerates the mass toward equilibrium, the mass overshoots, and the spring pulls it back again. The motion repeats with a fixed period T = 2π√(m/k). The frequency f = 1/T counts cycles per second (hertz).

m = 1.00 kg, k = 10 N/m. Stretch by x = 0.20 m: F = −10 × 0.20 = −2.0 N (2 N back toward equilibrium).
Period: T = 2π√(1.00/10) = 2π × 0.316 = 1.99 s. Frequency: f = 1/1.99 = 0.50 Hz.
Make the mass 4.00 kg: T = 2π√(0.40) = 3.97 s, exactly twice as long.

In the 3D lab three sliders control the spring. Mass (0.25 to 4 kg) makes each cycle slower. Spring stiffness (2 to 40 N/m) makes it faster. Initial amplitude (0.05 to 0.80 m) sets how far you pull the mass before release. Watch the gold arrow: it is the restoring force, longest at the turning points and zero at equilibrium. Change the amplitude and time a cycle: the period stays the same.

In plain words: a heavy mass is lazy, a stiff spring is impatient. Their ratio m/k sets the rhythm, not how hard you pull.
Go further

Because T depends on √m, doubling the period needs four times the mass. Real springs obey Hooke's law only for small stretches; beyond the elastic limit they deform permanently.

Interactive 3D model: move the sliders and watch what changes.

Part 2

Simple harmonic motion

The essentials

  • Simple harmonic motion (SHM): acceleration is proportional to displacement and opposite to it, a = −ω²x.
  • Position: x(t) = A cos(ωt), with angular frequency ω = √(k/m) = 2π/T.
  • Maximum speed v_max = Aω, reached at equilibrium; speed is zero at the turning points.
  • Maximum acceleration a_max = Aω², reached at the turning points; it is zero at equilibrium.
  • Velocity leads displacement by a quarter cycle; acceleration is opposite in phase to displacement.

Combine Hooke's law with Newton's second law: ma = −kx, so a = −(k/m)x. Any motion where the acceleration is proportional to the displacement and points the other way is simple harmonic motion. Its solution, for a mass released from rest at x = A, is x(t) = A cos(ωt).

The angular frequency ω = √(k/m) is measured in radians per second. It links to period and frequency by ω = 2π/T = 2πf. The amplitude A is the largest displacement from equilibrium.

  • At the turning points (x = ±A): speed is zero, force and acceleration are largest.
  • At equilibrium (x = 0): force is zero, speed is largest.
m = 1.00 kg, k = 10 N/m, A = 0.45 m.
ω = √(10/1.00) = 3.16 rad/s, so T = 2π/3.16 = 1.99 s.
vmax = Aω = 0.45 × 3.16 = 1.42 m/s (at x = 0).
amax = Aω² = 0.45 × 10 = 4.5 m/s² (at x = ±0.45 m).

In the 3D lab the harmonic mode uses the same sliders: mass, stiffness and amplitude. The graph shows normalized traces of position, velocity and acceleration. Observe that acceleration is always the mirror image of displacement, and that the velocity curve peaks a quarter cycle before the position curve. Pause at a turning point, then step toward the centre: speed grows while the force shrinks. Doubling the amplitude doubles vmax and amax but leaves ω unchanged.

In plain words: the force always points home, so the mass is fastest when it passes home and stops where it is farthest away.

Interactive 3D model: move the sliders and watch what changes.

Part 3

Energy in an oscillator

The essentials

  • Elastic potential energy: U = ½kx²; kinetic energy: K = ½mv².
  • Without damping the total E = K + U is constant and equals ½kA².
  • At the turning points all energy is potential; at equilibrium all energy is kinetic.
  • Total energy grows with the square of the amplitude: double A gives four times E.
  • At x = A/2 the energy is 25 % potential and 75 % kinetic.

A stretched spring stores elastic potential energy U = ½kx². A moving mass carries kinetic energy K = ½mv². During an oscillation the two forms trade places twice per cycle. Without friction or damping, their sum stays fixed: this is conservation of mechanical energy.

At a turning point the mass is momentarily at rest, so all the energy is in the spring: E = ½kA². At equilibrium x = 0, so all the energy is kinetic: E = ½mvmax². Setting the two equal gives vmax = A√(k/m) = Aω, the same result as in simple harmonic motion.

k = 10 N/m, m = 1.00 kg, A = 0.45 m.
Total energy: E = ½ × 10 × 0.45² = 1.01 J.
At x = 0.225 m (half the amplitude): U = ½ × 10 × 0.225² = 0.25 J, so K = 1.01 − 0.25 = 0.76 J.
Speed there: v = √(2K/m) = √(1.52) = 1.23 m/s.
Double the amplitude to 0.90 m: E = ½ × 10 × 0.81 = 4.05 J, four times larger.

In the 3D lab the energy mode shows bars for kinetic, potential and total energy. Move the amplitude slider and watch the total bar grow with A². Move mass: the total energy does not change (it depends on k and A only), but the mass moves more slowly. Move stiffness: for the same amplitude a stiffer spring stores more energy. Observe that the total bar stays flat while the two coloured bars swap.

In plain words: energy sloshes between the spring and the motion; without friction none is lost.
Go further

Kinetic and potential energy each oscillate at twice the frequency of the motion, because each peaks twice per cycle. Their time averages are equal: on average half the energy is kinetic and half potential.

Interactive 3D model: move the sliders and watch what changes.

Test yourself

Quiz

30 questions in random order. The explanation appears after each answer.

Key words

Glossary cards

Read the word, try to say what it means, then tap the card to flip it.