The idea: two speeds in one wave

Add two waves whose wavelengths are almost the same. Where their crests line up the sum is twice as big; a little farther on one has slipped half a wavelength behind the other and they cancel. The sum is a fast wave, the carrier, inside slow lumps, the groups, outlined by an envelope (the dashed curve on the canvas). In sound you hear this as beats: two close notes swell and fade.

Crests and groups need not move at the same speed. A crest moves at the phase velocity v_p = ω/k. A group moves at the group velocity v_g = dω/dk, and that is the speed at which the energy, and any message, travels. The red dot on the canvas rides one crest and the blue dot rides one group.

The sum of two close waves: a fast carrier wave inside a dashed envelope made of lumps 50 units long; a red arrow on one crest labelled phase velocity v_p and a blue arrow on one lump labelled group velocity v_g
A crest moves at v_p = ω/k; the group it sits in moves at v_g = dω/dk.

Where the formula comes from

Write the two waves with k₁,₂ = k̄ ∓ Δk/2 and ω₁,₂ = ω̄ ∓ Δω/2. The sum-to-product identity gives

cos(k₁x − ω₁t) + cos(k₂x − ω₂t) = 2 cos(Δk·x/2 − Δω·t/2) · cos(k̄x − ω̄t)
                                  └──── envelope ────┘   └── carrier ──┘

The carrier's crests are where k̄x − ω̄t is constant, so they move at ω̄/k̄. The envelope's peaks are where Δk·x − Δω·t is constant, so they move at Δω/Δk. For two waves very close together that ratio becomes the derivative dω/dk.

Dispersion: when the speed depends on the wavelength

The rule that gives ω for each k is the dispersion relation. If every wavelength moves at the same speed, ω = v·k and v_g = v_p: crests stay put inside their groups (Demo 1). Otherwise the medium is dispersive and the two speeds differ. For ω ∝ kᵖ, v_g = p·v_p:

Wavesω(k)v_g / v_pWhat you see
light in vacuum, sound in airω = c·k1groups and crests together
deep-water wavesω = √(g·k)½crests run forward through the groups (Demo 2)
ripples (surface tension)ω = √(σk³/ρ)3/2groups overtake their crests (Demo 3)
a free quantum particleω = ħk²/2m2the packet moves at the particle's speed ħk/m (Demo 4)
An x–t diagram with time going up. A red line for a crest with slope 1 and blue lines for the group with slopes one half, 1 and 2, all starting at x = 20
On an x–t diagram each speed is a slope: the crest (red) against groups at ½, 1 and 2 times its speed.

Wave packets and spreading

Forty-one waves with a spread of wavelengths around 5 are in step only in one place, so they add up to a single lump: a wave packet (choose 41 waves). It moves at the group velocity. Without dispersion every component moves at the same speed, so the packet keeps its shape exactly (Demo 5). With dispersion the components drift apart: the packet spreads out and gets lower as it goes (Demo 6). A narrower packet needs a wider spread of wavelengths, so it spreads faster.

Top: a wave packet at t = 0 and the same packet at t = 30, unchanged in shape and shifted by 30, with no dispersion. Bottom: with deep-water dispersion the packet at t = 30 has moved only 15 and is wider and lower
No dispersion: the packet moves 30 and keeps its shape. Deep water: it moves 15 and spreads.

Where you meet it

WhereWhat the two speeds do
Swell from a far stormLong waves arrive first; groups travel at half the crest speed
A boat's wakeCrests appear at the back of the wave group and vanish at the front
Optical fibresDifferent colours have different group velocities, so short pulses spread and limit the data rate
Electrons and other particlesA particle is a wave packet; its speed is the group velocity
Tuning two strings by earThe beats slow down and stop as the two notes match

What the page leaves out

Real dispersion relations are not exact powers of k (deep and shallow water, glass near an absorption line), so v_g/v_p changes with the wavelength; near absorption the group velocity can even look faster than light without any signal being faster. The page uses dimensionless units, one carrier wavelength, two or forty-one components, and shows the marked group's path at the group velocity of the middle wavelength.