Sub topic 14
Beats: two close frequencies
This chapter assumes you know simple harmonic motion, the sum-to-product identities of trigonometry, and the relation v = fλ. It builds on the principle of superposition. The next chapter uses beats to find unknown frequencies, so here we focus on where beats come from, what exactly the beat frequency is, and where students go wrong.
What a beat is
When two sound sources of nearly equal frequency sound together, a listener hears a single note whose loudness rises and falls periodically. One full rise and fall is a beat. The beat frequency is the number of beats per second.
Two things are needed:
- The frequencies must be close, usually within about 10 Hz. If they differ much more, the ear hears two separate tones instead of a pulsing one.
- The amplitudes should be comparable. Beats still occur with unequal amplitudes, but the quiet moments are not fully silent.
Derivation from superposition
Take two waves of equal amplitude A at one point in space. Place the point at x = 0 so that only time dependence matters:
y₁ = A sin(2π f₁ t), y₂ = A sin(2π f₂ t)
By superposition, the resultant displacement is y = y₁ + y₂. Use sin a + sin b = 2 sin((a+b)/2) cos((a−b)/2):
y = 2A cos(π (f₁ − f₂) t) · sin(π (f₁ + f₂) t)
Read this as a sine wave with a slowly varying amplitude:
- The carrier has the average frequency f_avg = (f₁ + f₂)/2. This is the pitch you hear.
- The amplitude is the envelope 2A |cos(π (f₁ − f₂) t)|.
Loudness depends on intensity, which is proportional to amplitude squared. The envelope |cos(π Δf t)| reaches its maximum whenever π Δf t is a multiple of π, that is, at t = 0, 1/Δf, 2/Δf, and so on. So the maxima are 1/|f₁ − f₂| seconds apart, and
f_beat = |f₁ − f₂|
Why the cosine gives Δf and not Δf/2
The cosine itself changes sign with period 2/Δf. But the ear and the intensity respond to |cos| (or cos²), which completes a full cycle in half that time, 1/Δf. A sign change of the envelope is not a separate beat. Students often derive "Δf/2" by counting the cosine's period instead of the intensity's.
Phase picture
The same result follows from phase. Over time t, source 1 completes f₁t cycles and source 2 completes f₂t cycles. The sources drift in and out of step. They are in phase (constructive, loud) each time the difference in completed cycles grows by one, which takes 1/|f₁ − f₂| seconds. They are out of phase (destructive, quiet) halfway between.
Amplitude and intensity extremes
For equal amplitudes A:
- Maximum amplitude is 2A, so maximum intensity is 4I₀ where I₀ is the intensity of one source.
- Minimum amplitude is 0, so minimum intensity is 0.
For unequal amplitudes A₁ and A₂:
| Quantity | Maximum | Minimum | Column | Column |
|---|---|---|---|---|
| Resultant amplitude | A₁ + A₂ | \ | A₁ − A₂\ | |
| Intensity ratio I_max / I_min | (A₁ + A₂)² / (A₁ − A₂)² |
With unequal amplitudes the waxing and waning is shallower, and the minimum is never zero. The beat frequency is still |f₁ − f₂|.
Checking it numerically
The code below builds the signal for 256 Hz and 260 Hz, then counts envelope maxima in one second to confirm four beats per second.
import numpy as np
f1, f2 = 256.0, 260.0
fs = 44100
t = np.linspace(0, 1, fs, endpoint=False)
signal = np.sin(2 * np.pi * f1 * t) + np.sin(2 * np.pi * f2 * t)
beat_frequency = abs(f1 - f2)
print(beat_frequency) # 4.0
# Envelope predicted by sin(a) + sin(b) = 2 sin((a+b)/2) cos((a-b)/2)
envelope = 2 * np.abs(np.cos(np.pi * (f1 - f2) * t))
# Count local maxima of the envelope in one second
is_peak = (envelope[1:-1] > envelope[:-2]) & (envelope[1:-1] >= envelope[2:])
print(int(is_peak.sum())) # 3 or 4, depending on the endpoint at t = 0The peak at t = 0 sits on the array boundary and is not counted by this interior test, so the count printed is 3 and the full-second total is 4. The analytic envelope peaks at t = 0, 0.25, 0.5, 0.75 s, which gives 4 beats in each second.
Worked example
Two tuning forks, A and B, produce 8 beats in 2 s when sounded together. Fork A has frequency 256 Hz. What are the possible frequencies of B?
- Beat frequency = 8 / 2 = 4 Hz.
- |fB − 256| = 4, so fB = 252 Hz or 260 Hz.
Beats give only the magnitude of the difference. They cannot say which fork is higher. The next chapter shows how loading or filing a fork removes this ambiguity.
Common pitfalls
- Counting beats per interval wrongly. Beat frequency is beats per second. If you measure N beats in T seconds, f_beat = N/T.
- Using the wrong frequency for the pitch. The pitch heard is the average (f₁ + f₂)/2, not either individual frequency.
- Confusing beats with interference in space. Beats are interference in time at a fixed point. Spatial interference of two same-frequency sources gives fixed loud and quiet places and no beats.
- Applying beats to widely different frequencies. The formula |f₁ − f₂| still describes the envelope mathematically, but the ear does not hear a pulsation above about 15 to 20 Hz.
- Forgetting the Doppler shift. If a source moves, its observed frequency changes. Compute observed frequencies first, then subtract.
A case with waves in a medium
If both sources are at different distances from the listener, a fixed phase difference appears in each wave: y₁ = A sin(2π f₁ t − φ₁) and y₂ = A sin(2π f₂ t − φ₂). The beat frequency is unchanged because φ₁ and φ₂ only shift where in time the maxima fall. So position changes when the beats occur, not how often.
Beats with harmonics
Real instruments emit harmonics, so beats can arise between overtones too. If one string gives a fundamental at 440 Hz and another gives 443 Hz, the fundamentals beat at 3 Hz. Their second harmonics, 880 Hz and 886 Hz, beat at 6 Hz. The beat rate of the n-th harmonics is n times that of the fundamentals. Tuners exploit this: the higher harmonic gives a faster, easier to count beat.
f_a, f_b = 440.0, 443.0
for n in range(1, 4):
print(n, abs(n * f_a - n * f_b))
# 1 3.0
# 2 6.0
# 3 9.0Summary of results
| Result | Expression | Column | Column |
|---|---|---|---|
| Resultant wave (equal amplitudes) | 2A cos(π Δf t) sin(2π f_avg t) | ||
| Beat frequency | \ | f₁ − f₂\ | |
| Beat period | 1 / \ | f₁ − f₂\ | |
| Perceived pitch | (f₁ + f₂)/2 | ||
| Maximum intensity (equal amplitudes) | 4I₀ | ||
| Minimum intensity (equal amplitudes) | 0 |
Exercise
Two sources of sound with amplitudes in the ratio 3 : 1 and frequencies 400 Hz and 404 Hz are sounded together. Find (a) the beat frequency and (b) the ratio of maximum to minimum intensity at a point where both waves arrive.
Show answer
(a) fbeat = |404 − 400| = 4 Hz. (b) Take amplitudes 3a and a. Maximum amplitude = 3a + a = 4a and minimum amplitude = 3a − a = 2a. Intensity is proportional to amplitude squared, so Imax / I_min = (4a)² / (2a)² = 16/4 = 4, a ratio of 4 : 1.
Exercise
A student hears 6 beats in 3 s from two forks. One fork is 512 Hz. If the other is a harmonic detail you know to be lower than 512 Hz, what is its frequency? Then find the beat frequency between the second harmonics of both forks.
Show answer
Beat frequency = 6/3 = 2 Hz. The other fork is lower, so its frequency is 512 − 2 = 510 Hz. The second harmonics are 1024 Hz and 1020 Hz, so they beat at |1024 − 1020| = 4 Hz, which is twice the fundamental beat rate.