OPTICSIN 5 MINUTES

E04 / AN INTERACTIVE OPTICS LESSON

Fields always add.
What survives the exposure?

Connect interference, source bandwidth, source size, and speckle through one measurement: the time-averaged squared field.

12–15-minute lesson · 25–30-minute Python lab
Prerequisites & recommended learning resources ↓

Computed illustration from this lesson’s numerical model.
COMPUTED FROM THE LESSON MODEL

CONCEPTS IN THIS EPISODE

See this episode in the concept map ↓

E04 / WHY LEARN THIS?

Why do fringes disappear when the optics stay put?

An interference pattern can fade after a change in illumination or exposure even when neither path moves. A rough surface can also produce stable speckle. Interpreting these observations requires knowing which relationships between fields survive the camera's averaging.

What you gain: Diagnose changes in fringe visibility, distinguish a static random pattern from lost coherence, and decide when your imaging model should add fields, intensities, or coherent modes.

BEFORE E04 / PREREQUISITES

Check your starting point.

Useful earlier lessons: E01, E03

  • Complex amplitudes and phase. Expand |u₁ + u₂|² and recognize complex-conjugate cross terms.Used here: The camera averages these interference terms during an exposure.
  • Averages, variance, and correlation. Distinguish averaging a product from multiplying averages, and independent from repeated samples.Used here: These distinctions govern fringe visibility and speckle contrast.
Need a refresher? Open the recommended reading.

Use the indicated sections for an unfamiliar idea, then return to this lesson.

For the coherent-mode section and notebook extension, review eigenvectors and Hermitian matrices.

For the notebook: Average arrays over a realization axis and compare standard deviation with mean intensity.
NumPy · The absolute basics for beginners ↗

Developed in this lesson: Connect detector averaging to temporal coherence, spatial coherence, and speckle; then represent correlations with coherent modes.

Browse all prerequisites and learning resources →

Coherence and what a camera averages

Watch the story, then use the experiment below to test the ideas yourself.

5:02 · E04 · Coherence and what a camera averagesWatch on YouTube ↗

The film’s logic, step by step.

When do interference terms survive a camera exposure, and what sets their range?

Follow the film’s argument, then open an explanation where a step feels too fast. Times are approximate; select one to replay that part of the film.

Logic flow

  1. 0:00

    Compare laser speckle with smooth LED illumination

    Both sources obey wave superposition. Their different patterns ask us to examine which phase correlations survive measurement.

  2. 0:19

    Locate interference in the intensity cross term

    Add the complex fields, square, then average over exposure. A stable relative phase preserves fringes; fluctuating relative phases can cancel their average.

    Open the missing step →
  3. 1:08

    Delay one copy: spectrum sets temporal coherence

    Each frequency interferes with its own delayed copy. Their phase advances differ, so a broad spectrum loses net fringe contrast at a smaller path difference.

    Open the missing step →
  4. 1:48

    Separate two points: source size sets spatial coherence

    Different source directions shift the two-slit fringes sideways. Independent source points add shifted intensity patterns, progressively filling each other’s dark bands.

    Open the missing step →
  5. 2:45

    Use fixed random phases to explain speckle

    A rough surface makes many paths interfere differently at each pixel. Spatial randomness can produce a stable granular pattern; averaging independent patterns reduces its contrast.

    Open the missing step →
  6. 3:22

    Store all pairwise correlations in J

    Intensity alone does not predict interference between different points. Mutual intensity records these correlations, and its eigenmodes provide a compact propagation basis.

    Open the missing step →
  7. 4:08

    Choose what to add in a simulation

    For one coherent mode, propagate the field and square. For uncorrelated modes, propagate each field, then add their weighted intensities. Source-angle and wavelength averaging explain the smooth but blurred LED result.

    Open the missing step →
  8. 4:43

    Carry the cross term into phase measurement

    A stable reference preserves the phase-dependent cross term. E05 uses that term to encode information a direct intensity image would lose.

Unpack the difficult steps

How does a spectral width become a coherence length?

1:08 · Replay this part

