Pro 🔒~20 min

Doppler Effect

Observe frequency shifts as source and observer move relative to each other

How it works

The Doppler effect occurs because a moving source continuously changes its position relative to the wavefronts it emits. As the source approaches, wavefronts pile up — wavelength decreases, frequency increases. As it recedes, wavefronts spread — frequency decreases. The Doppler formula applies to any wave: sound, light (redshift/blueshift), and even radar speed guns. When source speed equals sound speed (Mach 1), wavefronts accumulate at one point forming a shock wave — the sonic boom. At Mach > 1, the source outruns its own wavefronts, creating a Mach cone. In medicine, Doppler ultrasound uses these frequency shifts to measure blood flow velocity.

Why does an ambulance siren sound different as it passes you — even though the siren never changes pitch?

The siren emits the same frequency the entire time. What changes is the relative motion between the sound waves and your ears.

What you'll learn

  • Wave Compression Ahead. When a source moves toward you, each successive wavefront is emitted from a position closer to you. The wavefronts pile up, shortening the wavelength and raising the frequency you hear. This is why an approaching siren sounds higher-pitched.
  • The Doppler Formula. The observed frequency depends on both the source speed and the wave speed in the medium. When the source approaches, the denominator shrinks, increasing the observed frequency. When it recedes, the denominator grows, decreasing it.
  • Breaking the Sound Barrier. At Mach 1, the source travels as fast as its own sound waves. All wavefronts pile up at a single point, creating a massive pressure spike — the sonic boom. Beyond Mach 1, the source outruns its wavefronts, forming a cone-shaped shock wave.
  • Doppler in Real Life. Radar speed guns bounce microwaves off moving cars and measure the frequency shift. Doppler ultrasound measures blood flow velocity. Astronomers use redshift to determine that distant galaxies are moving away from us — evidence for the expanding universe.
  • Medium Matters. The Doppler effect depends on the speed of sound in the medium. Sound travels at 343 m/s in air but 1,480 m/s in water. The same source speed produces a much smaller frequency shift in water because the waves travel so much faster relative to the source.

Step-by-step

  1. Set source frequency (try 440 Hz — concert A) and drag the source speed slider.
  2. The circular wavefronts animate in real time showing compression ahead and expansion behind.
  3. The observer panel displays observed frequency and the percentage change from source frequency.
  4. Enable Pro parameters to reposition the observer or switch to water as the medium and notice how the much higher wave speed changes the effect.

Key formulas

  • fobs=fsv±vobsvvsf_{obs} = f_s \cdot \frac{v \pm v_{obs}}{v \mp v_s}Doppler formula: upper signs when source/observer approach, lower signs when receding
  • M=vsvsoundM = \frac{v_s}{v_{sound}}Mach number: ratio of source speed to sound speed
  • λfront=vvsfs\lambda_{front} = \frac{v - v_s}{f_s}Compressed wavelength in front of a moving source

Frequently asked questions

An ambulance moves toward an observer at 30 m/s with a siren at 800 Hz. What frequency does the observer hear? (v_sound = 343 m/s).
The correct answer is: ≈ 877 Hz. Observer stationary, source approaching: f_obs = f_s × v / (v − v_s).
The same ambulance is now moving away. How does the observed frequency compare to the source frequency?
The correct answer is: Lower than 800 Hz. Source receding: f_obs = f_s × v / (v + v_s). Is it higher or lower than 800 Hz?
What happens to the wavefront pattern when source speed exactly equals the speed of sound (Mach 1)?
The correct answer is: Wavefronts pile up at one point creating a shock wave. All wavefronts accumulate at the same point. What physical phenomenon does this produce?