Doppler Effect Simulator — Visualize Wavefront Compression

simulator intermediate ~8 min
Loading simulation...
Approaching: 514 Hz, Receding: 384 Hz — A source at 50 m/s shifts a 440 Hz tone by ±17%.

A 440 Hz source moving at 50 m/s produces 514 Hz for an observer ahead (approaching) and 384 Hz for an observer behind (receding).

Formula

f_obs = f₀ × (v_w ± v_obs) / (v_w ∓ v_s)
λ_front = (v_w - v_s) / f₀
M = v_s / v_w

The Doppler Effect in Everyday Life

You have almost certainly experienced the Doppler effect: the pitch of an ambulance siren dropping as it passes by, the whine of a race car shifting from high to low, or the change in frequency of a train horn at a crossing. In 1842, Austrian physicist Christian Doppler predicted that the observed frequency of a wave depends on the relative motion between source and observer. His prediction was confirmed experimentally just three years later using musicians playing on a moving train.

The Mathematics of Moving Sources

When a source emitting at frequency f₀ moves toward an observer at speed v_s through a medium where waves travel at speed v_w, the observed frequency is f = f₀ × v_w/(v_w - v_s). The wavefronts ahead are compressed — shorter wavelength, higher frequency. Behind the source, wavefronts are stretched — longer wavelength, lower frequency. This asymmetry is visible in the simulation: concentric circles that are bunched up in front and spread apart behind the moving source.

Shock Waves and Sonic Booms

Something dramatic happens when the source reaches the wave speed (Mach 1): all forward wavefronts pile up at the same point, creating an intense shock wave. Beyond Mach 1, the source outuns its own wavefronts, and a conical shock front — the Mach cone — forms behind it. The half-angle of this cone is arcsin(v_w/v_s). When this shock wave reaches a ground observer, they hear a sudden thunderclap: the sonic boom. Supersonic aircraft, cracking whips, and bullets all produce Mach cones.

Doppler Applications in Science and Technology

The Doppler effect has transformative applications across science and technology. Police radar guns measure vehicle speed from the frequency shift of reflected microwaves. Doppler weather radar detects the velocity of raindrops to map storm rotation and predict tornadoes. In astronomy, the Doppler shift of spectral lines reveals stellar velocities, binary star orbits, and the expansion of the universe. Medical Doppler ultrasound images blood flow non-invasively, a cornerstone of modern cardiology and prenatal care.

FAQ

What is the Doppler effect?

The Doppler effect is the change in observed frequency of a wave when the source or observer is moving. An approaching source compresses wavefronts, raising the frequency; a receding source stretches them, lowering it. This applies to sound, light, and all types of waves.

Why does an ambulance siren change pitch as it passes?

As the ambulance approaches, sound waves are compressed, raising the pitch. As it recedes, waves are stretched, lowering the pitch. The sudden shift occurs at the moment of closest approach, when the velocity component toward you rapidly changes from positive to negative.

What is the Mach number and what happens at Mach 1?

The Mach number is the ratio of the source velocity to the wave speed (M = v_s/v_w). At Mach 1, the source moves at the speed of sound and wavefronts pile up into a single shock wave — a sonic boom. Above Mach 1, a conical shock wave (Mach cone) forms.

How is the Doppler effect used in medicine?

Doppler ultrasound measures blood flow velocity by detecting the frequency shift of ultrasound reflected from moving blood cells. This non-invasive technique helps diagnose heart conditions, blood clots, and vascular diseases.

Sources

Embed

<iframe src="https://homo-deus.com/lab/waves-optics/doppler-effect/embed" width="100%" height="400" frameborder="0"></iframe>