Sub topic 9
Superposition and interference
What this chapter assumes
You should already be comfortable with the wave equation v = fλ, with period and frequency (f = 1/T), and with reading a sine-shaped displacement graph. You also need basic trigonometry: the sine of a sum of angles, and what a phase angle in radians means. Earlier chapters treated one wave at a time. This chapter asks what happens when two waves are in the same place at the same time.
The superposition principle
When two or more waves meet in a medium, the displacement of the medium at each point is the algebraic sum of the displacements each wave would cause alone:
y_total(x, t) = y1(x, t) + y2(x, t)
This is the superposition principle. "Algebraic" means signs matter. A crest from one wave (positive displacement) added to a trough from another (negative displacement) partly or fully cancels.
Three points about this rule come up repeatedly.
- The waves do not interact. Each wave carries on as if the other were absent. Two pulses on a string can overlap, add for a moment, and then continue along their paths with their original shapes. Overlap only changes what you see while they coincide.
- It applies to displacement, not to speed or wavelength. The speed of each wave is still set by the medium, as you saw in the wave-speed chapters. Adding waves does not change
v. - It holds only for a linear medium. In a linear medium, the restoring force is proportional to the displacement. That is a good approximation for small-amplitude sound, light, and string waves. For very large amplitudes, such as a shock wave from an explosion, the medium responds nonlinearly and simple addition fails.
Interference is the name for the pattern you get when you superpose waves that have a steady relationship to each other. Where the waves reinforce, the interference is constructive. Where they cancel, it is destructive.
Pulses first: the simplest case
Take two pulses travelling toward each other on a string. One is a bump of height +2 cm and the other a bump of height +1 cm. When they overlap exactly, the string's peak is +3 cm. That is constructive interference. If the second pulse is a dip of −1 cm instead, the string's peak is +1 cm at the moment of overlap. If the two pulses had equal height and opposite sign, the string would be momentarily flat everywhere they overlap.
Flat does not mean the energy is gone. At that instant, the string's elements have zero displacement but are still moving, because the two pulses carry opposite velocities that do not cancel in the same way. Afterwards the pulses emerge unchanged. Energy is not destroyed by destructive interference. It is moved from the places where the waves cancel to the places where they reinforce.
Two continuous waves of the same frequency
Periodic waves are where f, λ, and phase matter. Consider two waves with the same frequency, the same amplitude A, and a phase difference φ. At a single point, their displacements over time are:
y1 = A sin(ωt) and y2 = A sin(ωt + φ)
Here ω = 2πf is the angular frequency. Using the identity sin a + sin b = 2 sin((a+b)/2) cos((a−b)/2):
y1 + y2 = 2A cos(φ/2) sin(ωt + φ/2)
Read this result carefully. The sum is again a sine wave with the same frequency. Its amplitude is 2A |cos(φ/2)|. The phase difference does not change the frequency. It only changes how tall the oscillation gets.
| Phase difference φ | Amplitude of the sum (equal amplitudes `A`) | Name |
|---|---|---|
| 0 (or 2π, 4π, ...) | 2A | Fully constructive |
| π/2 | √2 A ≈ 1.41A | Partial |
| 2π/3 | A | Partial |
| π (or 3π, 5π, ...) | 0 | Fully destructive |
If the amplitudes differ, A1 and A2, the extremes are A1 + A2 (in phase) and |A1 − A2| (exactly out of phase). The sum cancels completely only when the two amplitudes are equal.
You can check the formula numerically. The program below samples one full cycle of the sum and finds the largest displacement.
import math
A = 1.0
N = 1000 # samples across one full cycle
def peak_of_sum(phase):
"""Largest |y1 + y2| over one cycle, with y1 = A sin(t), y2 = A sin(t + phase)."""
best = 0.0
for i in range(N):
t = 2 * math.pi * i / N
y = A * math.sin(t) + A * math.sin(t + phase)
best = max(best, abs(y))
return best
cases = [
("in phase", 0.0),
("quarter cycle apart", math.pi / 2),
("one third cycle apart", 2 * math.pi / 3),
("opposite phase", math.pi),
]
for label, phase in cases:
formula = 2 * A * abs(math.cos(phase / 2))
print(f"{label:>22}: simulated = {peak_of_sum(phase):.3f}, formula = {formula:.3f}")
# in phase: 2.000 / 2.000
# quarter cycle apart: 1.414 / 1.414
# one third cycle apart: 1.000 / 1.000
# opposite phase: 0.000 / 0.000The simulated and formula columns agree, which confirms that the sum is a sine wave of amplitude 2A |cos(φ/2)|.
Where the phase difference comes from
For a stable interference pattern, the phase difference at a given point has to be fixed. It has two sources:
- A phase difference between the sources,
φ0. Two speakers driven by the same signal haveφ0 = 0. - A path difference
Δ = r2 − r1, the extra distance one wave travels to reach the point.
A path difference of one full wavelength shifts a wave by one full cycle, which is 2π of phase. So a path difference Δ gives a phase shift:
φ = 2π Δ / λ
With φ0 = 0, this gives the standard conditions:
- Constructive:
Δ = mλ, form = 0, 1, 2, ...The waves arrive crest to crest. - Destructive:
Δ = (m + 1/2)λ, form = 0, 1, 2, ...The waves arrive crest to trough.
If the sources are in opposite phase (φ0 = π), these two conditions swap. Always check φ0 before applying them.
Because the wavelength comes from λ = v/f, the interference pattern depends on the medium (through v) and on the source (through f). Raise the frequency, and the wavelength shrinks, so the same physical path difference corresponds to more cycles of phase.
The next program places two in-phase speakers playing 440 Hz in air. It computes the path difference to a listener at several positions and the relative amplitude, |cos(πΔ/λ)|, where 1 is full reinforcement and 0 is full cancellation.
import math
speed = 343.0 # m/s, sound in air near 20 degrees C
frequency = 440.0 # Hz, both speakers, in phase
wavelength = speed / frequency
r1 = 5.00 # m, distance from speaker 1 to the listener
for r2 in (5.78, 5.39, 5.20): # distance from speaker 2, in m
delta = r2 - r1
waves = delta / wavelength
relative_amplitude = abs(math.cos(math.pi * waves))
print(
f"r2 = {r2:.2f} m: path difference = {delta:.2f} m "
f"= {waves:.2f} wavelengths, relative amplitude = {relative_amplitude:.2f}"
)
# r2 = 5.78 m: path difference = 0.78 m = 1.00 wavelengths, relative amplitude = 1.00
# r2 = 5.39 m: path difference = 0.39 m = 0.50 wavelengths, relative amplitude = 0.00
# r2 = 5.20 m: path difference = 0.20 m = 0.26 wavelengths, relative amplitude = 0.69At 5.78 m the second wave has travelled almost exactly one extra wavelength (0.78 m, from the 0.780 m wavelength computed earlier for 440 Hz), so it arrives in step. At 5.39 m it has travelled half a wavelength extra, so the listener hears almost silence for this one frequency.
The decision process the program follows can be drawn as a flow.
Intensity is not amplitude
Sound and light intensity, which is the power delivered per unit area, is proportional to the square of the amplitude. This catches many learners out.
For two equal waves in phase, the amplitude doubles, so the intensity at that point is four times the intensity of one wave, not two. At a point of complete cancellation, the intensity is zero.
The averages still balance. Across the whole pattern, the average intensity of the two waves together equals twice the intensity of one wave. The bright places are four times as bright, the dark places have nothing, and the mean is two. This is energy conservation, and it shows that interference redistributes energy rather than creating or removing it.
Waves of different frequencies: beats
If the two frequencies differ, the phase difference changes continuously, so the sum swings between constructive and destructive. For two equal-amplitude waves with frequencies f1 and f2:
sin(2π f1 t) + sin(2π f2 t) = 2 cos(π (f1 − f2) t) sin(π (f1 + f2) t)
The second factor oscillates at the average frequency. The first factor is a slow envelope that scales the loudness up and down. You hear this as beats, loudness swells repeating at:
f_beat = |f1 − f2|
For example, tuning forks at 440 Hz and 444 Hz give 4 beats per second, while the pitch you perceive is about 442 Hz. Musicians use this to tune. They adjust a string until the beats slow down and disappear, which means the frequencies match.
Common errors and edge cases
- Adding wavelengths or speeds instead of displacements. Superposition adds displacement at each point. The resulting wave keeps the frequency of the components (for equal frequencies) and the speed of the medium.
- Forgetting source phase. The path-difference rules assume the sources start in phase. Sources in opposite phase reverse which positions are loud and which are quiet.
- Assuming destructive interference needs two identical waves everywhere. Total cancellation needs equal amplitudes at the point. With unequal amplitudes, you get a minimum of
|A1 − A2|, not zero. - Treating cancellation as energy loss. Energy is redistributed. A dead spot in one place implies a loud spot elsewhere.
- Mixing up crest-to-crest and path difference in half-wavelengths. A path difference of
λ/2gives a phase difference ofπ, which is half a cycle. A path difference ofλgives2π, which looks identical to zero phase difference. - Using the identity with a different amplitude for each wave. The compact formula
2A cos(φ/2)requires equal amplitudes. Otherwise add the two sine terms with a phasor, or compute numerically.
Looking ahead
Superposition has a major consequence for a wave on a string with fixed ends. A wave travelling along the string reflects at the end and comes back, so two waves with the same frequency and amplitude travel in opposite directions and superpose. The result is a pattern whose peaks stay in fixed places. That is a standing wave, and the next chapter shows how its allowed wavelengths follow from the string's length together with v = fλ.
Exercises
Exercise
Two in-phase speakers each play a 686 Hz tone in air, where the speed of sound is 343 m/s. A listener is 3.00 m from speaker 1 and 3.25 m from speaker 2. Is the interference at the listener constructive or destructive?
Show answer
The wavelength is λ = v/f = 343 / 686 = 0.500 m. The path difference is 3.25 − 3.00 = 0.25 m, which is λ/2. A path difference of half a wavelength puts the waves a half cycle (π) apart, so the interference is destructive. With equal amplitudes, the tone is largely cancelled at that position.
Exercise
Two waves of the same frequency meet at a point. Their amplitudes are 3 cm and 1 cm. What are the largest and smallest possible amplitudes of the sum, and which phase differences produce them?
Show answer
The largest amplitude is 3 + 1 = 4 cm, when the waves are in phase (φ = 0, 2π, ...). The smallest is |3 − 1| = 2 cm, when they are exactly out of phase (φ = π, 3π, ...). Complete cancellation is not possible because the amplitudes differ.
Exercise
A guitar string is tuned against a 512 Hz reference tone. You hear 4 beats per second. What are the two possible frequencies of the string? Then, if two equal waves in phase give a combined intensity at one point of 8 W/m², what intensity does each wave produce alone?
Show answer
The beat frequency is |f_string − 512| = 4, so the string is at 508 Hz or 516 Hz. Beats alone do not tell you which. For the second part, intensity is proportional to amplitude squared, and two equal in-phase waves double the amplitude, so the combined intensity is 4 times that of one wave. Each wave alone gives 8 / 4 = 2 W/m².