Stand by a road as an ambulance races past with its siren on. As it comes towards you the siren sounds high; at the moment it passes, the pitch suddenly drops, and as it drives away it sounds lower. The siren itself makes the same note all the time: the driver hears no change. What changes is the frequency that reaches you. This change, caused by motion of the source or of the listener, is the Doppler effect, named after the Austrian physicist Christian Doppler, who explained it in 1842. You can hear it with a passing train, a racing car, or a buzzer swung round on a string.
A source at rest#
Start with a source that does not move, such as a loudspeaker playing one steady note of frequency (the subscript s is for source). Every period it sends out a new compression, which spreads out in all directions at the speed of sound . Seen from above, the compressions form circles around the source, like the rings on a pond, all one wavelength apart (lesson 5.3).
A listener anywhere around it receives one compression every period, so hears the frequency . Nothing special yet.
A moving source: bunched up in front, spread out behind#
Now let the source move to the right at speed through still air. The important point is that each compression, once it has left the source, travels through the air at the speed of sound , whatever the source does afterwards. But the source does not wait: between sending out one compression and the next it moves a distance forward. So each new circle starts a little further to the right than the one before.
In front of the source the compressions are closer together than normal, and behind it they are further apart. Follow one compression straight ahead. One period after it was sent out it is a distance in front of the point where it started; by then the source has followed it by and sends out the next compression. So the gap between the two is only . Behind the source the gap is . Using , the wavelength in front is
In words
lambda equals the quantity v minus v s, all over f sub s
A listener standing still in front of the source receives these shorter waves, still arriving at the speed of sound , so more compressions reach the ear each second. With from lesson 5.3, the frequency heard is
In words
f sub L equals v over lambda equals f sub s v over the quantity v minus v s
The subscript L is for listener. Because is smaller than , is larger than : a higher pitch. Behind the source, becomes and the pitch is lower. Notice what does not change: the speed of the sound in the air. Only the spacing of the compressions changes.
A moving listener#
Now keep the source still and let the listener move towards it at speed . The compressions in the air are spaced normally, one wavelength apart. But the listener runs into them: relative to the listener, they come in at (relative velocity, lesson 1.9). So the listener meets more compressions per second than a listener standing still:
In words
f sub L equals the quantity v plus v sub L, all over lambda equals f sub s the quantity v plus v sub L, all over v
A listener moving away from the source meets them at only , and hears a lower frequency.
One formula with a sign rule#
Both effects together, when source and listener both move along the line joining them, give the Doppler formula for sound:
In words
f sub L equals f sub s the quantity v plus or minus v sub L, all over the quantity v minus or plus v s
Here is the speed of sound in the air, and and are the speeds (positive numbers) of the listener and the source through the air. The signs:
- Upper signs ( on top, below) when that one moves towards the other: the frequency goes up.
- Lower signs ( on top, below) when it moves away from the other: the frequency goes down.
Choose the sign on top by the listener's motion and the sign below by the source's motion, separately. A check that always works: motion towards each other must make bigger than , motion apart must make it smaller. The main source (Siyavula) writes the same formula with the sign put into the velocities instead (a source moving towards the listener counts as negative); it gives exactly the same numbers. The formula is for speeds below the speed of sound and for still air. Like the main source, this lesson takes the speed of sound in air as , a rounded value (lesson 5.5 gives at ).
A passing police car
A police car's siren sounds at . The car drives at (about ) along a straight road past a person standing on the pavement. What frequency does the person hear before and after the car passes?
Approaching: source moving towards the listener
The listener is at rest, . The source moves towards the listener, so the upper sign below (): .
Moving away
Now the lower sign below (): .
What you hear
The pitch drops by about as the car passes, from above the siren's own note to below it. While the car approaches at a steady speed the pitch stays the same: the shift depends on the speed, not on the distance.
Driving past a factory siren
A factory siren at rest sounds at . A car drives towards it, past it and away from it at . What does the driver hear?
Towards the siren
Now the listener moves and the source is at rest, : .
Away from the siren
.
Both moving
A train sounds its horn at while it travels at . On a road next to the track, a car comes the other way at , so they approach each other. What frequency does the car's driver hear? And after they have passed each other?
Approaching each other
Both move towards the other, so both upper signs: .
Moving apart
Both lower signs: .
The graph shows how much the shift grows with the speed of the source, for the siren of the first example.
Who moves matters#
If the police car approached at you heard . If instead you ran towards a parked police car at , you would hear : close, but not the same. For sound it matters who moves, because sound travels at a fixed speed relative to the air, so the air acts as a "rest" against which both motions are measured. A moving source changes the wavelength in the air; a moving listener only changes how quickly it meets the crests. For speeds much smaller than the speed of sound the two answers become practically equal. The main source (Siyavula, 6.2) says the two cases are the same because the relative motion is the same; for sound in air that is not quite right. The difference is small at everyday speeds, but it is real, as the MIT lecture on the Doppler effect works out (MIT 8.286, Lecture 3).
Using the Doppler effect#
Measuring a Doppler shift tells you how fast something moves, without touching it. Doctors use ultrasound, sound above (lesson 5.5), to measure the flow of blood: a probe sends ultrasound into the body, and the sound reflected from moving blood comes back at a slightly different frequency, higher if the blood flows towards the probe and lower if it flows away. This shows, for example, whether blood flows freely through a narrowed vein or through the blood vessels of an unborn baby.
Speed from the drop in pitch
A car sounds its horn as it drives past you at a steady speed. You measure while it approaches and while it drives away. How fast is the car going?
Set up both formulas
Approaching: . Moving away: . Divide the first by the second, and and the top drop out: .
Solve for the speed
Cross-multiply: , so and , about .
The horn's own frequency
, between the two notes heard, as it must be.
Light does it too#
Light is also a wave (lesson 5.8), and its frequency also shifts when the source moves. For visible light the change of frequency is a change of colour: of all the colours we can see, red light has the longest wavelengths and blue and violet light the shortest (lesson 5.8). Light from a source moving away from us arrives with a lower frequency and a longer wavelength, so it is shifted towards the red: a redshift. A source moving towards us gives shorter wavelengths, shifted towards the blue: a blueshift. Astronomers measure these shifts in the light of stars and galaxies to find how fast they move towards or away from us.
There is one important difference. Light needs no air or other medium, so there is no "rest" to measure against, and only the relative motion of source and observer can matter. The formula for light is therefore not simply the sound formula with a different speed. Light also travels at a fixed speed, far faster than sound (lesson 5.8). For a source much slower than light the result is simple: the wavelength changes by a fraction equal to the source's speed towards or away from us divided by the speed of light (MIT 8.286, Lecture 3). Lesson 5.13, "Towards the universe: redshift", treats it properly and what the redshift of distant galaxies tells us about the universe.
Summary#
- The Doppler effect is the change in the frequency heard when the source or the listener moves. Moving towards each other gives a higher frequency (higher pitch), moving apart a lower one.
- A moving source bunches its compressions up in front () and spreads them out behind; the speed of sound in the air stays the same. A moving listener meets the compressions faster or slower.
- The Doppler formula for sound: , with speeds through the air. Upper signs for moving towards the other, lower signs for moving away.
- The shift depends on the speeds, not on the distance; for sound it also matters who moves, because sound travels relative to the air.
- Light shows a Doppler effect too: redshift for a source moving away, blueshift for one moving towards us (lesson 5.13).