---
title: Waves through layers
heading: Quarter-wave matching, half-wave windows, Fabry–Pérot resonators and Bragg mirrors
eyebrow: S5 · Lesson 8 · Waves through layers
xp: 50
---

::: hook
A single boundary reflects a fixed fraction of a wave, but a stack of thin layers can reflect almost nothing or almost everything, depending on their thicknesses. Antireflection coatings on lenses and solar cells, radome walls that let radar through, laser mirrors that reflect 99.9%, and the etalons that select a laser's frequency all work by making reflections from successive interfaces interfere. The tool is the same as for transmission lines: each layer is a section of line with its own impedance and electrical length.
:::

::: play
- The curve is the reflectance of a mirror made of N pairs of quarter-wave layers of high and low index (plus a final high layer) on glass, at its design wavelength: $\left(\frac{1 - Y}{1 + Y}\right)^2$ with $Y = (n_H/n_L)^{2N}n_H^2/n_s$.
- Each pair multiplies the stack's admittance by $(n_H/n_L)^2$, so the reflectance climbs toward 1 quickly: six pairs of titanium and silicon dioxide reach 99.5%.
- A larger index contrast needs fewer pairs.
:::

```sim plot
view: graph
x: N = 0..12
y: R = 0..1
samples: 13
slider: h = 1.6..3.5 = 2.3
slider: l = 1.3..1.6 = 1.45
plot: ((1 - (h/l)^(2*N)*h^2/1.52)/(1 + (h/l)^(2*N)*h^2/1.52))^2 | stems | label: reflectance
```

::: predict
## A radome wall of material with εr = 4 must pass a 10 GHz radar at normal incidence. What thickness makes it transparent?

- [ ] 3.75 mm (a quarter wavelength inside)
- [x] 7.5 mm (half a wavelength inside)
- [ ] 15 mm (a full wavelength in air)
- [ ] As thin as possible; no thickness is transparent

::: reveal
Inside the wall the wavelength is $30\text{ mm}/\sqrt4 = 15$ mm. A half-wave slab acts like a half-wave transmission line: it repeats the load at its input, so the wave sees free space on both sides and nothing reflects. Thin walls also work, but they must be thin compared with the wavelength, which limits their strength.
:::
:::

::: nameit
## Layers as transmission lines

At normal incidence a layer of index n and thickness d has phase thickness $\delta = 2\pi nd/\lambda_0$ and behaves like a line section of impedance $\eta_0/n$. In optics one works with the admittance (proportional to n); its characteristic matrix is
$$\begin{pmatrix}\cos\delta & \frac{j}{n}\sin\delta\\ jn\sin\delta & \cos\delta\end{pmatrix}$$
and a stack is the product of its layers' matrices, exactly like ABCD matrices.

## Quarter-wave and half-wave layers

- A **quarter-wave** layer ($\delta = \pi/2$) transforms the admittance behind it: $Y_\text{in} = n_1^2/Y$. Matching $n_0$ to $n_s$ needs $n_1 = \sqrt{n_0n_s}$: a single-layer antireflection coating.
- A **half-wave** layer ($\delta = \pi$) is absent at its design frequency: radome walls, and lenses' protective windows.

## Fabry–Pérot resonators

Two parallel mirrors of reflectance R, a distance d apart, transmit
$$T = \frac{1}{1 + F\sin^2(2\pi nd/\lambda)}, \qquad F = \frac{4R}{(1 - R)^2}$$
with peaks every **free spectral range** $c/(2nd)$, each a fraction 1/𝓕 of it wide, where the **finesse** $\mathcal F = \frac{\pi\sqrt F}{2}$.

## Bragg mirrors

Alternating quarter-wave layers of high and low index, $(HL)^NH$ on a substrate $n_s$, present an admittance $Y = (n_H/n_L)^{2N}n_H^2/n_s$, so
$$R = \left(\frac{n_0 - Y}{n_0 + Y}\right)^2$$
which approaches 1 geometrically with N over a band of wavelengths around the design value.
:::

::: example
## A ceramic window (εr = 9) reflects how much of a normally incident wave, and what quarter-wave matching layer removes the reflection at 30 GHz?

::: solution
1. **Bare reflection.** εr = 9 gives n = 3:
   $$\begin{aligned} R &= \left(\frac{1 - 3}{1 + 3}\right)^2 \\ &= 25\% \end{aligned}$$
2. **Matching index.**
   $$\begin{aligned} n_1 &= \sqrt{1 \times 3} \\ &= 1.73 \end{aligned}$$
   so εr = 3.
3. **Thickness.** A quarter wavelength inside the layer, with λ₀ = 10 mm at 30 GHz:
   $$\begin{aligned} d &= \frac{10\ \text{mm}}{4 \times 1.73} \\ &= 1.44\ \text{mm} \end{aligned}$$
   Both faces of the window need one.

