Wave Optics
82 Multiple Slit Diffraction
Learning Objectives
- Describe the interference pattern produced by a diffraction grating.
- Explain why diffraction gratings separate light into different wavelengths.
- Apply the diffraction-grating equation to locate bright interference maxima.
- Explain why diffraction gratings produce sharper spectral lines than double slits.
- Identify applications of diffraction gratings in spectroscopy, biology, and medicine.
Diffraction Gratings
Young's double-slit experiment demonstrates that light waves passing through two narrow openings can interfere and produce alternating bright and dark fringes. An even more precise interference pattern is produced when light passes through a very large number of evenly spaced parallel openings. This optical device is called a diffraction grating.
Each opening in the grating acts as a source of diffracted light waves. Because the openings are equally spaced, the waves from all of them have a regular phase relationship. At certain angles, the waves arrive in phase and reinforce one another, producing very bright maxima. At other angles, the waves largely cancel, producing regions of very low intensity.
The resulting pattern resembles the pattern produced by a double slit, but it is much sharper. The bright regions are narrower and more intense, while the dark regions between them are darker. This increased sharpness makes diffraction gratings especially useful for separating and measuring different wavelengths of light.
Transmission and Reflection Gratings
A transmission grating allows light to pass through many narrow transparent regions separated by opaque lines. Traditional gratings were made by ruling thousands of closely spaced lines into glass, although modern gratings are commonly manufactured using photographic, holographic, or microfabrication techniques.
A reflection grating contains many regularly spaced reflecting grooves or structures. Light reflects from neighboring grooves and interferes in much the same way as light transmitted through neighboring slits.
Compact discs, DVDs, some gemstones, and many biological structures act as reflection gratings. Their repeating microscopic structures separate white light into colors that appear to change with viewing angle.

Why White Light Separates into Colors
White light contains a continuous range of visible wavelengths. When it passes through a diffraction grating, each wavelength reaches constructive interference at a different angle.
Shorter wavelengths, such as violet and blue light, generally form maxima at smaller angles. Longer wavelengths, such as orange and red light, form maxima at larger angles. The grating therefore spreads white light into a spectrum.
The central maximum, called the zeroth-order maximum, remains white. At this location, the path difference is zero, so every wavelength undergoes constructive interference in the same direction. Away from the center, the wavelengths separate into first-order, second-order, and sometimes higher-order spectra.
Structural Color and Iridescence
Not every color in nature is produced by a pigment. Some colors result from the interaction of light with regularly spaced microscopic structures. This is called structural color.
For example, repeating structures in butterfly wings and bird feathers can behave like reflection gratings. Different wavelengths are reinforced at different angles, so the observed color changes as the viewing angle or illumination angle changes. This angle-dependent color is called iridescence.
Opals can produce similar effects. Their internal structure contains regularly arranged regions that selectively reinforce certain wavelengths of reflected light.

Why a Diffraction Grating Produces Sharper Maxima
A double slit produces interference between waves from only two openings. A diffraction grating may contain hundreds, thousands, or even millions of openings. For a bright maximum to form, waves from all of these openings must arrive nearly in phase.
At the exact angle of constructive interference, the many waves reinforce strongly and produce a very intense maximum. However, even a small change in angle causes the phases of waves from widely separated openings to differ significantly. The waves then cancel much more effectively.
As a result, increasing the number of illuminated lines produces:
- narrower bright maxima,
- greater intensity at the maxima,
- darker regions between maxima, and
- better separation of wavelengths that are very close together.
This ability to distinguish nearby wavelengths is called spectral resolution. High spectral resolution is essential when identifying substances from the light they emit, absorb, or scatter.

The position of each principal maximum depends on the wavelength and the spacing between adjacent grating lines. The sharpness of each maximum depends strongly on how many grating lines are illuminated. More lines do not primarily change where the principal maxima appear; instead, they make those maxima narrower and easier to distinguish.
Constructive Interference from a Diffraction Grating
The analysis of a diffraction grating closely follows the analysis of Young's double-slit experiment. Light diffracts as it passes through each opening and spreads over a range of directions.
Consider rays leaving neighboring openings at the same angle [latex]\theta[/latex] relative to the original direction of the incident light. Because the openings are separated by a distance [latex]d[/latex], the ray from one opening travels slightly farther than the ray from the neighboring opening.
The path difference between rays from adjacent openings is
When this path difference equals an integer number of wavelengths, waves from every opening arrive in phase. Their amplitudes reinforce, producing a principal bright maximum.
The condition for constructive interference is therefore
where:
- [latex]d[/latex] is the distance between adjacent grating lines,
- [latex]\theta[/latex] is the angle of the maximum measured from the central direction,
- [latex]\lambda[/latex] is the wavelength of the light, and
- [latex]m[/latex] is the order of the maximum.
The order [latex]m=0[/latex] corresponds to the central maximum. The values [latex]m=\pm1[/latex] correspond to the first-order maxima on opposite sides of the center, [latex]m=\pm2[/latex] correspond to the second-order maxima, and so forth.

