---
title: Interference and coherence
heading: Two-beam interference and fringe visibility, temporal coherence and the coherence length set by a source's bandwidth, the Michelson interferometer, and spatial coherence from a source's angular size, with stellar interferometry
eyebrow: S13 · Lesson 5 · Interference and coherence
xp: 50
---

::: hook
Lessons 1 to 4 treated light as a perfectly regular wave, which is why it could interfere and diffract so cleanly. Real light is never that regular. A light bulb's light keeps its phase for a few femtoseconds, a laser's for microseconds, and whether two beams make fringes depends on whether their path difference fits inside that memory. The same idea across space tells you how far apart two pinholes can be and still interfere, and lets astronomers measure the sizes of stars they can't resolve.
:::

::: play
- The curve is the fringe visibility of a Michelson interferometer against its path difference, for a source at 850 nm with the Gaussian spectral width on the slider: $V = \exp[-(\pi\Delta\nu\tau)^2/(4\ln 2)]$ with τ the path difference over c.
- A 30 nm LED loses half its visibility after about 11 µm of path difference; a narrower source keeps fringes much longer.
- The dashed line marks the conventional coherence length $\lambda^2/\Delta\lambda$, where the visibility of a Gaussian source is down to 3%.
:::

```sim plot
view: graph
x: d = 0..60
y: V = 0..1
slider: w = 5..60 = 30
plot: exp(-(pi*299792458*w*1e-9/(850e-9)^2*d*1e-6/299792458)^2/(4*ln(2))) | label: visibility
plot: step(d - 850^2/w*1e-3)*step(850^2/w*1e-3 + 0.3 - d) | dashed | label: λ²/Δλ
```

::: predict
## A white-light source (about 550 nm center, 300 nm wide) lights a Michelson interferometer. Over what range of mirror positions do fringes appear?

- [ ] Over meters, as with a laser
- [ ] Over millimeters
- [x] Over about a micrometer around equal paths
- [ ] Nowhere: white light can't interfere

::: reveal
The coherence length is about $\lambda^2/\Delta\lambda = (550\text{ nm})^2/300\text{ nm} \approx 1$ µm, so only a few colored fringes appear, right at zero path difference. That makes white-light interference a precise marker of equal paths, used in optical coherence tomography and surface profilers.
:::
:::

::: nameit
## Two-beam interference

Two beams of intensities $I_1$ and $I_2$ with relative phase φ add to
$$I = I_1 + I_2 + 2\sqrt{I_1I_2}\,|g|\cos\phi$$
where |g| ≤ 1 is their degree of coherence. The **visibility** $V = (I_\max - I_\min)/(I_\max + I_\min)$ is $2\sqrt{I_1I_2}|g|/(I_1 + I_2)$: unequal beams or partial coherence wash the fringes out.

## Temporal coherence

Light of spectral width Δν stays in step with a delayed copy of itself only for a time of order 1/Δν. For a Gaussian spectrum of full width Δν, the degree of coherence at delay τ is
$$|g(\tau)| = \exp\left[-\frac{(\pi\Delta\nu\tau)^2}{4\ln 2}\right]$$
which halves at a path difference of $(2\ln 2/\pi)\lambda^2/\Delta\lambda = 0.44\lambda^2/\Delta\lambda$. The **coherence length** is usually quoted as $l_c \approx \lambda^2/\Delta\lambda = c/\Delta\nu$.

## The Michelson interferometer

Moving one mirror by Δx changes the path difference by 2Δx; each fringe is λ/2 of mirror motion. Fringes are seen while the path difference stays well within $l_c$. Scanning the mirror and Fourier-transforming the signal gives the source's spectrum (Fourier-transform spectroscopy).

## Spatial coherence

Light from a source of angular size θ (seen from the observer) is coherent across a transverse distance of about λ/θ. For a uniform disk, fringes from two pinholes a distance b apart first vanish at $b = 1.22\lambda/\theta$ (the van Cittert–Zernike theorem, the Airy pattern again). Michelson's stellar interferometer measured star diameters by finding that baseline.
:::

