---
title: How changing E and B fields produce a wave
heading: Two fields that keep making each other, on the move
eyebrow: B7 · Lesson 4 · Electromagnetic waves
xp: 40
---

::: hook
Wiggle a charge up and down and its field changes. That changing electric field makes a magnetic field around it; that changing magnetic field makes an electric field a little farther out; and so on, outward, at the speed of light. The disturbance doesn't need the charge any more: it carries itself. That's an electromagnetic wave, and every radio signal, every beam of light and every X-ray is one.

::: play
- The 3D view shows a light wave: the electric field (one color) and the magnetic field (another), at right angles to each other and to the direction of travel.
- The graph shows the same wave along its direction of travel. Press Play. Which way does the pattern move? Do E and B peak together?
- Change the wavelength. What happens to the frequency?
:::
:::

```sim field
scene: wave
polarization: linear
show: E, B
```

```sim plot
view: graph
x: z = 0..3 m
y: f = -1.5..1.5
time: tt
slider: lam = 0.5..3 step 0.1 = 1 m
plot: cos(2*pi*(z/lam - 3e8/lam*tt*1e-9)) | label: E (relative)
plot: cos(2*pi*(z/lam - 3e8/lam*tt*1e-9))*0.8 | dashed | color: ch2 | label: B (relative)
readout: frequency in MHz = 3e8/lam/1e6
readout: B/E in s/m = 1/3e8 | format: sci
```

::: predict
## In an electromagnetic wave traveling through space, how are E and B related?

- [ ] They're the same thing
- [ ] B peaks when E is zero, a quarter cycle apart
- [x] They peak together, at right angles to each other and to the direction of travel
- [ ] B is along the direction of travel

::: reveal
They peak together, square to each other and to the direction of travel. A traveling wave in free space has E and B in phase, with $B = E/c$, and the energy flows along $\mathbf E \times \mathbf B$, the direction of travel (the Poynting vector of B4.11). The quarter-cycle offset belongs to *standing* waves and to the near field right next to an antenna.
:::
:::

::: nameit
## Electromagnetic waves

**From the equations.** In empty space Maxwell's equations reduce to a **wave equation** for each field:

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

whose solutions are disturbances moving at speed $c = 1/\sqrt{\mu_0\varepsilon_0}$ (lesson 5). The simplest is a sinusoid:

$$E = E_0\cos(kz - \omega t) \qquad B = \frac{E_0}{c}\cos(kz - \omega t)$$

**Wave numbers.** The wavelength λ and frequency $f$ are linked by the speed:

$$c = f\lambda \qquad k = \frac{2\pi}{\lambda} \qquad \omega = 2\pi f$$

so $\omega/k = c$. A 100 MHz FM signal has λ = 3 m; Wi-Fi at 2.4 GHz, 12.5 cm; green light at 560 THz, 535 nm.

**Shape.** In a plane wave:

- E and B are perpendicular to each other and to the direction of travel: the wave is **transverse**;
- they're in phase, and $|B| = |E|/c$, so the magnetic field looks tiny in teslas but carries equal energy;
- $\mathbf E \times \mathbf B$ points along the direction of travel.

**Polarization** is the direction E points. Linear polarization keeps it in one plane; circular polarization rotates it once per cycle (the 3D sim can show both). Antennas must match the wave's polarization to pick it up fully.

**What makes them.** Static charges make static fields, and steady currents make steady fields; neither radiates. Waves come from *accelerating* charges, like the charge sloshing up and down an antenna (lesson 10).
:::

::: example
## An FM station broadcasts at 100 MHz. What are its wavelength and wave number?

::: solution
1. **Wavelength.**
   $$\begin{aligned} \lambda &= \frac{c}{f} \\ &= \frac{3 \times 10^8}{10^8} \\ &= 3\ \text{m} \end{aligned}$$
2. **Wave number.**
   $$\begin{aligned} k &= \frac{2\pi}{\lambda} \\ &= 2.1\ \text{rad/m} \end{aligned}$$

**Answer:** the wavelength is 3 m and the wave number is 2.1 rad/m.
:::
:::

::: example
## A plane wave has a 10 V/m electric field amplitude. What is its magnetic field amplitude?

::: solution
1. **Magnetic amplitude.**
   $$\begin{aligned} B &= \frac{E}{c} \\ &= \frac{10}{3 \times 10^8} \\ &= 33\ \text{nT} \end{aligned}$$
2. **Phase and direction.** The magnetic field is in phase with E and square to it.

**Answer:** the magnetic field amplitude is 33 nT, in phase with E and square to it.
:::
:::

