How to Solve Doppler Problems When Both Source and Observer Move

Learn how to solve sound Doppler problems when both the source and observer are moving. Work through sign conventions, wind effects, worked calculations, and challenging HSC-style practice questions with fully explained solutions.

A speaker is mounted on a small vehicle behind a cyclist. Both are travelling east, and the vehicle is moving faster, so it is catching the cyclist. Now introduce a strong eastward wind that moves faster than either of them.

Relative to the road, both are travelling east. Relative to the air, both are travelling west. Which one is moving towards the other now? Does the cyclist hear a higher or lower frequency?

The cyclist hears a higher frequency. Relative to the air, the cyclist is moving towards the speaker faster than the speaker is moving away. The cyclist therefore encounters sound wavefronts more frequently.

This is the key to solving Doppler problems when both the source and observer move: measure both velocities relative to the medium, not automatically relative to the ground.

01The equation for a moving source and observer

For sound travelling through a medium, such as air, use:

\[ \boxed{f_o=f_s\frac{v+u_o}{v-u_s}} \]

This equation combines two separate effects:

  • Source motion changes the spacing between successive wavefronts.
  • Observer motion changes how quickly the observer encounters those wavefronts.

The symbols mean:

SymbolMeaningUnit
\(f_o\)Observed frequencyHz
\(f_s\)Emitted frequencyHz
\(v\)Speed of sound relative to the mediumm/s
\(u_s\)Signed source velocity relative to the mediumm/s
\(u_o\)Signed observer velocity relative to the mediumm/s

The velocities are measured along the line joining the source and observer.

The sign convention is:

MotionSign
Source moves towards observer\(u_s>0\)
Source moves away from observer\(u_s<0\)
Observer moves towards source\(u_o>0\)
Observer moves away from source\(u_o<0\)

Notice that the source and observer have opposite definitions of positive velocity.

This is deliberate. It means that movement towards each other increases the observed frequency, regardless of which direction they are travelling on the page.

02Why the source and observer have different signs

Before substituting numbers, understand why the two velocities appear in different parts of the equation.

1. The moving source changes wavelength

Imagine a speaker producing a steady tone.

Every time the speaker completes one oscillation, it produces another sound wavefront. The time between successive wavefronts is the period:

\[ T=\frac{1}{f_s} \]

If the speaker is stationary, a wavefront travels a distance \(vT\) before the next one is emitted.

But suppose the speaker moves towards the observer at speed \(u_s\).

During the same period, the speaker moves forward by \(u_sT\). The next wavefront is therefore emitted closer to the previous one.

The wavelength in front of the source becomes:

\[ \lambda=vT-u_sT \]

Factorising:

\[ \lambda=(v-u_s)T \]

Since \(T=1/f_s\):

\[ \boxed{\lambda=\frac{v-u_s}{f_s}} \]

An approaching source produces shorter wavelengths. A receding source produces longer wavelengths.

2. The moving observer changes the encounter rate

Now consider the observer.

Sound wavefronts travel through the medium at speed \(v\). If the observer moves towards the source, they move into the approaching wavefronts.

The wavefronts therefore meet the observer at an effective speed of:

\[ v+u_o \]

Frequency is the number of wavefronts encountered each second. Therefore:

\[ f_o=\frac{\text{wavefront encounter speed}}{\text{wavelength}} \]

Substituting:

\[ f_o=\frac{v+u_o}{(v-u_s)/f_s} \]

Rearranging gives:

\[ \boxed{f_o=f_s\frac{v+u_o}{v-u_s}} \]

This is the combined sound Doppler equation.

The important distinction is that moving the source changes the wavelength already travelling through the medium, while moving the observer changes the rate at which those waves are received.

03The complication: velocities relative to the medium

This is where otherwise straightforward Doppler calculations can become tricky.

Suppose a question gives you the ground speeds of two vehicles and tells you that wind is blowing along the road.

Can you substitute the vehicle speeds directly into the Doppler equation?

No. You must first determine their velocities relative to the air.

Sound travels at a particular speed relative to its medium. For sound in air, the relevant reference frame is the air itself.

