# 4.4: Diffraction Gratings

- Page ID
- 4509

Analyzing the interference of light passing through two slits lays out the theoretical framework of interference and gives us a historical insight into Thomas Young’s experiments. However, most modern-day applications of slit interference use not just two slits but many, approaching infinity for practical purposes. The key optical element is called a diffraction grating, an important tool in optical analysis.

# Diffraction Gratings: An Infinite Number of Slits

The analysis of multi-slit interference in Interference allows us to consider what happens when the number of slits *N* approaches infinity. Recall that \(N - 2\) secondary maxima appear between the principal maxima. We can see there will be an infinite number of secondary maxima that appear, and an infinite number of dark fringes between them. This makes the spacing between the fringes, and therefore the width of the maxima, infinitesimally small. Furthermore, because the intensity of the secondary maxima is proportional to \(1/N^2\), it approaches zero so that the secondary maxima are no longer seen. What remains are only the principal maxima, now very bright and very narrow (Figure \(\PageIndex{1}\)).

**Figure \(\PageIndex{1}\):** (a) Intensity of light transmitted through a large number of slits. When N approaches infinity, only the principal maxima remain as very bright and very narrow lines. (b) A laser beam passed through a diffraction grating. (credit b: modification of work by Sebastian Stapelberg)

In reality, the number of slits is not infinite, but it can be very large—large enough to produce the equivalent effect. A prime example is an optical element called a diffraction grating. A diffraction grating can be manufactured by carving glass with a sharp tool in a large number of precisely positioned parallel lines, with untouched regions acting like slits (Figure \(\PageIndex{2}\)). This type of grating can be photographically mass produced rather cheaply. Because there can be over 1000 lines per millimeter across the grating, when a section as small as a few millimeters is illuminated by an incoming ray, the number of illuminated slits is effectively infinite, providing for very sharp principal maxima.

**Figure \(\PageIndex{2}\):** A diffraction grating can be manufactured by carving glass with a sharp tool in a large number of precisely positioned parallel lines.

Diffraction gratings work both for transmission of light, as in Figure \(\PageIndex{3}\), and for reflection of light, as on butterfly wings and the Australian opal in Figure \(\PageIndex{4a}\). Natural diffraction gratings also occur in the feathers of certain birds such as the hummingbird. Tiny, finger-like structures in regular patterns act as reflection gratings, producing constructive interference that gives the feathers colors not solely due to their pigmentation. This is called **iridescence.**

**Figure \(\PageIndex{3}\):** (a) Light passing through a diffraction grating is diffracted in a pattern similar to a double slit, with bright regions at various angles. (b) The pattern obtained for white light incident on a grating. The central maximum is white, and the higher-order maxima disperse white light into a rainbow of colors.

**Figure \(\PageIndex{4}\):** (a) This Australian opal and (b) butterfly wings have rows of reflectors that act like reflection gratings, reflecting different colors at different angles. (credit b: modification of work by “whologwhy”/Flickr)

# Applications of Diffraction Gratings

Where are diffraction gratings used in applications? Diffraction gratings are commonly used for **spectroscopic dispersion** and analysis of light. What makes them particularly useful is the fact that they form a sharper pattern than double slits do. That is, their bright fringes are narrower and brighter while their dark regions are darker. Diffraction gratings are key components of monochromators used, for example, in optical imaging of particular wavelengths from biological or medical samples. A diffraction grating can be chosen to specifically analyze a wavelength emitted by molecules in diseased cells in a biopsy sample or to help excite strategic molecules in the sample with a selected wavelength of light. Another vital use is in optical fiber technologies where fibers are designed to provide optimum performance at specific wavelengths. A range of diffraction gratings are available for selecting wavelengths for such use.

Example \(\PageIndex{1}\): Calculating Typical Diffraction Grating Effects

Diffraction gratings with 10,000 lines per centimeter are readily available. Suppose you have one, and you send a beam of white light through it to a screen 2.00 m away.