Read the film’s lower graph as a delay scan. Its horizontal axis ΔL is the optical path difference between two copies of the same beam; τ = ΔL/c. The fast oscillations are the interference contribution as that path difference changes. The envelope describes fringe visibility. It is not necessarily the shape of a finite pulse moving through space.

For one frequency ν, delaying a copy adds phase 2πντ. For two nearby frequencies separated by δν, the difference between their interference phases grows as 2πδντ. At zero delay their fringe contributions agree; with increasing delay they point in different directions. A continuous band of frequencies can then cancel in the sum, even though every frequency still interferes with its own copy.

δφ = 2π δν τ = 2π δν ΔL/c
g⁽¹⁾(τ) = [∫ Sν(ν)e^(i2πντ) dν] / [∫ Sν(ν) dν]

Sν is power per unit frequency. For a stationary field, its normalized Fourier transform is the complex field autocorrelation g⁽¹⁾ (the Wiener–Khinchin relation, with this sign convention). The visible envelope is |g⁽¹⁾|. It is the complex correlation, not just the real envelope, that forms the Fourier pair with the spectrum.

Δν · τc ~ 1, ℓc = cτc ~ c/Δν
ν = c/λ ⇒ Δν ≈ cΔλ/λ₀² ⇒ ℓc ~ λ₀²/Δλ

The last conversion assumes Δλ ≪ λ₀. Near 550 nm, a 30 nm bandwidth gives the rough scale 550²/30 nm ≈ 10 μm. Reducing the width tenfold makes that scale ten times longer. This is a scale estimate: a precise length needs the spectral shape and a stated width criterion. A two-line spectrum can even show revivals, so total bandwidth alone does not specify every coherence function.

For the Gaussian frequency spectrum in the experiment below, Δν is its full width at half maximum. Define ℓe as the positive path difference at which visibility falls to 1/e. Then ℓe = 0.530 c/Δν; the 550 nm / 30 nm example gives 5.34 μm under this explicit convention. Both this value and the rough 10 μm scale describe the same spectrum using different width conventions.

Sν(ν) ∝ exp[−4 ln 2 · (ν − ν₀)²/Δν²]
|g⁽¹⁾(ΔL/c)| = exp[−(πΔνΔL/c)²/(4 ln 2)]
ℓe = (2√(ln 2)/π) c/Δν

The small experiment assumes equal beam powers, matched polarization, and a common spatial mode, so visibility equals |g⁽¹⁾|. It uses a spectrum Gaussian in frequency; its Δλ label is the narrowband conversion. The full lesson’s bandwidth control instead uses the frequency standard deviation σν, with ΔνFWHM = 2√(2 ln 2) σν.

Test the spectrum–coherence link

Keep the path difference fixed and widen the spectrum. Then narrow the spectrum and move the path difference: watch how quickly visibility falls.

Static example: at 550 nm with Δλ ≈ 30 nm, the rough scale is 10.08 μm and the Gaussian 1/e length is 5.34 μm. At ΔL = 5 μm, visibility is about 0.417. Enable JavaScript to change the two controls.

Do incoherent fields stop adding?

0:34 · Replay this part

⟨|E₁ + E₂|²⟩ = I₁ + I₂ + 2 Re Γ₁₂
Γ₁₂ = ⟨E₁*E₂⟩, g₁₂ = Γ₁₂/√(I₁I₂)
V = [2√(I₁I₂)/(I₁ + I₂)] |g₁₂|

Fields always superpose. The question is whether their cross term survives averaging over the measurement. Uncorrelated relative phases give Γ₁₂ = 0 in the statistical limit, so the measured intensities add. A finite exposure can leave residual fluctuations.

Even perfect coherence does not guarantee unit visibility: unequal beam powers or mismatched polarization reduce contrast. The formula assumes a phase scan with fixed arm intensities and matched polarization. Therefore weak fringes alone do not tell you which kind of coherence was lost.

Why can a pinhole restore fringes without narrowing the spectrum?

1:56 · Replay this part

Δφ(θ) ≈ 2π bθ/λ
gspatial(b) ∝ ∫ B(θ)e^(i2πbθ/λ) dθ

