Sub topic 10
The Doppler Formula and Its Sign Conventions
Assume you know basic wave terms, the relation \(v=f\lambda\), and one-dimensional relative motion. This chapter treats sound traveling through still air. The source and observer may move, but the medium itself is stationary.
Why motion changes the frequency
The Doppler effect is a change in the frequency measured by an observer when the source and observer move relative to each other. Frequency is the number of wave cycles arriving each second.
When a source moves toward a stationary observer, each new wavefront starts closer to the previous one. The wavefronts become closer together, so the wavelength decreases. Since the sound speed in still air remains approximately constant, the observer detects a higher frequency.
When the source moves away, the wavefronts spread out. The wavelength increases, so the detected frequency decreases.
A moving observer produces a different mechanism. The source may create wavefronts at their normal spacing, but an observer moving toward those wavefronts meets more of them each second.
Deriving the formula
Let:
- \(f\) be the source frequency.
- \(f'\) be the observed frequency.
- \(v\) be the speed of sound in the medium.
- \(v_o\) be the observer's speed.
- \(v_s\) be the source's speed.
Use these sign conventions:
- \(v_o>0\) when the observer moves toward the source.
- \(v_s>0\) when the source moves toward the observer.
- A negative velocity means motion away.
A moving source emits one wave period, \(T=1/f\), after the previous wavefront. During that time, sound travels \(vT\), while a source moving toward the observer travels \(v_sT\). The wavelength in front of the source is therefore
\[ \lambda'=(v-vs)T=\frac{v-vs}{f}. \]
A stationary observer would receive waves at the rate \(v/\lambda'\). If the observer moves toward the incoming waves, the wavefronts approach at speed \(v+v_o\). Therefore,
\[ f'=\frac{v+vo}{\lambda'} =f\frac{v+vo}{v-v_s}. \]
This is the Doppler formula for motion along the line joining source and observer.
| Motion | Sign | Effect on observed frequency |
|---|---|---|
| Observer moves toward source | \(v_o>0\) | Increases |
| Observer moves away from source | \(v_o<0\) | Decreases |
| Source moves toward observer | \(v_s>0\) | Increases |
| Source moves away from observer | \(v_s<0\) | Decreases |
Applying the formula
For a 440 Hz source in air with \(v=343\text{ m/s}\), consider three cases:
- A source approaches a stationary observer at \(30\text{ m/s}\):
\[ f'=440\frac{343}{343-30}\approx482.2\text{ Hz}. \]
- A stationary source is approached by an observer at \(30\text{ m/s}\):
\[ f'=440\frac{343+30}{343}\approx478.5\text{ Hz}. \]
- Both move toward each other at \(30\text{ m/s}\):
\[ f'=440\frac{343+30}{343-30}\approx520.8\text{ Hz}. \]
The first two shifts are not equal. A moving source changes the wavelength before the sound reaches the observer. A moving observer changes how quickly the observer encounters already existing wavefronts.
def doppler(f_source, v_sound=343.0, v_observer=0.0, v_source=0.0):
"""Observed frequency in still air.
Positive observer speed means motion toward the source.
Positive source speed means motion toward the observer.
"""
return f_source * (v_sound + v_observer) / (v_sound - v_source)
print(doppler(440, v_source=30)) # 482.2 Hz
print(doppler(440, v_observer=30)) # 478.5 HzCommon errors
- Reversing the signs in the formula. Both positive velocities should produce an increase.
- Using the source speed in the numerator or the observer speed in the denominator. Source motion changes wavelength, so it belongs in \(v-v_s\).
- Treating the formula as valid when source speed reaches or exceeds the sound speed. The ordinary subsonic derivation then fails because the source cannot send normally spaced wavefronts ahead of itself.
- Using relative speed alone. Source and observer motion affect different parts of the wave process.
Exercise
A 500 Hz source moves away from a stationary observer at 20 m/s. Take the speed of sound as 340 m/s. What frequency does the observer hear?
Show answer
Here vs = -20 m/s and vo = 0. Thus f' = 500(340)/(340 - (-20)) = 472.2 Hz, approximately.