- Find the angles for the first-order diffraction of the shortest and longest wavelengths of visible light (380 and 760 nm, respectively).
- What is the distance between the ends of the rainbow of visible light produced on the screen for first-order interference? (See Figure \(\PageIndex{5}\)).

**Figure \(\PageIndex{5}\):** (a) The diffraction grating considered in this example produces a rainbow of colors on a screen a distance \(x = 2.00 \, m\) from the grating. The distances along the screen are measured perpendicular to the x-direction. In other words, the rainbow pattern extends out of the page.

(b) In a bird’s-eye view, the rainbow pattern can be seen on a table where the equipment is placed.

**Strategy**

Once a value for the diffraction grating’s slit spacing *d* has been determined, the angles for the sharp lines can be found using the equation

\[d \, sin \, \theta = m\lambda \, for m = 0, \pm1, \pm2, ... .\]

Since there are 10,000 lines per centimeter, each line is separated by 1/10,000 of a centimeter. Once we know the angles, we an find the distances along the screen by using simple trigonometry.

**Solution**

- The distance between slits is \(d = (1 \, cm)/10,000 = 1.00 \times 10^{-4} \, cm\) or \(1.00 \times 10^{-6} m\). Let us call the two angles \(\theta_V\) for violet (380 nm) and \(\theta_R\) for red (760 nm). Solving the equation \(d \, sin \theta_V = m\lambda\) for \(sin \, \theta_V\),
\[\sin \, \theta_V = \frac{m\lambda_V}{d},\]

where m = 1 for the first-order and \(\lambda_V = 380 \, nm = 3.80 \times 10^{-7}m\). Substituting these values gives\[\sin \, \theta_V = \frac{3.80 \times 10^{-7}m}{1.00 \times 10^{-6}m} = 0.380.\]

Thus the angle \(\theta_V\) is\[\theta_V = sin^{-1} 0.380 = 22.33°.\]

Similarly,\[\sin \, \theta_R = \frac{7.60 \times 10^{-7}m}{1.00 \times 10^{-6}m} = 0.760.\]

Thus the angle \(\theta_R\) is\[\theta_R = \sin^{-1} 0.760 = 49.46°.\]

Notice that in both equations, we reported the results of these intermediate calculations to four significant figures to use with the calculation in part (b). - The distances on the screen are labeled \(y_V\) and \(y_R\) in Figure. Notice that \(tan \, \theta = y/x\). We can solve for \(y_V\) and \(y_R\). That is,
\[y_V = x \, tan \, \theta_V = (2.00 \, m)(tan \, 22.33°) = 0.815 \, m\]

and\[y_R = x \, tan \, \theta_R = (2.00 \, m)(tan \, 49.46°) = 2.338 \, m.\]

The distance between them is therefore\[y_R - y_V = 1.523 \, m\]

**Significance**

The large distance between the red and violet ends of the rainbow produced from the white light indicates the potential this diffraction grating has as a spectroscopic tool. The more it can spread out the wavelengths (greater dispersion), the more detail can be seen in a spectrum. This depends on the quality of the diffraction grating—it must be very precisely made in addition to having closely spaced lines.

Exercise \(\PageIndex{1}\)

If the line spacing of a diffraction grating *d* is not precisely known, we can use a light source with a well-determined wavelength to measure it. Suppose the first-order constructive fringe of the \(H_{\beta}\) emission line of hydrogen (\(\lambda = 656.3 \, nm\)) is measured at 11.36° using a spectrometer with a diffraction grating. What is the line spacing of this grating?

**Answer:**\(3.332 \times 10^{-6} m\) or 300 lines per millimeter

Take the same simulation we used for double-slit diffraction and try increasing the number of slits from \(N = 2\) to \(N = 3, 4, 5, ...\). The primary peaks become sharper, and the secondary peaks become less and less pronounced. By the time you reach the maximum number of \(N = 20\), the system is behaving much like a diffraction grating.

## Contributors

Samuel J. Ling (Truman State University), Jeff Sanny (Loyola Marymount University), and Bill Moebs with many contributing authors. This work is licensed by OpenStax University Physics under a Creative Commons Attribution License (by 4.0).