Home/Laboratories/Diffraction Lab
Interactive experiment — complete Chapter 8 · Physical Optics and Gravitational Waves

Diffraction Lab

Compare single-slit and grating patterns: widen the slit, add more slits, count the orders — minima at a sinθ = mλ, maxima at d sinθ = mλ.

Learn the physics first

Let light pass through one narrow slit and it refuses to travel straight: it spreads. This is diffraction, and it matters whenever an opening is comparable in size to the wavelength. Each point across the slit’s width acts as a wavelet, and on a distant screen those wavelets arrive with different path differences. Straight ahead they are all in step — the broad central maximum. But at the angle where the two edges of the slit differ by exactly one wavelength, the wavelets cancel in pairs: the first minimum, at a sin θ = λ. Further minima follow at a sin θ = mλ for m = 2, 3 …, and between them sit much fainter side bands. The central maximum is twice as wide as any other band: its full angular width is 2λ/a — wider for longer wavelengths and for narrower slits.

Now repeat the aperture many times: a diffraction grating of slit spacing d. Principal maxima appear where every slit contributes in step, d sin θ = mλ — the same condition as two-slit bright fringes — but with N slits working together each order becomes N² times brighter and about N times narrower, so light sorts into razor-sharp lines at precise angles. Because each wavelength has its own angles, a grating is a spectrometer’s heart: it can reveal the composition of a star from the lines it paints. Interference between a few sources and diffraction from one aperture are the same referee — path differences between wavelets — refereeing different matches.

Single-slit minimaa sin θ = m λ,  m = 1, 2, 3 …
Central-maximum width2 λ / a  (angular);  2 λ L / a  (on a screen at L)
Grating ordersd sin θ = m λ,  m = 0, ±1, ±2 … while m λ ≤ d
Slit spacing from lines per mmd = 1 / (lines per mm)

Model assumptions. Ideal uniform slits, monochromatic light, and the far field (Fraunhofer) limit — the patterns plotted are the textbook formulas I = I₀[sin β/β]² for one slit and I = I₀[sin(Nx)/(N sin x)]² for the grating, not ray drawings. Real gratings blaze their grooves to favour chosen orders; the screen strip shows positions L tan θ exactly.

Experiment

Ready

Analysis

central width vs slit width

Single-slit mode plots the central-maximum width 2λL/a against the slit width; grating mode plots each order’s angle θm against m. The marker follows your sliders.

Controls

Aperturesingle slit

Run sweeps a detector across the angular profile from −90° to +90°, tracing the curve as it goes.

Live measurements

First minimum θ₁
—
sin θ₁ = λ/a
—
Central width 2λ/a
—
Central width on screen 2λL/a
—
Second minimum θ₂
—

Try this. In single-slit mode halve the slit width (10 µm → 5 µm): the first minimum doubles its angle from 3.15° to about 6.3°, and the central band on the screen doubles with it. Then switch to the grating, set 500 lines/mm and raise N from 2 to 50 — watch the orders sharpen without moving. Finish by pushing the wavelength to 700 nm and counting how many orders survive.

Predict before you check

Recommended settings: single slit, λ = 550 nm, a = 10 µm (the defaults). Work out the first-minimum angle θ₁ from a sin θ = λ, in degrees. In grating mode the same box asks for the first-order angle d sin θ = λ.

°

Understand

Experiment completion

Sweep both modes, vary a, λ, density and N, and pass the quiz.

Where to go next