Sub topic 2
Superposition: adding waves
This chapter assumes you know wavelength, frequency, amplitude and phase from the previous chapter. It also assumes you can handle sines and cosines and the identity cos A + cos B. The goal is a working rule for adding two waves and turning the result into an intensity. Every later fringe formula in this tutorial is a special case of that rule.
The superposition principle
When two or more waves overlap at a point, the displacement of the medium at that point is the sum of the displacements each wave would cause alone. This is the superposition principle.
For light, the "displacement" is the electric field. At a point P, the total field is:
E(P, t) = E1(P, t) + E2(P, t)
After the waves pass through each other, each continues as if the other had never been there. Overlap changes the pattern only where the waves meet.
Superposition holds because the wave equation is linear. If E1 and E2 are both solutions, then so is any sum of them. This is why wave optics can be built from small pieces. You solve for one source, then add.
Two points to keep clear:
- You add fields (signed quantities), not brightnesses. A field can be negative. Brightness cannot.
- The sum is exact only in a linear medium. Ordinary light in air, glass or vacuum behaves linearly at everyday intensities. Very intense laser light in some crystals does not, and the principle fails there.
Adding two waves of the same frequency
Take two waves at one point, with the same angular frequency ω:
- y1 = A1 cos(ωt)
- y2 = A2 cos(ωt + φ)
Here φ is the phase difference, the amount by which wave 2 is ahead of wave 1 at that point. The sum is another wave of frequency ω with a new amplitude and phase. The easiest way to find the amplitude is to treat each wave as the real part of a complex number:
y1 + y2 = Re[(A1 + A2 e^(iφ)) e^(iωt)]
The common factor e^(iωt) carries the time dependence. The resultant amplitude A is the size of the complex number in brackets:
A² = |A1 + A2 e^(iφ)|² = A1² + A2² + 2 A1 A2 cos φ
This is the law of cosines. You can picture each wave as an arrow (a phasor) whose length is its amplitude and whose angle is its phase. The resultant is the arrow you get by placing the two end to end.
The equal-amplitude case
Double-slit work almost always has two waves of equal amplitude A0. Setting A1 = A2 = A0 gives:
A² = 2 A0² (1 + cos φ) = 4 A0² cos²(φ/2)
So A = 2 A0 |cos(φ/2)|. The intensity of a wave is proportional to the square of its amplitude, so with I0 the intensity from one wave alone:
I = 4 I0 cos²(φ/2)
| Phase difference φ | Resultant amplitude | Intensity | Name |
|---|---|---|---|
| 0 | 2 A0 | 4 I0 | Fully constructive |
| π/2 | √2 A0 | 2 I0 | Partial |
| π | 0 | 0 | Fully destructive |
| 2π | 2 A0 | 4 I0 | Fully constructive again |
The pattern repeats every 2π, because adding a full cycle to a phase changes nothing. Constructive interference occurs at φ = 2π m and destructive interference at φ = (2m + 1)π, where m is an integer. The next chapter converts these phase conditions into conditions on path length.
Checking the formula numerically
The code below builds two waves, adds them sample by sample, and compares the largest value of the sum with the formula. It runs as shown.
import numpy as np
A1, A2 = 1.0, 0.6
omega = 2 * np.pi # one full period spans t = 0 to 1
t = np.linspace(0, 1, 10001)
for phi_deg in (0, 90, 180):
phi = np.radians(phi_deg)
y = A1 * np.cos(omega * t) + A2 * np.cos(omega * t + phi)
measured = y.max()
predicted = np.sqrt(A1**2 + A2**2 + 2 * A1 * A2 * np.cos(phi))
print(f"phi = {phi_deg:3d} deg: measured {measured:.3f}, formula {predicted:.3f}")The two columns agree to three decimal places: 1.600, 1.166 and 0.400. At 180° the waves do not cancel, because the amplitudes differ. The leftover amplitude is |A1 − A2| = 0.4. Complete cancellation needs equal amplitudes as well as opposite phase.
Energy is redistributed, not created
At φ = 0 the intensity is 4 I0, which is twice what you get by adding the two separate intensities (2 I0). At φ = π it is 0. This can look like a violation of energy conservation. It is not. Over a whole pattern, the extra light at the bright places is exactly what is missing at the dark places.
You can see this by averaging over φ. The average of cos² over a full cycle is 1/2, so the mean of 4 I0 cos²(φ/2) is 2 I0. That equals the sum of the two separate intensities. Interference moves energy from one place to another and leaves the total unchanged.
Coherent and incoherent addition
The formula A² = A1² + A2² + 2 A1 A2 cos φ has a cross term, 2 A1 A2 cos φ. Everything interesting about interference lives in that term.
- If φ stays fixed in time at a given point, the cross term survives. The waves are coherent, and you add amplitudes first, then square.
- If φ changes randomly and quickly, the cross term averages to zero. The waves are incoherent, and you add intensities: I = I1 + I2.
The second code example shows this by averaging over many random phases.
import numpy as np
A1, A2 = 1.0, 0.6
rng = np.random.default_rng(0)
# Coherent: phase difference fixed at 0
coherent = A1**2 + A2**2 + 2 * A1 * A2 * np.cos(0.0)
# Incoherent: phase difference random, new value each sample
phis = rng.uniform(0, 2 * np.pi, 100_000)
incoherent = np.mean(A1**2 + A2**2 + 2 * A1 * A2 * np.cos(phis))
print(f"Coherent (phi = 0): A^2 = {coherent:.2f}")
print(f"Incoherent average: A^2 = {incoherent:.2f}")
print(f"A1^2 + A2^2 = {A1**2 + A2**2:.2f}")The coherent value is 2.56. The incoherent average is about 1.36, which equals A1² + A2². This is why two ordinary light bulbs shining on a wall give no fringes. Their relative phase at any point wanders far faster than the eye or a detector can follow. The coherence chapter treats this properly.
Waves of different frequency: beats
If the two frequencies differ, the phase difference changes steadily with time, and the sum is no longer a fixed-amplitude wave. For equal amplitudes, the identity cos a + cos b = 2 cos((a − b)/2) cos((a + b)/2) gives:
cos(ω1 t) + cos(ω2 t) = 2 cos((ω1 − ω2)t/2) · cos((ω1 + ω2)t/2)
The second factor oscillates at the average frequency. The first factor is a slow envelope that swells and fades. The intensity pulses at the beat frequency |f1 − f2|. Two sound sources at 440 Hz and 444 Hz beat four times per second.
For visible light, the frequencies are around 5 × 10¹⁴ Hz, so even a small fractional difference gives beats too fast for any detector. A detector reports the time average, and the cross term averages to zero. Two light sources of different frequency therefore add in intensity, and no stable fringes form. Stable interference needs the same frequency (or a very tightly controlled difference).
Vectors, not just numbers
Light is a transverse wave, so the field has a direction (its polarization). Superposition adds the field vectors. Two waves polarized at right angles to each other cannot cancel, however their phases are set, because their vectors are perpendicular and have no component along each other. The cross term is then zero.
The standard double-slit setup avoids this problem by using light with the same polarization from both slits. Later chapters assume that and treat the field as a single number.
Common errors
- Adding intensities when the sources are coherent. For a fixed phase relationship, add amplitudes and then square.
- Confusing phase with phase difference. Only the difference φ between the waves at the same point matters for the resultant.
- Assuming that opposite phase always means zero. That holds only for equal amplitudes.
- Forgetting that the intensity is proportional to A², not A. Doubling the amplitude quadruples the intensity.
- Treating overlapping waves as permanently altered. Superposition describes the sum at the overlap. Each wave continues unchanged afterward.
Summary of the working model
- Fields add. Intensities do not, unless the cross term averages to zero.
- For equal frequencies, A² = A1² + A2² + 2 A1 A2 cos φ.
- For equal amplitudes, I = 4 I0 cos²(φ/2), with maxima at φ = 2π m and zeros at φ = (2m + 1)π.
- The total energy is conserved. Interference redistributes it.
- Different frequencies give beats, and for light the beats average out.
Exercise
Two coherent waves with intensities I1 = 1.0 and I2 = 4.0 (arbitrary units) meet at a point with phase difference φ = π. What is the intensity there, and why is it not zero?
Show answer
The amplitudes are proportional to the square roots of the intensities, so A1 = 1 and A2 = 2. At φ = π, cos φ = −1, so A² = 1 + 4 − 2(1)(2) = 1. The intensity is 1.0. It is not zero because the amplitudes are unequal: the resultant amplitude is |A1 − A2| = 1, so the larger wave is only partly cancelled.
Exercise
Two equal-amplitude coherent waves each give intensity I0 alone. At what phase differences φ (between 0 and 2π) is the combined intensity exactly I0, and what is the average intensity over all φ?
Show answer
Set 4 I0 cos²(φ/2) = I0, so cos²(φ/2) = 1/4 and cos(φ/2) = ±1/2. Within 0 to 2π, φ/2 lies between 0 and π, so φ/2 = π/3 or 2π/3, which gives φ = 2π/3 and 4π/3. The average of cos² over a full cycle is 1/2, so the mean intensity is 2 I0, the same as for two incoherent waves.