Fundamentals / Physics / Waves and optics

Gaussian beams and focusing

Relate beam waist, wavefront curvature and divergence, and estimate the focus of a collimated laser beam.

From first principles

Obtain a Gaussian divergence from its waist profile

Take a monochromatic fundamental beam in a uniform medium at a waist plane with flat phase front. Let the transverse field be \(U(x,0)=U_0e^{-x^2/w_0^2}\) on one diameter. Scalar diffraction represents this field as a superposition of plane waves with transverse wavenumber \(q\). The Fourier transform of a Gaussian is again a Gaussian, with reciprocal width.

\[\widetilde U(q)\propto\int_{-\infty}^{\infty}e^{-x^2/w_0^2}e^{-iqx}dx\propto e^{-q^2w_0^2/4}.\]

For a paraxial plane wave \(q=k\sin\theta\simeq k\theta\), with \(k=2\pi/\lambda\). In the far field each angle addresses its corresponding plane-wave amplitude. The \(1/e\) field half-angle, also the \(1/e^2\) intensity half-angle, therefore satisfies

\[\frac{k^2\theta_0^2w_0^2}{4}=1,\]
\[\theta_0=\frac{\lambda}{\pi w_0}.\]

The characteristic propagation length is

\[z_R=w_0/\theta_0=\pi w_0^2/\lambda.\]

The paraxial Gaussian solution gives \(w(z)=w_0\sqrt{1+(z/z_R)^2}\), approaching \(\theta_0|z|\) far from the waist. A tighter waist thus brings both larger angular spread and shorter depth of focus.

Background · Gaussian Rayleigh range
\[z_R=\pi w_0^2/\lambda\]

Here the waist is the one-over-e field radius and the wavelength is in the medium. At one Rayleigh range its squared beam radius doubles.

Derivation and applications

Measure a Gaussian beam with a translating knife edge

A camera measures an intensity profile directly. A power meter behind a straight edge instead integrates the light that passes the edge. For a centred, circular fundamental Gaussian at one measurement plane, write \(I(x,y)=I_p\exp[-2(x^2+y^2)/w^2]\), where \(w\) is the \(1/e^2\) intensity radius. Assume that the power meter collects all transmitted light, the edge is opaque and straight, and diffraction at the edge does not send appreciable power outside the detector. With the opening extending from \(x=b\) to infinity, integration over \(y\) first gives

\[P(b)=I_p w\sqrt{\frac{\pi}{2}}\int_b^\infty e^{-2x^2/w^2}dx,\]
\[P_{\rm tot}=\frac{\pi w^2 I_p}{2}.\]

Change variables to \(u=\sqrt{2}x/w\) and normalise to the unobstructed reading. This step removes the absolute intensity calibration and gives a cumulative Gaussian curve in the measured edge position.

\[\frac{P(b)}{P_{\rm tot}}=\frac12\operatorname{erfc}\!\left(\frac{\sqrt2\,b}{w}\right).\]

At the half-power point the edge passes through the beam centre. At the ten and ninety percent positions the arguments of the complementary error function have equal magnitudes and opposite signs. Their separation is consequently independent of the arbitrary origin of the translation stage.

\[b_{10}-b_{90}=\sqrt2\,w\,\operatorname{erf}^{-1}(0.8)=1.28155\,w .\]

The derivative of the measured power curve is proportional to the intensity integrated along the blade, which gives another way to inspect asymmetry. For an elliptical Gaussian aligned with the axes, translation in \(x\) measures the \(x\) radius, and rotating the blade allows the other radius to be tested.

Worked example

Infer a beam radius without a calibrated camera

An edge produces 90.0 percent transmission at 1.24 mm and 10.0 percent at 1.88 mm. Their separation gives

\[w=0.640/1.28155=0.499\,\mathrm{mm}.\]

The centre lies at their midpoint, 1.56 mm. An unobstructed reading of 2.00 mW then gives \(I_p=2P_{\rm tot}/(\pi w^2)=5.11\) kW/m² for a circular beam.

Second application

Locate a useful aperture radius