**Answer:** the bare window reflects 25%, and a matching layer with n = 1.73 (εr = 3), 1.44 mm thick, removes the reflection at 30 GHz.
:::
:::

::: example
## An air-spaced etalon has mirrors of 90% reflectance 1 cm apart. What are its coefficient of finesse, finesse, free spectral range and peak width?

::: solution
1. **Coefficient of finesse.**
   $$\begin{aligned} F &= \frac{4 \times 0.9}{0.01} \\ &= 360 \end{aligned}$$
2. **Finesse.**
   $$\frac{\pi\sqrt{360}}{2} = 29.8$$
3. **Free spectral range.**
   $$\begin{aligned} \Delta f &= \frac{c}{2d} \\ &= 15\ \text{GHz} \end{aligned}$$
4. **Peak width.**
   $$\begin{aligned} \delta f &= \frac{15\ \text{GHz}}{29.8} \\ &= 0.50\ \text{GHz} \end{aligned}$$
   Raising the reflectance to 99% would make the peaks ten times narrower.

**Answer:** F = 360, a finesse of 29.8, a free spectral range of 15 GHz and peaks about 0.50 GHz wide.
:::
:::

::: example
## A mirror of five TiO₂/SiO₂ pairs plus a final TiO₂ layer (n = 2.3 and 1.45) sits on glass (1.52). What does it reflect at its design wavelength?

::: solution
1. **The stack's admittance.**
   $$\begin{aligned} Y &= \left(\frac{2.3}{1.45}\right)^{10}\frac{2.3^2}{1.52} \\ &= 100.8 \times 3.48 \\ &= 351 \end{aligned}$$
2. **Reflectance.**
   $$\begin{aligned} R &= \left(\frac{1 - 351}{1 + 351}\right)^2 \\ &= 98.9\% \end{aligned}$$
3. **More pairs.** Each further pair multiplies Y by 2.5 and divides the transmission by about 2.5: eight pairs pass under 0.1%.

**Answer:** the mirror reflects 98.9% at its design wavelength.
:::
:::

::: check
kind: parts
given: n = 1 | 1.33; s = 1.5 | 2.4 | 3.5; l = 550 | 1550

## A substrate of index {s} faces a medium of index {n}; a single-layer coating must remove reflection at {l} nm.

::: part
answer: ((n - s)/(n + s))^2*100
unit: %
tolerance: 0.5%

### What does the bare surface reflect?

::: misses
- [any] $((n_0 - n_s)/(n_0 + n_s))^2$.
:::
:::

::: part
answer: sqrt(n*s)
tolerance: 0.5%

### What index should the coating have?

::: misses
- [any] $\sqrt{n_0n_s}$.
:::
:::

::: part
answer: l/(4*sqrt(n*s))
unit: nm
tolerance: 0.5%

### How thick should it be?

::: misses
- [l/4] A quarter wavelength inside the coating.
- [any] $\lambda_0/(4n_1)$.
:::
:::
:::

::: check
kind: parts
given: e = 2.5 | 4 | 9; f = 5 | 10 | 35

## A radome wall of relative permittivity {e} must pass {f} GHz at normal incidence.

::: part
answer: 299.792458/f/(2*sqrt(e))
unit: mm
tolerance: 0.5%

### How thick is a half-wave wall?

::: misses
- [299.792458/f/2] Half a wavelength inside the material.
- [any] $\lambda_0/(2\sqrt{\varepsilon_r})$.
:::
:::
:::

::: check
kind: parts
given: R = 0.8 | 0.9 | 0.99; d = 1 | 10 | 50; n = 1 | 1.5

## A Fabry–Pérot resonator has mirrors of reflectance {R}, {d} mm apart, filled with index {n}.

::: part
answer: 4*R/(1 - R)^2
tolerance: 0.5%

### What is its coefficient of finesse?

::: misses
- [any] $4R/(1 - R)^2$.
:::
:::

::: part
answer: 299792458/(2*n*d*1e-3)/1e9
unit: GHz
tolerance: 0.5%

### What is its free spectral range?

::: misses
- [any] $c/(2nd)$.
:::
:::

::: part
answer: 299792458/(2*n*d*1e-3)/1e6/(pi*sqrt(4*R/(1 - R)^2)/2)
unit: MHz
tolerance: 0.5%

### How wide is each transmission peak?

::: misses
- [any] Free spectral range over finesse.
:::
:::
:::

::: check
kind: parts
given: h = 2.1 | 2.3; l = 1.38 | 1.45; N = 3 | 5 | 8

## A Bragg mirror is $(HL)^NH$ with N = {N}, $n_H$ = {h}, $n_L$ = {l}, on glass of index 1.52, in air.

::: part
answer: (h/l)^(2*N)*h^2/1.52
tolerance: 0.5%

### What admittance does the stack present?

::: misses
- [any] $(n_H/n_L)^{2N}n_H^2/n_s$.
:::
:::

