Doppler Effect & Shock Waves

Wavefronts from a moving source. Faster than sound, a Mach cone forms. A free physics simulation in your browser (Doppler effect, Mach number, Shock waves).

How it works and what to look for

f′ = f · c / (c − vs) (approaching), f′ = f · c / (c + vs) (receding), sinθ = c / vs

Even when the source moves, each wavefront spreads at the speed of sound c regardless of the source's speed. So ahead of the source the wavefronts bunch up (higher pitch) and behind it they spread out (lower pitch). That's why an ambulance siren sounds lower after it passes.

At Mach 1 the forward wavefronts pile up on the source; above Mach 1 they overlap in a cone and form a shock wave (sonic boom). The cone angle is sinθ = 1/Mach number, so it gets sharper with speed. "Measured" counts the spacing of wavefronts reaching the observer (timed in screen time).

Today's question: Why is wavefront spacing different ahead of and behind a moving source?

  1. Watch the wavefronts with Mach number 0 and frequency 2 Hz.
  2. Change only Mach number to 0.5. Record the front and rear frequencies.
  3. Then set Mach number to 1.5 and observe the wavefront envelope.

Read the explanation and model assumptions

Ahead of an approaching subsonic source, wavefronts are compressed; behind it they are spread out. A stationary observer receives higher and lower frequencies respectively. A supersonic source produces an envelope of overlapping wavefronts.

The usual approaching-source formula f′ = f/(1−M) assumes M < 1. Do not apply it as an ordinary pitch formula at or above the speed of sound.

Everyday examples

Common misconceptions

Misconception: When a sound source approaches, the sound itself travels faster.
In fact: The speed of sound in air does not change. The wavelength gets shorter, so the frequency you hear is higher.
Misconception: The pitch rises because the sound gets louder as it comes closer.
In fact: Loudness (amplitude) and pitch (frequency) are different things. The Doppler effect is a change in frequency.

Related simulations