A different circular beam has \(w=0.250\) mm. A straight edge at \(b=w\) would transmit \(\operatorname{erfc}(\sqrt2)/2=0.0228\) of its power. A centred circular aperture of that radius transmits \(1-\exp(-2a^2/w^2)=0.865\) after radial integration. To pass 99.0 percent, its radius must instead be \(a=w\sqrt{\ln100/2}=0.379\) mm. The different answers follow from the areas collected by a half-plane and a disk.

Try it · Knife edge

Vary the physical parameters in the derived relation. Use the units and assumptions in the readout to connect the curves to the two worked examples. A parameter study can test the forward prediction; the same relation can then be inverted to infer a parameter from a measurement.

Measure the phase that a waist adds to a Gaussian beam

Two axial planes on opposite sides of a waist can have identical intensity and different phase. An interferometer comparing the field with a calibrated reference can distinguish them. Predict the sign and size of the residual phase before drawing the quadrature traces.

Factor out ordinary plane-wave propagation

For a fundamental paraxial Gaussian beam with waist field proportional to \(\exp(-r^2/w_0^2)\), the transverse angular spectrum is a Gaussian in transverse wave number. Each component propagates with an additional paraxial phase \(\exp[-izk_\perp^2/(2k)]\) after removing the common \(e^{ikz}\) carrier. On the axis one integrates over both transverse wave-vector components. Each Gaussian integral contributes an inverse square root of a complex width; their product gives

\[\frac{U(0,z)}{U(0,0)e^{ikz}}=\frac{1}{1+iz/z_R},\]
\[z_R=\pi w_0^2/\lambda .\]

The residual phase with this travelling-wave convention is \(-\arctan(z/z_R)\). Its difference between positions very far upstream and downstream approaches \(-\pi\). Its difference across a finite focus is generally smaller. At \(z=\pm z_R\) the residual phases are \(\mp\pi/4\); relative to a plane wave the focused beam loses a total of \(\pi/2\) across those two points. The intensity, by contrast, is \(1/[1+(z/z_R)^2]\) in units of the waist intensity, which has identical values at the two positions.

On-axis Gouy phase after subtraction of plane propagation beside two interferometric readout quadratures versus axial position.Open full-size diagram
The same waist size sets the longitudinal scale in both panels. The readout phase offset rotates the two quadratures without changing the physical axial phase difference.
Try it · Gouy

Change the inputs and compare the recalculated curves with the preceding derivation and baseline figure. The axes give the units; the numerical readout states the model assumptions and any limiting cases. Reset the inputs to return to the reference setting.

Download the corresponding editable notebook. The browser recalculates the reduced equations directly; the notebook exposes the full calculation and its checks.

For \(w_0=40\) micrometres and \(\lambda=0.633\) micrometre in the medium, \(z_R=7.94\) mm. The axial phase gradient at the waist is smaller than the carrier wave number by \(1/z_R\), about \(126\,\mathrm{rad/m}\). An ordinary path-length comparison over millimetres must remove many carrier cycles to see this residual accurately. Measuring visibility alone will not do so. With a reference field \(E_r\), the interference term in intensity is \(2\operatorname{Re}(E_sE_r^*)\). Shifting the reference phase by a known quarter turn gives the complementary quadrature. After subtracting backgrounds and calibrating gains one reconstructs phase by the signed two-argument arctangent and unwraps it through adjacent positions.

The notebook applies an adjustable constant phase offset to both synthetic channels. It disappears from a calibrated phase difference. Doubling the waist multiplies the Rayleigh length by four. The total residual phase across the complete focus is still \(-\pi\), but a scan over a fixed physical distance sees a smaller fraction of it. Wavefront curvature also contributes a phase away from the axis. Keep the detector on axis, or model its transverse position and aperture before attributing a measured phase entirely to the Gouy shift.

The residual Gouy phase changes by \(-\pi/3\) between symmetric planes \(z=-5\) mm and \(z=+5\) mm. Infer the Rayleigh length and the waist radius at 0.633 micrometre wavelength.

Work through the solution

Symmetry gives \(2\arctan(5\ \mathrm{mm}/z_R)=\pi/3\), hence

\[z_R=5/\tan(\pi/6)=8.66\,\mathrm{mm}.\]

