---
title: Superposition and interference
heading: Two waves that add up, or cancel out
eyebrow: B8 · Lesson 7 · Superposition and interference
xp: 40
---

::: hook
Two sources sending out waves of the same frequency make a pattern: in some directions their crests arrive together and the waves reinforce; in others a crest meets a trough and they cancel to nothing. Thomas Young showed this with light in 1801, proving light is a wave. Engineers use the same effect to steer radio beams with arrays of antennas, and fight it when a signal and its reflection cancel to give a dead spot.

::: play
- Two sources $d$ apart send out waves of wavelength λ in step. The shading is the average intensity: bright where they reinforce, dark where they cancel.
- Move the sources farther apart. What happens to the number of bright lines?
- Change the wavelength. Which way do the lines fan out?
:::
:::

```sim plot
view: flow
x: x = -4..4 m
y: y = -3..3 m
slider: d = 0.5..4 step 0.25 = 2 m
slider: lam = 0.25..2 step 0.05 = 0.6 m
shade: 2 + 2*cos(2*pi/lam*(sqrt((x + d/2)^2 + y^2) - sqrt((x - d/2)^2 + y^2))) | contours: 0 | scale: 4
dot: -d/2, 0 | label: S₁
dot: d/2, 0 | label: S₂ | color: ch2
readout: bright directions on each side = floor(d/lam)
readout: first dark direction = asin(lam/(2*d))*180/pi °
```

::: predict
## Two speakers play the same tone, in step. You stand where your distance to one speaker is exactly half a wavelength more than to the other. What do you hear?

- [ ] Twice as loud
- [x] Very little: the two waves cancel
- [ ] The same as one speaker
- [ ] A different pitch

::: reveal
Very little. Half a wavelength of extra path puts one wave's crests on the other's troughs, so they cancel. A full wavelength of extra path puts crests on crests again, and it's loud. The pattern of loud and quiet spots depends only on the path difference measured in wavelengths, which is why the bright lines in the sim fan out as straight lines from between the sources.
:::
:::

::: nameit
## Interference

**Superposition.** Where two waves overlap, their disturbances simply add (for fields, as vectors). For two equal waves arriving with a phase difference φ, the total amplitude is $2A\cos(\varphi/2)$ and the intensity

$$I = 4I_0\cos^2(\varphi/2) = 2I_0(1 + \cos\varphi)$$

between 0 and $4I_0$. On average over a region it's $2I_0$: energy isn't destroyed, just moved from the dark spots to the bright ones.

**Path difference.** For two sources in step, the phase difference comes from the difference in distance: $\varphi = 2\pi\Delta r/\lambda$.

- **Constructive** (bright): $\Delta r = m\lambda$
- **Destructive** (dark): $\Delta r = (m + \tfrac12)\lambda$

**Double slit.** Far away, two sources a distance $d$ apart have a path difference $d\sin\theta$ in direction θ, so the bright fringes are at

$$d\sin\theta = m\lambda$$

On a screen a distance $L$ away, they're spaced about $\lambda L/d$ apart. Measuring the spacing measures the wavelength: that's how Young first measured the wavelength of light, about half a micron.

**Coherence.** Interference only shows if the sources keep a fixed phase relationship. Two separate light bulbs don't; two speakers driven by the same amplifier, two antennas fed from one transmitter, or light split from one laser beam do.

**In engineering.** **Phased-array antennas** feed many elements with controlled phase shifts, so their waves add up in one chosen direction: radar and 5G base stations steer beams electronically this way. **Multipath fading** is the unwanted version: a signal and its reflection off a building cancel at some spots, which is why your phone's signal can change when you move a few centimeters.
:::

::: example
## A 633 nm laser lights two slits 0.2 mm apart, with a screen 2 m away. How far apart are the bright fringes?

::: solution
1. **Fringe spacing for small angles.**
   $$\Delta y = \frac{\lambda L}{d}$$
2. **Put in the numbers.**
   $$\begin{aligned} \Delta y &= \frac{633 \times 10^{-9} \times 2}{0.2 \times 10^{-3}}\ \text{m} \\ &= 6.33\ \text{mm} \end{aligned}$$

**Answer:** the bright fringes are 6.33 mm apart.
:::
:::

::: example
## Two antennas 0.5 m apart are fed in step at 600 MHz. In which directions do they add and cancel?

::: solution
1. **Wavelength.** At 600 MHz, $\lambda = 0.5$ m, so $d = \lambda$.
2. **Where they add.** Bright where
   $$\begin{aligned} \sin\theta &= \frac{m\lambda}{d} \\ &= 0 \text{ or } \pm1 \end{aligned}$$
   broadside (0°) and along the line joining them (90°).
3. **Where they cancel.** Dark where $\sin\theta = \frac12$: at 30° on each side.

**Answer:** they add broadside (0°) and along the line joining them (90°), and cancel at 30° on each side.
:::
:::

::: example
## Two antennas half a wavelength apart are fed with the second lagging the first by 90°. Which way does the main beam point?

::: solution
1. **Condition for the beam.** The beam points where the waves from both arrive in step: the extra path to the second antenna, $d\sin\theta$, must make up its 90° lag, a quarter wavelength.
2. **Solve for the angle.** With $d = \frac\lambda2$:
   $$\begin{aligned} \sin\theta &= \frac{\lambda/4}{\lambda/2} \\ &= 0.5 \end{aligned}$$
   so θ = 30° from broadside, toward the second antenna's side.
3. **Steering.** Changing the phase steers the beam with no moving parts. A phased-array radar does this with hundreds of elements, sweeping its beam in microseconds.

**Answer:** the main beam points 30° from broadside, toward the second antenna's side.
:::
:::

