---
title: The EM spectrum, from radio to gamma
heading: One kind of wave across twenty decades of frequency
eyebrow: B7 · Lesson 9 · The electromagnetic spectrum
xp: 40
---

::: hook
Power lines, radio, Wi-Fi, the heat from a stove, the colors you see, sunburn, a dental X-ray and the gamma rays from a nuclear reaction are all the same thing: electromagnetic waves, differing only in frequency. Twenty powers of ten separate the slowest from the fastest. What changes along the way is how the waves are made, what they pass through, and, at high frequencies, how much energy each photon carries.

::: play
- The ladder places familiar sources and devices by frequency. Drag to pan and pinch or use the buttons to zoom.
- Move the marker. The readouts give the wavelength and the energy of one photon at that frequency.
- Where does the photon energy reach a few electronvolts, enough to break chemical bonds? What lies above that?
:::
:::

```sim plot
view: scale
x: f = 1..1e21 Hz log
item: 60 | label: power lines
item: 1e6 | label: AM radio
item: 1e8 | label: FM radio
item: 2.45e9 | label: microwave oven, Wi-Fi
item: 2.8e10 | label: 5G mmWave
item: 3e13 | label: thermal infrared (10 µm)
item: 5.6e14 | label: green light
item: 1.2e15 | label: UV-C lamp
item: 3e18 | label: dental X-ray
item: 3e20 | label: gamma rays
band: 3..3e11 | label: radio and microwave
band: 3e11..4e14 | label: infrared | color: ch2
band: 4e14..7.5e14 | label: visible | color: ch3
band: 7.5e14..3e16 | label: ultraviolet | color: ch4
band: 3e16..3e19 | label: X-rays | color: ch2
slider: fx = 1..1e21 = 1e9 Hz log
marker: f = fx | label: you
readout: wavelength = 3e8/fx m | format: si
readout: photon energy = 4.136e-15*fx eV | format: sci
```

::: predict
## Why can microwaves heat food but not cause sunburn, while ultraviolet causes sunburn but not much heating?

- [ ] Microwaves are more powerful
- [x] Ultraviolet photons each carry enough energy to break molecular bonds; microwave photons carry less than a hundred-thousandth as much
- [ ] Microwaves can't reach skin
- [ ] Ultraviolet isn't electromagnetic

::: reveal
Photon energy. Light arrives in packets of energy $hf$. A 2.45 GHz microwave photon carries only about 10 µeV, far too little to break a bond, so microwaves can only shake molecules and warm them, however intense. A UV photon carries several electronvolts, enough to damage DNA one photon at a time. That threshold, around the top of the visible range, divides **non-ionizing** from **ionizing** radiation.
:::
:::

::: nameit
## The spectrum

All electromagnetic waves travel at $c$ in vacuum, so frequency and wavelength are tied together, $c = f\lambda$, and each carries energy in **photons** of

$$E = hf \qquad h = 6.626 \times 10^{-34}\text{ J·s} = 4.136 \times 10^{-15}\text{ eV·s}$$

| Band | Frequency | Wavelength | Made by |
|---|---|---|---|
| radio | up to about 300 MHz | over 1 m | currents in antennas |
| microwave | 300 MHz to 300 GHz | 1 m to 1 mm | antennas, magnetrons, transistors |
| infrared | 300 GHz to 400 THz | 1 mm to 750 nm | molecular vibrations, warm objects |
| visible | 400 to 750 THz | 750 to 400 nm | electron transitions in atoms |
| ultraviolet | 750 THz to 30 PHz | 400 to 10 nm | electron transitions, hot plasmas |
| X-rays | 30 PHz to 30 EHz | 10 nm to 10 pm | inner-shell electrons, braking electrons |
| gamma rays | above that | below 10 pm | nuclear transitions |

The boundaries are conventions, not physics: the bands overlap and are named by how the waves are usually made.

**Why it matters to an engineer.**

- **Antenna size** scales with wavelength: a 100 MHz antenna is about a meter, a 28 GHz one a few millimeters.
- **Propagation** depends on frequency: low frequencies bend around hills and reflect off the ionosphere; microwaves travel in straight lines and are absorbed by rain and walls.
- **Bandwidth**: higher carrier frequencies leave room for wider channels, which is why data links keep moving up in frequency.
- **Interaction with matter**: below a few electronvolts photons heat; above, they ionize.
:::

::: example
## What is the wavelength of 2.4 GHz Wi-Fi, and the frequency of a 1 nm X-ray?

::: solution
1. **Wi-Fi wavelength.**
   $$\begin{aligned} \lambda &= \frac{3 \times 10^8}{2.4 \times 10^9} \\ &= 12.5\ \text{cm} \end{aligned}$$
2. **X-ray frequency.**
   $$\begin{aligned} f &= \frac{3 \times 10^8}{10^{-9}} \\ &= 3 \times 10^{17}\ \text{Hz} \end{aligned}$$

**Answer:** 2.4 GHz Wi-Fi has a wavelength of 12.5 cm, and a 1 nm X-ray has a frequency of $3 \times 10^{17}$ Hz.
:::
:::

::: example
## Compare the photon energy of 2.4 GHz radio with green light at 540 THz.