If the air is stationary, ground velocities and air-relative velocities are identical.

If the air is moving, they are different.

Converting ground velocities into air-relative velocities

Choose a positive direction along the line from the source towards the observer.

Let:

  • \(V_s\) = source velocity relative to the ground.
  • \(V_o\) = observer velocity relative to the ground.
  • \(W\) = wind velocity relative to the ground, positive towards the observer.
  • \(u_s\) = signed source velocity relative to the air.
  • \(u_o\) = signed observer velocity relative to the air, using our towards/away sign convention.

The source velocity becomes:

\[ u_s=V_s-W \]

The observer velocity becomes:

\[ u_o=W-V_o \]

Why does the observer equation have the opposite order?

Because positive observer velocity means moving towards the source, which is the negative direction along our chosen ground axis.

Forgetting this reversal is a common source of incorrect signs.

A reliable rule: subtract the medium’s velocity from each object’s ground velocity first. Then assign the Doppler signs according to whether the source or observer moves towards or away from the other.

A useful experimental test: does wind change the frequency?

Consider a proposed experiment to investigate the effect of a moving medium.

A tone generator drives a speaker mounted on a trolley at the left end of a straight test corridor. The sound travels through the air to a microphone mounted on a second trolley on the right. The microphone connects to a frequency counter.

Motion sensors record the velocities of both trolleys relative to the floor. An anemometer measures the airflow along the corridor.

The initial measurement plan might be to record the two trolley speeds and substitute them into the Doppler equation.

That works if the air is stationary.

However, switching on a fan introduces a problem: the recorded trolley velocities are no longer their velocities relative to the air.

The revised experiment measures the wind velocity as well. The trolley velocities can then be converted into air-relative velocities before calculating the predicted frequency.

There is an interesting prediction we can test.

Suppose both the speaker and microphone are stationary relative to the floor, while a steady wind blows from the speaker towards the microphone.

You might expect the microphone to detect a higher frequency because the wind carries the sound towards it faster.

That prediction is incorrect.

Let the wind speed be \(W\). In the air’s reference frame:

\[ u_s=-W \]

\[ u_o=+W \]

Substituting:

\[ f_o=f_s\frac{v+W}{v+W} \]

Therefore:

\[ \boxed{f_o=f_s} \]

The wind changes the speed of sound relative to the ground, but it does not independently change the frequency received by a stationary microphone in a steady, uniform airflow.

This is a useful experimental check on the model. The medium affects the wave’s motion, but the frequency still depends on the relative motion of the source and observer through that medium.

04A reliable method for solving both-moving Doppler problems

Use this sequence whenever a question involves a moving source and a moving observer.

Step 1: Identify the wave and its medium.

For sound, identify the medium, usually air. Do not confuse the sound Doppler equation with the equations for light.

Step 2: Draw the source and observer.

Mark their positions and directions of travel. Choose a positive direction along the line joining them.

Step 3: Convert velocities into the medium’s reference frame.

If wind is present, account for its velocity before assigning Doppler signs.

Step 4: Assign the signs.

  • Source towards observer: positive.
  • Source away from observer: negative.
  • Observer towards source: positive.
  • Observer away from source: negative.

Step 5: Substitute into the equation.

\[ f_o=f_s\frac{v+u_o}{v-u_s} \]

Step 6: Check whether the answer makes physical sense.

If the source and observer are approaching each other, expect a higher frequency.

If they are separating, expect a lower frequency.

If your calculated answer contradicts that prediction, check the signs and reference frame.

05Worked examples

Worked example: Two carts approach each other

A speaker mounted on a cart emits a frequency of \(500\ \text{Hz}\). The cart moves directly towards a microphone on another cart at \(20\ \text{m s}^{-1}\). The microphone cart moves towards the speaker at \(10\ \text{m s}^{-1}\).

Assume the air is stationary and the speed of sound is \(340\ \text{m s}^{-1}\).

Calculate the frequency detected by the microphone.

Step 1

The source moves towards the observer:

\[ u_s=+20\ \text{m s}^{-1} \]

The observer moves towards the source:

\[ u_o=+10\ \text{m s}^{-1} \]

