Skip to content
Tutorials Center
My learning

Topics

Lesson 31 of 38 · Interference and Diffraction

Diffraction: Single Slits and Gratings

Learn why waves spread around obstacles and through gaps, how a single slit forms a pattern, and how a diffraction grating uses d sin θ = nλ to split light.

You can hear someone talking around a corner but you cannot see them. Sound bends around the doorway; light seems not to. Both are waves, so what is going on? The answer is diffraction: waves spread out when they pass through a gap or around an edge. How much they spread depends on the size of the gap compared with the wavelength.

This lesson explains diffraction, shows how a single slit forms a pattern, and introduces the diffraction grating, an important tool for measuring wavelengths of light.

What is diffraction?

Diffraction is the spreading of a wave as it passes through an opening or past an obstacle. The rule of thumb:

  • If the gap is much larger than the wavelength, there is little spreading; the wave goes mostly straight on.
  • If the gap is about the same size as the wavelength, the wave spreads out strongly.
  • If the gap is much smaller than the wavelength, very little gets through, but what does spreads out almost semicircularly.

Sound waves have wavelengths of centimetres to metres, similar to doors, so they diffract noticeably. Visible light has wavelengths of 400-700 nm, far smaller than a door, so it diffracts only at tiny slits or edges.

The single-slit pattern

Light of wavelength λ passes through one narrow slit of width a. On a distant screen you see a very bright, wide central maximum with weaker bright fringes on both sides, separated by dark minima.

Think of the slit as many tiny sources side by side. A dark minimum happens when the light from the top half of the slit cancels the light from the bottom half. For the first minimum, the path difference between the top edge and the middle of the slit is λ/2, which gives:

a sin θ = λ (first minimum)

and in general a sin θ = nλ with n = 1, 2, 3, ... for the minima. Notice the difference from double slits: here nλ gives dark fringes.

  • A narrower slit (smaller a) gives a wider pattern.
  • A longer wavelength gives a wider pattern.

The central maximum extends from -θ₁ to +θ₁, so its width on a screen of distance D is approximately 2λD/a. It is twice as wide as the other bright fringes.

Worked example

Green light (λ = 550 nm) passes through a slit of width 0.10 mm. The screen is 2.0 m away.

  1. sin θ₁ = λ/a = 550 × 10⁻⁹ / 1.0 × 10⁻⁴ = 5.5 × 10⁻³, so θ₁ ≈ 0.32°.
  2. Width of the central maximum ≈ 2λD/a = 2 × 550 × 10⁻⁹ × 2.0 / 1.0 × 10⁻⁴ = 0.022 m = 22 mm.
Python Single-slit diffraction pattern

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Diffraction gratings

A diffraction grating is a plate with a huge number of equally spaced, parallel slits, often hundreds of lines per millimetre. Light passing through all slits interferes, and bright, sharp maxima appear at angles where light from neighbouring slits is in phase:

d sin θ = nλ

where d is the grating spacing (distance between adjacent slits) and n = 0, 1, 2, ... is the order. If the grating has N lines per millimetre, then d = 1/N millimetres.

Compared with a double slit, a grating gives:

  • Much brighter maxima, since many slits contribute.
  • Much sharper maxima, so angles can be measured accurately.
  • Wide separation of colors in each order, so it works as a spectroscope.

With white light, the zeroth order (n = 0) is white. Each higher order is a full spectrum with violet nearest the centre and red farthest, since sin θ = nλ/d grows with wavelength.

Worked example

A grating has 600 lines per mm and is lit by sodium light of wavelength 589 nm.

  1. d = 1/600 mm = 1.667 × 10⁻⁶ m.
  2. First order: sin θ₁ = λ/d = 589 × 10⁻⁹ / 1.667 × 10⁻⁶ = 0.353, so θ₁ ≈ 20.7°.
  3. Maximum order: n_max < d/λ = 1.667 × 10⁻⁶ / 589 × 10⁻⁹ = 2.83, so n_max = 2. For n = 2, sin θ₂ = 0.707, giving θ₂ ≈ 45°.

Because sin θ cannot exceed 1, only a limited number of orders exist.

To find the largest order, compute d/λ and take the whole number below it (if d/λ is itself a whole number, that order falls at 90° and is not seen).

Python Grating angles for different colors

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Red is deflected through larger angles than violet in every order above zero. This is the opposite of a prism, where violet bends the most.

Where you see gratings in life

The rainbow colors on a CD or DVD come from the fine track spacing acting as a reflection grating. Spectrometers use gratings to analyse the light of stars and of laboratory gases, because each element emits light at its own set of wavelengths.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. Which wave diffracts most strongly through a 1 m wide doorway?

    Diffraction is strongest when the gap is comparable to the wavelength.
  2. 2. Light passes through a single slit. How does the central maximum change if the slit is made narrower?

    a sin θ = λ, so a smaller a gives a larger θ and a wider pattern.
  3. 3. A grating has 500 lines per mm. What is the spacing d?

    d = 1/500 mm = 0.002 mm = 2.0 × 10⁻⁶ m.
  4. 4. In the first order of a white-light grating spectrum, which color is closest to the centre?

    sin θ = λ/d, so the shortest wavelength (violet) has the smallest angle.

Summary

  • Diffraction is the spreading of waves at gaps and edges; it is strongest when the gap is close to the wavelength.
  • Single slit: minima at a sin θ = nλ; central maximum width about 2λD/a.
  • Diffraction grating: maxima at d sin θ = nλ, with d = 1/N; sharp, bright, and well separated.
  • Violet is deflected least and red most in a grating spectrum.

Next: Polarization of Light