---
title: Deriving the wave equation from Maxwell's equations
heading: Combining Faraday's and Ampère–Maxwell's laws in empty space into a wave equation, the speed it predicts and its agreement with the measured speed of light, waves in a dielectric slowed by the square root of the permittivity, the wave impedance that ties E to H, and the field of a pulse moving without changing shape
eyebrow: D8 · Lesson 4 · Deriving the wave equation
xp: 40
---

::: hook
In 1862 Maxwell added the displacement current to Ampère's law, worked out what his equations implied in empty space, and found that electric and magnetic fields could sustain each other as a traveling wave. The speed came out from two numbers measured in benchtop experiments with capacitors and coils, $1/\sqrt{\mu_0\varepsilon_0}$, and it matched the measured speed of light. "We can scarcely avoid the inference," he wrote, "that light consists in the transverse undulations of the same medium which is the cause of electric and magnetic phenomena." Every radio, radar and fiber link rests on that derivation.
:::

::: play
- A pulse of electric field traveling along z through a material of relative permittivity $\varepsilon_r$, shown at time t (in nanoseconds).
- The pulse moves at $v = c/\sqrt{\varepsilon_r}$ without changing shape: any shape that's a function of $z - vt$ solves the wave equation.
- The readouts give the speed, the wave impedance E/H and how far the pulse has gone.
:::

```sim plot
view: graph
x: z = 0..3
y: E = -0.2..1.2
slider: t = 0..10 step 0.1 = 3
slider: e = 1..10 step 0.1 = 1
plot: exp(-((z - 0.3 - 0.299792458*t/sqrt(e))/0.1)^2) | samples: 600 | label: electric field (z in m, t in ns)
plot: exp(-((z - 0.3)/0.1)^2) | dashed | color: ch3 | label: where it started
readout: speed, fraction of c = 1/sqrt(e) | digits: 3
readout: wave impedance, Ω = 376.73/sqrt(e) | digits: 4
readout: distance traveled, m = 0.299792458*t/sqrt(e) | digits: 3
```

::: predict
## A signal travels on a circuit board whose material has $\varepsilon_r$ = 4.4. How fast does it go?

- [ ] At the speed of light
- [x] About 48% of the speed of light
- [ ] About 23% of the speed of light
- [ ] 4.4 times faster than light

::: reveal
$v = c/\sqrt{\varepsilon_r}$ = c/2.10 = 0.477c, 1.43 × 10⁸ m/s: about 14 cm per nanosecond, which is why a few centimeters of trace matter at gigahertz clock rates. (A trace with air above it sees an effective permittivity somewhat lower than 4.4.)
:::
:::

::: nameit
## The derivation

In empty space (no charge, no current), take the curl of Faraday's law and use Ampère–Maxwell's law:

$$\nabla\times(\nabla\times\mathbf E) = -\frac{\partial}{\partial t}\nabla\times\mathbf B = -\mu_0\varepsilon_0\frac{\partial^2\mathbf E}{\partial t^2}$$

With $\nabla\times\nabla\times\mathbf E = \nabla(\nabla\cdot\mathbf E) - \nabla^2\mathbf E$ and $\nabla\cdot\mathbf E = 0$:

$$\nabla^2\mathbf E = \mu_0\varepsilon_0\frac{\partial^2\mathbf E}{\partial t^2}$$

the wave equation, with speed

$$c = \frac{1}{\sqrt{\mu_0\varepsilon_0}} = 299{,}792{,}458\text{ m/s}$$

## In a material

In a linear material, μ and ε replace μ₀ and ε₀, so

$$v = \frac{1}{\sqrt{\mu\varepsilon}} = \frac{c}{\sqrt{\mu_r\varepsilon_r}} = \frac{c}{n}$$

with refractive index $n = \sqrt{\mu_r\varepsilon_r}$ (for nonmagnetic materials, $\sqrt{\varepsilon_r}$).

## Wave impedance

In a plane wave, E and H are perpendicular to each other and to the direction of travel, in phase, with ratio

