019: Hole in the Wall
2026-10-18
Last time the waves had the tank to themselves. This time there is a wall in the way with a hole in it.
A plane wave, a straight line of crests, comes in from the white paddle on the left and meets the wall. The wall has one slit in it or two. What comes out of the other side? It is the first thing most people see of how waves behave and the answer is not what you would get by throwing something through the hole.
Red is a crest, blue is a trough and dark is flat. The faint line near the right-hand edge is the far wall where the waves are measured for the chart below.
Try these:
- One slit, as wide as you can make it. Slit width at 32 and most of the wave goes straight through as a beam with a little spreading at the edges.
- Now narrow it. As the slit shrinks towards the Wavelength the beam gives way to a ring, as if the slit were a stone. A hole about as small as the wave does not let it through as a beam. It makes a new wave.
- Two slits. Each makes its own ring and where the rings cross they add. Crest on crest is a bigger crest and crest on trough is flat water so bands fan out from the wall, bright and dark in turn.
- Move the slits apart with Slit spacing and the bands crowd closer together. Make the wavelength longer and they spread out.
Analysis
How bright the waves are along the far wall, the faint line on the right of the tank. The solid line is what the tank gives, averaged over many moments and the dashed line is the classic prediction for waves through slits of width a that are d apart, a long way from the wall. It has two parts. One slit gives only the broad hump. It gets wider as the slit gets narrower. Two slits add fine fringes inside it, bright where the paths from the two slits differ by a whole number of wavelengths (d \sin\theta = m\lambda) and dark halfway between. Change the Wavelength, Slit width or Slit spacing and both lines move in the way the formula says. They do not agree exactly because the far wall is not very far away and the tank is two-dimensional.
A letter from Leiden
Christiaan Huygens said in a treatise published in 1690 that every point on a wave can be treated as a new source of little circular waves and that the wave a moment later is what they add up to. A gap in a wall is then easy to understand: the wave arrives, the points in the gap each start a ring and nothing is left to cancel the rings except one another. Two gaps are two sets of rings.
Around 1800, Thomas Young used the same picture to argue that light is a wave. In his lectures he showed what two sets of water waves do in a shallow tank with a lamp underneath and then showed that light passed through two slits makes bright and dark bands of the same kind. That is the two slits in the tank above and it is still the standard way to show waves in a classroom.
How the computer does it
The tank is the one from last time with one change. Each cell has a number (1 for water and 0 for wall) and the rule uses it when a cell looks at its neighbours. A wall is a cell with nothing to pull on. There is no special case for a slit: a slit is just a gap in the zeros so the width and spacing sliders cost nothing extra and the tank is rebuilt in a moment when they move.
The chart is measured in the tank. A few times a second the GPU hands back the heights of every cell. The size of a wave is how high it gets over a whole cycle and a single snapshot catches it part-way through. But two snapshots a step apart are enough to work it out because a wave of one frequency changes in a known way from one step to the next. The page does that along the far wall and squares it to get a brightness then averages over many readings. It only starts counting once the first crests have had time to reach the far wall.
For waves of wavelength \lambda through slits of width a with centres d apart, seen at an angle \theta a long way from the wall, the brightness is
I(\theta) \propto \cos^2\!\left(\frac{\pi d \sin\theta}{\lambda}\right) \left(\frac{\sin \alpha}{\alpha}\right)^2, \qquad \alpha = \frac{\pi a \sin\theta}{\lambda}.
The cosine is the fringes from the two slits, with bright bands where d \sin\theta = m\lambda. The second factor is the hump from the width of one slit and its first dark place is where a \sin\theta = \lambda. With one slit there is only the hump (d = 0 takes the cosine to 1). On a wall a distance L away the fringes are about \lambda L / d apart.
Sources
- Huygens, C. (1690), Traité de la lumière (Leiden).
- Young, T., lectures to the Royal Society, around 1800, as described in Young’s interference experiment.