---
title: Gaussian beams through optical systems
heading: The complex beam parameter q and the ABCD law that carries it through any paraxial system, focusing a beam with a lens, the smallest spot a lens can make, beam expanders, finding a waist from a measured width and curvature, and the M² factor of real beams
eyebrow: S13 · Lesson 3 · Gaussian beams through optical systems
xp: 50
---

::: hook
Lesson 1's matrices move rays; lesson 2's Gaussian beam isn't a ray. The two connect through a single complex number, the beam parameter q, which packs the beam's width and wavefront curvature together. Passing through any paraxial system, q transforms by the same ABCD matrix as a ray, with a simple fraction. That one rule designs fiber couplers, laser focusing heads and the telescopes that expand beams before sending them across a room or into space.
:::

::: play
- The waist a lens of focal length f makes from a collimated 1550 nm beam whose waist $w_0$ sits at the lens, against f (log scale).
- For focal lengths much shorter than the beam's Rayleigh range the spot is $\lambda f/\pi w_0$: shorter lenses and wider input beams make smaller spots.
- For focal lengths comparable to the Rayleigh range the lens barely changes the beam, and the formula's exact form takes over.
:::

```sim plot
view: graph
x: f = 0.005..20 m log
y: w = 1..2000 µm log
slider: a = 0.2..3 step 0.1 = 1 mm
plot: a*1000/sqrt(1 + (pi*(a*1e-3)^2/1.55e-6/f)^2) | samples: 400 | label: focused waist
plot: 1.55e-6*f/(pi*a*1e-3)*1e6 | dashed | color: ch3 | label: λf/πw₀
readout: input Rayleigh range, m = pi*(a*1e-3)^2/1.55e-6 | digits: 3
readout: waist with a 50 mm lens, µm = a*1000/sqrt(1 + (pi*(a*1e-3)^2/1.55e-6/0.05)^2) | digits: 4
```

::: predict
## A 1550 nm beam with a 1 mm waist at a 50 mm lens is focused. About how small is the spot?

- [ ] 1 mm
- [ ] 0.25 mm
- [x] 25 µm
- [ ] 1.55 µm

::: reveal
The beam's Rayleigh range, 2.03 m, is far longer than f, so the focused waist is $\lambda f/\pi w_0$ = 1.55 µm × 50 mm/(π × 1 mm) = 24.7 µm, a good match for a single-mode fiber's 5 µm mode radius only after more demagnification. Wider beams focus tighter.
:::
:::

::: nameit
## The q parameter

$$\frac{1}{q(z)} = \frac{1}{R(z)} - j\frac{\lambda}{\pi w^2(z)}$$

At the waist q is purely imaginary, $q = jz_0$, and in free space $q(z) = z + jz_0$.

## The ABCD law

Through a system with ray-transfer matrix $\begin{bmatrix} A & B \\ C & D \end{bmatrix}$:

$$q_2 = \frac{Aq_1 + B}{Cq_1 + D}$$

## Focusing a collimated beam

With the input waist $w_0$ at a lens of focal length f, and $z_0 = \pi w_0^2/\lambda$:

$$w_0' = \frac{w_0}{\sqrt{1 + (z_0/f)^2}} \approx \frac{\lambda f}{\pi w_0}, \qquad z' = \frac{f}{1 + (f/z_0)^2}$$

The new waist lies slightly inside the focal point.

## Finding a waist

A beam measured with width w and wavefront radius R has its waist a distance $z = R/(1 + (\lambda R/\pi w^2)^2)$ back, of size $w_0 = w/\sqrt{1 + (\pi w^2/\lambda R)^2}$.

## Expanders and real beams

A telescope of focal lengths $f_1$ and $f_2$ (spacing $f_1 + f_2$) multiplies the waist by $M = f_2/f_1$ and divides the divergence by M. Real lasers' beams diverge faster than an ideal Gaussian of the same waist by the **beam quality factor** $M^2 \ge 1$: $\theta = M^2\lambda/\pi w_0$.
:::

::: example
## Focus the 1 mm, 1550 nm beam with a 50 mm lens exactly.

::: solution
1. **Rayleigh range of the incoming beam.**
   $$z_0 = 2.027\ \text{m}$$
2. **Focused waist.**
   $$\begin{aligned} w_0' &= \frac{1\ \text{mm}}{\sqrt{1 + (2.027/0.05)^2}} \\ &= 24.66\ \mu\text{m} \end{aligned}$$
   The approximation gives 24.67 µm.
3. **Where the focus lies.**
   $$\begin{aligned} z' &= \frac{0.05\ \text{m}}{1 + (0.05/2.027)^2} \\ &= 49.97\ \text{mm} \end{aligned}$$
   after the lens, 30 µm short of the focal point.