Step 2

\[ f_o=f_s\frac{v+u_o}{v-u_s} \]

Step 3

\[ \begin{aligned} f_o&=500\left(\frac{340+10}{340-20}\right)\\ &=500\left(\frac{350}{320}\right)\\ &=546.875\ \text{Hz} \end{aligned} \]

Step 4

\[ \boxed{f_o\approx547\ \text{Hz}} \]

The microphone detects a frequency of approximately \(547\ \text{Hz}\), which is higher than the emitted \(500\ \text{Hz}\).

Both motions increase the observed frequency. The source compresses the wavefronts, and the observer encounters them more quickly.

Worked example: Both vehicles move with a tailwind

A speaker cart is travelling east at \(12\ \text{m s}^{-1}\). A microphone cart is 80 metres ahead, travelling east at \(5\ \text{m s}^{-1}\).

A steady eastward wind blows at \(15\ \text{m s}^{-1}\) relative to the ground.

The speaker emits a frequency of \(600\ \text{Hz}\). The speed of sound relative to the air is \(340\ \text{m s}^{-1}\).

Calculate the frequency detected by the microphone.

Step 1

Choose east, from the source towards the observer, as positive.

The given ground velocities are:

\[ V_s=+12\ \text{m s}^{-1} \]

\[ V_o=+5\ \text{m s}^{-1} \]

The wind velocity is:

\[ W=+15\ \text{m s}^{-1} \]

Step 2

For the source:

\[ \begin{aligned} u_s&=V_s-W\\ &=12-15\\ &=-3\ \text{m s}^{-1} \end{aligned} \]

The source moves away from the observer relative to the air.

For the observer:

\[ \begin{aligned} u_o&=W-V_o\\ &=15-5\\ &=+10\ \text{m s}^{-1} \end{aligned} \]

The observer moves towards the source relative to the air.

Notice how unusual this looks: both vehicles travel east relative to the ground, but both travel west relative to the air.

Step 3

\[ \begin{aligned} f_o&=f_s\frac{v+u_o}{v-u_s}\\ &=600\left(\frac{340+10}{340-(-3)}\right)\\ &=600\left(\frac{350}{343}\right)\\ &=612.24\ \text{Hz} \end{aligned} \]

Step 4

\[ \boxed{f_o\approx612\ \text{Hz}} \]

The microphone detects a frequency slightly higher than the emitted frequency.

The source’s motion through the air increases the wavelength because it is moving away. However, the observer moves towards the source through the air, increasing the wavefront encounter rate.

The observer’s effect is larger, so the overall frequency increases.

A useful scale check: The wavelength in front of the source is:

\[ \lambda=\frac{340-(-3)}{600} \]

\[ \lambda=0.572\ \text{m} \]

The observer encounters these wavefronts at \(350\ \text{m s}^{-1}\).

Therefore:

\[ f_o=\frac{350}{0.572} \approx612\ \text{Hz} \]

This agrees with our earlier calculation.

06Common mistakes to avoid

MistakeWhy it is wrong
Using ground speeds when wind is presentThe velocities must be measured relative to the medium.
Giving both velocities the same sign because both objects travel rightDoppler signs depend on towards or away motion, not compass direction.
Using only the relative closing speedSource and observer motion affect different parts of the equation.
Adding both velocities to the numeratorOnly observer velocity belongs in the numerator.
Subtracting both velocities from the denominatorOnly source velocity belongs in the denominator.

Why relative speed alone is not enough

Suppose a source and observer approach each other with the same closing speed in two different situations.

Situation A: The observer moves towards a stationary source.

Situation B: The source moves towards a stationary observer.

You might expect identical frequency shifts because the closing speeds are equal.

However, the results are different.

In Situation A, the wavelength in the medium remains unchanged. Only the encounter rate increases.

In Situation B, the source compresses the wavefronts. The observer encounters those already-compressed waves.

The source and observer therefore cannot simply be replaced by one relative velocity in the sound Doppler equation.

This distinction becomes particularly important in problems involving overtaking, where the source and observer exchange their towards/away roles.

Do not use the sound equation for light