::: example
## An 850 nm LED with a 30 nm Gaussian spectrum lights a Michelson interferometer. At what path difference does the visibility halve, and how far must the mirror move from equal paths?

::: solution
1. **Coherence scale.**
   $$\begin{aligned} \frac{\lambda^2}{\Delta\lambda} &= \frac{(850\ \text{nm})^2}{30\ \text{nm}} \\ &= 24.1\ \mu\text{m} \end{aligned}$$
2. **Where the visibility halves.** For a Gaussian spectrum it halves at
   $$\begin{aligned} \Delta l &= 0.441 \times 24.1\ \mu\text{m} \\ &= 10.6\ \mu\text{m} \end{aligned}$$
   of path difference.
3. **Mirror travel.** The light crosses the arm twice, so the mirror moves half that:
   $$\frac{10.6\ \mu\text{m}}{2} = 5.3\ \mu\text{m}$$
4. **Farther out.** At 24 µm the visibility is down to 3%, and at 50 µm it's gone.
5. **Use in imaging.** Optical coherence tomography uses exactly this: only reflections within about 10 µm of the reference arm's length interfere, which sets its depth resolution.

**Answer:** the visibility halves at 10.6 µm of path difference, reached by moving the mirror 5.3 µm from equal paths.
:::
:::

::: example
## Compare the coherence lengths of a helium–neon laser running on several modes across its 1.5 GHz gain width, and of a single-frequency laser with a 1 MHz linewidth.

::: solution
1. **Multimode laser.**
   $$\begin{aligned} l_c &= \frac{c}{\Delta\nu} \\ &= \frac{3 \times 10^8\ \text{m/s}}{1.5\ \text{GHz}} \\ &= 0.2\ \text{m} \end{aligned}$$
2. **Single-frequency laser.**
   $$\begin{aligned} l_c &= \frac{3 \times 10^8\ \text{m/s}}{1\ \text{MHz}} \\ &= 300\ \text{m} \end{aligned}$$
3. **Which one a job needs.** Holography and long-path interferometers need the narrow laser; for a Michelson with arms matched to a few centimeters, the multimode laser is enough.

**Answer:** the coherence length is 0.2 m for the multimode laser and 300 m for the single-frequency one.
:::
:::

::: example
## Sunlight subtends 9.3 mrad. Over what distance is it spatially coherent at 550 nm? And what baseline did Michelson's interferometer need for Betelgeuse, 0.047 arcseconds across, at 575 nm?

::: solution
1. **Coherence width of sunlight.**
   $$\frac{1.22 \times 550\ \text{nm}}{9.3\ \text{mrad}} = 72\ \mu\text{m}$$
   Young's experiment with sunlight works only with pinholes closer than that.
2. **Betelgeuse's angle in radians.**
   $$0.047'' = 2.28 \times 10^{-7}\ \text{rad}$$
3. **Baseline where the fringes vanish.**
   $$\begin{aligned} b &= \frac{1.22 \times 575\ \text{nm}}{2.28 \times 10^{-7}} \\ &= 3.08\ \text{m} \end{aligned}$$
   close to the 3 m baseline of the 1920 measurement on the Mount Wilson telescope.

**Answer:** sunlight is spatially coherent over about 72 µm, and Michelson's interferometer needed a baseline of about 3.08 m for Betelgeuse.
:::
:::

::: check
kind: parts
given: l = 633 | 850 | 1550; w = 0.01 | 1 | 40

## A source at {l} nm has a spectral width of {w} nm.

::: part
answer: (l*1e-9)^2/(w*1e-9)*1e6
unit: µm
tolerance: 0.5%

### What is its coherence length, by the usual estimate?

::: misses
- [l/w] Square the wavelength.
- [any] $\lambda^2/\Delta\lambda$.
:::
:::

