Waves & Oscillations · Simulation

26 March 2026 · Updated 18 August 2026 · on the concept map

The Doppler Effect

In 1842, Austrian physicist Christian Doppler described a phenomenon that anyone who has heard an ambulance siren knows intuitively: the pitch of a sound changes depending on whether the source is moving toward or away from you. This apparent change in frequency (or wavelength) due to relative motion between source and observer is now called the Doppler Effect.

How It Works

When a sound source moves toward you, each successive wavefront is emitted from a position slightly closer. The wavefronts compress together, shortening the wavelength and raising the perceived frequency (higher pitch). When the source moves away, the opposite happens — wavefronts stretch apart, lowering the frequency (lower pitch).

The observed frequency is given by:

fobs=fsource⋅vwavevwave∓vsourcef_{\text{obs}} = f_{\text{source}} \cdot \frac{v_{\text{wave}}}{v_{\text{wave}} \mp v_{\text{source}}}

where the minus sign applies when the source approaches (frequency increases) and the plus sign when it recedes (frequency decreases).

ScenarioObserved FrequencyObserved Wavelength
Source approachingHigherShorter
Source stationaryUnchangedUnchanged
Source recedingLowerLonger
Source at wave speedInfinite (sonic boom)Zero (shock wave)

Light: Red Shift and Blue Shift

The Doppler effect applies to all waves, including light. When a star or galaxy moves toward us, its light is compressed to shorter wavelengths — shifted toward the blue end of the spectrum (blue shift). When it moves away, the light shifts toward red (red shift).

Δλλ0=vc\frac{\Delta \lambda}{\lambda_0} = \frac{v}{c}

This simple relationship is the foundation of modern observational cosmology. Edwin Hubble's discovery that distant galaxies are redshifted led to the realization that the universe is expanding.


The source emits 440 Hz; observer A (ahead) hears 1055.4 Hz, observer B (behind) hears 277.9 Hz. The 550 nm line shifts to 468 nm approaching, 633 nm receding.
Slow motion with the true geometry: a front leaves every period, one real wavelength v/f apart, and spreads while the source moves at v_source/v_wave of the wave's speed, so the fronts bunch up ahead and stretch out behind; both axes are in metres. The coloured strip is the visible spectrum, 380 to 750 nm. The spectrum uses the classical shift, λ = λ₀(1 ∓ v/c).

Wavefront controls

200 m/s
343 m/s
440 Hz
0.50
fsource = 440 Hz
Mach number vsource/vwave = 0.58
◆ fapproach = 1055.4 Hz
◇ frecede = 277.9 Hz

Spectrum controls

0.15 c

Things to Try

  1. Increase source speed from 0 to 330 m/s — watch the wavefronts compress in front of the source and stretch behind it.
  2. Let the source catch the wave — press Mach 1, then Mach 2. Each preset sets the speeds and plays the source across the picture. At Mach 1 the fronts pile into a wall at the source; at Mach 2 they fall behind it into a cone, a shock wave (sonic boom), whose dotted edges make an angle θ with sin θ = 1/M. The approach formula blows up at equal speeds and turns negative beyond them, so the readout says "none (shock)": nothing reaches observer A before the boom.
  3. Vary the frequency — a higher frequency packs the wavefronts closer together, but the squeeze ahead of the source, a factor of 1−vs/v1 - v_s/v, stays the same.
  4. Adjust the spectrum velocity slider — watch the emission line shift from its rest position toward blue (approaching) and red (receding).
  5. Compare the readout panel — note how fapproachf_{\text{approach}} and frecedef_{\text{recede}} change asymmetrically as speed increases.

Real-World Applications

  • Police radar guns emit radio waves at a known frequency. The reflected wave from a moving car is Doppler-shifted, and the speed is calculated from the frequency difference. The underlying principle relates to wave speed, frequency, and wavelength.

Police radar gun

  • Doppler weather radar measures the velocity of rain droplets and cloud formations by analyzing the frequency shift of reflected microwave pulses. This enables meteorologists to detect rotation inside thunderstorms (tornado signatures).

Doppler weather radar station

  • Medical echocardiography uses ultrasound waves reflected off moving blood cells. The Doppler shift reveals blood flow speed and direction, helping diagnose heart valve problems.

Doppler echocardiogram

  • Exoplanet detection (radial velocity method): A planet orbiting a star causes the star to wobble slightly. This wobble produces a periodic Doppler shift in the star's spectral lines, revealing the planet's mass and orbital period — even when the planet is invisible.

Star wobble from exoplanet

  • Laser cooling: Atomic clocks exploit this same red/blue-shift asymmetry to slow atoms to near standstill — tune a laser slightly below an atom's resonance and the beam it happens to be moving toward is Doppler-shifted closer to resonance, pushing back harder than the beam it's moving away from.

Beyond classical Doppler — At relativistic speeds (significant fraction of cc), the classical formula breaks down. Special relativity gives the relativistic Doppler effect, which includes a transverse component: even a source moving perpendicular to the line of sight shows a frequency shift due to time dilation.

Explore more simulations

Every concept on PhysicStuff has an interactive simulation. No login, no setup required.