The equation in this article describes sound travelling through a material medium.

Light does not require air or another material medium. Its ordinary Doppler shift is described using special relativity, which treats the relative radial motion of source and observer differently.

Cosmological redshift is a further distinction: it describes the stretching of light wavelengths as the universe expands.

Do not substitute the speed of light into the sound Doppler equation and assume the result is correct.

There are also limitations to the ordinary sound equation. It assumes straight-line motion, a uniform medium, and a source travelling below the speed of sound. Supersonic sources produce shock waves, which require a different treatment.

07Questions and solutions

Question 1

A stationary-air experiment uses a warning speaker that emits a frequency of \(400\ \text{Hz}\).

The speaker moves towards an observer at \(12\ \text{m s}^{-1}\), while the observer moves towards the speaker at \(8\ \text{m s}^{-1}\).

The speed of sound is \(340\ \text{m s}^{-1}\).

Calculate the frequency detected by the observer.

Solution 1

The observed frequency is approximately \(\boxed{424\ \text{Hz}}\).

Both the source and observer move towards each other, so both Doppler velocities are positive:

\[ u_s=+12\ \text{m s}^{-1} \]

\[ u_o=+8\ \text{m s}^{-1} \]

Using:

\[ f_o=f_s\frac{v+u_o}{v-u_s} \]

Substitute:

\[ \begin{aligned} f_o&=400\left(\frac{340+8}{340-12}\right)\\ &=400\left(\frac{348}{328}\right)\\ &=424.39\ \text{Hz} \end{aligned} \]

Therefore:

\[ \boxed{f_o\approx424\ \text{Hz}} \]

The frequency increases because both motions contribute to a greater rate of wavefront reception.

Question 2

A vehicle carrying a warning speaker emits a frequency of \(750\ \text{Hz}\).

The vehicle is ahead of another vehicle and travels to the right at \(18\ \text{m s}^{-1}\). The second vehicle travels to the left at \(6\ \text{m s}^{-1}\), directly away from the sound source.

Assume still air and a sound speed of \(340\ \text{m s}^{-1}\).

(a) Calculate the frequency detected by the second vehicle.

(b) Calculate the frequency that would be detected if the second vehicle were stationary instead.

(c) Explain why the two observed frequencies are different.

Solution 2

(a) The observed frequency is approximately \(700\ \text{Hz}\).

Both the source and observer move away from each other.

Therefore:

\[ u_s=-18\ \text{m s}^{-1} \]

\[ u_o=-6\ \text{m s}^{-1} \]

Substitute:

\[ \begin{aligned} f_o&=750\left(\frac{340-6}{340-(-18)}\right)\\ &=750\left(\frac{334}{358}\right)\\ &=699.72\ \text{Hz} \end{aligned} \]

Hence:

\[ \boxed{f_o\approx700\ \text{Hz}} \]

The observed frequency is lower than the emitted frequency because the source produces more widely spaced wavefronts, while the observer moves away from them.

(b) If the observer is stationary, the observed frequency is approximately \(712\ \text{Hz}\).

The observer velocity becomes zero:

\[ u_o=0 \]

Therefore:

\[ \begin{aligned} f_o&=750\left(\frac{340}{340-(-18)}\right)\\ &=750\left(\frac{340}{358}\right)\\ &=712.29\ \text{Hz} \end{aligned} \]

\[ \boxed{f_o\approx712\ \text{Hz}} \]

(c) The moving observer detects a lower frequency because it is moving away from the source.

In both situations, the source produces the same stretched wavefront pattern because its velocity is unchanged.

However, in the first situation, the observer also moves away from those wavefronts. This reduces the number encountered each second.

The mistake would be to assume that source motion alone determines the observed frequency.

Question 3

A speaker and microphone are both stationary relative to the ground. They are separated by a distance of \(30\ \text{m}\).

A steady, uniform wind blows directly from the speaker towards the microphone at \(18\ \text{m s}^{-1}\).

The speaker emits a frequency of \(450\ \text{Hz}\), and the speed of sound relative to the air is \(342\ \text{m s}^{-1}\).

A student argues that the microphone must detect:

