Article
Optics · Wave Physics · ⏱ ≈ 12 хв читання

Diffraction & Interference — When Light Bends Around Corners

Diffraction — the spreading of waves around obstacles and through apertures — is where geometric optics breaks down and the wave nature of light becomes undeniable. Thomas Young's 1801 double-slit experiment shattered the Newtonian corpuscle theory of light; Augustin-Jean Fresnel then quantified it via the Huygens-Fresnel principle. Today diffraction sets the resolution limit of every optical instrument, determines the colour of CDs, and governs X-ray crystallography's ability to reveal molecular structures.

1. Huygens-Fresnel Principle

Every point on a wavefront acts as a secondary point source of spherical wavelets. The amplitude at any point P is the coherent superposition of all secondary wavelets from the previous wavefront:

U(P) = (−i/λ) ∫∫ U(r') · (e^(ikr) / r) · K(θ) dS where: U(r') = field at source point r' r = distance from source point to P k = 2π/λ (wave number) K(θ) = obliquity factor (≈1 for small angles) dS = area element on the aperture This integral fully describes diffraction — the single-slit, double-slit and circular-aperture patterns are all special cases. In Fraunhofer (far-field) limit, this simplifies to a Fourier transform: U(P) ∝ F{aperture function} evaluated at spatial frequencies (sin θ_x / λ, sin θ_y / λ)

2. Single-Slit Diffraction

Slit width a, wavelength λ, observation angle θ Intensity: I(θ) = I₀ · sinc²(β) where β = (πa sinθ) / λ, sinc(x) = sin(x)/x Minima (dark fringes): a·sinθ = m·λ (m = ±1, ±2, …) Central maximum width: 2λ/a (angular half-width λ/a) Example: a = 100 μm, λ = 500 nm First minimum: sinθ = λ/a = 5×10⁻³ → θ ≈ 0.29° On screen 1 m away: central band ≈ 10 mm wide As a decreases (narrower slit) → pattern SPREADS wider → wave nature of light: narrower aperture = more diffraction

3. Double-Slit Interference (Young)

Two slits of width a, separated by d (centre-to-centre), λ wavelength Combined intensity (product of diffraction envelope × interference): I(θ) = I₀ · sinc²(β) · cos²(δ) β = πa sinθ / λ (single-slit envelope) δ = πd sinθ / λ (two-slit interference) Bright fringes (constructive): d·sinθ = m·λ (m = 0, ±1, ±2, …) Dark fringes: d·sinθ = (m+½)·λ Fringe spacing on screen at distance L: Δy = λL / d Missing fringes: if d/a is integer, the m-th interference maximum falls exactly on a diffraction minimum → that fringe disappears. e.g. d/a = 3: every 3rd bright fringe missing.

4. Diffraction Grating

N slits with spacing d: I(θ) = I₀ · sinc²(β) · [sin(Nδ)/sin(δ)]² Principal maxima (grating equation): d · sinθ = m · λ (same as double-slit!) But sharpness scales with N²: peak intensity ∝ N², peak half-width ∝ 1/N → spectral resolution improves with N. Resolving power: R = λ/Δλ = m·N (m = diffraction order, N = number of lines) Example: 600 lines/mm grating, N=500 lines illuminated, order m=2: R = 2 × 500 = 1000 → resolves Δλ = 500 nm / 1000 = 0.5 nm Can separate sodium doublet (589.0 / 589.6 nm) CD/DVD rainbow iridescence: ~1 600 grooves/mm acts as reflection grating Different wavelengths diffract at different angles → colours

5. Airy Disk and Resolution Limit

Circular aperture of diameter D: far-field pattern is Airy disk. Intensity: I(θ) = I₀ · [2·J₁(x)/x]² x = π·D·sinθ / λ, J₁ = first-order Bessel function First dark ring (Airy disk radius): sinθ ≈ θ = 1.22 λ / D (for θ small) Rayleigh criterion (two point sources just resolved): θ_min = 1.22 λ / D Examples: Human eye (D≈4mm, λ=550nm): θ ≈ 1.7 × 10⁻⁴ rad → 30 arcsec 100mm telescope: θ ≈ 1.4 arcsec Hubble (D=2.4m, λ=500nm): θ ≈ 0.05 arcsec Radio telescope 25m (λ=1cm): θ ≈ 0.05° → needs arrays (VLBI)

