Sub topic 3
The Doppler effect: why pitch shifts
This chapter assumes you can rearrange algebraic equations, use the relation v = fλ (speed equals frequency times wavelength), and handle motion in one dimension. Sound in dry air at 20 °C travels at about 343 m/s.
The Doppler effect
When a sound source moves, its waves bunch up ahead of it and spread out behind it. A listener ahead of the source receives more wave crests per second, so the pitch rises. A listener behind hears a lower pitch. The source still emits the same frequency. The shift comes from the motion of the source or listener relative to the air.
The Doppler formula and its sign conventions
For still air with sound speed v:
f' = f (v + vo) / (v − vs)
Here f is the emitted frequency, f' is the heard frequency, vo is the observer's speed toward the source, and vs is the source's speed toward the observer. Use positive values when motion is toward the other party.
def doppler(f, v=343.0, v_observer=0.0, v_source=0.0):
return f * (v + v_observer) / (v - v_source)
print(round(doppler(440, v_source=30), 1)) # 482.2
print(round(doppler(440, v_source=-30), 1)) # 404.6
print(round(doppler(440, v_observer=30), 1)) # 478.5Doppler shift of echoes: radar and ultrasound
A reflector acts as a moving listener, then as a moving source. Its speed u shifts the frequency twice. For a reflector approaching a stationary source and receiver:
f_echo = f (v + u) / (v − u)
For example, a 40 kHz ultrasound pulse reflects off a target approaching at 10 m/s. The echo frequency is 40000 × 353 / 333, or about 42.4 kHz.
Beyond the sound barrier: Mach cones and shock waves
A source moving faster than sound leaves its waves behind. They overlap along a cone. The Mach number is M = v_s / v, and the cone's half-angle θ satisfies sin θ = 1/M. A source at Mach 2 gives sin θ = 0.5, so θ = 30°.
Exercise
Exercise
A 700 Hz siren moves toward a stationary listener at 30 m/s. What frequency does the listener hear?
Show answer
f' = 700 × 343 / (343 − 30) ≈ 767 Hz.