The waist radius is \(\sqrt{\lambda z_R/\pi}\), about \(41.8\) micrometres. This inference uses the one-over-e field radius of a fundamental circular Gaussian beam and a phase referenced to the same plane-wave propagation.

Diffraction during propagation

A narrow parallel-looking laser beam eventually spreads. Use a scalar monochromatic field \(U=u(x,y,z)e^{ikz}\), with \(u\) changing slowly on the scale of a wavelength. Substitution into the homogeneous Helmholtz equation cancels the largest longitudinal terms. Dropping \(\partial_z^2u\) relative to \(2ik\partial_zu\) gives the paraxial equation

\[2ik\,\partial_z u+\nabla_\perp^2u=0 .\]

This approximation requires a small angular spectrum about the optical axis. The transverse Fourier component with wavevector \(\mathbf q\) acquires phase \(\exp[-iq^2z/(2k)]\). A Gaussian waist field \(u(r,0)=u_0e^{-r^2/w_0^2}\) has a Gaussian angular spectrum proportional to \(\exp(-w_0^2q^2/4)\). On propagation, multiplication by the quadratic phase keeps that spectrum Gaussian with a complex width.

Invert the Gaussian transform

Collect its exponent as \(-q^2(w_0^2/4+iz/2k)\) and invert the transverse Fourier transform. The reciprocal complex width determines both the real amplitude decay in \(r\) and the phase curvature. Separating the real and imaginary parts gives

\[w(z)=w_0\sqrt{1+(z/z_R)^2},\]
\[R(z)=z[1+(z_R/z)^2],\]
\[z_R=\pi w_0^2/\lambda .\]

The convention here defines \(w\) at \(1/e\) of field amplitude and \(1/e^2\) of on-axis intensity. The on-axis intensity falls as \(w_0^2/w^2\) so the transverse integral of intensity stays constant. At a Rayleigh range from the waist the area doubles and the axial intensity halves. At large distance the half-angle divergence approaches \(\theta=\lambda/(\pi w_0)\). Waist size and angular spread therefore cannot be chosen independently for this fundamental mode.

OneSimulation · Two identical intensity photographs, two different waists

Give a 633 nm Gaussian beam a 0.40 mm field radius and take an intensity photograph at \(z=0\). Reversing the sign of its quadratic phase leaves every pixel of that photograph unchanged. The signed wavefront radius \(R\), however, sets the local tilt of the wave normal. In the paraxial limit the predicted radius is

\[w^2(z)=w_0^2\!\left[\left(1+\frac zR\right)^2+\left(\frac{z}{z_R}\right)^2\right],\]
\[z_R=\frac{\pi w_0^2}{\lambda}.\]

Here \(w_0\) names the radius in the photograph. The true waist can lie elsewhere. Propagate both complex fields with OneSimulation's angular spectrum. Each sampled transverse spatial frequency acquires its own longitudinal phase. Measure the radius as twice the square root of the intensity-weighted second moment and compare with the paraxial prediction.

"""Propagate two Gaussian fields with the same measured input intensity."""
import matplotlib.pyplot as plt
import numpy as np
from onesim.physics.optics.propagation.numerics.angular_spectrum import (
    AngularSpectrumPropagation, longitudinal_wavenumber,
)

wavelength, width = 633e-9, 0.40e-3  # m; width is the 1/e field radius
k = 2 * np.pi / wavelength
rayleigh = np.pi * width**2 / wavelength
x = np.linspace(-6e-3, 6e-3, 2048, endpoint=False)
kx = 2 * np.pi * np.fft.fftfreq(len(x), d=x[1] - x[0])
propagate = AngularSpectrumPropagation(longitudinal=longitudinal_wavenumber(kx[:, None], k),
    forward=np.fft.fft, inverse=np.fft.ifft, reference_wavenumber=k)
z = np.linspace(0, 0.90, 91)
fig, ax = plt.subplots(figsize=(6.6, 3.5), layout="constrained")
for curvature, label in [(-0.60, "Converging"), (0.60, "Diverging")]:
    field = np.exp(-(x / width)**2 + 1j * k * x**2 / (2 * curvature))
    radii = []
    for distance in z:
        intensity = np.abs(propagate(field, distance))**2
        radii.append(2 * np.sqrt(np.average(x**2, weights=intensity)))
    reference = width * np.sqrt((1 + z / curvature)**2 + (z / rayleigh)**2)
    assert np.allclose(radii, reference, rtol=2e-5, atol=0)
    print(f"{label}: narrowest sampled radius {1000*min(radii):.3f} mm at {z[np.argmin(radii)]:.2f} m")
    ax.plot(z, 1000 * np.asarray(radii), label=label)
