The heart of the Doppler effect is one question: how many crests hit your ear each second? Frequency heard means exactly that — crests per second.
Look at the picture below. On the left the source sits still; it paints crests as a set of evenly spaced rings, each one a distance λ=v/f apart. On the right the source is moving: each new crest is born from a spot slightly ahead of the last, so the rings bunch up in front and spread out behind.
Figure s02 — two ring pictures side by side. Left: a still source with evenly spaced blue circles (spacing = wavelength). Right: a moving source whose circles bunch up (red) in front and spread out (green) behind. Caption asks: how many crests reach your ear per second?
Now let's turn each knob into a term.
The observer term (numerator). Suppose the rings are fixed with spacing λ and travel through the air at speed v. If you stand still, rings sweep past you at speed v, so you meet v/λ=f of them per second — no shift. If you now walk into them at speed vo, the rings approach you at the combined speed v+vo (your closing speed on something coming at you is the sum of the two speeds — see Relative velocity). You now meet (v+vo)/λ crests per second. The observer's speed adds to the closing speed, so it lands on top as v+vo.
Figure s03 — the observer term. Vertical blue crest lines with fixed spacing λ drift right at v; an orange observer on the right runs left (into them) at vo; a green box states the closing speed is v+vo, which becomes the numerator.
The source term (denominator). Now hold the observer still and move the source toward them at vs. In one period T=1/f the source emits a crest, then travels vsT forward before emitting the next. So the next crest starts vsT closer than it otherwise would: the spacing in front shrinks from λ=vT to
λ′=vT−vsT=(v−vs)T=fv−vs.
The rings still travel at v (the medium, not the source, sets wave speed — see Wave speed in a medium). So you meet v/λ′=f⋅v/(v−vs) crests per second. The source's forward motion shrinks the denominator to v−vs.
Figure s04 — the source term. The source at "emit 1" (orange) has moved a distance vsT to "emit 2" (red); the two crest fronts it painted are only λ′=(v−vs)T apart (green double-arrow), which becomes the denominator.
Stacking them. The observer changes the closing speed (top); the source changes the spacing (bottom). Because these two knobs act on different parts of the ratio spacingclosing speed — one on the numerator, one on the denominator — turning both at once simply replaces both parts at the same time:
f′=spacing you meetclosing speed of crests=(v−vs)/fv+vo=fv−vsv+vo.Why this step? We are allowed to substitute both corrected pieces into the single fraction spacingclosing speed precisely because they are independent: the observer's motion never touches the ring spacing, and the source's motion never touches the closing speed. Independent effects multiply/divide into the same ratio without interfering, so we may plug in the observer-corrected numerator (v+vo) and the source-corrected denominator ((v−vs)/f) together. That is the master formula for approach. Reverse either motion and its sign flips — which gives the general form and, crucially, tells us why the sign rule works.
The words "top" and "bottom" mean the numerator and denominator — the numbers above and below the dividing line. That is the entire vocabulary we need.
Recall Aside: what if the motion is
not head-on? (off-axis case)
Everything above assumed motion straight along the source–observer line. If the observer or source moves at an angle, only the component along the line joining them does the squeezing.
Figure s05 — the off-axis angles. A source and observer sit at two dots joined by a dashed gray "line of sight." Each has a velocity arrow at an angle to that line: the source's velocity makes angle φ with the line, the observer's makes angle θ. The component along the line — vscosφ for the source, vocosθ for the observer — is drawn as a shorter arrow on the dashed line; the sideways (perpendicular) component is drawn faint, labelled "no Doppler shift."
Replace vo→vocosθ and vs→vscosφ, where (see the figure) θ is the angle between the observer's velocity and the line joining the two, and φ is the angle between the source's velocity and that same line. Head-on motion means the velocity points straight along the line, so θ=0 (or φ=0) and cos=1 — the full speed counts. Purely sideways motion means the velocity is perpendicular, θ=90∘, so cos90∘=0 and there is no first-order shift. We defer the full off-axis treatment; on this page every example is head-on so cos=1.
Every Doppler problem is one row of the table below. The last column names the example that solves it.
#
Who moves?
Direction
What we expect
Solved in
A
Observer only
toward source
pitch up
Example 1
B
Observer only
away from source
pitch down
Example 2
C
Source only
toward observer
pitch up
Example 3
D
Source only
away from observer
pitch down
Example 4
E
Both
toward each other
biggest up
Example 5
F
Both
source flees, observer chases
small net down
Example 6
G
Zero / degenerate
nobody moves (vo=vs=0)
no shift
Example 7
H
Real-world word problem
ambulance passing (before & after)
up then down
Example 8
I
Wind blowing
medium itself drifts
shifts v
Example 9
J
Limiting / exam twist
vs→v
formula breaks → shock wave
Example 10
For all examples we reuse: f=400 Hz, v=340 m/s, unless a problem says otherwise. Keeping the numbers constant lets you compare rows directly — a trick worth remembering for exams.
The map below collects the whole sign logic on one card — keep it in view while you work through the cells.
Figure s01 — the sign map. The master formula sits at the top; a blue arrow ties the numerator to the word OBSERVER (toward →+), an orange arrow ties the denominator to SOURCE (toward →−), a green box states the master rule "moving together raises pitch," and a red line marks the validity boundary vs<v.
"You cycle away from a stationary bell." Which cell, and does pitch rise or fall?
::: Cell B — observer only, moving away → pitch falls (−vo on top).
"A drone flies straight over you sounding a tone." Which cells, in what order?
::: Cell C then Cell D (approach up, recede down) — the Example 8 story.
"A jet at exactly Mach 1." Which cell, and what does the formula do?
::: Cell J — denominator →0, f′→∞, formula invalid; shock wave forms.