---
title: Thin films and coatings
heading: Soap bubbles, anti-reflection coatings and dielectric mirrors
eyebrow: B8 · Lesson 8 · Thin films
xp: 40
---

::: hook
A camera lens with a dozen glass surfaces would lose 4% of its light at each one and fill the picture with ghost images. A coating a tenth of a micrometer thick, a quarter of a wavelength, cuts that loss to a fraction of a percent. The same physics colors soap bubbles and oil slicks, makes laser mirrors that reflect 99.9% of the light without any metal, and lets a chip fab measure an oxide layer's thickness by its color. It's interference between the reflections from a film's top and bottom surfaces.
:::

::: play
- The curve is the percentage of light reflected by a film of index $n$ and thickness $t$ on a substrate, against wavelength. The dashed line is the bare substrate.
- Start with magnesium fluoride ($n$ = 1.38) on glass (1.5) and find the thickness that makes the dip sit at 550 nm, the middle of the visible.
- Now set the film's index to $\sqrt{1.5}$ = 1.22. How low does the dip go?
:::
:::

```sim plot
view: graph
x: lam = 380..800 nm
y: R = 0..12 %
slider: n = 1.1..2.5 step 0.01 = 1.38
slider: t = 0..400 step 1 = 60 nm
slider: ns = 1.3..4 step 0.01 = 1.5
plot: 100*(((1-n)/(1+n))^2 + ((n-ns)/(n+ns))^2 + 2*((1-n)/(1+n))*((n-ns)/(n+ns))*cos(4*pi*n*t/lam))/(1 + ((1-n)/(1+n))^2*((n-ns)/(n+ns))^2 + 2*((1-n)/(1+n))*((n-ns)/(n+ns))*cos(4*pi*n*t/lam)) | label: coated | samples: 400
plot: 100*((1-ns)/(1+ns))^2 + 0*lam | label: bare substrate | dashed | color: ch2
readout: quarter-wave thickness at 550 nm, nm = 550/(4*n) | digits: 4
readout: reflectance at 550 nm, % = 100*(((1-n)/(1+n))^2 + ((n-ns)/(n+ns))^2 + 2*((1-n)/(1+n))*((n-ns)/(n+ns))*cos(4*pi*n*t/550))/(1 + ((1-n)/(1+n))^2*((n-ns)/(n+ns))^2 + 2*((1-n)/(1+n))*((n-ns)/(n+ns))*cos(4*pi*n*t/550)) | digits: 3
```

::: predict
## A coating on glass must cancel the reflection of 550 nm light. The coating's index is 1.38. How thick should it be?

- [ ] 550 nm, one wavelength
- [ ] 275 nm, half a wavelength
- [x] About 100 nm, a quarter of the wavelength inside the coating
- [ ] As thin as possible

::: reveal
About 100 nm. Light reflected from the bottom of the coating travels down and back, twice the thickness, and for the two reflections to cancel that extra trip must be half a wavelength. Inside the coating the wavelength is $550/1.38 = 399$ nm, so the thickness is a quarter of that: 100 nm.
:::
:::

::: nameit
## Two reflections

Light hitting a thin film reflects partly from the top surface and partly from the bottom. At normal incidence the second reflection travels an extra $2t$ inside the film, where the wavelength is $\lambda/n$, so it lags by

$$\delta = \frac{2\pi}{\lambda}2nt$$

There's one more ingredient. A reflection going from low index to high index flips the wave's sign, like a pulse on a light string meeting a heavy one (lesson 2); going from high to low it doesn't flip.

| Film | Flips | Strong reflection | Weak reflection |
|---|---|---|---|
| soap film in air (air, 1.33, air) | one | $2nt = (m + \frac12)\lambda$ | $2nt = m\lambda$ |
| coating on glass (air, 1.38, 1.5) | two | $2nt = m\lambda$ | $2nt = (m + \frac12)\lambda$ |

## Anti-reflection coatings

A **quarter-wave layer**, $t = \frac{\lambda}{4n}$, between air and a substrate of index $n_s$ reflects

$$R = \left(\frac{n_s - n^2}{n_s + n^2}\right)^2$$

which is zero when $n = \sqrt{n_s}$. Glass would need 1.22, which no durable material has, so single coatings use magnesium fluoride (1.38) and get 1.4% instead of 4%. Multi-layer coatings get below 0.5% across the whole visible range. Solar cells use the same idea: silicon nitride on silicon cuts the reflection from about 35% to a few percent, which is why cells look dark blue.

## Dielectric mirrors

Stack $N$ pairs of quarter-wave layers of high and low index, $n_H$ and $n_L$. Every reflection then arrives in step and they add up:

