Sub topic 15
The Doppler Effect: Moving Source and Moving Observer
This chapter assumes you know the relation v = fλ, the speed of sound in air (about 340 m/s in JEE problems), and basic algebra with ratios. It covers the Doppler effect for sound when the source, the observer, or both move along the line joining them.
What the Doppler effect is
The Doppler effect is the change in the frequency an observer measures when the source of a wave and the observer move relative to each other. A siren sounds higher in pitch as the ambulance approaches and lower after it passes. The source itself never changes its frequency. What changes is how many wave crests reach the observer each second.
Sound travels through a medium (air), and its speed v is fixed by the medium. This is the key fact. Motion of the source does not change v. Motion of the observer does not change v either. Only the wavelength the medium carries and the rate at which the observer meets crests can change.
Moving source: the wavelength changes
Let the source emit frequency f, so it emits one crest every T = 1/f seconds. After emitting a crest, the source moves a distance vs·T toward the observer before emitting the next one. The crest travels at speed v through the air. So the gap between successive crests in the direction of motion is:
λ' = vT − vsT = (v − vs)/f
The observer at rest receives crests at the wave speed v, so the observed frequency is:
f' = v/λ' = f · v/(v − vs)
If the source moves away, vs changes sign and the denominator becomes v + vs, so f' is lower.
Moving observer: the crest rate changes
Now let the source be at rest, so the wavelength stays λ = v/f. An observer moving toward the source at speed vo meets the crests at relative speed v + vo. The observed frequency is:
f' = (v + vo)/λ = f · (v + vo)/v
If the observer moves away, the relative speed is v − vo and f' is lower.
The general formula and sign convention
When both move, the two effects combine. The source changes the wavelength, and the observer changes the rate of meeting crests:
f' = f · (v + vo)/(v − vs)
Use this sign rule and apply it every time: take speeds as positive when the motion is toward the other party. The observer's speed vo is positive if the observer moves toward the source. The source's speed vs is positive if the source moves toward the observer. If either one moves away, put in a negative value for that speed.
A common JEE trap is the direction of the line of motion. Both speeds are measured along the line from source to observer. If a source moves at an angle, use only the component of velocity along that line.
Worked example in code
A source of 500 Hz moves toward a stationary observer at 20 m/s. Take v = 340 m/s. Then f' = 500 × 340/(340 − 20) = 531.25 Hz. If the observer also moves toward the source at 10 m/s, then f' = 500 × 350/320 = 546.875 Hz.
def doppler(f, v, v_obs_toward, v_src_toward):
# Speeds are positive when moving toward the other party.
return f * (v + v_obs_toward) / (v - v_src_toward)
print(doppler(500.0, 340.0, 0.0, 20.0)) # 531.25
print(doppler(500.0, 340.0, 10.0, 20.0)) # 546.875Now check the receding cases using negative values. A source moving away at 20 m/s gives 500 × 340/360 ≈ 472.2 Hz.
def doppler(f, v, v_obs_toward, v_src_toward):
return f * (v + v_obs_toward) / (v - v_src_toward)
print(round(doppler(500.0, 340.0, 0.0, -20.0), 1)) # 472.2
print(round(doppler(500.0, 340.0, -10.0, -20.0), 1)) # 458.3Why source and observer motion are not symmetric
Moving the source at speed u toward a stationary observer does not give the same frequency as moving the observer at speed u toward a stationary source. For u = 20 m/s and f = 500 Hz:
| Case | Formula | f' (Hz) |
|---|---|---|
| Source approaches at 20 m/s | f · v/(v − 20) | 531.25 |
| Observer approaches at 20 m/s | f · (v + 20)/v | 529.41 |
The values are close for small speeds but differ. The reason is physical. Sound needs a medium, so the medium defines a rest frame. A moving source changes the wavelength in the medium. A moving observer leaves the wavelength alone and changes only the relative speed of the crests. For light there is no medium, and the formula depends only on relative velocity.
Limits and edge cases
- Source speed equals sound speed. If vs = v, the denominator is zero and the formula diverges. The source keeps pace with its own crests, and they pile up into a shock front (a sonic boom). The formula does not apply.
- Supersonic source. If vs > v, the source outruns its own waves. An approaching observer hears nothing until the source passes. The formula gives a negative number here, which has no physical meaning in the simple form.
- Observer faster than sound moving away. If vo > v moving away, the numerator v − vo is negative, and the observer outruns the waves. Again the formula does not apply.
- Source moves away at any speed. The denominator v + vs is never zero, so the formula always works.
For most JEE problems the speeds stay well below v, and the formula applies directly.
Change in pitch as a source passes
For a source moving past an observer in a straight line with the observer on its path, the frequency jumps at the moment of passing. Before the pass, f' = f·v/(v − vs). After the pass, f' = f·v/(v + vs). The ratio of the two is (v + vs)/(v − vs).
For a 500 Hz source at 20 m/s: before is 531.25 Hz, after is 472.22 Hz. The drop is about 59 Hz.
f, v, vs = 500.0, 340.0, 20.0
before = f * v / (v - vs)
after = f * v / (v + vs)
print(round(before, 2), round(after, 2), round(before - after, 2))
# 531.25 472.22 59.03If the source passes at a distance from the observer rather than directly through, the frequency changes gradually, because only the velocity component along the line of sight matters, and that component varies as the angle changes.
Fractional shift for small speeds
When the speeds are much smaller than v, the shift is approximately:
Δf/f ≈ (vs + vo)/v
Here both speeds are taken positive toward each other. For vs = 20 m/s and vo = 0 the estimate is 20/340 ≈ 5.9%, and the exact value is 531.25/500 − 1 = 6.25%. The approximation is useful for quick checks, but use the exact formula when the answer must be precise.
Common errors
- Using the wrong sign for a receding party. Always ask, "Is this party moving toward the other?"
- Changing v when the source or observer moves. The speed of sound in still air stays the same.
- Using the full velocity when the motion is at an angle. Use only the component along the line joining source and observer.
- Treating the formula as valid at or beyond the speed of sound.
Exercise
A train sounding a whistle of 600 Hz moves toward a stationary observer at 30 m/s. The observer then walks toward the train at 5 m/s. Take v = 330 m/s. (a) What frequency does a stationary observer hear? (b) What does the walking observer hear?
Show answer
(a) f' = 600 × 330/(330 − 30) = 600 × 330/300 = 660 Hz. (b) f' = 600 × (330 + 5)/(330 − 30) = 600 × 335/300 = 670 Hz.
Exercise
A stationary source emits 400 Hz. An observer moves away from it at 34 m/s. Take v = 340 m/s. What frequency does the observer hear, and what is the observed wavelength relative to the source wavelength?
Show answer
With vo negative, f' = 400 × (340 − 34)/340 = 400 × 306/340 = 360 Hz. The source is at rest, so the wavelength in the air is unchanged: λ = 340/400 = 0.85 m. The observer simply meets fewer crests per second.
Exercise
A source of frequency f moves directly away from a stationary observer at speed v/10, where v is the speed of sound. By what fraction does the observed frequency drop?
Show answer
f' = f · v/(v + v/10) = f/1.1 = 0.909 f. The frequency drops by about 9.1%.