Lesson 15 of 15

Optical Path Length and Phase

Optical Path Length and Phase

The optical path length (OPL) is the equivalent distance light would travel in vacuum to accumulate the same phase as it does traveling a physical distance dd through a medium of refractive index nn:

OPL=nd\text{OPL} = n \cdot d

Why OPL Matters

Inside a medium, light travels slower (v=c/nv = c/n) and its wavelength shortens (λn=λ0/n\lambda_n = \lambda_0/n). But the phase accumulated per meter of wavelength is the same as in vacuum. The OPL captures the total phase accumulation in vacuum-equivalent meters.

OPL is the foundation of:

  • Interference calculations — path difference in OPL determines constructive or destructive interference
  • Optical coherence — coherence length in OPL units
  • Wavefront engineering — spatial light modulators and adaptive optics manipulate OPL

Phase Difference

As light travels through a medium, the accumulated phase is:

ϕ=2πλ0OPL=2πndλ0\phi = \frac{2\pi}{\lambda_0} \cdot \text{OPL} = \frac{2\pi n d}{\lambda_0}

Where λ0\lambda_0 is the vacuum wavelength.

When two beams with OPL difference Δ\Delta interfere:

  • Constructive if Δ=mλ0\Delta = m\lambda_0 (m=0,1,2,m = 0, 1, 2, \ldots)
  • Destructive if Δ=(m+12)λ0\Delta = (m + \frac{1}{2})\lambda_0

Example: Light (λ0=550nm\lambda_0 = 550\,\text{nm}) through glass (n=1.5n = 1.5, d=1cm=0.01md = 1\,\text{cm} = 0.01\,\text{m}):

OPL=1.5×0.01=0.015m\text{OPL} = 1.5 \times 0.01 = 0.015\,\text{m}

ϕ=2π×0.015550×109171,360rad\phi = \frac{2\pi \times 0.015}{550 \times 10^{-9}} \approx 171{,}360\,\text{rad}

That is roughly 27,000 full oscillations — which is why the slightest path length difference matters in interferometry.

Optical Path Difference

When comparing two paths, the optical path difference (OPD) determines the interference outcome:

OPD=n1d1n2d2\text{OPD} = n_1 d_1 - n_2 d_2

Your Task

Implement the OPL and phase difference calculations.

Python runtime loading...
Loading...
Click "Run" to execute your code.