$$R = \left(\frac{1 - \frac{n_s}{n_0}\left(\frac{n_H}{n_L}\right)^{2N}}{1 + \frac{n_s}{n_0}\left(\frac{n_H}{n_L}\right)^{2N}}\right)^2$$

With titanium dioxide (2.3) and silica-like layers, eight pairs reflect over 99.9% in a band around the design wavelength, with no metal to absorb. Laser mirrors and the reflectors inside laser diodes (lesson 23) are built this way.
:::

::: example
## A soap film (n = 1.33) is 100 nm thick. Which wavelength reflects most strongly, viewed straight on?

::: solution
1. **Count the phase flips.** Air to soap flips, soap to air doesn't: one flip, so strong reflection needs
   $$2nt = \left(m + \frac12\right)\lambda$$
2. **First order.** For $m = 0$:
   $$\begin{aligned} \lambda &= 4nt \\ &= 4 \times 1.33 \times 100 \\ &= 532\ \text{nm} \end{aligned}$$
   green.
3. **Next order.** For $m = 1$:
   $$\begin{aligned} \lambda &= \frac{4nt}{3} \\ &= 177\ \text{nm} \end{aligned}$$
   which is ultraviolet.

**Answer:** 532 nm, a green, reflects most strongly.
:::
:::

::: example
## What does a quarter-wave magnesium fluoride coating (1.38) on glass (1.5) reflect at its design wavelength?

::: solution
1. **Reflectance at the design wavelength.**
   $$\begin{aligned} R &= \left(\frac{1.5 - 1.38^2}{1.5 + 1.38^2}\right)^2 \\ &= \left(\frac{-0.404}{3.404}\right)^2 \\ &= 0.014 \end{aligned}$$
2. **Compare with bare glass.** That's 1.4%, against 4% for bare glass.

**Answer:** it reflects 1.4% of the light, against 4% for bare glass.
:::
:::

::: example
## An oil film (n = 1.45) 400 nm thick floats on water (n = 1.33). Viewed straight on, which visible colors reflect strongly?

::: solution
1. **Count the phase flips.** The top reflection, from low to high index, flips; the bottom one, from 1.45 down to 1.33, doesn't.
2. **Strong reflections.** With one flip, reflection is strong where $2nt = (m + \frac12)\lambda$. Here $2nt = 1160$ nm, so
   $$\lambda = \frac{1160}{m + 0.5}\ \text{nm}$$
   which gives 2320, 773, 464 and 331 nm.
3. **Which are visible.** Only 464 nm, a blue, lies inside the visible range, with 773 nm just past the red end, so the film looks blue.
4. **Thickness bands.** A thinner or thicker patch shifts the colors, which is why an oil slick shows bands that map its thickness.

**Answer:** only 464 nm, a blue, reflects strongly in the visible range, so the film looks blue.
:::
:::

::: check
given: lam = 450 | 550 | 1550; n = 1.38 | 1.45 | 2.0
answer: lam/(4*n)
unit: nm
tolerance: 0.5%

## How thick is a quarter-wave layer of index {n} for {lam} nm light?

::: right
Right. $\frac{\lambda}{4n}$ = {answer}.
:::

::: misses
- [lam/4] Use the wavelength inside the film, $\lambda/n$.
- [lam/(2*n)] That's half a wave; the round trip doubles a quarter-wave thickness to half a wave.
- [any] Not yet. $t = \lambda/(4n)$.
:::
:::

::: check
given: ns = 1.5 | 2.0 | 3.5
answer: sqrt(ns)
tolerance: 0.5%

## What coating index would cancel reflection completely on a substrate of index {ns}, with a quarter-wave layer?

::: right
Right. $\sqrt{n_s}$ = {answer}.
:::

::: misses
- [ns/2] The ideal index is the geometric mean of air's and the substrate's.
- [any] Not yet. $n = \sqrt{n_0n_s}$.
:::
:::

::: check
given: t = 100 | 120 | 150; n = 1.33 | 1.40
answer: 4*n*t
unit: nm
tolerance: 0.5%

## A soap film of index {n} and thickness {t} nm hangs in air. What is the longest wavelength it reflects strongly?

::: right
Right. One flip, so $2nt = \frac12\lambda$: {answer}.
:::

::: misses
- [2*n*t] With one sign flip, the round trip of $2nt$ must be half a wavelength for strong reflection.
- [4*t] Include the film's index.
- [any] Not yet. Count the flips first.
:::
:::

