📘 CodingMarble Learn

Diffraction of Light

Diffraction is the spreading of waves when they pass a narrow gap or an edge. A gap of width a gives dark spots where a sin θ = nλ. A grating with spacing d gives sharp bright lines where d sin θ = nλ. The smaller the gap or the longer the wavelength, the more the light spreads.

🎬 Step-by-step story

  1. A laser goes through a wide gap. The screen shows one small bright spot. Light seems to travel in straight lines.
  2. Now the gap is very thin, about as small as the light wave. The light bends and spreads. The screen shows a wide bright band and faint side bands.
  3. Make the gap even thinner. The pattern gets wider. Thin gap means more spreading.
  4. Use a wall with many equal gaps, a grating. The screen shows thin, sharp, bright lines.
  5. Change the colour from blue to red. Red has a longer wavelength, so the lines move outward. Red bends more than blue.
  6. Free play: move the gap width, colour and number of gaps. Watch the screen.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Why does light look like it goes straight in daily life?

Everyday gaps are huge compared with the tiny light wave, so the bending is too small to see. See the wide gap in the 3D.

What is the central band?

It is the widest and brightest band in the middle, with fainter side bands on either side.

Why is the pattern wider for a thinner gap?

Because sin θ = λ/a. A smaller a gives a bigger angle. Watch the band spread as the gap shrinks.

What is different about a grating?

Many gaps all add their light together. Bright lines become thin and sharp.

Why does red bend more than blue?

Red has a longer wavelength, and the angle grows with wavelength. The lines moved outward when the colour changed.

Can I try different numbers myself?

Yes, use the three sliders. Change one thing at a time so you know the cause.

What is diffraction?

A wave spreads out when it goes through a small gap or passes the edge of an object. This is called diffraction.

All waves do it: water waves, sound and light. It is clear only when the gap is about as small as the wavelength. Sound has a wavelength of about 1 metre, so it bends around doors. Light has a wavelength of about 0.0005 millimetre, so the gap must be extremely tiny.

Single slit diffraction

Shine light through one narrow slit of width a. On a screen you see a very bright wide central band and weaker bands on both sides, with dark spots between them.

The first dark spot is at angle θ where a sin θ = λ. For the n-th dark spot, a sin θ = nλ.

The central band is about twice as wide as the side bands. If you make a smaller, sin θ becomes larger, so the band gets wider.

Diffraction grating

A grating is a glass plate with thousands of very thin, equal, parallel lines. The distance between two neighbouring lines is d. If it has N lines per metre, d = 1/N.

Light from all gaps adds up. It gives bright lines where d sin θ = nλ, with n = 0, 1, 2 … (the order). The lines are thin and bright. More lines means thinner, sharper lines.

Because θ depends on λ, a grating splits white light into colours. The n = 0 line stays white. In each higher order, violet is nearest the centre and red is farthest.

Uses of diffraction

Diffraction and interference together

Interference joins waves from two or more separate sources. Diffraction is the spreading from one opening. In a real pattern both happen: each gap diffracts and the gaps interfere with each other. That is why a grating gives bright lines inside one wide, smooth envelope. See Interference of light.

Try it

Look at a CD under a lamp and tilt it. You will see colours move. Or hold two fingers close together in front of a bulb and look through the tiny gap: you see dark lines. In the 3D, predict first: if I make the gap half as wide, will the pattern become wider or narrower? Then check.

Key formulas and definitions

Worked examples

1. Light of wavelength 600 nm falls on a slit 1.2 µm wide. Find the angle of the first dark spot.

a sin θ = λ. sin θ = 600×10⁻⁹ / 1.2×10⁻⁶ = 0.5. So θ = 30°.

2. A grating has 5000 lines per cm. Find the spacing d.

5000 lines per cm = 500 000 lines per m. d = 1 / 500 000 = 2×10⁻⁶ m = 2 µm.

3. The same grating is lit with light of 500 nm. Find the angle of the first-order line.

d sin θ = λ. sin θ = 500×10⁻⁹ / 2×10⁻⁶ = 0.25. θ = about 14.5°.

4. For the same grating and 500 nm light, find the angle of the second-order line.

d sin θ = 2λ. sin θ = 2×0.25 = 0.5. θ = 30°.

5. What is the highest order seen for d = 2 µm and λ = 500 nm?

n < d/λ = 2000/500 = 4. n must be less than 4, so the highest visible order is n = 3 (at n = 4 the line would be at 90° and not seen).

6. A slit is made narrower. What happens to the central band on the screen?

a sin θ = λ, so with smaller a, sin θ gets bigger. The central band becomes wider.

Common mistakes

Practice quiz

1. Diffraction means:
2. In single slit diffraction the central band is:
3. A grating gives bright lines when:
4. Which colour bends most in a grating?
5. If the slit width is halved, the central band becomes:

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

Why can we hear around corners but not see?

Sound waves are about a metre long, like doors. Light waves are far shorter than any door, so they bend very little. They bend only around tiny gaps.

What is the difference between diffraction and interference?

Diffraction is the spreading of a wave from one opening. Interference is the adding of waves from separate sources. A grating pattern needs both.

Why does a CD show rainbow colours?

Its tiny circular tracks work as a grating. Each colour has its own angle, so white light is split into colours.

Learn first

Learn next

Related lessons

All Physics lessons