\[ f_o=450\left(\frac{342+18}{342}\right) \]

because the wind increases the speed of the sound relative to the ground.

Explain why this prediction is incorrect and calculate the actual observed frequency.

Solution 3

The actual observed frequency remains \(450\ \text{Hz}\).

The student’s mistake is assuming that the wave speed increases while the wavelength remains unchanged.

Both the source and observer are stationary relative to the ground, but they move relative to the air.

Choose the direction from speaker to microphone as positive.

The wind moves at:

\[ W=+18\ \text{m s}^{-1} \]

For the source:

\[ u_s=0-18=-18\ \text{m s}^{-1} \]

For the observer:

\[ u_o=18-0=+18\ \text{m s}^{-1} \]

Substitute into the Doppler equation:

\[ \begin{aligned} f_o&=450\left(\frac{342+18}{342-(-18)}\right)\\ &=450\left(\frac{360}{360}\right)\\ &=450\ \text{Hz} \end{aligned} \]

Therefore:

\[ \boxed{f_o=450\ \text{Hz}} \]

The wind increases the speed of the wavefronts relative to the ground, but it also increases their spacing relative to the ground.

In fact, the ground-frame wavelength is:

\[ \lambda=\frac{342+18}{450} \]

\[ \lambda=0.800\ \text{m} \]

The wavefronts travel at \(360\ \text{m s}^{-1}\) relative to the ground, so the stationary microphone receives:

\[ f_o=\frac{360}{0.800}=450\ \text{Hz} \]

The increased wave speed and increased wavelength cancel.

This is why the medium’s velocity must be considered when interpreting sound Doppler experiments.

Question 4

A speaker emits a constant frequency of \(700\ \text{Hz}\). An observer moves directly towards the speaker at \(9\ \text{m s}^{-1}\).

The speed of sound in the stationary air is \(340\ \text{m s}^{-1}\).

The observer measures a frequency of \(750\ \text{Hz}\).

Determine the velocity of the source relative to the air, including its direction of motion.

Solution 4

The source is moving towards the observer at approximately \(14.3\ \text{m s}^{-1}\) relative to the air.

The observer moves towards the source, so:

\[ u_o=+9\ \text{m s}^{-1} \]

We know:

\[ f_o=750\ \text{Hz} \]

\[ f_s=700\ \text{Hz} \]

Substitute into the Doppler equation:

\[ 750=700\left(\frac{340+9}{340-u_s}\right) \]

Simplify:

\[ \frac{750}{700}=\frac{349}{340-u_s} \]

Rearrange:

\[ 340-u_s=\frac{349\times700}{750} \]

\[ 340-u_s=325.73 \]

Therefore:

\[ u_s=340-325.73 \]

\[ \boxed{u_s=+14.3\ \text{m s}^{-1}} \]

The positive sign confirms that the source moves towards the observer.

This result is physically reasonable. The observer is already moving towards the source, increasing the observed frequency. The source must also be approaching to produce the measured frequency of \(750\ \text{Hz}\).

Question 5

A car carries a speaker that emits a constant frequency of \(450\ \text{Hz}\).

The car follows a cyclist along a straight road. Both travel in the same direction at constant speeds, and the car is faster.

The car approaches the cyclist from behind and eventually overtakes them.

Assume the air is stationary and the speed of sound is \(330\ \text{m s}^{-1}\).

A microphone attached to the cyclist records:

  • Immediately before the car passes: \(480\ \text{Hz}\).
  • Immediately after the car passes: \(425\ \text{Hz}\).

Determine the speed of the car and the speed of the cyclist relative to the air.

A student claims that the relative speed between the car and cyclist is the same immediately before and after the pass, so a single relative-speed Doppler calculation should be sufficient to explain both readings.

Evaluate this claim.

Solution 5

The car travels at \(30\ \text{m s}^{-1}\), and the cyclist travels at \(10\ \text{m s}^{-1}\), both relative to the air. The student’s claim is incorrect.

The relative speed between the two vehicles is indeed unchanged in magnitude before and after the pass.

However, the source and observer contribute differently to the Doppler equation. Their individual speeds matter, not just their relative speed.