::: check
given: n = 1.38 | 1.45 | 1.6; ns = 1.5 | 1.7
answer: 100*((ns - n^2)/(ns + n^2))^2
tolerance: 1%

## A quarter-wave coating of index {n} sits on a substrate of index {ns}. What percentage of light does it reflect at its design wavelength?

::: right
Right. $\left(\frac{n_s - n^2}{n_s + n^2}\right)^2$ = {answer}%.
:::

::: misses
- [100*((ns - n)/(ns + n))^2] At a quarter wave the coating acts like a single surface of effective index $n^2/n_s$.
- [any] Not yet. $R = \left(\frac{n_s - n^2}{n_s + n^2}\right)^2$.
:::
:::

::: check
given: t = 300 | 500 | 800; m = 1 | 2
answer: 2*1.46*t/(m + 0.5)
unit: nm
tolerance: 0.5%

## Silicon dioxide ($n$ = 1.46) {t} nm thick sits on silicon ($n$ ≈ 3.9). At what wavelength is its reflection minimum of order {m}?

::: right
Right. Both surfaces flip, so the minima are at $2nt = (m + \frac12)\lambda$: {answer}.
:::

::: misses
- [2*1.46*t/m] Two flips cancel each other, so the weak reflection needs a half-wave round trip: $(m + \frac12)\lambda$.
- [any] Not yet. Count the flips, then solve for λ.
:::
:::

::: check
given: N = 3 | 5 | 8
answer: 100*((1 - 1.5*(2.3/1.38)^(2*N))/(1 + 1.5*(2.3/1.38)^(2*N)))^2
tolerance: 0.1%

## A mirror has {N} pairs of quarter-wave layers ($n_H$ = 2.3, $n_L$ = 1.38) on glass (1.5). What percentage does it reflect at its design wavelength?

::: right
Right. {answer}%, with no metal at all.
:::

::: misses
- [any] Not yet. Use the stack formula with $n_s/n_0 = 1.5$.
:::
:::

::: check
kind: parts
given: n = 1.33 | 1.45; t = 300 | 500

## A film of index {n} and thickness {t} nm, with one phase flip between its two reflections, is viewed straight on.

::: part
answer: 4*n*t
unit: nm
tolerance: 0.5%

### What is the longest wavelength it reflects strongly?

::: misses
- [2*n*t] With one flip, the strong reflections are at $2nt = (m + \frac12)\lambda$; the longest has m = 0.
- [any] $\lambda = 4nt$.
:::
:::

::: part
answer: 4*n*t/3
unit: nm
tolerance: 0.5%

### What is the next one?

::: misses
- [any] m = 1: $\lambda = \frac{2nt}{1.5}$.
:::
:::
:::

::: check
kind: derivation
vars: n = 1.2..2.5, t = 0.0000001..0.000001, m = 0..3, l = 0.0000004..0.0000007

## A film of index n and thickness t, with one phase flip between its two reflections.

::: step
answer: 2*n*t/(m + 0.5)

### At which wavelengths does it reflect strongly?
:::

::: step
answer: l/(4*n)

### How thick must a quarter-wave layer be for wavelength λ (write l)?
:::

::: right
Right. The round trip through the film adds 2nt of path; the single flip adds the extra half wave.
:::
:::

::: explain
## Why does an oil slick on a wet road show bands of color?

::: model
Light reflects from both the top of the oil and the oil-water surface below. The two reflections interfere, and whether they add or cancel depends on the extra distance the lower one travels, twice the oil's thickness, compared with the wavelength. Where the oil is a certain thickness, one color reflects strongly while others partly cancel, so that spot looks that color. The oil's thickness varies smoothly across the slick, so the reflected color changes from place to place in bands that follow the thickness.
:::
:::

::: practice

::: check
given: lam = 500 | 633; n = 1.33 | 1.5
answer: lam/n
unit: nm
tolerance: 0.5%

## What is the wavelength of {lam} nm light inside a material of index {n}?

::: misses
- [any] $\lambda/n$.
:::
:::

::: check
given: n = 1.33 | 1.5 | 2.4
answer: 100*((n - 1)/(n + 1))^2
tolerance: 0.5%

## What percentage of light does a bare surface of index {n} reflect at normal incidence, from air?

::: misses
- [any] $\left(\frac{n - 1}{n + 1}\right)^2$.
:::
:::

::: check
given: t = 80 | 110; n = 1.38 | 1.45
answer: 4*n*t
unit: nm
tolerance: 0.5%

## A coating of index {n} on glass is {t} nm thick. At what wavelength is it a quarter-wave layer?

::: misses
- [any] $\lambda = 4nt$.
:::
:::
:::