$$\eta = \frac{E}{H} = \sqrt{\frac{\mu}{\varepsilon}}, \qquad \eta_0 = \sqrt{\frac{\mu_0}{\varepsilon_0}} = 376.73\ \Omega$$

in free space. The wavelength is $\lambda = v/f$.

## Solving it numerically

The **finite-difference time-domain** (FDTD) method steps Faraday's and Ampère's laws forward in time on a grid, with E and H staggered by half a cell. It's how antennas, waveguides and circuit boards are simulated (C10's FDTD lab, lesson 16).
:::

::: example
## What are the wave impedance and wavelength at 2.4 GHz in a material with $\varepsilon_r$ = 4.4?

::: solution
1. **Wave impedance.**
   $$\begin{aligned} \eta &= \frac{\eta_0}{\sqrt{\varepsilon_r}} \\ &= \frac{376.73}{2.098} \\ &= 179.6\ \Omega \end{aligned}$$
2. **Wavelength.** The wave travels at $c/\sqrt{4.4} = 1.429 \times 10^8$ m/s in the material:
   $$\begin{aligned} \lambda &= \frac{c/\sqrt{4.4}}{2.4 \times 10^9\ \text{Hz}} \\ &= 5.96\ \text{cm} \end{aligned}$$
   against 12.5 cm in air.

**Answer:** the wave impedance is 179.6 Ω, and the wavelength is 5.96 cm.
:::
:::

::: example
## A plane wave in air has an electric field of 100 V/m. How strong is its magnetic field?

::: solution
1. **Magnetic field strength.**
   $$\begin{aligned} H &= \frac{E}{\eta_0} \\ &= \frac{100}{376.73} \\ &= 0.265\ \text{A/m} \end{aligned}$$
2. **Flux density.**
   $$\begin{aligned} B &= \mu_0 H \\ &= 0.334\ \mu\text{T} \end{aligned}$$
3. **Compare the energy.** The magnetic field looks tiny in teslas, but it carries exactly as much energy as the electric field.

**Answer:** H = 0.265 A/m, which is B = 0.334 µT.
:::
:::

::: example
## A 10 cm trace runs through FR4 ($\varepsilon_r$ = 4.4) at 1 GHz. How many wavelengths long is it, and what phase delay does it add?

::: solution
1. **Wavelength in FR4.**
   $$\begin{aligned} \lambda &= \frac{c}{f\sqrt{\varepsilon_r}} \\ &= \frac{30\ \text{cm}}{2.10} \\ &= 14.3\ \text{cm} \end{aligned}$$
2. **Length in wavelengths.**
   $$\begin{aligned} \frac{l}{\lambda} &= \frac{10}{14.3} \\ &= 0.70 \end{aligned}$$
3. **Phase delay.**
   $$0.70 \times 360^\circ = 252^\circ$$
4. **What it means.** At that length the trace must be treated as a transmission line.

**Answer:** the trace is 0.70 wavelengths long and adds 252° of phase delay.
:::
:::

::: check
given: e = 2.2 | 4.4 | 9.8 | 80
answer: 1/sqrt(e)
tolerance: 0.5%

## A wave travels through a nonmagnetic material with $\varepsilon_r$ = {e}. What fraction of the speed of light does it travel at?

::: right
Right. $1/\sqrt{\varepsilon_r}$ = {answer}.
:::

::: misses
- [1/e] Speed goes as one over the square root of the permittivity.
- [any] Not yet. $v = c/\sqrt{\varepsilon_r}$.
:::
:::

::: check
given: e = 2.2 | 4.4 | 9.8
answer: 376.73/sqrt(e)
unit: Ω
tolerance: 0.5%

## What's the wave impedance of a nonmagnetic material with $\varepsilon_r$ = {e}?

::: right
Right. $\eta_0/\sqrt{\varepsilon_r}$ = {answer} Ω.
:::

::: misses
- [376.73*sqrt(e)] More permittivity means a lower impedance.
- [any] Not yet. $\sqrt{\mu/\varepsilon}$.
:::
:::