ax.set(xlabel="Propagation distance (m)", ylabel="Beam radius (mm)")
ax.grid(alpha=0.2)
ax.legend()
fig.savefig("waves-optics.png", dpi=180)
Two beam-radius curves start at 0.4 mm. The initially converging beam reaches a 0.241 mm waist while the other beam widens.
Wavefront radii of opposite sign and equal magnitude 0.60 m give different downstream widths. The converging beam reaches its narrowest sampled section 0.38 m beyond the camera.

Try it · Gaussian curvature

Change the inputs and compare the recalculated curves with the preceding derivation and baseline figure. The axes give the units; the numerical readout states the model assumptions and any limiting cases. Reset the inputs to return to the reference setting.

Download the Python example

When does a beam propagate without diffracting?

The Gaussian beam spreads freely because its angular components develop different longitudinal phases. A dielectric guide can instead admit a transverse field that reproduces itself times a single propagation phase. Take a symmetric slab of core index \(n_1\), cladding index \(n_2<n_1\), and core extending from \(x=-a\) to \(a\). For electric polarization parallel to the interfaces write \(E_y=X(x)e^{i(\beta z-\omega t)}\). The scalar wave equation gives

\[X''+(n^2k_0^2-\beta^2)X=0.\]

For a guided mode require oscillation in the core and decay in the cladding, so \(n_2k_0<\beta<n_1k_0\).

The even solution is proportional to \(\cos(hx)\) in the core and \(e^{-\gamma(x-a)}\) in the right cladding. Continuity of \(X\) and its derivative for equal magnetic permeabilities requires

\[h\tan(ha)=\gamma.\]

Define \(u=ha\), \(w=\gamma a\) and \(V=k_0a\sqrt{n_1^2-n_2^2}\). Then \(u^2+w^2=V^2\) and \(u\tan u=w\). The first even solution exists for any positive \(V\) and becomes weakly confined as \(V\) tends to zero. Odd solutions instead obey \(-u\cot u=w\), with the first appearing above \(V=\pi/2\).

For \(\lambda_0=1.00\) μm, \(n_1=1.50\) and \(n_2=1.40\), choose \(a=0.328\) μm. This gives \(V\simeq1.11\), for which \(u=w\simeq\pi/4\) satisfies both equations. The effective index is \(\beta/k_0=\sqrt{n_2^2+(w/ak_0)^2}=1.451\), between the two material indices. The cladding amplitude decays over \(a/w=0.418\) μm. This mode can have a fixed width along a uniform guide. An arbitrarily shaped input can excite radiation or several modes and need not retain its initial profile.

Practise on sheet 6 · Choose a slab width for one transverse TE mode. Further reading · Massachusetts Institute of Technology · Haus and Melcher, Electromagnetic Fields and Energy · §13.5 Dielectric Waveguides: Optical Fibers, Figures 13.5.1–13.5.4.

A focused spot with finite depth

A collimated ideal Gaussian at 633 nm has \(1/e^2\) intensity radius \(w_{\rm in}=1.00\) mm at a lens of focal length 100 mm. Assume negligible clipping and a nearly flat incident wavefront. The lens converts input radius into convergence angle \(w_{\rm in}/f=0.0100\) rad. Equating this angle to the far-field Gaussian divergence gives \(w_0\simeq\lambda f/(\pi w_{\rm in})=20.1\) μm. The focused Rayleigh range is \(2.01\) mm. At axial displacement 4.02 mm the spot radius grows to about \(45.0\) μm and the axial intensity drops to a fifth.

Increasing the input radius by a factor of two halves the waist while reducing Rayleigh range by four. This trade matters when illuminating a sample extending several millimetres along the beam. A hard aperture that clips substantial power reshapes the angular spectrum, so this simple product no longer predicts the entire spot. A measured waist and divergence with product exceeding \(\lambda/\pi\) can also signal imperfect mode quality. Radius measurements must use the same intensity convention before making that comparison.