::: check
given: f = 1 | 100 | 2400 | 5800
answer: 3e8/(f*1e6)
unit: m
tolerance: 0.5%

## What is the wavelength of a {f} MHz signal in free space?

::: right
Right. $\lambda = c/f$ = {answer}.
:::

::: misses
- [3e8/f] Convert MHz to Hz.
- [f*1e6/3e8] It's $c/f$, not $f/c$.
- [any] Not yet. $\lambda = c/f$.
:::
:::

::: check
given: E = 1..100 int
answer: E/3e8*1e9
unit: nT
tolerance: 0.5%

## A plane wave's electric field has amplitude {E} V/m. What is its magnetic field amplitude, in nT?

::: right
Right. $B = E/c$ = {answer}.
:::

::: misses
- [E*3e8*1e9] Divide by c: B is tiny.
- [E/3e8] That's in teslas. Convert to nT.
- [any] Not yet. $B = E/c$.
:::
:::

::: check
given: lam = 400 | 500 | 600 | 700
answer: 3e8/(lam*1e-9)/1e12
unit: THz
tolerance: 0.5%

## What is the frequency of light with a wavelength of {lam} nm?

::: right
Right. $f = c/\lambda$ = {answer}.
:::

::: misses
- [3e8/lam/1e12] Convert nanometers to meters.
- [any] Not yet. $f = c/\lambda$.
:::
:::

::: check
given: lam = 0.1 | 0.5 | 1 | 3
answer: 2*pi/lam
unit: rad/m
tolerance: 0.5%

## What is the wave number $k$ of a wave with λ = {lam} m?

::: right
Right. $k = 2\pi/\lambda$ = {answer}.
:::

::: misses
- [1/lam] Include the $2\pi$.
- [lam/(2*pi)] Upside down.
- [any] Not yet. $k = 2\pi/\lambda$.
:::
:::

::: check
kind: choice

## A wave travels north with its electric field pointing east. Which way does its magnetic field point?

- [ ] North
- [ ] East
- [x] Up or down (vertical)
- [ ] Any direction

::: right
Right. B is perpendicular to both E and the direction of travel. With E east and travel north, $\mathbf E \times \mathbf B$ must point north, which makes B point down.
:::

::: misses
- [1] B is never along the direction of travel in a plane wave.
- [2] B is perpendicular to E.
- [4] It's fixed by E and the direction of travel.
:::
:::

::: check
kind: parts
given: E = 0.1 | 1 | 100 | 1000

## A plane wave in vacuum has a peak electric field of {E} V/m.

::: part
answer: E/2.998e8*1e9
unit: nT
tolerance: 0.5%

### What is its peak magnetic field?

::: misses
- [E*2.998e8*1e9] Divide by c.
- [any] Not yet. $B = E/c$.
:::
:::

::: part
answer: E/376.73*1e3
unit: mA/m
tolerance: 0.5%

### And its peak H field?

::: misses
- [E*376.73*1e3] Divide by the wave impedance.
- [any] Not yet. $H = E/\eta_0$.
:::
:::

::: right
Right. E and B are locked together in a wave: one sets the other.
:::
:::

::: explain
## Why doesn't an electromagnetic wave need a medium to travel through, as sound does?

::: model
Sound is a disturbance of air molecules pushing on each other, so it needs the air. An electromagnetic wave is a disturbance of the fields themselves, and the fields exist in empty space. A changing electric field makes a magnetic field and a changing magnetic field makes an electric field, with no matter involved, so each part of the wave creates the next on its own. That's why light reaches us across the vacuum from the sun.
:::
:::

::: practice

::: check
given: lam = 3 | 10 | 300
answer: 3e8/lam/1e6
unit: MHz
tolerance: 0.5%

## A radio wave has λ = {lam} m. What is its frequency?

::: misses
- [3e8*lam/1e6] $f = c/\lambda$.
- [any] $f = c/\lambda$.
:::
:::

::: check
given: B = 1..10 int
answer: B*1e-9*3e8
unit: V/m
tolerance: 0.5%

## A wave's magnetic field amplitude is {B} nT. What is its electric field amplitude?

::: misses
- [B*1e-9/3e8] Multiply by c.
- [any] $E = cB$.
:::
:::

::: check
kind: choice

## What kind of charge motion radiates electromagnetic waves?

- [ ] Charges at rest
- [ ] Charges moving at constant velocity
- [x] Accelerating charges
- [ ] Any charge, always

::: right
Right. Only acceleration sends out a wave.
:::

::: misses
- [1] Static charges make static fields.
- [2] Steady motion makes steady fields.
- [4] Only acceleration radiates.
:::
:::
:::
