---
title: "Light as photons: E = hf"
heading: Light arrives in packets, and their size depends on color
eyebrow: B8 · Lesson 21 · Light as photons
xp: 40
---

::: hook
Shine dim ultraviolet light on a clean zinc plate and electrons fly off at once. Shine bright red light, a thousand times more intense, and none come off at all, however long you wait. No wave picture explains that. Einstein's 1905 answer won him his Nobel prize: light is absorbed in packets, photons, each with an energy set only by its frequency. Below a threshold, no single photon has enough to free an electron. Every LED, solar cell and camera sensor works by this rule.

::: play
- Light of frequency $f$ hits a metal whose electrons need at least the **work function** $W$ to escape. The line shows the maximum kinetic energy of the escaping electrons.
- Below what frequency do no electrons escape? Change the metal (W).
- The slope of the line is Planck's constant. Does it change with the metal?
:::
:::

```sim plot
view: graph
x: f = 0..2000 THz
y: K = -1..5 eV
slider: W = 2..5 step 0.1 = 4.3 eV
slider: fx = 100..2000 step 10 = 1200 THz
plot: (4.136e-15*f*1e12 - W)*step(4.136e-15*f*1e12 - W) | label: max kinetic energy
point: fx, (4.136e-15*fx*1e12 - W)*step(4.136e-15*fx*1e12 - W)
marker: x = W/4.136e-15/1e12 | label: threshold
readout: photon energy = 4.136e-15*fx*1e12 eV
readout: threshold wavelength = 1240/W nm
```

::: predict
## Red light (1.8 eV photons) shines on a metal with a work function of 4.3 eV. You make the light 1000 times brighter. What happens?

- [ ] Electrons start escaping
- [ ] Electrons escape faster
- [x] Still no electrons escape
- [ ] The metal melts at once

::: reveal
Still none. Each electron absorbs one photon at a time, and a 1.8 eV photon can never give 4.3 eV. Brighter light means more photons, each with the same energy. Above the threshold, brightness sets *how many* electrons escape and frequency sets *how fast* they go. That's the photoelectric effect, and it's exactly why a silicon solar cell does nothing with infrared light past about 1.1 µm.
:::
:::

::: nameit
## Photons

**Energy per photon.** Light of frequency $f$ is absorbed and emitted in quanta of energy

$$E = hf = \frac{hc}{\lambda} \qquad h = 6.626 \times 10^{-34}\text{ J·s}$$

Handy: $E[\text{eV}] \approx 1240/\lambda[\text{nm}]$. Red light is about 1.8 eV, blue about 2.7 eV.

**The photoelectric effect.** An electron absorbs one photon and escapes the metal if $hf$ exceeds the work function $W$; it leaves with kinetic energy up to

$$K_\text{max} = hf - W$$

The threshold frequency is $W/h$, independent of brightness.

**Counting photons.** A beam of power $P$ carries $P/(hf)$ photons per second. A 1 mW red laser pointer sends out about $3 \times 10^{15}$ per second, so many that the graininess is invisible; at the single-photon level, detectors click one photon at a time.

**Semiconductors.** In a semiconductor the relevant energy is the **band gap** $E_g$ (course B9). Photons with $hf > E_g$ can free an electron to conduct; that's how photodiodes, camera sensors and solar cells work, and why silicon ($E_g = 1.12$ eV) responds to light shorter than about 1100 nm. Run backward, electrons falling across the gap emit photons of energy about $E_g$: an **LED**'s color is set by its band gap. Red LEDs use gaps near 1.9 eV; blue ones, gallium nitride at about 2.7 eV.

**Wave or particle?** Both. Light spreads and interferes as a wave (lessons 7 and 10) but is absorbed and emitted as photons. Which aspect you see depends on the experiment. The same holds for electrons, the starting point for course B9.
:::

::: example
## A 5 mW green laser pointer emits at 532 nm. What energy does each photon carry, and how many leave per second?

::: solution
1. **Photon energy.**
   $$\begin{aligned} E &= \frac{1239.8}{532}\ \text{eV} \\ &= 2.33\ \text{eV} \\ &= 3.73 \times 10^{-19}\ \text{J} \end{aligned}$$
2. **Photons per second.**
   $$\begin{aligned} \frac{P}{E} &= \frac{5 \times 10^{-3}}{3.73 \times 10^{-19}} \\ &= 1.3 \times 10^{16}\ \text{s}^{-1} \end{aligned}$$

**Answer:** each photon carries 2.33 eV ($3.73 \times 10^{-19}$ J), and $1.3 \times 10^{16}$ leave per second.
:::
:::

::: example
## Ultraviolet light at 254 nm falls on zinc, with a work function of 4.3 eV. How fast are the fastest electrons, as an energy, and what voltage stops them?

::: solution
1. **Photon energy.**
   $$\begin{aligned} E &= \frac{1239.8}{254}\ \text{eV} \\ &= 4.88\ \text{eV} \end{aligned}$$
2. **Fastest electrons.**
   $$\begin{aligned} K_\text{max} &= 4.88 - 4.3 \\ &= 0.58\ \text{eV} \end{aligned}$$
3. **Stopping voltage.** It takes 0.58 V to stop them.
4. **Visible light.** Visible light, under 3.3 eV, frees no electrons from zinc at any brightness.

**Answer:** the fastest electrons carry 0.58 eV, and 0.58 V stops them.
:::
:::