::: part
answer: 299792458*w*1e-9/(l*1e-9)^2/1e9
unit: GHz
tolerance: 0.5%

### What is its bandwidth in frequency?

::: misses
- [any] $c\Delta\lambda/\lambda^2$.
:::
:::
:::

::: check
kind: parts
given: a = 1 | 4; b = 0.1 | 0.3 | 0.5; g = 0.5 | 0.9 | 1

## Two beams of intensities {a} and {b} (arbitrary units) interfere with a degree of coherence of {g}.

::: part
answer: 2*sqrt(a*b)*g/(a + b)
tolerance: 0.5%

### What is the fringe visibility?

::: misses
- [g] Unequal intensities lower the visibility too.
- [any] $2\sqrt{I_1I_2}|g|/(I_1 + I_2)$.
:::
:::

::: part
answer: a + b + 2*sqrt(a*b)*g
tolerance: 0.5%

### What is the brightest fringe's intensity?

::: misses
- [any] $I_1 + I_2 + 2\sqrt{I_1I_2}|g|$.
:::
:::
:::

::: check
kind: parts
given: l = 633 | 850; w = 10 | 30 | 60; d = 5 | 15 | 30

## A Gaussian source at {l} nm with a {w} nm full width lights a Michelson interferometer at a path difference of {d} µm.

::: part
answer: exp(-(pi*w*1e-9/(l*1e-9)^2*d*1e-6)^2/(4*ln(2)))
tolerance: 0.5%

### What is the fringe visibility?

::: misses
- [any] $\exp[-(\pi\Delta\nu\tau)^2/4\ln 2]$ with $\Delta\nu\tau = \Delta\lambda\,d/\lambda^2$.
:::
:::

::: part
answer: 2*ln(2)/pi*(l*1e-9)^2/(w*1e-9)*1e6
unit: µm
tolerance: 0.5%

### At what path difference would it halve?

::: misses
- [any] $(2\ln 2/\pi)\lambda^2/\Delta\lambda$.
:::
:::
:::

::: check
kind: parts
given: l = 500 | 633 | 2200; t = 0.02 | 0.05 | 0.5

## A star {t} arcseconds across is observed at {l} nm.

::: part
answer: 1.22*l*1e-9/(t/3600*pi/180)
unit: m
tolerance: 0.5%

### At what baseline do a stellar interferometer's fringes first vanish?

::: misses
- [l*1e-9/(t/3600*pi/180)] A uniform disk adds the factor 1.22.
- [any] $1.22\lambda/\theta$.
:::
:::
:::

::: check
kind: parts
given: l = 532 | 633 | 1064; n = 100 | 1000 | 5000

## A Michelson interferometer at {l} nm counts {n} fringes as one mirror moves.

::: part
answer: n*l/2/1e3
unit: µm
tolerance: 0.5%

### How far has the mirror moved?

::: misses
- [n*l/1e3] Each fringe is half a wavelength of mirror motion.
- [any] $n\lambda/2$.
:::
:::
:::

::: check
kind: choice

## Why can't two separate lasers of the same nominal wavelength produce stable interference fringes on a screen, the way two halves of one laser's beam can?

- [ ] Lasers can't interfere
- [x] Their phases wander independently, so the fringe pattern moves faster than the eye or a camera can follow and averages away; the two halves of one beam share the same phase wanderings, which cancel in their difference
- [ ] Their polarizations always differ
- [ ] Interference needs white light

::: misses
- [1] Each laser's light interferes perfectly with itself.
- [3] Polarization can be matched.
- [4] White light has a very short coherence length.
:::
:::

::: check
kind: derivation
vars: l = 0.0000002..0.000002, w = 0.000000000001..0.0000001, t = 0.000000001..0.01

## A source has wavelength l and spectral width w (meters), and subtends t radians.

::: step
answer: l^2/w

### What is its coherence length?
:::