Two radius measurements equidistant from a proposed waist should give the same result for an ideal beam. If they do not, first refine the estimate of waist position. Multiple axial samples can be fitted to \(w^2(z)=w_0^2[1+(z-z_0)^2/z_R^2]\) to infer the waist plane and divergence simultaneously. Power falling through an aperture, however, also depends on the beam centre. A beam walking sideways past a fixed detector can imitate a growing radius unless beam position is measured independently. Recording transverse profiles instead of only total collected power makes this distinction observable.

Propagate a Gaussian that already has curved wavefronts

An input to a lens is often converging or diverging before reaching the lens. Its radius alone then cannot determine the new waist. Combine wavefront curvature and intensity radius in a complex beam parameter \(q\) defined by \(1/q=1/R-i\lambda/(\pi w^2)\). In homogeneous space the solution to the paraxial wave equation has \(q=z-z_0+i z_R\), where \(z_0\) is the waist plane and \(z_R>0\) the Rayleigh range. Straight propagation through distance \(d\) therefore adds \(d\) to \(q\).

A thin positive lens multiplies the field by a quadratic phase that changes curvature according to \(1/R_{\rm out}=1/R_{\rm in}-1/f\) and leaves transverse intensity unchanged at the lens. Combining its two effects in the definition gives

\[\frac1{q_{\rm out}}=\frac1{q_{\rm in}}-\frac1f .\]

More generally free propagation and lenses act through the same real ray matrices used for first-order geometrical optics. Composing their actions on \(q\) gives

\[q_{\rm new}=(Aq+B)/(Cq+D).\]

To locate a subsequent waist in free space, propagate until the real part of \(q\) is zero. Its positive imaginary part then supplies \(z_R\), hence the new waist radius. This construction retains finite diffraction and avoids predicting a singular geometric focus.

Reconstruct a focus downstream of a displaced lens

An ideal beam of wavelength 633 nm has an initial Rayleigh range 100 mm. Its input waist is 50.0 mm upstream of a lens of focal length 100 mm. At the lens \(q_{\rm in}=50.0+i100\) mm, so \(1/q_{\rm in}=0.00400-i0.00800\) mm⁻¹. Subtracting \(1/f=0.0100\) mm⁻¹ gives \(1/q_{\rm out}=-0.00600-i0.00800\) mm⁻¹. On inversion \(q_{\rm out}=-60.0+i80.0\) mm. The waist is 60.0 mm after the lens and has Rayleigh range 80.0 mm.

At this new waist \(w_0=\sqrt{\lambda z_R/\pi}=0.127\) mm. At the lens the outgoing parameter predicts \(w=w_0\sqrt{1+(60/80)^2}=0.159\) mm, the same incident radius obtained from the original 100 mm Rayleigh range and 50 mm propagation. This consistency check tests both the signs and the continuity of intensity. Treating the incident beam as fully collimated would place the waist close to the focal plane and miss its measured position by tens of millimetres. In the limit \(f\to\infty\) the reciprocal correction vanishes and the original waist and curvature are recovered. A measured beam profile at several axial planes can distinguish this finite-curvature effect from a simple error in the stated lens focal length.

The complex parameter can be recovered experimentally from intensity alone if enough axial profiles are recorded. Fit squared radius to a quadratic in position, locate its minimum to obtain the waist plane, and infer Rayleigh range from how rapidly that squared radius increases on either side. A separately measured wavelength then predicts the relation between fitted waist radius and divergence for a fundamental Gaussian. If the fitted values violate that relation beyond uncertainty, the more likely problems include a higher-order mode contribution, clipping or an inconsistent radius definition. Simply adjusting the lens focal length cannot repair all three discrepancies at once.

Study the full derivation

Build a time lens from dispersion and a quadratic temporal phase · Optical fields, instruments and observations

A temporal imaging system can stretch the time separation of two optical features without requiring them to arrive more slowly at the source. Derive the imaging condition from delay and frequency, calculate the sign of time magnification, and estimate the finite temporal aperture that limits which features can be recovered.