For slit separation b, a small source angle θ gives a relative phase proportional to bθ. Each source point produces a shifted fringe pattern. Summing independent source points averages these different phase offsets. A pinhole reduces the angular spread, making the patterns agree across a larger slit separation, while also discarding power.

This is spatial coherence, a correlation between positions; temporal coherence compares delayed copies. A narrow spectral filter primarily improves the latter, and a small angular source primarily improves the former. For a uniform angular strip of full width Θ, gspatial = sinc(bΘ/λ), with its first zero at bΘ = λ. Other source shapes have different zeros or no finite zero.

How can random phases make a stable speckle pattern?

2:49 · Replay this part

Random across space does not mean fluctuating during exposure. A stationary rough wall illuminated coherently can give each optical path a complicated but fixed phase. Their sum produces a fixed speckle pattern. Averaging repeated copies of that same pattern leaves it unchanged.

C = σI/⟨I⟩, Csum = 1/√N
Neff = (Σ wm)² / Σ wm²

C = 1 is the ideal fully developed, resolved, single-polarization speckle limit. Adding N independent, equal-mean patterns makes the variance grow like N but the mean like N, giving 1/√N. Unequal weights replace N by Neff; correlation, pixel averaging, and polarization change the result. Different colours or source points help only to the extent that they produce different patterns.

Why does diagonalizing mutual intensity let us add mode intensities?

3:29 · Replay this part

J(x₁,x₂) = ⟨U(x₁)U*(x₂)⟩ = Σ wm ψm(x₁)ψm*(x₂)
⟨am an*⟩ = wm δmn
Iout(x) = Σ wm |𝒫ψm(x)|²

J is Hermitian and positive semidefinite, so its eigenvalues wm are nonnegative. Expanding each realization in the orthonormal eigenmodes gives random coefficients whose cross-correlations vanish. After linear propagation 𝒫, that same absence of cross terms lets us add the weighted mode intensities.

Uncorrelated is the property needed here; statistical independence is a stronger claim. A rank-one J needs one spatial mode, which approximates an ideal single-mode laser but not every laser. The number of useful modes depends on the full correlation function and the accuracy required. Broadband propagation may also need wavelength integration.

Further reading for these explanations

Explore the full experiment →

What to notice first.

Two electric fields superpose whether they are coherent or not. What changes is the detector’s average. For two scalar fields with the same polarization, expanding their squared sum exposes the term responsible for interference.

I = ⟨|U₁ + U₂|²⟩ = I₁ + I₂ + 2 Re⟨U₁U₂*⟩

The brackets describe the variations sampled by the measurement. A relative phase that remains stable can leave a nonzero cross term. Phases that explore a full circle uniformly make that term vanish. Partial averaging gives intermediate contrast. The physical rule remains field superposition; adding intensities is the result of zero cross correlation.

Normalize the correlation as γ = ⟨U₁U₂*⟩/√(I₁I₂). Its magnitude lies between zero and one. Fringe visibility is V = (Imax − Imin)/(Imax + Imin). For the scalar model here, V = 2√(I₁I₂)|γ|/(I₁+I₂). Only equally bright, polarization-matched beams give V = |γ|. Poor contrast alone is therefore not enough to diagnose low coherence.

The controls describe several independent averages in a deliberately separable toy model. Phase jitter changes the relative phase during an exposure. Bandwidth and delay compare a wave with a delayed copy. Angular source width averages shifted fringe patterns. The speckle panel is a separate experiment showing which patterns were actually averaged.

By the end, you can

  1. Explain intensity addition as a consequence of averaged cross terms.
  2. Distinguish temporal coherence, spatial coherence, and fixed spatial randomness.
  3. Use mutual intensity and coherent modes to propagate partially coherent light.

PREDICT BEFORE YOU CHANGE A CONTROL

A rough wall has random phase delays at different positions. Does that guarantee a smooth camera image? Decide whether those phases must also change during the exposure.

Change one thing.
Follow what changes.

All plotted fields and curves are calculated from the stated model. Keep the other controls fixed while testing a prediction.