::: step
answer: 1.22*l/t

### Over what transverse distance is it coherent (first zero)?
:::

::: right
Right. Bandwidth sets the coherence along the beam; angular size sets it across.
:::
:::

::: check
kind: python

## Write `visibility(spectrum, d)`: for a spectrum given as a list of (wavelength in m, power) pairs, return the fringe visibility $|\sum_k P_ke^{j2\pi d/\lambda_k}|/\sum_kP_k$ at path difference d; and `half_visibility_path(spectrum)`: the smallest path difference (by bisection between 0 and the first point where it falls below 0.5) at which it is 0.5.

```python starter
def visibility(spectrum, d):
    return 1.0

def half_visibility_path(spectrum):
    return 0.0
```

```python solution
import cmath, math

def visibility(spectrum, d):
    s = sum(p * cmath.exp(2j * math.pi * d / l) for l, p in spectrum)
    return abs(s) / sum(p for _, p in spectrum)

def half_visibility_path(spectrum):
    hi = 1e-7
    while visibility(spectrum, hi) > 0.5:
        hi *= 1.5
    lo = 0.0
    for _ in range(60):
        m = (lo + hi) / 2
        if visibility(spectrum, m) > 0.5:
            lo = m
        else:
            hi = m
    return (lo + hi) / 2
```

```python tests
import math
c = 299792458
l0, w = 850e-9, 30e-9
nu0, dnu = c / l0, c * w / l0 ** 2
spec = []
for k in range(-400, 401):
    nu = nu0 + k * dnu / 100
    spec.append((c / nu, math.exp(-4 * math.log(2) * ((nu - nu0) / dnu) ** 2)))
d = half_visibility_path(spec)
assert abs(d - 2 * math.log(2) / math.pi * l0 ** 2 / w) < 0.1e-6, "A Gaussian 30 nm source halves at 10.6 µm."
assert visibility(spec, 0) > 0.999999 and visibility(spec, 50e-6) < 1e-3, "Full visibility at equal paths, none at 50 µm."
two = [(589.0e-9, 1.0), (589.6e-9, 1.0)]
assert visibility(two, 589.3e-9 ** 2 / (2 * 0.6e-9)) < 0.01, "The sodium doublet's fringes vanish at λ²/2Δλ."
```

::: right
Right. Visibility is the Fourier transform of the spectrum: that's the principle of Fourier-transform spectroscopy.
:::
:::

::: explain
## Why does a source with a broad spectrum make fringes only near equal path lengths?

::: model
Each wavelength in the spectrum makes its own fringe pattern, and all of them have a bright fringe at zero path difference. As the path difference grows, the patterns of different wavelengths drift out of step, since each fringe corresponds to a different length for each wavelength. The broader the spectrum, the sooner the bright fringes of some wavelengths fall on the dark fringes of others, until they average to a uniform brightness. The path difference at which that happens, about the square of the wavelength over the spectral width, is the coherence length.
:::
:::

::: practice
::: check
given: l = 780 | 1310; w = 0.1 | 50
answer: (l*1e-9)^2/(w*1e-9)*1e6
unit: µm
tolerance: 0.5%

## Coherence length: {l} nm, {w} nm wide?

::: misses
- [any] $\lambda^2/\Delta\lambda$.
:::
:::

::: check
given: a = 1 | 2; b = 0.2 | 0.8
answer: 2*sqrt(a*b)/(a + b)
tolerance: 0.5%

## Visibility of fully coherent beams, {a} and {b}?

::: misses
- [any] $2\sqrt{I_1I_2}/(I_1 + I_2)$.
:::
:::

::: check
given: l = 550 | 1000; t = 0.01 | 0.1
answer: 1.22*l*1e-9/(t/3600*pi/180)
unit: m
tolerance: 0.5%

## Baseline for a {t}″ star at {l} nm?

::: misses
- [any] $1.22\lambda/\theta$.
:::
:::
:::
