Sub topic 7
Beats from two nearby frequencies
This chapter assumes you know the superposition principle, can add two sinusoids with a phase difference, and are comfortable with the identity for the sum of two sines. If you need a refresher, review the earlier chapters on superposition and phase difference first.
What a beat is
Two sound sources with slightly different frequencies, such as two guitar strings that are almost in tune, produce a tone whose loudness rises and falls. You hear a steady pitch that swells and fades several times per second. Each swell is one beat.
Beats are interference in time, not in space. At a fixed listening point, the two waves keep drifting in and out of phase. When the crests line up, the waves reinforce each other and the sound is loud. A little later the crest of one meets the trough of the other and the sound nearly vanishes. The cycle repeats at a regular rate.
Deriving the beat frequency
Take two waves of equal amplitude A at one fixed point, with frequencies f1 and f2. Measured at that point, the displacements are:
- y1 = A sin(2π f1 t)
- y2 = A sin(2π f2 t)
By superposition, the total is y = y1 + y2. Apply the sum-to-product identity sin a + sin b = 2 sin((a+b)/2) cos((a−b)/2):
y = 2A cos(π (f1 − f2) t) · sin(π (f1 + f2) t)
Read this as a fast oscillation multiplied by a slow one:
- The factor sin(π (f1 + f2) t) is a carrier. It oscillates at the average frequency f_avg = (f1 + f2)/2. This is the pitch you hear.
- The factor 2A cos(π (f1 − f2) t) is the envelope. It sets the slowly changing amplitude.
The envelope cosine oscillates at (f1 − f2)/2, but loudness depends on the size of the amplitude, not its sign. The cosine reaches a magnitude peak twice per cycle, once positive and once negative. So the loudness peaks at twice the envelope frequency:
f_beat = |f1 − f2|
Between two adjacent loudness peaks, the carrier flips sign. The carrier's phase is therefore opposite on consecutive beats, which has no effect on what you hear.
Computing the beat frequency
For 440 Hz and 444 Hz, the beat frequency is 4 Hz. That means four swells per second, with 0.25 s between loudness peaks.
f1 = 440.0 # Hz
f2 = 444.0 # Hz
beat_frequency = abs(f1 - f2)
print(f"Beat frequency: {beat_frequency:.1f} Hz")You can verify the derivation numerically. The next script checks that the sum equals the product form, then counts the silent moments of the envelope over one second.
import numpy as np
f1, f2 = 440.0, 444.0
fs = 8000 # samples per second
t = np.arange(0, 1, 1 / fs) # one second, endpoint excluded
y = np.sin(2 * np.pi * f1 * t) + np.sin(2 * np.pi * f2 * t)
product_form = 2 * np.cos(np.pi * (f1 - f2) * t) * np.sin(np.pi * (f1 + f2) * t)
print("Identity holds:", np.allclose(y, product_form))
# Each sign change of the envelope cosine is one silent moment, one per beat.
c = np.cos(np.pi * (f1 - f2) * t)
silent_moments = np.count_nonzero(c[:-1] * c[1:] < 0)
print("Beats in one second:", silent_moments)
print("Carrier frequency:", (f1 + f2) / 2, "Hz")The expected output is Identity holds: True, Beats in one second: 4, and a carrier frequency of 442.0 Hz.
Summary of the quantities
| Quantity | Formula | For 440 Hz and 444 Hz |
|---|---|---|
| Heard pitch (carrier) | (f1 + f2) / 2 | 442 Hz |
| Beat frequency | abs(f1 − f2) | 4 Hz |
| Beat period | 1 / abs(f1 − f2) | 0.25 s |
| Envelope frequency (cosine factor) | abs(f1 − f2) / 2 | 2 Hz |
| Maximum amplitude (equal A) | 2A | 2A |
| Minimum amplitude (equal A) | 0 | 0 |
Unequal amplitudes
Real sources rarely have identical amplitudes. For amplitudes A1 and A2, the phasor addition from the phase-difference chapter applies. The phase difference between the waves grows linearly in time, Δφ = 2π (f1 − f2) t. The resultant amplitude is:
R(t) = sqrt(A1² + A2² + 2 A1 A2 cos(2π (f1 − f2) t))
This oscillates at exactly f1 − f2, so the beat frequency does not depend on the amplitudes. Only the depth of the beats changes:
- The loudest moments have R = A1 + A2.
- The quietest moments have R = |A1 − A2|.
If A2 is much smaller than A1, the dip is shallow. You hear a gentle wobble instead of near-silence. Beats are most dramatic when the two amplitudes are close to equal.
Loudness is related to intensity, which is proportional to R². The intensity swings between (A1 + A2)² and (A1 − A2)², so the perceived swell is stronger than the amplitude ratio suggests.
Worked example: finding an unknown frequency
A tuning fork of known frequency 512 Hz is sounded with an unknown fork. You count 6 beats per second.
- The beat frequency is |f − 512| = 6, so the unknown frequency is 506 Hz or 518 Hz.
- Beats cannot tell you which side the unknown frequency lies on. Add a small piece of wax to the unknown fork. Wax adds mass and lowers its frequency.
- You now count 4 beats per second. The beat rate dropped, so the difference between the forks shrank.
- Lowering the unknown fork moved it closer to 512 Hz. That is only possible if it started above 512 Hz, so the unknown frequency was 518 Hz. After waxing it is about 516 Hz, which gives |516 − 512| = 4.
If the rate had risen instead, the unknown fork would have started below 512 Hz, at 506 Hz.
Limits of the beat picture
The beat description depends on the two frequencies being close. Three limits matter in practice.
- Resolution of the ear. Beats are heard clearly up to roughly 10 to 15 Hz in the difference. Beyond that, the swells blur into a rough or buzzing sound. At larger differences, the ear separates the two notes and hears two distinct pitches. The mathematics still holds, but the perception changes.
- Observation time. To measure a beat frequency of 0.5 Hz, you must listen for at least a few seconds. A very small frequency difference gives a very long beat period.
- Linearity. The product form follows from simple addition of the two waves. If the medium or the ear responds nonlinearly, additional frequencies appear, such as the sum and difference tones. The beat envelope you computed assumes a linear medium.
Spatial beats and other waves
At a fixed time, two waves with slightly different wavelengths also produce a spatial pattern: regions of large and small amplitude along the line of travel. The envelope is the same cosine, with wave number in place of frequency. In a moving picture, the envelope travels at the group velocity.
Beats also appear in light and radio. Two close optical frequencies produce intensity fluctuations at the difference frequency. Radio receivers use this idea in heterodyne detection, where a local oscillator is mixed with an incoming signal to produce a lower, easier-to-process difference frequency.
Common errors
- Reporting the average frequency as the beat frequency. The average is the pitch you hear, and the difference is the beat rate.
- Dividing the difference by two. The derived envelope frequency is half the difference, but the beat frequency is the full difference.
- Expecting complete silence with unequal amplitudes. The minimum is |A1 − A2|, not zero.
- Reading the beat rate as telling you which frequency is higher. It gives only the magnitude of the difference.
Exercise
Two organ pipes sound at 261.0 Hz and 264.5 Hz. What pitch do you hear, how many beats occur per second, and how long is the interval between loudness peaks?
Show answer
The heard pitch is the average, (261.0 + 264.5)/2 = 262.75 Hz. The beat frequency is |264.5 − 261.0| = 3.5 Hz, so 3.5 beats occur per second. The interval between loudness peaks is 1/3.5 ≈ 0.286 s.
Exercise
Two waves have amplitudes 3.0 units and 1.0 unit and frequencies 200 Hz and 203 Hz. What are the largest and smallest amplitudes of the combined wave, and how often does the loudness peak?
Show answer
The largest amplitude is A1 + A2 = 4.0 units. The smallest is |A1 − A2| = 2.0 units, so the sound never goes silent. The loudness peaks at |203 − 200| = 3 Hz, which is three times per second.
Exercise
You sound a 440 Hz reference together with a guitar string and hear 5 beats per second. You then tighten the string slightly, which raises its frequency, and the beat rate increases to 7 per second. What was the string's original frequency?
Show answer
Tightening raised the frequency, and the beat rate rose, so the difference grew. That means the string was already above the reference, and it moved further away. The original frequency was 440 + 5 = 445 Hz. After tightening it is about 447 Hz.