Sub topic 2
The superposition principle
When two waves meet in the same medium, the medium's displacement at each point is the sum of the displacements the waves would cause separately. Interference, beats, and standing waves all follow from this one rule. This chapter states the rule precisely, shows why it holds, tests it numerically, and marks where it fails.
This chapter assumes you know the following:
- Basic trigonometry (sine and cosine).
- Wave amplitude, wavelength, frequency, period, and wave speed, and the relation v = fλ.
- Basic algebra.
- The traveling-wave form y(x, t) = A sin(kx − ωt + φ), which the previous chapter reviewed.
Statement of the principle
The superposition principle says that if wave 1 alone would produce displacement y₁(x, t) and wave 2 alone would produce y₂(x, t), then both together produce
y(x, t) = y₁(x, t) + y₂(x, t)
The sum is taken at each point x and each instant t separately. "Displacement" means whatever quantity the wave disturbs: the height of a string, the pressure change in air, or the electric field in light.
Three consequences are worth stating at the start:
- Waves do not collide the way particles do. After overlapping, each wave continues with its original shape, speed, and direction.
- The overlap exists only while the waves occupy the same region. The sum is not stored anywhere.
- The rule applies to any number of waves. Sound from an orchestra reaches your ear as one pressure variation that is the sum of every instrument's contribution.
Why it holds: linearity
Superposition is a property of the equation that governs the wave. A string under tension T with linear mass density μ obeys the wave equation, derived from Newton's second law for small displacements:
∂²y/∂t² = v² ∂²y/∂x², with v = √(T/μ)
This equation is linear. The unknown y appears only to the first power, and each term is just y or one of its derivatives. Suppose y₁ and y₂ both satisfy it. Substitute y = y₁ + y₂:
∂²(y₁ + y₂)/∂t² = ∂²y₁/∂t² + ∂²y₂/∂t² = v² ∂²y₁/∂x² + v² ∂²y₂/∂x² = v² ∂²(y₁ + y₂)/∂x²
So the sum is also a solution. The same argument works for c₁y₁ + c₂y₂ with constant c₁ and c₂, which is the formal statement of linearity: scaling a wave scales its effect, and adding waves adds their effects.
A medium is linear when its restoring force is proportional to the displacement, as in Hooke's law. Superposition holds for waves in such a medium. Most everyday waves at modest amplitude qualify.
Worked example: two pulses on a string
Two pulses travel toward each other on a string. One has a peak height of +3 cm and the other +2 cm.
- While they overlap and their peaks coincide, the string's peak height is 3 + 2 = 5 cm.
- If the second pulse were inverted (−2 cm), the peak at that moment would be 3 − 2 = 1 cm.
- After they separate, you see the original +3 cm and ±2 cm pulses again, each unchanged.
If the pulses had equal size and opposite sign, the string would be momentarily flat everywhere. The pulses are still there. The string's particles are still moving, because the sum of the two velocity profiles is not zero, so the pulses reappear and move on.
Checking it numerically
The following script builds two Gaussian pulses moving toward each other at speed v = 1. It adds them point by point, as the principle says. The right-moving pulse starts at x = −3 and the left-moving one at x = +3, so they meet at x = 0 when t = 3.
import numpy as np
v = 1.0
x = np.linspace(-10, 10, 2001) # index 1000 is x = 0
def pulse(u, height):
return height * np.exp(-u**2)
def string_shape(t, h_right, h_left):
right = pulse(x - (-3 + v * t), h_right) # moves right
left = pulse(x - (3 - v * t), h_left) # moves left
return right + left # superposition
for t in (0, 3, 6):
for label, h_left in (("same sign", 1.0), ("opposite sign", -1.0)):
y = string_shape(t, 1.0, h_left)
print(f"t={t}: {label:13s} max={y.max():.3f} "
f"min={y.min():.3f} y(0)={y[1000]:.3f}")Read the output for these three results:
- At t = 0 and t = 6 the pulses are far apart. Each is a separate peak of height 1.
- At t = 3 with the same sign, the maximum is 2.000 at x = 0.
- At t = 3 with opposite sign, the whole string is at 0.000.
Between t = 3 and t = 6 the pulses move apart again with their original shapes. Nothing in the code tracks any "interaction". The sum of the two shapes is the whole physics.
When superposition fails
Superposition is an approximation to a linear model. It breaks when the medium's response is not proportional to the displacement. The script below uses a toy response, r(s) = s + 0.3 s², where the quadratic term stands for any nonlinearity. It compares the response to the combined stimulus with the sum of the individual responses.
def response(s):
return s + 0.3 * s**2
for a, b in ((0.01, 0.01), (1.0, 1.0)):
combined = response(a + b)
separate = response(a) + response(b)
mismatch = abs(combined - separate) / abs(combined)
print(f"a=b={a}: combined={combined:.5f}, "
f"sum of separate={separate:.5f}, mismatch={mismatch:.1%}")For tiny inputs the mismatch is about 0.3%, so the linear model is a good approximation. For inputs of size 1 it is about 19%. The lesson is that superposition improves as amplitude shrinks, which is why physics courses say "small amplitude" so often.
Real examples of failure:
- Large string displacements. A string stretched far from its rest shape changes its tension, so the restoring force is no longer proportional to the displacement.
- Intense sound. Very loud sound changes the air's density enough that the wave speed depends on amplitude. Shock waves form.
- Intense light. In some crystals, strong laser light produces new frequencies. This is nonlinear optics.
- Large water waves. Waves near breaking steepen and interact, so they do not pass through each other unchanged.
Add displacements, not intensities
This is the most common error. Consider two identical speakers that each produce sound of intensity I at your position when played alone. If they play the same tone in phase, the pressure amplitudes add: A + A = 2A. Intensity is proportional to A², so the combined intensity is 4I, not 2I. If they are exactly out of phase, the amplitudes cancel and the intensity is zero.
Energy is not lost. Averaged over all positions, the combined intensity is 2I. Interference moves energy from the places where it cancels to the places where it reinforces.
| Quantity | Adds directly under superposition? | Notes |
|---|---|---|
| Displacement y | Yes | The defining rule |
| Pressure change, electric field | Yes | These are displacements of the relevant wave |
| Velocity of medium elements | Yes | Follows by differentiating the sum |
| Amplitude | Only if the waves are in phase | Depends on the phase difference, covered next |
| Intensity or energy | No | Compute it from the summed displacement |
Vector and scalar waves
On a string, displacement is along one transverse direction, so the sum is an ordinary sum of numbers. If waves disturb the medium in different directions, superposition applies to each component. Two transverse waves on a string polarized at right angles add as vectors, and the string traces a path in the plane. Sound is a scalar pressure change, so it needs no direction bookkeeping.
Superposition and the rest of this tutorial
Everything that follows uses the principle in the same way:
- Two sinusoids of the same frequency add to another sinusoid of that frequency. Its amplitude depends on their phase difference.
- Two sinusoids of nearby frequencies add to a signal whose loudness oscillates, which we call beats.
- A wave and its reflection overlap in the same region. Their sum is a standing wave.
- A complicated waveform can be written as a sum of simple sinusoids. This runs the principle in reverse and is the basis of the harmonic view of sound.
Exercise
Two pulses travel on a string. Pulse A has height +4 cm and pulse B has height −1.5 cm. (a) What is the string's height at a point where the two overlap exactly? (b) Each pulse reaches 10 cm of string per second, and the pulses are far apart. What does the string look like a few seconds after they pass through each other?
Show answer
(a) By superposition, add the displacements: 4 + (−1.5) = +2.5 cm. (b) Each pulse continues unchanged. Pulse A is still a +4 cm pulse and pulse B is still a −1.5 cm pulse. Each keeps its original direction and speed, because the string is a linear medium and the waves pass through each other without altering one another.
Exercise
Two identical speakers each give a sound intensity of 0.20 W/m² at your position when played alone. They are played together in phase at a point where their waves arrive in phase. What is the combined intensity, and why is it not 0.40 W/m²?
Show answer
Pressure amplitudes add, so the combined amplitude is twice the single-speaker amplitude. Intensity scales with amplitude squared, so the intensity is 4 × 0.20 = 0.80 W/m². Adding intensities would be wrong because superposition applies to displacements. Energy is conserved overall because other locations have destructive interference, where the intensity is lower than 0.40 W/m².
Exercise
A medium's response to a stimulus s is r(s) = s + 0.1 s². Is superposition valid for it? Test with stimuli a = 1 and b = 2.
Show answer
No. The combined stimulus gives r(3) = 3 + 0.9 = 3.9. The individual responses are r(1) = 1.1 and r(2) = 2.4, which sum to 3.5. Since 3.9 ≠ 3.5, the response is nonlinear and superposition fails. It would be a good approximation only for small stimuli, where the s² term is negligible.