Let:

  • \(V_s\) = car speed relative to the air.
  • \(V_o\) = cyclist speed relative to the air.

Both speeds are positive magnitudes in the direction of travel.

Step 1: Analyse the situation immediately before the pass.

The car is behind the cyclist and catching up.

The source moves towards the observer:

\[ u_s=+V_s \]

The observer moves away from the source:

\[ u_o=-V_o \]

Using the measured frequency:

\[ 480=450\frac{330-V_o}{330-V_s} \]

Simplifying:

\[ \boxed{\frac{16}{15}=\frac{330-V_o}{330-V_s}} \]

Step 2: Analyse the situation immediately after the pass.

The car is now ahead of the cyclist.

The source moves away from the observer:

\[ u_s=-V_s \]

The observer moves towards the source:

\[ u_o=+V_o \]

Using the second measurement:

\[ 425=450\frac{330+V_o}{330+V_s} \]

Simplifying:

\[ \boxed{\frac{17}{18}=\frac{330+V_o}{330+V_s}} \]

Notice that the signs of both velocities have changed.

Step 3: Rearrange the first equation.

\[ 16(330-V_s)=15(330-V_o) \]

Expanding:

\[ 5280-16V_s=4950-15V_o \]

Therefore:

\[ \boxed{16V_s-15V_o=330} \]

Step 4: Rearrange the second equation.

\[ 17(330+V_s)=18(330+V_o) \]

Expanding:

\[ 5610+17V_s=5940+18V_o \]

Therefore:

\[ \boxed{17V_s-18V_o=330} \]

Step 5: Solve the simultaneous equations.

We now have:

\[ 16V_s-15V_o=330 \]

\[ 17V_s-18V_o=330 \]

Subtract the first equation from the second:

\[ V_s-3V_o=0 \]

Therefore:

\[ V_s=3V_o \]

Substitute into the first equation:

\[ 16(3V_o)-15V_o=330 \]

\[ 48V_o-15V_o=330 \]

\[ 33V_o=330 \]

Hence:

\[ V_o=10\ \text{m s}^{-1} \]

And:

\[ V_s=3(10) \]

\[ V_s=30\ \text{m s}^{-1} \]

The final answers are:

\[ \boxed{V_s=30\ \text{m s}^{-1}} \]

\[ \boxed{V_o=10\ \text{m s}^{-1}} \]

Step 6: Check both measurements.

Before the pass:

\[ f_{\text{before}}= 450\left(\frac{330-10}{330-30}\right) \]

\[ =450\left(\frac{320}{300}\right) \]

\[ =480\ \text{Hz} \]

After the pass:

\[ f_{\text{after}}= 450\left(\frac{330+10}{330+30}\right) \]

\[ =450\left(\frac{340}{360}\right) \]

\[ =425\ \text{Hz} \]

Both results agree with the measured frequencies.

Why the student’s reasoning fails

The relative speed is:

\[ V_s-V_o=30-10 \]

\[ =20\ \text{m s}^{-1} \]

Its magnitude remains \(20\ \text{m s}^{-1}\) on either side of the pass.

However, this does not uniquely determine the observed frequency.

The source’s velocity determines the spacing between wavefronts, while the observer’s velocity determines how quickly those wavefronts are encountered.

Before the pass, the source compresses the wavefronts while the observer moves away from them.

After the pass, the source produces more widely spaced wavefronts behind it, while the observer moves towards those wavefronts.

The two effects are not interchangeable, even though the relative speed has the same magnitude.

This is why the two measured frequencies are not equally displaced above and below the emitted frequency.

The deeper lesson is that for sound, the Doppler shift depends on the separate velocities of the source and observer relative to the medium, not merely their relative speed.

08What to study next

Once you can handle both moving bodies, wind, and changing directions, the next useful step is recognising which Doppler model a question requires.

For the broader wavefront explanation and simpler source-only and observer-only cases, read The Doppler Effect: Frequency Changes in HSC Physics.

When you move from sound to astronomical observations, the reference-frame model changes. Cosmological Redshift vs the Doppler Effect: How to Tell explains why light requires a different treatment.