Comparison with a Double Slit
The equation for the principal maxima of a diffraction grating is identical to the equation for constructive interference from a double slit:
This similarity occurs because the same path-difference condition applies to neighboring openings in both systems. The important difference is the number of openings. A double slit has only two sources, whereas a diffraction grating contains many.
Diffraction gratings also commonly have much smaller line spacings than laboratory double slits. For a fixed wavelength and order, a smaller value of [latex]d[/latex] produces a larger diffraction angle because
Larger diffraction angles spread different wavelengths farther apart, making them easier to measure. However, because [latex]\sin\theta[/latex] cannot exceed 1, very small line spacing also limits the number of interference orders that can occur.
Diffraction gratings are often labeled by the number of lines per millimeter or lines per centimeter rather than by the spacing [latex]d[/latex]. The two quantities are inversely related:
where [latex]N[/latex] is the number of lines per unit length. A grating with more lines per millimeter therefore has a smaller spacing between adjacent lines.
Diffraction Gratings in Biology and Medicine
Diffraction gratings are central components of spectrometers, instruments that separate light according to wavelength and measure the intensity at each wavelength. Because atoms, molecules, and biological tissues interact with particular wavelengths in characteristic ways, spectra can reveal information about the composition and condition of a sample.
A device called a monochromator uses a diffraction grating, together with slits and mirrors or lenses, to select a narrow range of wavelengths from a broader source. The grating separates the wavelengths spatially, and an exit slit allows only the desired wavelength range to pass.
In biomedical laboratories, grating-based optical systems are used to:
- measure the absorption of light by blood, proteins, DNA, and other biological molecules,
- detect fluorescent molecules attached to cells or tissues,
- analyze light emitted by chemical reactions in diagnostic assays,
- identify substances using Raman or infrared spectra,
- select excitation wavelengths in fluorescence microscopes, and
- measure reflected or transmitted light from tissue.
Healthcare Connection: Optical Analysis of a Biological Sample
Suppose a fluorescent marker is designed to bind to a molecule associated with diseased cells. When illuminated with an appropriate excitation wavelength, the marker emits light over a narrow range of wavelengths.
A spectrometer can direct this emitted light onto a diffraction grating. The grating separates the wavelengths and directs them toward a detector. By measuring the intensity at the marker's characteristic wavelength, the instrument can estimate how much of the target molecule is present in the sample.
The sharper the diffraction pattern, the easier it is to distinguish the marker's signal from nearby wavelengths produced by background fluorescence or other molecules.
Diffraction Gratings in Optical-Fiber Systems
Diffraction effects are also used in optical-fiber technology. Some fibers contain a periodic variation in refractive index known as a fiber Bragg grating. Rather than separating transmitted light in space like a conventional grating, this repeating structure reflects a narrow range of wavelengths while allowing others to continue through the fiber.
Fiber gratings are used in telecommunications, optical sensors, and some biomedical instruments. Because the reflected wavelength can change when the fiber is stretched, compressed, or heated, these devices can measure strain, pressure, and temperature. Similar sensors may be incorporated into catheters, wearable devices, or other systems where compact optical sensing is valuable.
Take-Home Experiement: Rainbows from a CD or DVD
The closely spaced grooves on a CD or DVD act as a reflection diffraction grating. When white light reflects from the surface, different wavelengths undergo constructive interference at different angles, producing a rainbow pattern.
You can observe this effect using sunlight or a bright white lamp. Hold the disc so that reflected light falls on a nearby wall or sheet of white paper. Slowly change the angle of the disc until you see separated bands of color.
The groove spacing [latex]d[/latex] can be estimated using the diffraction-grating equation
For a rough estimate:
- Choose one clearly visible color in the first-order spectrum, so [latex]m=1[/latex].
- Estimate the wavelength of that color. For example, green light has a wavelength of approximately [latex]550\ \text{nm}[/latex].
- Measure or estimate the diffraction angle [latex]\theta[/latex] relative to the direction of the central reflected beam.
- Solve for the groove spacing:
This method is only approximate because white light contains many wavelengths and the reflected geometry can be difficult to measure accurately. A laser of known wavelength produces a sharper maximum and allows a more precise measurement.
Safety Note
Do not look directly at the sun, at a bright reflected beam, or into a laser. Never aim a laser toward another person, an animal, a vehicle, or an aircraft.
Example 82.1: Separating Visible Light with a Diffraction Grating
A diffraction grating has 10,000 lines per centimeter. White light passes through the grating and reaches a screen 2.00 m away.
-
- Find the first-order diffraction angles for the shortest and longest visible wavelengths, taken to be 380 nm and 760 nm.
- Find the distance between the violet and red ends of the first-order spectrum on the screen.

