---
title: The Doppler effect
heading: Sirens, radar guns and ultrasound flow meters
eyebrow: B8 · Lesson 4 · The Doppler effect
xp: 40
---

::: hook
An ambulance's siren drops in pitch the instant it passes you. A police radar gun reads a car's speed from the tiny shift in frequency of microwaves bounced off it, a few kilohertz out of 24 billion. An ultrasound machine measures how fast blood flows in an artery the same way. All three are the Doppler effect: motion along the line of sight squeezes or stretches the waves, and the frequency shift tells you the speed.
:::

::: play
- A siren of frequency $f$ drives past on a straight road at speed $v_s$, its closest point a distance $d$ from you. The curve is the pitch you hear against time, with $t = 0$ as it passes.
- The pitch starts high, drops steepest as it passes, and ends low. A small $d$ makes the drop sudden.
- The readouts give the pitch long before and long after.
:::
:::

```sim plot
view: graph
x: t = -10..10 s
y: f = 500..900 Hz
slider: f0 = 500..800 step 10 = 700 Hz
slider: vs = 5..40 step 1 = 30 m/s
slider: d = 2..100 step 1 = 10 m
plot: f0*343/(343 + vs*(vs*t)/sqrt((vs*t)^2 + d^2)) | label: pitch heard | samples: 800
readout: pitch while approaching, Hz = f0*343/(343 - vs) | digits: 4
readout: pitch while receding, Hz = f0*343/(343 + vs) | digits: 4
```

::: predict
## A police radar at 24.15 GHz reflects off a car approaching at 30 m/s. About how big is the frequency shift of the echo?

- [ ] 2.4 Hz
- [ ] 2.4 kHz
- [x] 4.8 kHz
- [ ] 24 MHz

::: reveal
About 4.8 kHz. The car is a moving receiver on the way in and a moving source on the way back, so the shift is doubled: $\frac{2vf}{c} = \frac{2 \times 30 \times 24.15 \times 10^9}{3 \times 10^8} = 4830$ Hz. Mixing the echo with the transmitted signal gives this difference directly, an audio-frequency tone proportional to speed.
:::
:::

::: nameit
## Sound: moving source and observer

In a medium where sound travels at $v$, a source moving toward you at $v_s$ crowds its waves together, and an observer moving toward the source at $v_o$ meets them more often:

$$f' = f\frac{v + v_o}{v - v_s}$$

with speeds counted positive toward each other (negative for moving apart). A source approaching at $v_s$ is heard at $f\frac{v}{v - v_s}$, and receding at $f\frac{v}{v + v_s}$. Only the component of velocity along the line of sight counts.

## Electromagnetic waves

For light and radio there's no medium, and for speeds well below $c$ the shift depends only on the relative velocity $u$ along the line of sight:

$$f' \approx f\left(1 + \frac{u}{c}\right)$$

A wave reflected from a moving target is shifted twice, so **radar** sees

$$\Delta f = \frac{2uf}{c}$$

(At speeds near $c$, relativity changes the formula; B9 previews why.)

## Uses

- **Speed radar and lidar:** traffic, sports, weather radar mapping wind in storms.
- **Doppler ultrasound:** blood moving at $u$ at angle θ to the beam shifts the echo by $\frac{2uf\cos\theta}{v}$, with $v \approx 1540$ m/s in tissue.
- **Navigation:** GPS receivers and satellites correct for Doppler shifts of several kilohertz.
:::

::: example
## An ambulance siren at 700 Hz moves at 30 m/s. What pitch is heard as it approaches and as it recedes?

::: solution
1. **Approaching.**
   $$\begin{aligned} f &= 700 \times \frac{343}{343 - 30} \\ &= 767\ \text{Hz} \end{aligned}$$
2. **Receding.**
   $$\begin{aligned} f &= 700 \times \frac{343}{343 + 30} \\ &= 644\ \text{Hz} \end{aligned}$$
3. **The drop.** The drop as it passes is about a minor third.

**Answer:** 767 Hz as it approaches and 644 Hz as it recedes.
:::
:::

::: example
## A 5 MHz ultrasound beam meets blood flowing at 0.5 m/s, at 60° to the beam. What shift does the echo show?

::: solution
1. **Shift of the echo.**
   $$\begin{aligned} \Delta f &= \frac{2uf\cos\theta}{v} \\ &= \frac{2 \times 0.5 \times \cos 60° \times 5 \times 10^6}{1540} \\ &= 1.6\ \text{kHz} \end{aligned}$$
2. **Hearing it.** That's right in the audible range, which is why Doppler ultrasound machines play the flow as sound.

**Answer:** the echo is shifted by 1.6 kHz.
:::
:::

::: example
## A car sounding a 340 Hz horn drives at 34 m/s toward a wall. What frequency does the driver hear in the echo?

::: solution
1. **What the wall hears.** The wall, at rest, receives the sound from a moving source:
   $$\begin{aligned} f' &= 340 \times \frac{343}{343 - 34} \\ &= 377.4\ \text{Hz} \end{aligned}$$
2. **What the driver hears.** The wall reflects that frequency, and the driver moves toward the reflection:
   $$\begin{aligned} f'' &= f'\frac{343 + 34}{343} \\ &= 414.8\ \text{Hz} \end{aligned}$$
3. **The general result.** Altogether, and for small $v$,
   $$\begin{aligned} f'' &= f\frac{c + v}{c - v} \\ &\approx f\left(1 + \frac{2v}{c}\right) \end{aligned}$$
   the doubled shift that radar and sonar rely on.

**Answer:** the driver hears the echo at 414.8 Hz.
:::
:::

::: check
given: f = 500 | 1000; vs = 50 | 80
answer: f*343/(343 - vs)
unit: Hz
tolerance: 0.5%