**Answer:** the beam focuses to a 24.66 µm waist, 49.97 mm after the lens.
:::
:::

::: example
## A 633 nm beam measures 2 mm wide with a 10 m wavefront radius. Where and how big is its waist?

::: solution
1. **Form the ratio.**
   $$\begin{aligned} \frac{\pi w^2}{\lambda R} &= \frac{\pi \times (2\ \text{mm})^2}{633\ \text{nm} \times 10\ \text{m}} \\ &= 1.985 \end{aligned}$$
2. **Waist size.**
   $$\begin{aligned} w_0 &= \frac{2\ \text{mm}}{\sqrt{1 + 1.985^2}} \\ &= 0.900\ \text{mm} \end{aligned}$$
3. **Waist position.**
   $$\begin{aligned} z &= \frac{10\ \text{m}}{1 + 1/1.985^2} \\ &= 7.98\ \text{m} \end{aligned}$$
   back. A beam that looks nearly collimated can have its waist far behind.

**Answer:** the waist is 0.900 mm in radius, 7.98 m behind the measuring point.
:::
:::

::: example
## A 633 nm laser with a 0.5 mm waist passes a 3× expander (lenses of 50 and 150 mm). How do its Rayleigh range and divergence change, and what if the beam has $M^2$ = 1.3?

::: solution
1. **New waist.** The 3× expander makes the waist 1.5 mm.
2. **Rayleigh range.** It grows with the square of the waist, ninefold:
   $$1.24\ \text{m} \to 11.2\ \text{m}$$
3. **Divergence.** It falls threefold:
   $$0.403\ \text{mrad} \to 0.134\ \text{mrad}$$
4. **With $M^2$ = 1.3.** The expanded beam diverges at
   $$\begin{aligned} \theta &= \frac{1.3 \times 633\ \text{nm}}{\pi \times 1.5\ \text{mm}} \\ &= 0.175\ \text{mrad} \end{aligned}$$
   30% more than an ideal Gaussian of the same waist.
5. **Why expand.** Expanders are used before focusing lenses for the same reason: a bigger beam focuses to a smaller spot.

**Answer:** the Rayleigh range grows ninefold, from 1.24 m to 11.2 m, and the divergence falls threefold, from 0.403 to 0.134 mrad; with $M^2$ = 1.3 the divergence is 0.175 mrad.
:::
:::

::: check
given: w = 0.5 | 1 | 3; l = 633 | 1064 | 1550; f = 10 | 50 | 200
answer: w*1000/sqrt(1 + (pi*(w*1e-3)^2/(l*1e-9)/(f*1e-3))^2)
unit: µm
tolerance: 0.5%

## A collimated {l} nm beam with its {w} mm waist at a lens of {f} mm focal length: what waist does the lens make?

::: right
Right. $w_0/\sqrt{1 + (z_0/f)^2}$ = {answer} µm.
:::

::: misses
- [any] Not yet. Find the input Rayleigh range first.
:::
:::

::: check
given: w = 1 | 2 | 5; l = 532 | 1064; f = 20 | 100
answer: l*1e-9*f*1e-3/(pi*w*1e-3)*1e6
unit: µm
tolerance: 0.5%

## Estimate the focused spot of a {w} mm, {l} nm beam through a {f} mm lens (the beam's Rayleigh range is long).

::: right
Right. $\lambda f/\pi w_0$ = {answer} µm.
:::

::: misses
- [2*l*1e-9*f*1e-3/(pi*w*1e-3)*1e6] That's the spot diameter; the formula gives the radius w.
- [any] Not yet. $w_0' \approx \lambda f/\pi w_0$.
:::
:::

::: check
given: w = 0.3 | 0.6; l = 633 | 1064; f = 100 | 500 | 1000
answer: f/(1 + (f*1e-3/(pi*(w*1e-3)^2/(l*1e-9)))^2)
unit: mm
tolerance: 0.1%

## A collimated {l} nm beam with a {w} mm waist passes a {f} mm lens. How far behind the lens is the new waist?

::: right
Right. $f/(1 + (f/z_0)^2)$ = {answer} mm.
:::

::: misses
- [any] Not yet. The waist falls short of the focal point.
:::
:::

::: check
given: t = 0.5 | 1 | 3; a = 10 | 25; b = 50 | 100 | 250
answer: t*a/b
unit: mrad
tolerance: 0.5%

## A beam diverging at {t} mrad passes a telescope of {a} mm and {b} mm lenses. What's its divergence afterward?