Strategy
The grating is specified by its number of lines per unit length, so the first step is to determine the spacing [latex]d[/latex] between adjacent lines.
We then use the constructive-interference condition
with [latex]m=1[/latex] for the first-order spectrum.
After finding the diffraction angle for each wavelength, we use the screen geometry
to determine where each color appears on the screen.
Solution for Part (a)
A grating with 10,000 lines per centimeter has a line spacing
Converting to meters gives
For violet light,
Using [latex]m=1[/latex],
Therefore,
For red light,
Thus,
Therefore,
The first-order violet and red maxima occur at approximately
Solution for Part (b)
The position [latex]y[/latex] of each color on the screen is related to the screen distance [latex]x[/latex] by
For violet light,
For red light,
The distance between the red and violet ends of the spectrum is
Discussion
The first-order spectrum extends over 1.52 m on the screen, showing that this grating strongly separates visible wavelengths. Red light appears farther from the center because its wavelength is larger, so it must diffract through a larger angle to satisfy
This separation of wavelengths is called dispersion. Greater dispersion makes nearby wavelengths easier to distinguish and improves the usefulness of the grating in spectroscopy.
The calculation also shows why the small-angle approximation should not be used automatically. The red maximum occurs near 49.5°, where [latex]\tan\theta[/latex] is substantially different from [latex]\sin\theta[/latex] or [latex]\theta[/latex] in radians. Using exact trigonometric relationships is therefore necessary.
A grating labeled with more lines per centimeter has a smaller distance between adjacent lines. Always convert the stated line density into the spacing [latex]d[/latex] before using the diffraction-grating equation:
Be sure that [latex]N[/latex] and [latex]d[/latex] use compatible units.
Section Summary
- A diffraction grating consists of a very large number of equally spaced parallel openings or grooves that produce interference between many coherent light waves.
- Compared with a double slit, a diffraction grating produces much narrower, brighter principal maxima and darker regions between them, making it much more effective for separating closely spaced wavelengths.
- Constructive interference occurs when the path difference between light from adjacent grating lines is an integer multiple of the wavelength:
- Here, [latex]d[/latex] is the spacing between adjacent grating lines, [latex]\theta[/latex] is the diffraction angle, [latex]\lambda[/latex] is the wavelength of the light, and [latex]m[/latex] is the interference order.
- Because different wavelengths satisfy the constructive interference condition at different angles, diffraction gratings separate white light into spectra and are widely used in spectroscopy, biomedical instrumentation, optical communications, and materials analysis.
Conceptual Questions
- What advantage does a diffraction grating have over a double slit when separating white light into its component wavelengths?
- Compared with a prism, what are the advantages of using a diffraction grating for spectral analysis?
- Can the spacing between grating lines become so small that the grating is no longer useful for visible light? If so, for what region of the electromagnetic spectrum might such a grating still be useful? Explain your reasoning.
- A diffraction grating with vertical lines separates white light into spectra on both sides of the central maximum. A prism disperses white light into a spectrum on one side. Compare the order of colors produced by the diffraction grating with the order produced by the prism.
- Suppose monochromatic light is incident on a diffraction grating.
- How does the interference pattern change if the grating has more lines per centimeter?
- How does the pattern change if a longer wavelength of light is used with the same grating?
- Explain how both observations follow from the diffraction-grating equation.
- A bird feather appears bright green even though it contains no green pigment. Explain how diffraction and interference can produce this color.
- A single slit can sometimes fail to produce a clearly observable minimum under certain conditions. Explain why this may occur. Can the same situation occur for a double slit or a diffraction grating? Why or why not?
Problems & Exercises
- A diffraction grating has 2000 lines per centimeter. At what angle does the first-order maximum occur for 520-nm green light?
- Find the angle of the third-order maximum for 580-nm yellow light incident on a diffraction grating with 1500 lines per centimeter.
- A diffraction grating produces a first-order maximum for 470-nm blue light at an angle of [latex]25.0^\circ[/latex]. How many lines per centimeter does the grating have?
- What is the spacing between adjacent lines on a diffraction grating that produces a second-order maximum for 760-nm red light at an angle of [latex]60.0^\circ[/latex]?
- Calculate the wavelength of light whose second-order maximum occurs at [latex]45.0^\circ[/latex] when it is incident on a diffraction grating with 5000 lines per centimeter.
- An electric current passing through hydrogen gas produces several distinct visible wavelengths. These wavelengths form first-order maxima at angles of [latex]24.2^\circ[/latex], [latex]25.7^\circ[/latex], [latex]29.1^\circ[/latex], and [latex]41.0^\circ[/latex] when observed using a diffraction grating with 10,000 lines per centimeter.
- Determine the four wavelengths.
- Identify the region of the visible spectrum associated with each wavelength.
Clearly show how you determine the grating spacing and apply the diffraction-grating equation.
- Consider the four hydrogen wavelengths found in the previous problem.
- At what first-order angles would these wavelengths appear if a grating with 5000 lines per centimeter were used?
- At what angles would their second-order maxima appear with this grating?
- Describe the relationship between reducing the number of lines per centimeter and changing the interference order.
- What is the maximum number of lines per centimeter that a diffraction grating can have while still producing a complete first-order spectrum for visible light from 380 nm to 760 nm?
- The yellow light emitted by a sodium vapor lamp appears to have a single wavelength. However, a diffraction grating with 10,000 lines per centimeter produces two first-order maxima at [latex]36.093^\circ[/latex] and [latex]36.129^\circ[/latex].
- Calculate the two wavelengths to the nearest 0.1 nm.
- Explain why a diffraction grating can reveal two wavelengths that may appear to the eye as a single color.
- Microscopic structures in a feather act as a reflection grating. What is the spacing between the structures if they produce a first-order maximum for 525-nm light at an angle of [latex]30.0^\circ[/latex]?
- Structures on a bird feather act as a reflection grating with 8000 lines per centimeter. At what angle does the first-order maximum occur for 600-nm light?
- An opal such as the one shown in Figure 82.2 acts as a reflection grating with rows separated by approximately [latex]8.0\ \mu\text{m}[/latex]. The opal is illuminated normally.
- Choose a representative wavelength for red light and calculate the angle of its first-order maximum.
- Choose a representative wavelength for blue light and calculate the angle of its first-order maximum.
- Explain why the observed color changes when the opal is viewed from different directions.
Clearly state the wavelengths you use.
- A diffraction grating produces a first-order maximum at [latex]20.0^\circ[/latex] for a particular wavelength. At what angle does the second-order maximum occur for the same wavelength?
- Show that a diffraction grating cannot produce a second-order maximum for a particular wavelength unless its first-order maximum occurs at an angle of [latex]30.0^\circ[/latex] or less. Under what limiting condition does the angle equal exactly [latex]30.0^\circ[/latex]?
- A diffraction grating produces a first-order maximum for 380-nm light at an angle of [latex]30.0^\circ[/latex]. At what angle would the first-order maximum occur for 760-nm light? Explain whether the result is physically possible.
- (a) Find the maximum number of lines per centimeter that a diffraction grating can have and still produce a first-order maximum for 380-nm visible light. (b) Would this grating be useful for producing first-order ultraviolet spectra? Explain. (c) Would it be useful for producing first-order infrared spectra? Explain.
- A diffraction grating has 30,000 lines per centimeter.
- Show that it cannot produce a first-order maximum for visible light.
- What is the longest wavelength for which it can produce a first-order maximum?
- What is the greatest number of lines per centimeter a grating can have while still producing a complete second-order visible spectrum from 380 nm to 760 nm?
- A 633-nm helium–neon laser beam reflects from the surface of a CD and forms a pattern on a wall. The central reflected beam is the brightest spot. The wall is 1.50 m from the CD, and the first-order maximum is 0.600 m from the central maximum.
- Calculate the angle of the first-order maximum.
- Determine the spacing between adjacent grooves on the CD.
Assume the geometry can be analyzed using the diffraction-grating equation.
- The small-angle fringe-spacing relationship can also be applied to a diffraction grating when the line spacing is much larger than the wavelength:
[latex]\Delta y=\frac{x\lambda}{d}[/latex]
Calculate the distance between adjacent fringes produced by a diffraction grating with 125 lines per centimeter when 600-nm light is projected onto a screen 1.50 m away.