## A high-speed train's {f} Hz horn approaches you at {vs} m/s. What pitch do you hear?

::: right
Right. $f\frac{v}{v - v_s}$ = {answer}.
:::

::: misses
- [f*343/(343 + vs)] That's for moving away.
- [f*(343 + vs)/343] That formula is for a moving observer; here the source moves.
- [any] Not yet. $f' = f\frac{v}{v - v_s}$.
:::
:::

::: check
given: f = 500 | 1000; vs = 50 | 80
answer: f*343/(343 + vs)
unit: Hz
tolerance: 0.5%

## The same train's {f} Hz horn now moves away from you at {vs} m/s. What pitch do you hear?

::: right
Right. $f\frac{v}{v + v_s}$ = {answer}.
:::

::: misses
- [f*343/(343 - vs)] That's while approaching.
- [any] Not yet. Moving apart lowers the pitch.
:::
:::

::: check
given: f = 400 | 800; vo = 50 | 80
answer: f*(343 + vo)/343
unit: Hz
tolerance: 0.5%

## You ride a high-speed train at {vo} m/s toward a stationary {f} Hz alarm. What pitch do you hear?

::: right
Right. $f\frac{v + v_o}{v}$ = {answer}.
:::

::: misses
- [f*343/(343 - vo)] That's a moving source; you're the one moving.
- [any] Not yet. A moving observer meets more wave crests per second.
:::
:::

::: check
given: f = 10.5 | 24.15 | 77; u = 10 | 30
answer: 2*u*f*1e9/3e8
unit: Hz
tolerance: 0.5%

## A {f} GHz radar sees a target approaching at {u} m/s. How large is the echo's frequency shift?

::: right
Right. $\frac{2uf}{c}$ = {answer}.
:::

::: misses
- [u*f*1e9/3e8] A reflection is shifted twice: once arriving, once returning.
- [any] Not yet. $\Delta f = 2uf/c$.
:::
:::

::: check
given: f = 24.15 | 35.5; df = 2 | 6
answer: df*1000*3e8/(2*f*1e9)
unit: m/s
tolerance: 0.5%

## A {f} GHz radar measures a {df} kHz echo shift. How fast is the target moving toward it?

::: right
Right. $u = \frac{c\Delta f}{2f}$ = {answer}.
:::

::: misses
- [df*1000*3e8/(f*1e9)] Divide by 2 for the round trip.
- [any] Not yet. Solve $\Delta f = 2uf/c$ for $u$.
:::
:::

::: check
given: f = 2 | 5; u = 0.2 | 1; th = 30 | 60
answer: 2*u*cos(th°)*f*1e6/1540
unit: Hz
tolerance: 0.5%

## A {f} MHz ultrasound beam meets blood moving at {u} m/s, at {th}° to the beam. What Doppler shift does the echo show?

::: right
Right. $\frac{2uf\cos\theta}{v}$ = {answer}.
:::

::: misses
- [2*u*f*1e6/1540] Only the component along the beam counts: include $\cos\theta$.
- [any] Not yet. Round trip, along-beam speed, in tissue's sound speed.
:::
:::

::: check
kind: parts
given: f = 300 | 700; v = 20 | 40

## A {f} Hz siren on a vehicle moving at {v} m/s (sound at 343 m/s).

::: part
answer: f*343/(343 - v)
unit: Hz
tolerance: 0.5%

### What pitch do you hear as it approaches?

::: misses
- [any] $f\frac{c}{c - v}$.
:::
:::

::: part
answer: f*343/(343 - v) - f*343/(343 + v)
unit: Hz
tolerance: 0.5%

### By how much does the pitch drop as it passes?

::: misses
- [any] Approaching minus receding, $f\frac{c}{c - v} - f\frac{c}{c + v}$.
:::
:::
:::

::: check
kind: derivation
vars: f = 100..10000, v = 1..50, c = 330..350

## A source at f moves toward a wall at speed v and hears its own echo (sound speed c).

::: step
answer: f*c/(c - v)

### What frequency does the wall receive?
:::

::: step
answer: f*(c + v)/(c - v)

### What frequency returns to the moving source?
:::

::: right
Right. For $v \ll c$ that's about $f\left(1 + \frac{2v}{c}\right)$: the reflection doubles the shift.
:::
:::

::: explain
## Why does a radar echo from a moving car show twice the Doppler shift of a one-way signal?

::: model
The car first acts as a moving receiver: approaching the radar, it meets the incoming crests more often than they were sent, so it receives a slightly higher frequency. It then re-radiates that frequency as a moving source, approaching the radar, which crowds the outgoing crests together and raises the frequency again by about the same fraction. The two shifts add, giving $2u/c$ in total.
:::
:::

::: practice

::: check
given: f = 1 | 10; u = 100 | 1000
answer: u/3e8*f*1e9
unit: Hz
tolerance: 0.5%

## A {f} GHz signal comes from a transmitter approaching at {u} m/s. About how much higher is the received frequency?

::: misses
- [any] $fu/c$.
:::
:::

::: check
given: vs = 50 | 100 | 150 | 250 | 340 | 600
answer: vs/343
tolerance: 0.5%

## A plane flies at {vs} m/s. What is its Mach number?

::: misses
- [any] Speed over the speed of sound.
:::
:::

::: check
given: f1 = 800 | 900; f2 = 700 | 750
answer: 343*(f1 - f2)/(f1 + f2)
unit: m/s
tolerance: 0.5%

## A passing horn sounds {f1} Hz approaching and {f2} Hz receding. How fast is it moving?

::: misses
- [any] From $f_1 = f\frac{v}{v - v_s}$ and $f_2 = f\frac{v}{v + v_s}$: $v_s = v\frac{f_1 - f_2}{f_1 + f_2}$.
:::
:::
:::