::: right
Right. Divided by $f_2/f_1$: {answer} mrad.
:::

::: misses
- [t*b/a] An expander enlarges the beam and reduces its divergence.
- [any] Not yet. The waist grows by $f_2/f_1$.
:::
:::

::: check
given: M = 1.1 | 1.5 | 4; l = 1064 | 10600; w = 0.5 | 2
answer: M*l*1e-9/(pi*w*1e-3)*1000
unit: mrad
tolerance: 0.5%

## A {l} nm laser with $M^2$ = {M} has a {w} mm waist. What's its divergence half-angle?

::: right
Right. $M^2\lambda/\pi w_0$ = {answer} mrad.
:::

::: misses
- [l*1e-9/(pi*w*1e-3)*1000] That's an ideal Gaussian; multiply by $M^2$.
- [any] Not yet. Real beams diverge $M^2$ times faster.
:::
:::

::: check
given: w = 1 | 2 | 4; R = 2 | 10 | 50; l = 633 | 1064
answer: w/sqrt(1 + (pi*(w*1e-3)^2/(l*1e-9*R))^2)
unit: mm
tolerance: 0.5%

## A {l} nm beam is {w} mm wide with wavefronts of radius {R} m. What's its waist?

::: right
Right. $w/\sqrt{1 + (\pi w^2/\lambda R)^2}$ = {answer} mm.
:::

::: misses
- [any] Not yet. Solve the q parameter backward.
:::
:::

::: check
kind: parts
given: l = 633 | 1064 | 1550; w = 0.5 | 1 | 2; f = 25 | 100 | 500

## A collimated {l} nm beam with a {w} mm waist at a {f} mm lens is focused.

::: part
answer: w*1e3/sqrt(1 + (pi*(w*1e-3)^2/(l*1e-9)/(f*1e-3))^2)
unit: µm
tolerance: 0.5%

### What waist does it focus to?

::: misses
- [any] $w_0/\sqrt{1 + (z_0/f)^2}$.
:::
:::

::: part
answer: f/(1 + (f*1e-3/(pi*(w*1e-3)^2/(l*1e-9)))^2)
unit: mm
tolerance: 0.5%

### How far after the lens?

::: misses
- [any] $f/(1 + (f/z_0)^2)$.
:::
:::
:::

::: check
kind: derivation
vars: a = 0.01..10, b = 0.01..10, f = 0.01..5

## The beam's q parameter is ja (a Rayleigh range, at its waist) entering a stretch of free space of length b, then a thin lens of focal length f. Consider real and imaginary parts of $1/q$.

::: step
answer: b/(b^2 + a^2)

### After the free space, what is $\text{Re}(1/q)$ (the wavefront's curvature)?
:::

::: step
answer: b/(b^2 + a^2) - 1/f

### And right after the lens?
:::

::: right
Right. Free space adds to q; a lens subtracts 1/f from 1/q, bending the wavefront.
:::
:::

::: explain
## Why does the same ABCD matrix that moves rays also move a Gaussian beam's q parameter?

::: model
A Gaussian beam can be thought of as a family of rays with complex starting heights and angles: the ratio of a ray's height to its angle in free space grows as z, just as q does, and a lens changes that ratio the same way it changes a ray's. Formally, if a ray vector (y, θ) maps through the matrix, then the ratio y/θ maps as $(Ay/\theta + B)/(Cy/\theta + D)$, and q plays the part of that ratio for a complex ray whose imaginary part encodes the beam's finite width. Because paraxial optics is linear in both cases, the same four numbers that describe a system for rays describe it for Gaussian beams.
:::
:::

::: practice

::: check
given: w = 0.5 | 6; l = 400 | 1600; f = 5 | 300
answer: l*1e-9*f*1e-3/(pi*w*1e-3)*1e6
unit: µm
tolerance: 0.5%

## Focused spot: {w} mm, {l} nm, f = {f} mm?

::: misses
- [any] $\lambda f/\pi w_0$.
:::
:::

::: check
given: M = 1 | 20; l = 500 | 2000; w = 0.2 | 5
answer: M*l*1e-9/(pi*w*1e-3)*1000
unit: mrad
tolerance: 0.5%

## Divergence: $M^2$ = {M}, {l} nm, {w} mm?

::: misses
- [any] $M^2\lambda/\pi w_0$.
:::
:::

::: check
given: t = 0.2 | 5; a = 5 | 50; b = 40 | 400
answer: t*a/b
unit: mrad
tolerance: 0.5%

## Expanded divergence: {t} mrad through {a} mm then {b} mm?

::: misses
- [any] $\theta f_1/f_2$.
:::
:::
:::