::: example
## A 1 W laser at 1064 nm is fully absorbed by a target. How many photons arrive per second, and what force do they exert?

::: solution
1. **Photon energy.**
   $$\begin{aligned} E &= \frac{hc}{\lambda} \\ &= 1.87 \times 10^{-19}\ \text{J} \end{aligned}$$
2. **Photons per second.** So 1 W is $5.35 \times 10^{18}$ photons per second.
3. **Force.** Each photon also carries momentum $\frac{h}{\lambda}$, so the force is
   $$\begin{aligned} F &= \frac{P}{c} \\ &= 3.3\ \text{nN} \end{aligned}$$
4. **How big that is.** That's tiny, comparable to the weight of a third of a microgram, but optical tweezers use it to hold and move living cells, and a perfectly reflecting target feels twice as much.

**Answer:** $5.35 \times 10^{18}$ photons arrive per second, pushing with a force of 3.3 nN.
:::
:::

::: check
given: lam = 450 | 532 | 650 | 940
answer: 1240/lam
unit: eV
tolerance: 1%

## What is the energy of a {lam} nm photon?

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

::: misses
- [lam/1240] It's 1240 divided by the wavelength in nm.
- [any] Not yet. $E = hc/\lambda$.
:::
:::

::: check
given: W = 2.3 | 4.3 | 5.1; lam = 200 | 250
answer: 1240/lam - W
unit: eV
tolerance: 1%

## Light of {lam} nm hits a metal with a work function of {W} eV. What is the maximum kinetic energy of the electrons it frees?

::: right
Right. $hf - W$ = {answer}.
:::

::: misses
- [1240/lam] Subtract the work function.
- [1240/lam + W] The electron spends W getting out.
- [any] Not yet. $K_\text{max} = hf - W$.
:::
:::

::: check
given: W = 2.3 | 4.3 | 5.1
answer: 1240/W
unit: nm
tolerance: 1%

## What is the longest wavelength that can free electrons from a metal with a {W} eV work function?

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

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

::: check
given: P = 1 | 5 | 100; lam = 532 | 650
answer: P*1e-3/(6.626e-34*3e8/(lam*1e-9))
tolerance: 1%

## A {P} mW laser emits at {lam} nm. How many photons per second is that?

::: right
Right. $P/(hc/\lambda)$ = {answer}.
:::

::: misses
- [P/(6.626e-34*3e8/(lam*1e-9))] Convert milliwatts to watts.
- [any] Not yet. Photons per second $= P/(hf)$.
:::
:::

::: check
given: Eg = 1.12 | 1.42 | 1.9 | 2.7
answer: 1240/Eg
unit: nm
tolerance: 1%

## An LED's photons have about the band-gap energy. What wavelength does a {Eg} eV gap emit?

::: right
Right. $1240/E_g$ = {answer}.
:::

::: misses
- [Eg*1240] It's 1240 divided by the energy.
- [any] Not yet. $\lambda = 1240/E$.
:::
:::

::: check
kind: parts
given: l = 405 | 650 | 1550; P = 1 | 5

## A {P} mW laser emits at {l} nm.

::: part
answer: 1239.84/l
unit: eV
tolerance: 0.5%

### What energy does each photon carry?

::: misses
- [any] $E = \frac{hc}{\lambda}$, or 1239.8 eV·nm over λ.
:::
:::

::: part
answer: P*1e-3*l*1e-9/(6.626e-34*3e8)
tolerance: 0.5%

### How many photons does it emit each second?

::: misses
- [any] Power over the energy per photon.
:::
:::
:::

::: check
kind: derivation
vars: l = 0.0000002..0.000002, P = 0.001..10

## A laser of power P at wavelength λ (write l).

::: step
answer: 6.626e-34*3e8/l

### What energy does each photon carry, in joules?
:::

::: step
answer: P/3e8

### What force does the beam exert when fully absorbed?
:::

::: right
Right. The force is the momentum flow, $\frac Pc$, whatever the wavelength.
:::
:::

::: explain
## Why does making light brighter not let it free electrons from a metal if its frequency is below the threshold?

::: model
Light gives up its energy in single photons, each carrying $hf$, and an electron absorbs one at a time. If one photon's energy is less than the work function, it can't free an electron, and the electron can't save up energy from several photons in practice. Making the light brighter sends more photons per second but doesn't make any of them more energetic, so below the threshold frequency no electrons escape at any brightness.
:::
:::

::: practice

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

## What wavelength has {E} eV photons?

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

::: check
given: f = 400 | 600 | 1000
answer: 4.136e-15*f*1e12
unit: eV
tolerance: 0.5%

## What is the energy of a {f} THz photon?

::: misses
- [any] $E = hf$ with $h = 4.136 \times 10^{-15}$ eV·s.
:::
:::

::: check
kind: choice

## Why doesn't a silicon solar cell use light beyond about 1100 nm?

- [ ] Silicon reflects it
- [x] Those photons carry less than silicon's 1.12 eV band gap, so they can't free an electron
- [ ] The sun doesn't emit it
- [ ] It's too bright

::: right
Right. Below the band-gap energy, photons pass through without generating current.
:::

::: misses
- [1] It passes through rather than reflecting.
- [3] The sun emits plenty of infrared.
- [4] It's about photon energy, not brightness.
:::
:::
:::
