34.4: Diffraction Gratings

Physics: A Foundation for Scientists and Engineers · LibreTexts

0%

Contents

    Text

    Size
    100%
    Theme
    Typeface
    Line length
    Spacing

    Read aloud

    How

    Speed: 1×
    Light up
    Highlight

    Symbols: Mulberry Symbols, © 2018–2026 Steve Lee, CC BY-SA 4.0 (licence, the set), the site's own copies.

    From LibreTexts, under CC BY 4.0, as the source states it; its equations are written in TeX, which the PDF shows typeset. This page at LibreTexts.

    34.4: Diffraction Gratings

    Now answer the rest of the opening question: not two slits, but thousands. A diffraction grating is a large number \(N\) of identical, equally spaced slits, ruled at a spacing \(d\) (often quoted as grooves per millimeter). The condition for a bright line is the same as for two slits; all the slits are in phase when the wave from each is a whole number of wavelengths ahead of its neighbor’s (Figure 34.7):

    Key Equation: Grating equation

    \[d\sin\theta = m\lambda, \qquad m = 0, \pm1, \pm2, \dots \tag{34.8}\]

    What changes with many slits is the sharpness. With two slits the brightness varies as a gentle \(\cos^2\); with thousands, the maxima become razor-thin lines separated by broad darkness, because away from an exact maximum the \(N\) wavelets fan out over all phases and cancel almost completely. The width of each line narrows as the number of illuminated slits grows; its angular half-width is

    \[\Delta\theta_{\text{hw}} = \frac{\lambda}{Nd\cos\theta}. \tag{34.9}\]

    The more lines the light crosses, the sharper the maxima, which is what makes a grating a precision tool for measuring wavelength.

    Diffraction grating seen edge-on: six equally spaced slits a distance d apart.
    Figure 34.7. A diffraction grating. Light leaving neighboring slits at angle \(\theta\) differs in path by \(d\sin\theta\) (gold), so slit \(k\) is \(k\,d\sin\theta\) behind the top one. When \(d\sin\theta = m\lambda\), all \(N\) waves arrive in step and add to a bright line; at any other angle their phases spread around the circle and nearly cancel, which is why the lines are so sharp.
    Figure descriptionA diffraction grating seen edge-on: a vertical barrier pierced by six equally spaced narrow slits, a distance d apart, with plane light arriving from the left. From every slit a red ray leaves at the same angle theta above the horizontal, heading toward a distant screen. A dashed line drawn from the top slit perpendicular to the rays crosses each lower ray a little farther out, and the stretch of each ray between its slit and that line is highlighted in gold: one unit of d sine theta for the second slit, two for the third, and so on. When d sine theta is a whole number of wavelengths, every slit's wave arrives in step with all the others and a bright line forms.

    That precision is the basis of spectroscopy. Because the angle of each bright line depends on wavelength, a grating fans a beam of light out into its spectrum, spreading the colors far more cleanly than a prism. Every kind of atom emits and absorbs its own fixed set of wavelengths (a barcode set by its electron energy levels), so the pattern of lines in starlight, sunlight, or a flame is a fingerprint of the elements present. It is by grating spectroscopy that we know the composition of the Sun, the planets, and galaxies we will never visit: we read it directly off their light.

    Example 34.5: A helium–neon laser on a grating

    Light from a helium–neon laser (\(\lambda = 632.8\,\mathrm{nm}\)) strikes a grating with \(6000\) grooves per centimeter at normal incidence. (a) Find the angles of the first- and second-order maxima. (b) Is there a third order?

    Solution

    The slit spacing is the reciprocal of the groove density:

    \[d = \frac{1\,\mathrm{cm}}{6000} = 1.667\times10^{-4}\,\mathrm{cm} = 1.667\times10^{-6}\,\mathrm{m}.\]

    (a) From \(d\sin\theta = m\lambda\), \(\sin\theta = m\lambda/d\). For \(m=1\),

    \[\sin\theta_1 = \frac{632.8\times10^{-9}}{1.667\times10^{-6}} = 0.3797,\quad \theta_1 = \boxed{22.3^{\circ}}.\]

    For \(m=2\), \(\sin\theta_2 = 0.7594\), so \(\theta_2 = \boxed{49.4^{\circ}}\).

    (b) For \(m=3\), \(\sin\theta_3 = 3(0.3797) = 1.139 > 1\), which is impossible. \(\boxed{\text{There is no third order}}\): the grating cannot bend light past \(90^{\circ}\), so only a finite number of orders exist.

    Checkpoint 34.3

    White light (roughly \(400\) to \(700\,\mathrm{nm}\)) falls on a grating. In the first-order spectrum, which color is diffracted to the largest angle: red or violet? Use the grating equation to justify your answer, and contrast it with how a glass prism orders the colors.

    Answer

    Answers to Checkpoints

    Checkpoint 34.3. Red. The grating equation for first order, \(d\sin\theta = \lambda\), gives \(\sin\theta = \lambda/d\), so the longest wavelength is diffracted to the largest angle: violet lands closest to the central maximum and red farthest out. A prism orders the colors the other way around: it separates colors by refraction, and glass’s index is larger for violet than for red, so violet is bent the most.


    This page titled 34.4: Diffraction Gratings was last modified on Thu, 12 Nov 2026 04:27:10 GMT and is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Michael Ragsdale.