Model: Stationary scalar, same-polarization fields; small-angle uniform angular source; Gaussian frequency spectrum. The product of temporal, spatial, and jitter correlations assumes separable independent effects. Speckle uses circular complex Gaussian fields filtered by a finite pupil.

  1. Set all coherence-reducing controls to zero. Reduce the second beam’s brightness: visibility falls even though the relative phase is stable.
  2. Restore equal beams. Vary bandwidth at nonzero delay, then vary source width at fixed bandwidth. Identify which experimental filter would reverse each change.
  3. Average 32 independent speckle patterns, then repeat one fixed pattern 32 times. Explain the difference using the detector average rather than the word random alone.

Two kinds of selection, two kinds of correlation.

Temporal coherence compares field samples separated in time. In a stationary source, different frequencies contribute different phase rotations when one interferometer arm is delayed by τ. The normalized field correlation is the Fourier transform of the power spectrum. For a Gaussian frequency distribution of standard deviation σν, its magnitude is exp[−(2πσντ)²/2]. A spectral filter narrows that distribution and lengthens the delay range over which interference survives.

Spatial coherence compares field samples at different positions. Each source point can illuminate both slits and interfere with itself. Independent source points contribute intensities to the camera. Their illumination angles shift the fringes, so an extended source averages shifted copies. For the small-angle, uniform angular strip used here, γ = sinc(Θd/λ), where Θ is its full angular width and sinc(x) = sin(πx)/(πx).

A pinhole selects angles and usually discards flux; it does not narrow the optical spectrum. A spectral filter selects frequencies; it does not automatically make an extended source spatially coherent. The negative lobes of sinc shift the fringes by π. They are not negative intensities, and the first zero is not a permanent hard cutoff.

Why random phase can make visible speckle.

A stationary rough surface imposes irregular spatial phases. Under stable coherent illumination, those contributions still interfere consistently during an exposure, producing fixed bright and dark grains. Spatial randomness alone does not wash them out. Contrast decreases when the measurement combines different sufficiently independent patterns, polarizations, wavelengths, or unresolved grains.

For resolved, fully developed, single-polarization speckle, contrast C = σI/⟨I⟩ is approximately one. Averaging N independent equal-weight patterns gives C ≈ 1/√N. Repeating one pattern provides no such benefit. A finite image and correlated samples make a measured contrast fluctuate around that ideal prediction.

One matrix carries all pairwise information.

Mutual intensity is Jᵢⱼ = ⟨UᵢUⱼ*⟩. Its diagonal is intensity, but its off-diagonal correlations affect what happens after propagation. J is Hermitian and positive semidefinite. Its eigenvectors are coherent modes and its nonnegative eigenvalues are their powers. Propagate each mode through the same linear field operator and sum its weighted intensity. The notebook checks this against direct independent-source averaging and shows how to measure truncation error.

Make a prediction before checking the explanation.

Can you explain the change?

1. The same stationary speckle pattern is added 64 times. Its normalized contrast…
2. A pinhole primarily changes…
3. Two beams show V = 0.5. This proves |γ| = 0.5 only if…

Your own computational experiment.

The standalone notebook builds the model in small steps, draws the results, and checks the calculation against independent predictions. It runs on CPU using NumPy, SciPy, and Matplotlib. No repository clone, GPU, or external dataset is needed.

In Colab, sign in with a Google account and select Runtime → Run all. Save a copy in Drive to retain edits. Saved notebook outputs and downloadable PNG figures provide a fallback if Colab’s output frame cannot load.

A short lab report

  1. Diagnose low visibility. Produce the same fringe visibility using intensity imbalance and phase averaging. Explain how to distinguish them.
  2. Audit the averaging law. Compare fixed and independent realizations at N = 1, 4, 16, 64.
  3. Propagate correlations. Compare direct source averaging with a full coherent-mode decomposition, then retain fewer modes.
Compare your reasoning

Diagnose low visibility

Measure each beam separately and check polarization before interpreting visibility as |γ|.

Audit the averaging law

Only independent equal-weight patterns give the ideal 1/√N scaling; finite fields give sampling variation.

