The Doppler effect, with the signs kept straight
A moving source emits each wavefront from a different place. The wavefronts themselves still travel at c in the medium, but their spacing along the direction of motion is compressed ahead and stretched behind. The observer counts the fronts arriving per second, and that count is the observed frequency.
f′ = f₀ · (c ± v_obs) / (c ∓ v_src)
The upper signs in the numerator and the lower in the denominator belong together: both describe approach. The asymmetry between the two is not cosmetic. A moving source changes the wavelength in the medium, while a moving observer changes only the rate at which it meets wavefronts. That is why the two speeds do not simply subtract.
| Case | Formula | 500 Hz example at 30 m/s |
|---|---|---|
| Source approaches | f₀c/(c − v) | 547.9 Hz |
| Source recedes | f₀c/(c + v) | 459.8 Hz |
| Observer approaches | f₀(c + v)/c | 543.7 Hz |
| Observer recedes | f₀(c − v)/c | 456.3 Hz |
Wavelength, not frequency, is what the medium sees
Ahead of the source the wavefronts are separated by (c − v)/f₀; behind, by (c + v)/f₀. At 500 Hz and 30 m/s those are 0.626 m and 0.746 m instead of 0.686 m. The observer's frequency is then c divided by whichever spacing applies, which is exactly the formula above. Drawing the circles makes this concrete: the spacing you can measure on the picture is the wavelength, and the count arriving per second is the readout.
Cents and perception
A frequency shift is heard as a pitch shift, and pitch is logarithmic. One octave is 1200 cents, so a ratio r is 1200·log₂r cents. The 30 m/s approach above is 47.9 Hz at 500 Hz, a ratio of 1.096, or 158 cents — between a minor and a major second. A passing ambulance at 25 m/s (90 km/h) with a 700 Hz siren drops from 755 Hz to 652 Hz as it passes, about 250 cents, a bit more than two semitones.
The drop happens at the instant of passing, not gradually: while the source moves along a line that does not point at you, only the radial component of its velocity shifts the frequency.
When the simple formula fails
The formula assumes a stationary medium, a source slower than sound, and motion along the line joining source and observer. Above c the geometry changes completely and you get a shock wave; at an angle you must use the radial velocity v·cosθ. At Mach 0.87 the formula still gives a finite, large shift, which is why the bench stops at 300 m/s rather than pretending to model a sonic boom.
Uses beyond sirens
Doppler radar measures the radial speed of rain and cars from the shift. Medical ultrasound measures blood velocity the same way, at megahertz frequencies where a few hundred hertz of shift is a few centimetres per second. Astronomy uses redshift, which is the same effect for light with a relativistic correction. And a musician's vibrato is a deliberate, periodic Doppler-free pitch modulation — the same perception, a different mechanism.
Questions
Does the sound speed change when the source moves?
No. In a still medium the wave speed is set by the medium. The source changes the spacing of the wavefronts, not how fast they travel.
Why is the observed frequency higher when approaching?
Because the source is chasing its own wavefronts, so successive fronts are emitted closer together and arrive more often.
Set 500 Hz and 30 m/s approaching: 547.9 Hz and 158 cents. Switch to receding and the same speed gives 459.8 Hz.
Open the studioWritten from standard Fourier analysis, digital signal processing and acoustics; the worked numbers can be reproduced in the studio linked above.
Back to the guides