::: check
given: d = 0.1 | 0.2 | 0.5; lam = 500 | 600 | 700; L = 1 | 2
answer: lam*1e-9*L/(d*1e-3)*1000
unit: mm
tolerance: 1%

## Light of {lam} nm passes through two slits {d} mm apart. How far apart are the bright fringes on a screen {L} m away?

::: right
Right. $\lambda L/d$ = {answer}.
:::

::: misses
- [lam*1e-9*L/d*1000] Convert the slit separation to meters.
- [lam*1e-9*d*1e-3/L*1000] It's $\lambda L/d$.
- [any] Not yet. Fringe spacing $\approx \lambda L/d$.
:::
:::

::: check
given: phi = 45 | 60 | 135 | 150
answer: 4*cos(phi*pi/360)^2
tolerance: 0.5%

## Two equal waves, each of intensity 1, meet with a phase difference of {phi}°. What is the total intensity?

::: right
Right. $4\cos^2(\varphi/2)$ = {answer}.
:::

::: misses
- [2] That's the average over a pattern, not at this phase.
- [4*cos(phi*pi/180)^2] Use half the phase difference.
- [any] Not yet. $I = 4I_0\cos^2(\varphi/2)$.
:::
:::

::: check
given: lam = 0.5 | 1 | 2; m = 0 | 1 | 2
answer: (m + 0.5)*lam
unit: m
tolerance: 0.5%

## Two speakers in step emit a wavelength of {lam} m. What path difference gives the dark spot of order {m} (counting from 0)?

::: right
Right. $(m + \tfrac12)\lambda$ = {answer}.
:::

::: misses
- [m*lam] That's a bright spot: waves in step.
- [any] Not yet. Dark spots at $(m + \tfrac12)\lambda$.
:::
:::

::: check
given: d = 1 | 1.5; lam = 0.4 | 0.6
answer: asin(lam/d)*180/pi
unit: °
tolerance: 0.5%

## Two antennas {d} m apart radiate in step at a wavelength of {lam} m. At what angle from broadside is the first bright direction off the center?

::: right
Right. $\sin\theta = \lambda/d$: {answer}.
:::

::: misses
- [asin(lam/(2*d))*180/pi] That's the first dark direction.
- [lam/d*180/pi] Take the arcsine.
- [any] Not yet. $d\sin\theta = \lambda$.
:::
:::

::: check
kind: choice

## Two waves cancel at some points of an interference pattern. Where does their energy go?

- [ ] It's destroyed
- [x] It's redistributed to the bright spots, which get up to four times one wave's intensity
- [ ] It's turned into heat
- [ ] It reflects back to the sources

::: right
Right. On average the pattern carries exactly the two waves' combined power.
:::

::: misses
- [1] Energy is conserved; interference only moves it around.
- [3] No absorption is involved.
- [4] It's in the bright regions, not sent back.
:::
:::

::: check
kind: parts
given: d = 0.25 | 0.5; p = 30 | 60

## Two antennas {d} wavelengths apart are fed with the second lagging the first by {p}°.

::: part
answer: asin(p/(360*d))*180/pi
unit: °
tolerance: 0.5%

### At what angle from broadside does the main beam point?

::: misses
- [any] $d\sin\theta = \frac{\varphi}{360°}\lambda$.
:::
:::

::: part
answer: 360*d*sin(20*pi/180)
unit: °
tolerance: 0.5%

### What phase lag would point it 20° from broadside?

::: misses
- [any] $\varphi = 360°\frac d\lambda\sin\theta$.
:::
:::
:::

::: check
kind: derivation
vars: d = 0.0001..0.001, l = 0.0000004..0.0000007, m = 1..3, L = 0.5..3

## Two slits a distance d apart are lit by wavelength λ (write l), with a screen a distance L away.

::: step
answer: asin(m*l/d)

### At what angle is bright fringe m?
:::

::: step
answer: l*L/d

### For small angles, how far apart are neighboring bright fringes on the screen?
:::

::: right
Right. Closer slits spread the pattern: the fringe spacing goes as $\frac1d$.
:::
:::

::: explain
## Why do the bright lines of a two-source interference pattern spread out more when the sources are closer together?

::: model
A bright line runs in every direction where the path difference from the two sources is a whole number of wavelengths, which far away is $d\sin\theta = m\lambda$. With the sources close together, the path difference grows slowly as you change angle, so you have to turn through a larger angle to add one more wavelength of difference. The bright directions are therefore farther apart, and there are fewer of them.
:::
:::

::: practice

::: check
given: d = 1 | 2 | 4; lam = 0.25 | 0.5
answer: floor(d/lam)
tolerance: 0.5%

## Two sources {d} m apart emit a wavelength of {lam} m. How many bright directions are there on each side of center (not counting the central one)?

::: misses
- [d/lam + 1] Count only whole m with $m\lambda \le d$, excluding m = 0.
- [any] The largest m with $m\lambda \le d$.
:::
:::

::: check
given: lam = 400 | 500 | 600; d = 0.1 | 0.25
answer: lam*1e-9/(d*1e-3)*180/pi
unit: °
tolerance: 1%

## Roughly what angle separates neighboring bright fringes for {lam} nm light through slits {d} mm apart?

::: misses
- [any] $\Delta\theta \approx \lambda/d$ in radians.
:::
:::

::: check
given: dr = 0.5 | 1.5 | 2.5; lam = 1
answer: 0
tolerance: 0.001

## Two equal waves in step arrive with a path difference of {dr} wavelengths. What is the total intensity (each wave alone gives 1)?

::: misses
- [4] A half-wavelength offset makes them cancel.
- [any] Odd half-wavelengths cancel.
:::
:::
:::
