Some strange things are so common that it's easy to forget how strange they are. Â Like, for instance, standing by the side of the road. Â Each time you hear a car moving toward you, you know it will sound different after whizzing by.

It happens all the time, but if you stop to think about it, it's prettyÂ weird. Â You would definitely notice if the car changed *color*Â or something on the way by,^{1} but the fact that it changes pitch seems normal in our everyday experience, so maybe you've never tried to work out why it happens. Â Let's do that.

Sound travels in waves, so we can think in terms of peaks and troughs. Â One important aspect of a sound wave is its frequency,Â how many peaks or troughs an observer experiences per unit of time. Â Frequency is typically measured in hertz (Hz), where the unit of time is one second. Â So someone listening to a 400 Hz tone would be experiencing 400 wave peaks every second. Â The frequency also determines the wave's period, or how long it takes to complete a single peak-to-peak cycle. Â In this case, that would be 1/400th of a second. Â In other words, period is the reciprocal of frequency.

You can also describe a wave in terms of its wavelength, which is the distance between adjacent peaks or troughs. Â Clearly frequency and wavelength must be related: the shorter the distance between peaks, the more frequently an observer would experience one, and vice versa.

The speed of sound is about 340 m/s. Â We can use that information to write down the precise relationship between frequency and wavelength. Â Check that you agree:

Let's say we have a beacon emitting sound, and two observers who are each 340 m away. Â Change the frequency below to see how the associated wavelength changes. Â You can also see how a change in frequency affects the sound an observer will hear.

As long as everything is stationary, everyone agrees on the frequency the beacon is emitting, but something interesting happens once things start moving. Â Here the beacon moves at half the speed of sound.^{2}

Notice that, even though the beacon's frequency hasn't changed, the two observers will no longer agree on that fact. Â The forward observer is getting a shorter wavelength/higher frequency, and the rear observer is getting a longer wavelength/lower frequency. Â That means the sound seems higher to the person in front, and lower to the person in back! Â In fact, the person in front will experience a change in frequency (from high to low) as the beacon moves past. Â This phenomenon is known as the Doppler Effect, and it explains why the car's horn in the video seemingly dropped in pitch as it passed the camera.

That's certainly interesting, but we can go further. Â We can calculate the apparent frequency ahead of or behind the beacon based on its actual frequency and how fast it's moving.

Notice that, for a stationary beacon, the distance between peaks is just the wavelength. Â We already knew that. Â But with a moving beacon, the distance between peaks changes by whatever distance the beacon covers in a single period. Â To the front observer, the distance would decrease by that amount; to the rear observer, it would increase by that amount. Â Here the beacon is still moving at half the speed of sound:

So we can work out theÂ *observed* wavelength each person would report for a beacon moving at speed *s*:

So we know what wavelength each observer would report, and we already have a relationship between wavelength and frequency, so with some substitution and a little rejiggering we can write down a general rule for theÂ *observed* frequencies our two recorders would report, based on theÂ *observed* wavelengths and the actual frequency and speed of the beacon:

Play around and see what the observers would hear for a 500 Hz tone from a beacon moving at a few interesting speeds. Â What would it sound like if the beacon were moving at the speed of sound? Â And (*extra* cool) what aboutÂ *twice* the speed of sound?^{3}

But if a car is coming at you that fast, do us all a favor and step out of the way. Â Live to listen another day.

Teachers, want to have this conversation in your classroom? Â Check out our lesson, *Siren Song.*

1. Â Okay, actually the carÂ *does* change color on the way by. Â As we'll see, the Doppler Effect depends on the speed of an object relative to the speed of the waves it emits. Â Cars can move at an appreciable fraction of the speed of sound, so we can sense the Doppler Effect with our ears. Â Even the fastest cars move at a negligible speed relative to light, so the color change is too small to detect.

2. Â Obviously we've slowed things down quite a bit for the visualization so you can see what's going on, but notice the beacon is moving at half the speed of the waves it emits.

3. Â SPOILER ALERT: The sound would appear to have the correct frequency, but the waves arrive inÂ *reverse order*. Â If a jet flying at Mach 2 were blaring some music, you would hear it in the correct pitch, but backwards! Â Briefly.