::: check
given: f = 0.9 | 2.4 | 5.8; e = 2.2 | 4.4 | 9.8
answer: 29.9792458/(f*sqrt(e))
unit: cm
tolerance: 0.5%

## What's the wavelength of a {f} GHz wave in a material with $\varepsilon_r$ = {e}?

::: right
Right. $c/(f\sqrt{\varepsilon_r})$ = {answer} cm.
:::

::: misses
- [29.9792458/f] That's in air; the wave is slower in the material.
- [any] Not yet. Speed over frequency.
:::
:::

::: check
given: E = 1 | 100 | 3000
answer: E/376.73*1000
unit: mA/m
tolerance: 0.5%

## A plane wave in air has an electric field of {E} V/m. What's its magnetic field strength H?

::: right
Right. $E/\eta_0$ = {answer} mA/m.
:::

::: misses
- [any] Not yet. Divide by the impedance of free space.
:::
:::

::: check
kind: parts
given: e = 2.2 | 4.4 | 10; f = 1 | 2.4 | 10

## A wave travels at {f} GHz in a material with $\varepsilon_r$ = {e}.

::: part
answer: 3e8/sqrt(e)/(f*1e9)*100
unit: cm
tolerance: 0.5%

### What is its wavelength?

::: misses
- [any] $c/(f\sqrt{\varepsilon_r})$.
:::
:::

::: part
answer: 376.7/sqrt(e)
unit: Ω
tolerance: 0.5%

### What is the wave impedance?

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

::: check
kind: parts
given: E = 1 | 10 | 100

## A plane wave in air has an electric field of {E} V/m (rms).

::: part
answer: E/376.7*1000
unit: mA/m
tolerance: 0.5%

### What is its magnetic field H?

::: misses
- [any] $E/\eta_0$.
:::
:::

::: part
answer: E^2/376.7
unit: W/m²
tolerance: 0.5%

### What power density does it carry?

::: misses
- [any] $E^2/\eta_0$.
:::
:::
:::

::: check
kind: parts
given: L = 5 | 10 | 30; e = 3.3 | 4.4; f = 0.5 | 1 | 3

## A trace {L} cm long runs in a medium of effective permittivity {e} at {f} GHz.

::: part
answer: L/(30/f/sqrt(e))
tolerance: 0.5%

### How many wavelengths long is it?

::: misses
- [any] Length ÷ $c/(f\sqrt{\varepsilon})$.
:::
:::

::: part
answer: L/100*sqrt(e)/3e8*1e12
unit: ps
tolerance: 0.5%

### What delay does it add?

::: misses
- [any] $L\sqrt{\varepsilon}/c$.
:::
:::
:::

::: explain
## How do Maxwell's equations predict that light travels at 1/√(μ₀ε₀)?

::: model
Faraday's law says a changing magnetic field creates a circulating electric field, and Ampère's law with Maxwell's displacement current says a changing electric field creates a circulating magnetic field. Combining the two in empty space gives an equation in which the curvature of the electric field in space is tied to its acceleration in time, which is the wave equation, so a disturbance in one field regenerates the other and moves on. The speed in that equation depends only on the constants in the two laws, μ₀ from magnetism and ε₀ from electrostatics, and their combination comes out at 3 × 10⁸ meters per second, matching the measured speed of light, which identified light as an electromagnetic wave.
:::
:::

::: practice

::: check
given: e = 1.5 | 2.2 | 4 | 9 | 16 | 81 | 100
answer: 376.73/sqrt(e)
unit: Ω
tolerance: 0.5%

## η for $\varepsilon_r$ = {e}?

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

::: check
given: f = 0.1 | 100; e = 1 | 12
answer: 29.9792458/(f*sqrt(e))
unit: cm
tolerance: 0.5%

## Wavelength: {f} GHz, $\varepsilon_r$ = {e}?

::: misses
- [any] $c/(f\sqrt{\varepsilon_r})$.
:::
:::
:::