Propagate correlations

The complete decompositions agree. Retained power and output intensity error should both be reported; a high retained-power fraction alone does not bound every pixel’s relative error.

Optional deeper extension

Build a mutual-intensity matrix from independent source angles, diagonalize it, and compare full and truncated coherent-mode propagation.

The notebook marks the extension clearly. Complete the core experiment and its checks first.

Instructor notes and assessment rubric ↗ · Model, setup, and reproducibility ↗

Know what the model leaves out.

Stationary scalar, same-polarization fields; small-angle uniform angular source; Gaussian frequency spectrum. The product of temporal, spatial, and jitter correlations assumes separable independent effects. Speckle uses circular complex Gaussian fields filtered by a finite pupil.

Video companion: watch the E04 film above (5:02).

Calculations and concept checks run locally in your browser. Quiz answers are not uploaded or stored.

Keep exploring from this episode.

Highlighted concepts appear in this episode. Select any concept to find related episodes.

In this episodeUnderstanding foundationCross-topic connection

Connections describe ideas, not a required episode order.

SELECTED CONCEPT

Complex field & phase

In this episode

Keep amplitude and phase together to describe what light does before a detector measures intensity.

Other episodes with this concept

Explore through connected ideas

Foundations & connections

Refresh the foundations

Connected ideas

SELECTED CONCEPT

Fourier representation

Describe a field by its spatial-frequency components. The same representation connects propagation, imaging, reconstruction, and design.

Other episodes with this concept

Foundations & connections

Refresh the foundations

Connected ideas

SELECTED CONCEPT

Wave propagation

Follow a field through space by advancing its components and combining them again.

Other episodes with this concept

Explore through connected ideas

Foundations & connections

Refresh the foundations

Connected ideas

SELECTED CONCEPT

Interference & coherence

In this episode

Connect field correlations to what survives a camera's averaging: interference, fringe visibility, and speckle.

Other episodes with this concept

Explore through connected ideas

Foundations & connections

Refresh the foundations

Connected ideas

SELECTED CONCEPT

Imaging & resolution

Use point responses and frequency transfer to understand which details an optical image can carry.

Other episodes with this concept

Explore through connected ideas

Foundations & connections

Refresh the foundations

Connected ideas

SELECTED CONCEPT

Holography & phase recovery

Recover information about an optical field using a reference or constraints on intensity measurements.

Other episodes with this concept

Explore through connected ideas

Foundations & connections

Refresh the foundations

Connected ideas

SELECTED CONCEPT

Phase control

Turn a desired phase profile into an optical element, then examine wrapping, quantization, and wavelength dependence.

Other episodes with this concept

Explore through connected ideas

Foundations & connections

Refresh the foundations

Connected ideas

SELECTED CONCEPT

Periodicity & band gaps

Use repetition to connect diffraction directions, Bloch propagation, and frequency bands that a structure rejects.

Other episodes with this concept

Explore through connected ideas

Foundations & connections

Refresh the foundations

Connected ideas

SELECTED CONCEPT

Eigenmodes & resonance

In this episode

Find field patterns adapted to an operator or structure. Related eigenvalue methods also describe Bloch waves and statistical coherent modes.

Other episodes with this concept

Explore through connected ideas

Foundations & connections

Refresh the foundations

Connected ideas

SELECTED CONCEPT

Sampling & discretization

Understand what changes when continuous fields become arrays: sampling limits, computational windows, and derivative approximations.

Other episodes with this concept

Explore through connected ideas

Foundations & connections

Refresh the foundations

Connected ideas

SELECTED CONCEPT

Maxwell & FDTD

Evolve coupled electric and magnetic fields on a grid, and test the accuracy of time steps and boundaries.

Other episodes with this concept

Explore through connected ideas

Foundations & connections

Refresh the foundations

Connected ideas

SELECTED CONCEPT

Adjoints & inverse design

Use a scalar objective and an adjoint calculation to find how every design parameter changes the result.

Other episodes with this concept

Explore through connected ideas

Foundations & connections

Refresh the foundations

Connected ideas