Diffraction applications
Rule a glass plate with thousands of fine, evenly spaced lines and you have built one of optics' most useful instruments: a diffraction grating. Where a single slit merely spreads light into a broad, blurry pattern, a grating with many slits does something sharper and more useful — it sorts light by colour. Building on the single-slit Fraunhofer pattern from the previous article, this article looks at what happens when light passes not through one slit but through an entire periodic array of them, each interfering with all the others. This is the grating's role as a dispersing element — the working principle behind spectrometers used to identify the elements in a star's light or check the purity of a sodium lamp. You will learn the condition for a grating's bright principal maxima, why more slits give sharper lines, and how to compute the angular spread of a spectrum, all without needing the full multi-slit intensity algebra.
A diffraction grating's many equally spaced slits interfere constructively at angles given by , producing sharp, wavelength-dependent bright lines that spread light into a spectrum — the basis of grating spectroscopy.
The core idea
A diffraction grating is a periodic array of identical slits (or reflecting grooves), each of width , separated by a distance called the grating period. Light diffracted from every slit interferes with light from every other slit, and the pattern on a distant screen is built from that mutual interference rather than from any one slit alone. A principal maximum — a bright fringe reinforced by all slits at once — appears in a direction whenever the path difference between light leaving adjacent slits equals a whole number of wavelengths:
where: is the grating period, is the angle measured from the straight-through direction, is the wavelength, and is the order of the maximum — an integer labelling which reinforcement condition is satisfied. The order gives the undiffracted central beam, common to every wavelength and therefore carrying no colour information; the orders spread out on either side, each order landing at a different angle for each wavelength present. Two features distinguish a grating from a simple double slit, both arising because is large (often thousands, not two):
Sharper lines. With slits interfering, each principal maximum is squeezed into a narrow angular width that shrinks roughly as , with faint secondary ripples crowded between successive principal maxima. As grows large, these secondary ripples become negligible and the principal maxima stand out as sharp, bright lines on an almost dark background — very different from the smooth, broad cosine-squared fringes of a two-slit pattern. The full multi-slit intensity formula behind this is beyond this course; only the qualitative picture — narrow bright lines, not broad fringes — is required.
Wavelength-dependent angle. Since , two different wavelengths present in the same order land at two different angles. A grating therefore spreads white light into a rainbow-like spectrum in each order, exactly as a prism does, but by interference between many diffracted beams rather than by refraction through glass. This wavelength sorting is what makes a grating disperse light, and it is the operating principle of a grating spectrometer: measuring the angle of a bright line tells you the wavelength that produced it.
The goal is to show, using only the geometry of two adjacent slits and the ordinary condition for constructive interference, that bright principal maxima of a grating occur exactly where , and that the reasoning is identical for every pair of adjacent slits in the array — which is precisely why all slits reinforce together in that one direction.
Step 1. Consider a plane wave of wavelength striking the grating normally, so that every slit receives the wave in phase, with no path-length difference at the grating plane itself. Pick any two adjacent slits, separated by the grating period .
Step 2. Look at light leaving these two slits in a direction making angle with the straight-through direction. The ray from the lower slit travels a little farther to reach a distant point in that direction than the ray from the upper slit does. Standard geometry — dropping a perpendicular from the upper slit onto the ray from the lower slit — shows this extra path length is .
Step 3. For the two waves to arrive in phase and add constructively, this path difference must equal a whole number of wavelengths: , with an integer. Because is the same spacing between every pair of adjacent slits in the grating, this single condition on makes the path difference between any two adjacent slits equal to simultaneously — not just the one pair examined.
Step 4. Since all slits are equally spaced, satisfying the adjacent-pair condition satisfies it for every pair at once, so all diffracted waves arrive in phase in that direction and add constructively to a strong, sharp principal maximum. Any direction that fails this condition for even one adjacent pair will, with many slits present, have contributions that interfere destructively almost completely — which is the underlying reason the maxima are narrow rather than broad.
Worked example
A diffraction grating has lines per centimetre. Light of wavelength (the sodium D line) falls on it normally. Find the grating period , the angles of the first- and second-order principal maxima, and the highest order the grating can produce for this wavelength.
Step 1. The grating period is the reciprocal of the line density: .
Step 2. For the first order (), , so .
Step 3. For the second order (), , so .
Step 4. Since can never exceed , the highest possible order is . So orders appear on each side of the central beam; a fourth order would require , which is impossible. Answer: , , , and only three orders () exist on each side.
Competitive stretch
White light (roughly –) falls normally on a grating with . In the first order, violet () appears at , while red () appears at . The first-order spectrum spans — red bends farther than violet, the opposite ordering from a prism, since the grating disperses by diffraction, not refraction.
Common traps
- Mixing up the grating equation (bright maxima, slit spacing ) with the single-slit minima condition (dark fringes, individual slit width ) — same algebraic form, very different physical roles.
- Assuming a grating disperses colours like a prism through refraction — it does so by diffraction and multi-slit interference, and typically sends red to a larger angle than violet in a given positive order, opposite to a prism.
- Forgetting to check before claiming an order exists — only a finite number of orders fit for any given and .
- Treating "more lines per unit length" as simply making a "bigger" spectrum, without separating sharper lines (an effect, qualitative here) from a wider angular spread (a and effect, which is quantitative and examinable).
Ask the tutor: Want to work through how many orders a different grating supports, or check an angular-spread calculation step by step?
Why does a grating give much sharper spectral lines than a double slit?
Both obey the same interference logic, but a double slit has only two beams reinforcing, so the bright fringes are broad and gradually fade into dark regions. A grating has thousands of slits; a direction that satisfies the reinforcement condition for one adjacent pair satisfies it for every adjacent pair at once, giving a very strong maximum, while directions only slightly off this condition suffer near-total cancellation among the many beams. More slits therefore squeeze the same bright condition into a much narrower angular range.
Why does the grating equation look just like the single-slit minima formula?
Both are , but the spacing means something different in each case. In a grating, is the distance between neighbouring slits, and the condition marks bright principal maxima built from constructive interference between slits. In single-slit diffraction, is the width of one slit, and the same-looking condition marks dark minima from destructive interference within that one slit. A real grating actually has both effects layered together, with the single-slit pattern acting as an envelope that can suppress some grating orders.
Can a grating ever fail to show a particular order, even a low one?
Yes, in two different ways. First, purely geometrically, if that order simply cannot exist, since cannot exceed one — always check this before assuming an order appears. Second, even when geometrically allowed, the single-slit diffraction envelope (governed by slit width ) can happen to have a minimum exactly at that order's angle, suppressing it almost entirely; this "missing order" effect combines both the grating spacing and the slit width , though the full quantitative treatment goes beyond what is required here.