Figure 82.6: For sufficiently small diffraction angles, the spacing between adjacent fringes is approximately [latex]\Delta y=x\lambda/d[/latex], where [latex]x[/latex] is the distance to the screen, [latex]\lambda[/latex] is the wavelength, and [latex]d[/latex] is the grating-line spacing. - Unreasonable Results: Red light with a wavelength of 700 nm is incident on two openings separated by 400 nm.
- Attempt to calculate the angle of the first-order maximum.
- What is unreasonable about the mathematical result?
- Which given values or assumptions are physically inconsistent?
- Unreasonable Results:
- Calculate the wavelength that would have its fourth-order maximum at [latex]25.0^\circ[/latex] when incident on a diffraction grating with 25,000 lines per centimeter.
- Is the calculated wavelength within the visible spectrum?
- What is unreasonable or inconsistent about the conditions stated in the problem?
- Construct Your Own Problem: Design a problem involving a spectrometer that uses a diffraction grating to distinguish between two nearby wavelengths of electromagnetic radiation. Your problem should specify:
- the two wavelengths to be distinguished,
- the number of grating lines per unit length,
- the interference order used, and
- the distance from the grating to the screen or detector.
Calculate the separation between the two spectral lines on the detector. Then discuss whether the separation would be large enough to measure reliably with a realistic detector.
Glossary
- constructive interference for a diffraction grating
- The reinforcement of light from many equally spaced openings or reflecting structures. A principal maximum occurs when [latex]d\sin\theta=m\lambda[/latex], where [latex]d[/latex] is the grating-line spacing, [latex]\theta[/latex] is the diffraction angle, [latex]\lambda[/latex] is the wavelength, and [latex]m[/latex] is an integer representing the interference order.
- diffraction grating
- An optical element containing a large number of equally spaced parallel openings, grooves, or reflecting structures that separate light into different wavelengths through diffraction and interference.
- dispersion
- The separation of light into its component wavelengths because different wavelengths are directed through different angles.
- fiber Bragg grating
- A periodic variation in the refractive index of an optical fiber that reflects a narrow range of wavelengths while transmitting other wavelengths.
- iridescence
- An angle-dependent change in color produced when microscopic structures selectively reinforce different wavelengths through interference.
- line density
- The number of parallel lines or grooves per unit length on a diffraction grating. Line density is the reciprocal of the line spacing.
- monochromator
- An optical instrument that separates light by wavelength and selects a narrow range of wavelengths for transmission.
- spectral resolution
- The ability of an optical instrument to distinguish between two closely spaced wavelengths.
- spectrometer
- An instrument that separates light into wavelengths and measures the intensity associated with each wavelength.
- structural color
- Color produced by the interaction of light with microscopic physical structures rather than primarily by pigments.
An optical element containing a large number of equally spaced parallel openings, grooves, or reflecting structures that separate light into different wavelengths through diffraction and interference.
The reinforcement of light from many equally spaced openings or reflecting structures. A principal maximum occurs when [latex]d\sin\theta=m\lambda[/latex], where [latex]d[/latex] is the grating-line spacing, [latex]\theta[/latex] is the diffraction angle, [latex]\lambda[/latex] is the wavelength, and [latex]m[/latex] is an integer representing the interference order.
the separation of light into its component wavelengths because different wavelengths travel or refract differently in a material
A periodic variation in the refractive index of an optical fiber that reflects a narrow range of wavelengths while transmitting other wavelengths.
An angle-dependent change in color produced when microscopic structures selectively reinforce different wavelengths through interference.
The number of parallel lines or grooves per unit length on a diffraction grating. Line density is the reciprocal of the line spacing.
An optical instrument that separates light by wavelength and selects a narrow range of wavelengths for transmission.
The ability of an optical instrument to distinguish between two closely spaced wavelengths.
An instrument that separates light into wavelengths and measures the intensity associated with each wavelength.
Color produced by the interaction of light with microscopic physical structures rather than primarily by pigments.