::: part
answer: ((1 - (h/l)^(2*N)*h^2/1.52)/(1 + (h/l)^(2*N)*h^2/1.52))^2*100
unit: %
tolerance: 0.5%

### What does it reflect?

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

::: check
kind: choice

## Why is a dielectric slab exactly half a wavelength thick (inside it) transparent at normal incidence?

- [ ] The material absorbs the reflected wave
- [x] Its two surface reflections are equal and opposite in sign, and the extra round trip of a half wavelength each way adds a full cycle, so they cancel; equivalently, a half-wave line repeats its load
- [ ] Waves pass through any slab thinner than a wavelength
- [ ] The slab's impedance equals free space's

::: misses
- [1] A lossless slab absorbs nothing; the cancellation is by interference.
- [3] Transparency is exact only at half-wave multiples (or for very thin slabs, approximately).
- [4] The slab's impedance is $\eta_0/\sqrt{\varepsilon_r}$; it's the thickness that hides it.
:::
:::

::: check
kind: derivation
vars: a = 1..4, b = 1..4, s = 1..4

## A quarter-wave layer of index a sits on a substrate of index s, under a medium of index b.

::: step
answer: a^2/s

### What admittance does the coated substrate present?
:::

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

### What is the reflectance?
:::

::: step
answer: sqrt(b*s)

### What layer index makes it zero?
:::

::: right
Right. A quarter-wave layer is a quarter-wave transformer, with indices in place of impedances.
:::
:::

::: check
kind: python

## Write `stack_R(n0, layers, ns, lam)`: the normal-incidence reflectance of a stack of (index, thickness) layers between an incident medium n0 and a substrate ns, at wavelength lam (same units as the thicknesses), by multiplying the layers' characteristic matrices.

```python starter
def stack_R(n0, layers, ns, lam):
    return ((n0 - ns) / (n0 + ns)) ** 2
```

```python solution
import math

def stack_R(n0, layers, ns, lam):
    M = [[1, 0], [0, 1]]
    for n, d in layers:
        dl = 2 * math.pi * n * d / lam
        L = [[math.cos(dl), 1j * math.sin(dl) / n], [1j * n * math.sin(dl), math.cos(dl)]]
        M = [[M[0][0] * L[0][0] + M[0][1] * L[1][0], M[0][0] * L[0][1] + M[0][1] * L[1][1]],
             [M[1][0] * L[0][0] + M[1][1] * L[1][0], M[1][0] * L[0][1] + M[1][1] * L[1][1]]]
    B = M[0][0] + M[0][1] * ns
    C = M[1][0] + M[1][1] * ns
    r = (n0 * B - C) / (n0 * B + C)
    return abs(r) ** 2
```

```python tests
import math
q = lambda n: (n, 550 / (4 * n))
assert stack_R(1, [q(math.sqrt(1.5))], 1.5, 550) < 1e-20, "The ideal quarter-wave coating: no reflection."
assert abs(stack_R(1, [(2, 550 / 4)], 1.5, 550) - 0.04) < 1e-12, "A half-wave layer is absent: bare glass's 4%."
bragg = [q(2.3), q(1.45)] * 5 + [q(2.3)]
assert abs(stack_R(1, bragg, 1.52, 550) - 0.98867) < 1e-5, "The worked example's mirror: 98.9%."
assert stack_R(1, bragg, 1.52, 700) < 0.9, "Away from its design wavelength the mirror leaks."
```

::: right
Right. The same matrices handle any stack at any wavelength; the closed forms are only the design-wavelength special cases.
:::
:::

::: explain
## How does a quarter-wave coating remove reflection from a lens?

::: model
Light reflects partly from the coating's top surface and partly from the glass beneath it. A coating a quarter wavelength thick makes the second reflection travel an extra half wavelength in its round trip, so it returns exactly out of phase with the first. If the two reflections are also equal in strength, which happens when the coating's index is the geometric mean of air's and the glass's, they cancel completely and all the light goes through. The cancellation is exact only at one wavelength, so coatings for the whole visible spectrum use several layers.
:::
:::

::: practice
::: check
given: s = 1.5 | 1.7 | 2 | 2.3 | 3.4 | 4
answer: sqrt(s)
tolerance: 0.5%

## Coating index for a substrate of index {s} in air?

::: misses
- [any] $\sqrt{n_s}$.
:::
:::

::: check
given: e = 3 | 6; f = 8 | 24
answer: 299.792458/f/(2*sqrt(e))
unit: mm
tolerance: 0.5%

## Half-wave radome thickness, εr = {e}, {f} GHz?

::: misses
- [any] $\lambda_0/2\sqrt{\varepsilon_r}$.
:::
:::

::: check
given: R = 0.9 | 0.95 | 0.98 | 0.99 | 0.995 | 0.999
answer: pi*sqrt(4*R/(1 - R)^2)/2
tolerance: 0.5%

## Finesse of mirrors with reflectance {R}?

::: misses
- [any] $\pi\sqrt F/2$.
:::
:::
:::