6. Fresnel vs Fraunhofer Regimes

Fresnel number: N_F = a² / (λ·z) a = aperture half-width, z = observation distance N_F >> 1 → Fresnel (near-field): complex curved fringes, geometric shadow edge N_F << 1 → Fraunhofer (far-field): simple sinc² patterns, Fourier transform Crossover distance: z_Fraunhofer ≈ a² / λ Example: a=1mm slit, λ=500nm z_F = (10⁻³)² / (5×10⁻⁷) = 2 m → Need to be >2 m away for Fraunhofer pattern (or use lens) Lens focuses far-field at focal plane: even for nearby objects, a lens of focal length f shows the Fraunhofer pattern at the back focal plane → key principle behind Fourier optics.

7. JavaScript Diffraction Simulator

// Fraunhofer diffraction intensity for arbitrary 1D aperture
// using numerical DFT (or analytically for standard shapes)

function singleSlitIntensity(theta, lambda, a) {
  const beta = (Math.PI * a * Math.sin(theta)) / lambda;
  if (Math.abs(beta) < 1e-10) return 1;
  const sinc = Math.sin(beta) / beta;
  return sinc * sinc;
}

function doubleSlitIntensity(theta, lambda, a, d) {
  const envelope = singleSlitIntensity(theta, lambda, a);
  const delta = (Math.PI * d * Math.sin(theta)) / lambda;
  const interference = Math.cos(delta) ** 2;
  return envelope * interference;
}

function gratingIntensity(theta, lambda, a, d, N) {
  const envelope = singleSlitIntensity(theta, lambda, a);
  const delta = (Math.PI * d * Math.sin(theta)) / lambda;
  let multi;
  if (Math.abs(Math.sin(delta)) < 1e-10) {
    multi = N * N;
  } else {
    const r = Math.sin(N * delta) / Math.sin(delta);
    multi = r * r;
  }
  return envelope * multi / (N * N); // normalise
}

// Generate intensity pattern on screen at distance L
function diffractionPattern(type, params, screenW = 0.05, L = 1, nPoints = 2000) {
  const pts = [];
  for (let i = 0; i < nPoints; i++) {
    const y = (i / nPoints - 0.5) * screenW;
    const theta = Math.atan(y / L);
    let I;
    if (type === 'single')
      I = singleSlitIntensity(theta, params.lambda, params.a);
    else if (type === 'double')
      I = doubleSlitIntensity(theta, params.lambda, params.a, params.d);
    else
      I = gratingIntensity(theta, params.lambda, params.a, params.d, params.N);
    pts.push({y: y * 1000, I}); // y in mm
  }
  return pts;
}

// Example: 600-line/mm grating, λ=589nm, N=200 illuminated slits
const pattern = diffractionPattern('grating', {
  lambda: 589e-9,
  a: 0.8e-6,    // slit width 0.8 μm
  d: 1/600000,   // 600 lines/mm → d in m
  N: 200
}, 0.1, 1);
const peak = Math.max(...pattern.map(p => p.I));
console.log(`Peak at I = ${peak.toFixed(3)}`);

8. Applications

X-Ray Crystallography

Crystal planes (spacing d ~0.1–1 nm) act as diffraction gratings for X-rays (λ~0.1 nm). Bragg's law nλ = 2d sinθ locates peaks. Inverse FT of peak intensities → electron density → molecular structure.

Optical Lithography

IC fabrication prints features using diffraction-limited optics. Rayleigh resolution = k₁·λ/NA (NA = numerical aperture). Extreme UV (EUV, λ=13.5 nm) enables 3 nm feature sizes.

Holography

Interference of reference beam and scattered object beam records a diffraction grating that reconstructs the object's 3D wavefront when illuminated. Phase and amplitude both encoded.

Spectrometers

Blazed diffraction gratings (tilted groove faces) concentrate diffracted light into a single order for maximum efficiency. Echelle gratings use high diffraction orders for ultra-high resolution spectroscopy.

💡 Open Double-Slit Experiment →