::: solution
1. **Radio photon.**
   $$\begin{aligned} E &= hf \\ &= 6.63 \times 10^{-34} \times 2.4 \times 10^9 \\ &= 1.6 \times 10^{-24}\ \text{J} \end{aligned}$$
   or 10 µeV.
2. **Green photon.** At 540 THz the energy is 2.2 eV, two hundred thousand times more.
3. **Why it matters.** That's why light can break chemical bonds and radio can't.

**Answer:** a 2.4 GHz photon carries about 10 µeV and a green one 2.2 eV, two hundred thousand times more.
:::
:::

::: check
given: f = 1 | 2.45 | 5 | 28
answer: 3e8/(f*1e9)*1000
unit: mm
tolerance: 0.5%

## What is the wavelength of {f} GHz, in mm?

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

::: misses
- [3e8/(f*1e9)] That's in meters. Convert to mm.
- [3e8/f*1000] Convert GHz to Hz.
- [any] Not yet. $\lambda = c/f$.
:::
:::

::: check
given: lam = 400 | 550 | 700
answer: 1240/lam
unit: eV
tolerance: 1%

## What is the energy of a photon of {lam} nm light, in eV? (Use $E = hc/\lambda$ with $hc \approx 1240$ eV·nm.)

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

::: misses
- [lam/1240] It's $hc/\lambda$.
- [any] Not yet. $E = hc/\lambda$.
:::
:::

::: check
given: f = 60 | 1e6 | 1e8 | 2.45e9
answer: 4.136e-15*f
unit: eV
tolerance: 0.5%

## How much energy does one photon at {f} Hz carry, in eV?

::: right
Right. $hf$ = {answer}: far too little to break a chemical bond.
:::

::: misses
- [6.626e-34*f] That's in joules. Use $h = 4.136 \times 10^{-15}$ eV·s for electronvolts.
- [any] Not yet. $E = hf$.
:::
:::

::: check
given: f = 100 | 433 | 868 | 2400
answer: 3e8/(f*1e6)/2*100
unit: cm
tolerance: 0.5%

## A half-wave dipole antenna is about half a wavelength long. Roughly how long is one for {f} MHz, in cm?

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

::: misses
- [3e8/(f*1e6)*100] That's a full wavelength. A half-wave dipole is half that.
- [any] Not yet. $\lambda/2 = c/(2f)$.
:::
:::

::: check
kind: choice

## Which of these is ionizing radiation?

- [ ] Microwaves
- [ ] Infrared
- [ ] Visible red light
- [x] X-rays

::: right
Right. X-ray photons carry thousands of electronvolts, enough to knock electrons out of atoms.
:::

::: misses
- [1] Microwave photons carry microelectronvolts.
- [2] Infrared photons carry a fraction of an electronvolt.
- [3] Red light photons carry under 2 eV, below the ionizing range.
:::
:::

::: check
kind: parts
given: f = 0.1 | 100 | 545 | 1e6

## Electromagnetic radiation at {f} THz.

::: part
answer: 6.626e-34*f*1e12/1.602e-19
unit: eV
tolerance: 0.5%

### What energy does each photon carry?

::: misses
- [6.626e-34*f*1e12] That's in joules: divide by $e$ for electronvolts.
- [any] Not yet. $E = hf$.
:::
:::

::: part
answer: 2.998e8/(f*1e12)*1e9
unit: nm
tolerance: 0.5%

### What is its wavelength?

::: misses
- [2.998e8*f*1e12*1e9] $\lambda = c/f$.
- [any] Not yet. $\lambda = c/f$.
:::
:::

::: right
Right. From terahertz to visible to X-rays, the same formulas: only the scale changes.
:::
:::

::: explain
## Why does turning up the brightness of a microwave source never make it ionizing, however intense it gets?

::: model
Electromagnetic energy is absorbed one photon at a time, and each photon's energy is set by its frequency, $E = hf$. A microwave photon carries a few hundred-thousandths of an electronvolt, far below the several electronvolts needed to knock an electron out of an atom or break a bond. Making the source brighter sends more photons but doesn't make any single one more energetic, so it heats things more but never ionizes them.
:::
:::

::: practice

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

## What frequency has a wavelength of {lam} m?

::: misses
- [any] $f = c/\lambda$.
:::
:::

::: check
given: E = 2 | 3 | 10
answer: 1240/E
unit: nm
tolerance: 1%

## What wavelength has photons of {E} eV?

::: misses
- [E*1240] $\lambda = hc/E$.
- [any] $\lambda = 1240/E$ nm.
:::
:::

::: check
kind: choice

## Which wave needs the largest antenna?

- [x] AM radio at 1 MHz
- [ ] FM radio at 100 MHz
- [ ] Wi-Fi at 2.4 GHz
- [ ] 5G at 28 GHz

::: right
Right. Lowest frequency, longest wavelength (300 m), largest antenna.
:::

::: misses
- [2] FM's wavelength is 3 m; AM's is a hundred times longer.
- [3] Wi-Fi's 12.5 cm wavelength needs a tiny antenna.
- [4] 28 GHz antennas are millimeters long.
:::
:::
:::
