Physics · Intermediate

Double-slit interference

Written by SignalsLab

Early edition: these lessons are being reviewed.

Content

Summary

When coherent light passes through two narrow slits, the two waves overlap and add. Where they arrive in phase we see bright fringes, and where they arrive out of phase we see dark fringes. The fringe spacing depends on wavelength, slit separation and screen distance.

Intuition

Think of two stones dropped into a pond side by side. Ripples spread from each and cross. At some points crests meet crests and the water rises strongly; at others a crest meets a trough and the water stays flat. Light behaves the same way. Each slit acts as a new source of waves. A point on the screen is slightly farther from one slit than the other, and this path difference decides whether the waves reinforce or cancel. If the path difference is a whole number of wavelengths, the waves are in phase and we get brightness. If it is a half-integer number of wavelengths, they cancel. Because the path difference grows steadily as you move across the screen, you see an evenly spaced pattern of stripes.

Key equations

ΔL=dsin⁡θ
(1)

Path difference between the two waves for slit separation d at angle θ from the central axis.

dsin⁡θ=mλ,m=0,±1,±2,…
(2)

Condition for constructive interference (bright fringes).

dsin⁡θ=(m+12)λ
(3)

Condition for destructive interference (dark fringes).

ym≈mλLd
(4)

Position of the m-th bright fringe on a screen at distance L, for small angles.

Δy=λLd
(5)

Spacing between adjacent bright fringes.

I=4I0cos2⁡(πdsin⁡θλ)
(6)

Intensity pattern for two ideal narrow slits, each alone giving intensity I0.

Derivation

  1. Place two slits a distance d apart, and a screen a distance L away, with L much larger than d.
  2. For a point on the screen at angle θ, the rays from the two slits are nearly parallel. The lower ray travels an extra distance dL=dsin⁡(θ).
  3. The phase difference is ϕ=2πdL/λ=2πdsin⁡(θ)/λ.
  4. Add two waves of equal amplitude E0: E=E0cos⁡(ωt)+E0cos⁡(ωt+ϕ)=2E0cos⁡(ϕ/2)cos⁡(ωt+ϕ/2).
  5. Intensity is proportional to the amplitude squared, so I=4I0cos2⁡(ϕ/2).
  6. Bright fringes occur when ϕ=2πm, which gives dsin⁡(θ)=mλ.
  7. For small angles, sin⁡(θ)≈tan⁡(θ)=y/L, so ym=mλL/d.
  8. Subtracting neighboring positions gives the spacing λL/d.

Worked example

Problem

Light of wavelength 600 nm passes through two slits 0.30 mm apart. The screen is 2.0 m away. Find the fringe spacing and the position of the third bright fringe from the center.

  1. Convert units: lambda = 600e-9 m, d = 0.30e-3 m, L = 2.0 m.
  2. Spacing: Delta y = lambda L / d = (600e-9)(2.0)/(0.30e-3).
  3. Numerator: 1.2e-6. Divide by 3.0e-4 to get 4.0e-3 m.
  4. Third bright fringe: y_3 = 3 × 4.0 mm = 12 mm.

Answer Fringe spacing 4.0 mm; the third bright fringe is 12 mm from the center.

Common mistakes

  • Using the slit width instead of the slit separation d in the formulas.
  • Forgetting that m = 0 is the central bright fringe, so the first bright fringe is m = 1.
  • Applying the small-angle formula when the angle is large.
  • Mixing units, such as nanometers with millimeters.
  • Confusing the dark fringe condition, which needs a half-integer, with the bright one.
  • Thinking that light particles collide; the pattern comes from wave superposition.

Animation

Animation coming soon

The animated version of this lesson is being prepared for the web. In the Signals AI app, lessons are drawn step by step.

Code

scene.py(68 lines)
import sys
from manim import *
from blocks import *
import numpy as np

# Physical parameters (SI units)
WAVELENGTH = 500e-9   # m
SLIT_D = 20e-6        # slit separation, m
SCREEN_L = 1.0        # distance to screen, m


def intensity(y, d=SLIT_D, lam=WAVELENGTH, L=SCREEN_L):
    """Two-slit intensity (point slits), normalised to I0=1 at centre."""
    phase = np.pi * d * y / (lam * L)
    return np.cos(phase) ** 2


def fringe_spacing(d=SLIT_D, lam=WAVELENGTH, L=SCREEN_L):
    """Distance between bright fringes: lambda L / d."""
    return lam * L / d


class Main(Scene):
    def construct(self):
        # Title
        TitleCard(self, "Double-slit interference", "Intensity on a distant screen")

        # Plot of I(y) in millimetres
        dy = fringe_spacing() * 1000  # mm
        ymax = 3 * dy
        f = lambda x: float(intensity(x / 1000.0))
        plot = CurvePlot(f, x_range=(-ymax, ymax, dy), y_range=(0, 1.2, 0.5),
                         x_label="y (mm)", y_label="I / I0", color=C_ACCENT,
                         x_length=9.0, y_length=3.8)
        plot.move_to(ORIGIN + 0.1 * DOWN)
        self.play(Create(plot.axes), FadeIn(plot.labels))
        self.play(Create(plot.curve), run_time=3)

        # Mark bright fringes at y = m * spacing
        dots = VGroup(*[plot.dot_at(m * dy, color=C_GOOD) for m in range(-2, 3)])
        self.play(FadeIn(dots))

        # Spacing bracket between m=0 and m=1
        p0 = plot.axes.c2p(0, -0.18)
        p1 = plot.axes.c2p(dy, -0.18)
        brace = Line(p0, p1, color=C_MAIN, stroke_width=4)
        self.play(Create(brace))

        eq = MathTex(r"\Delta y=\frac{\lambda L}{d}", font_size=40)
        eq.to_edge(RIGHT, buff=0.6).shift(UP * 2.0)
        self.play(Write(eq))
        val = Text(f"{dy:.0f} mm spacing", font_size=26, color=C_MAIN)
        val.next_to(eq, DOWN, buff=0.3)
        self.play(FadeIn(val))
        self.wait(1)

        StepCaption(self, "Bright fringes are spaced by lambda L / d: narrower slits gap, wider fringes.")
        self.wait(1.5)


if __name__ == "__main__" and "--selftest" in sys.argv:
    assert abs(intensity(0.0) - 1.0) < 1e-12
    s = fringe_spacing()
    assert abs(s - 0.025) < 1e-9
    assert abs(intensity(s) - 1.0) < 1e-9
    assert abs(intensity(s / 2)) < 1e-9
    assert all(0 <= intensity(y) <= 1 for y in np.linspace(-0.1, 0.1, 101))
    print("ok")

The Manim scene code that draws this lesson's animation in the Signals AI app (Python, Manim Community).

ccBYNC© 2026 SignalsLab. Lesson text shared as is under CC BY-NC 4.0.