---
title: Matter waves and the uncertainty principle
heading: Electrons diffract, and confinement costs energy
eyebrow: B9 · Lesson 2 · Matter waves
xp: 40
---

::: hook
In 1927 Davisson and Germer fired a beam of electrons at a nickel crystal and found them bouncing off in sharp, preferred directions, exactly like X-rays diffracting from the crystal's rows of atoms. Electrons are waves. Electron microscopes use that wave to image individual atoms, and the same wave nature explains why an electron squeezed into a small space must have a lot of energy, which sets the sizes of atoms and the energy levels of every quantum device in this course.
:::

::: play
- A wave packet: an electron of kinetic energy $E$ localized to within about σ. The wiggles are its de Broglie wave; the envelope says where it's likely to be.
- Raise the energy: the wavelength shrinks as $1/\sqrt E$.
- Squeeze σ. A shorter packet holds fewer wavelengths, so its wavelength, and its momentum, become less definite. The readout gives the minimum spread in momentum as a fraction of the momentum.
:::
:::

```sim plot
view: graph
x: x = -5..5 nm
y: psi = -1.1..1.1
slider: E = 1..100 = 10 eV log
slider: s = 0.1..2 step 0.05 = 1 nm
plot: cos(5.1226*sqrt(E)*x)*exp(-x^2/(4*s^2)) | label: wave | samples: 1200
plot: exp(-x^2/(4*s^2)) | label: envelope | dashed | color: ch2
readout: de Broglie wavelength, nm = 1.2265/sqrt(E) | digits: 3
readout: smallest momentum spread, % of momentum = 100/(2*s*5.1226*sqrt(E)) | digits: 3
```

::: predict
## An electron is accelerated through 54 V. What is its de Broglie wavelength?

- [ ] About 1 mm
- [ ] About 1 µm
- [x] About 0.17 nm, comparable to the spacing of atoms in a crystal
- [ ] About $10^{-15}$ m, the size of a nucleus

::: reveal
About 0.17 nm. Its momentum is $\sqrt{2meV}$, so $\lambda = \frac{h}{\sqrt{2meV}} = \frac{1.23\text{ nm}}{\sqrt{54}} = 0.167$ nm. That's the same scale as the spacing of atoms, which is why a crystal diffracts electrons the way a grating diffracts light (B8.11).
:::
:::

::: nameit
## The de Broglie wavelength

Every particle with momentum $p$ has a wavelength

$$\lambda = \frac{h}{p}$$

For an electron accelerated from rest through a voltage $V$ (slow compared with light), $p = \sqrt{2meV}$, so

$$\lambda = \frac{h}{\sqrt{2meV}} \approx \frac{1.226}{\sqrt{V}}\ \text{nm}$$

Everyday objects have absurdly small wavelengths ($10^{-34}$ m for a thrown ball), so their wave nature never shows. Electrons at tens of volts have wavelengths near 0.1 nm, and at 100 kV, a few picometers, which is why electron microscopes resolve atoms that light microscopes can't (B8.14). Above a few tens of kilovolts the formula needs a relativistic correction of a few percent.

## The uncertainty principle

A wave that's confined to a region of width Δx can't have a single wavelength: building a short packet takes a spread of wavelengths, the same trade-off as a short pulse needing a wide spectrum (A10). For matter waves:

$$\Delta x\,\Delta p \ge \frac{\hbar}{2} \qquad \hbar = \frac{h}{2\pi} = 1.055 \times 10^{-34}\ \text{J·s}$$

with Δx and Δp the standard deviations of position and momentum. The same relation in time and frequency says a state that lasts only τ has a spread in frequency of at least $\frac{1}{4\pi\tau}$.

## Confinement costs energy

An electron confined to a region Δx has momentum of at least about $\frac{\hbar}{2\Delta x}$, and so a kinetic energy of order $\frac{(\hbar/2\Delta x)^2}{2m}$. The smaller the box, the larger that energy: about 1 eV for an atom-sized 0.1 nm. That's why atoms don't collapse, why the levels of lesson 1 grow as $1/L^2$, and why shrinking a semiconductor structure to a few nanometers shifts its energy levels (lesson 8).
:::

::: example
## Davisson and Germer used 54 V electrons on nickel, whose surface atoms are 0.215 nm apart. At what angle should the first diffraction peak appear?

::: solution
1. **Electron wavelength.**
   $$\begin{aligned} \lambda &= \frac{1.226}{\sqrt{54}}\ \text{nm} \\ &= 0.167\ \text{nm} \end{aligned}$$
2. **Diffraction angle.** Treating the rows as a grating,
   $$\begin{aligned} \sin\theta &= \frac{\lambda}{d} \\ &= \frac{0.167}{0.215} \\ &= 0.776 \end{aligned}$$
   so θ = 50.9°.
3. **Compare with the experiment.** They measured a peak at 50°.

**Answer:** the first peak should appear at 50.9°, close to the 50° they measured.
:::
:::

::: example
## An electron is confined to 0.1 nm, the size of an atom. What is the least spread in its velocity, and roughly what kinetic energy goes with it?

::: solution
1. **Least velocity spread.**
   $$\begin{aligned} \Delta v &\ge \frac{\hbar}{2m\Delta x} \\ &= \frac{1.055 \times 10^{-34}}{2(9.109 \times 10^{-31})(10^{-10})} \\ &= 5.8 \times 10^5\ \text{m/s} \end{aligned}$$
2. **Kinetic energy.**
   $$\begin{aligned} \frac12m\Delta v^2 &= 1.5 \times 10^{-19}\ \text{J} \\ &\approx 1\ \text{eV} \end{aligned}$$
3. **Compare with atoms.** Atomic energies are indeed a few eV.

**Answer:** the velocity spreads by at least $5.8 \times 10^5$ m/s, which goes with a kinetic energy of about 1 eV.
:::
:::

::: example
## Neutrons in equilibrium with a reactor's moderator at 300 K have about kT of kinetic energy. What is their de Broglie wavelength?

::: solution
1. **Kinetic energy.**
   $$\begin{aligned} kT &= 0.0259\ \text{eV} \\ &= 4.14 \times 10^{-21}\ \text{J} \end{aligned}$$
2. **Momentum.**
   $$\begin{aligned} p^2 &= 2mE \\ &= 2(1.675 \times 10^{-27})(4.14 \times 10^{-21}) \\ &= 1.387 \times 10^{-47}\ \text{kg}^2\,\text{m}^2/\text{s}^2 \\ p &= 3.72 \times 10^{-24}\ \text{kg m/s} \end{aligned}$$
3. **de Broglie wavelength.**
   $$\begin{aligned} \lambda &= \frac hp \\ &= \frac{6.626 \times 10^{-34}}{3.72 \times 10^{-24}}\ \text{m} \\ &= 0.178\ \text{nm} \end{aligned}$$
4. **Compare with crystals.** That's comparable to the spacing of atoms in a crystal, so these thermal neutrons diffract from crystals the way X-rays do.
5. **What neutrons see.** Neutron diffraction sees light atoms like hydrogen and magnetic order, which X-rays miss.

**Answer:** about 0.178 nm, comparable to the spacing of atoms in a crystal.
:::
:::

::: check
given: V = 10 | 54 | 150 | 1000
answer: 6.626e-34/sqrt(2*9.109e-31*1.602e-19*V)*1e9
unit: nm
tolerance: 0.5%

## What is the de Broglie wavelength of an electron accelerated through {V} V?

::: right
Right. $\frac{h}{\sqrt{2meV}}$ = {answer}.
:::

::: misses
- [6.626e-34/(9.109e-31*1.602e-19*V)*1e9] The momentum is $\sqrt{2meV}$.
- [any] Not yet. Find $p = \sqrt{2meV}$, then $\lambda = h/p$.
:::
:::

::: check
given: m = 1.675e-27 | 6.646e-27; v = 500 | 2200
answer: 6.626e-34/(m*v)*1e9
unit: nm
tolerance: 0.5%

## A particle of mass {m} kg moves at {v} m/s. What is its de Broglie wavelength?

::: right
Right. $\frac{h}{mv}$ = {answer}.
:::

::: misses
- [any] Not yet. $\lambda = h/(mv)$.
:::
:::

::: check
given: dx = 0.1 | 1 | 10
answer: 1.0546e-34/(2*9.109e-31*dx*1e-9)/1000
unit: km/s
tolerance: 0.5%

## An electron is confined to within {dx} nm. What is the least spread in its velocity?

::: right
Right. $\frac{\hbar}{2m\Delta x}$ = {answer}.
:::

::: misses
- [6.626e-34/(2*9.109e-31*dx*1e-9)/1000] Use $\hbar = h/2\pi$.
- [1.0546e-34/(9.109e-31*dx*1e-9)/1000] The bound is $\hbar/2$.
- [any] Not yet. $\Delta p \ge \hbar/2\Delta x$, and $\Delta v = \Delta p/m$.
:::
:::

::: check
given: dx = 0.1 | 0.5 | 2
answer: (1.0546e-34/(2*dx*1e-9))^2/(2*9.109e-31)/1.602e-19*1000
unit: meV
tolerance: 0.5%

## Roughly what kinetic energy goes with confining an electron to {dx} nm, using $p = \hbar/2\Delta x$?

::: right
Right. $\frac{(\hbar/2\Delta x)^2}{2m}$ = {answer}.
:::

::: misses
- [any] Not yet. Find $p$, then $p^2/2m$ in meV.
:::
:::

::: check
given: tau = 1 | 10 | 100
answer: 1/(4*pi*tau*1e-9)/1e6
unit: MHz
tolerance: 0.5%

## An excited state lasts {tau} ns. What is the least spread in the frequency of the light it emits?

::: right
Right. $\frac{1}{4\pi\tau}$ = {answer}.
:::

::: misses
- [1/(tau*1e-9)/1e6] The bound is $1/4\pi\tau$.
- [any] Not yet. $\Delta f\,\Delta t \ge 1/4\pi$.
:::
:::

::: check
given: V = 50 | 100 | 200; d = 0.2 | 0.3
answer: asin(1.2265/sqrt(V)/d)*180/pi
unit: °
tolerance: 0.5%

## Electrons accelerated through {V} V scatter from rows of atoms {d} nm apart. At what angle is the first diffraction peak?

::: right
Right. $\sin\theta = \lambda/d$ = {answer}.
:::

::: misses
- [any] Not yet. Find λ, then treat the rows as a grating.
:::
:::

::: check
kind: parts
given: V = 10 | 54 | 1000

## An electron is accelerated from rest through {V} V.

::: part
answer: 1.226/sqrt(V)
unit: nm
tolerance: 0.5%

### What is its de Broglie wavelength?

::: misses
- [1.226/V] The wavelength goes as $\frac{1}{\sqrt V}$.
- [any] $\lambda = \frac{h}{\sqrt{2meV}}$.
:::
:::

::: part
answer: sqrt(2*9.109e-31*1.602e-19*V)
unit: kg·m/s
tolerance: 0.5%

### What is its momentum?

::: misses
- [any] $p = \sqrt{2meV}$.
:::
:::
:::

::: check
kind: derivation
vars: m = 0.000000000000000000000000000001..0.000000000000000000000000002, E = 0.000000000000000000001..0.0000000000000000001, x = 0.0000000001..0.00000001

## A particle of mass m with kinetic energy E, or confined to a region of size Δx (write x).

::: step
answer: 6.626e-34/sqrt(2*m*E)

### What is its de Broglie wavelength?
:::

::: step
answer: 1.0546e-34/(2*x)

### What is the smallest spread in momentum confinement allows?
:::

::: right
Right. Heavier or faster particles have shorter wavelengths; tighter confinement forces a larger spread of momentum.
:::
:::

::: explain
## Why can't an electron sit perfectly still at the bottom of an atom, the way a marble rests at the bottom of a bowl?

::: model
Sitting still at one spot would mean having both a definite position and zero momentum. For a wave that's impossible: a wave squeezed into a small region must contain a spread of wavelengths, and so a spread of momenta. The tighter the electron is confined near the nucleus, the larger that momentum spread and the more kinetic energy it carries. The atom settles at the size where pulling the electron closer would cost more kinetic energy than it gains in electrical energy, about 0.1 nm, with a few eV of kinetic energy that can never be removed.
:::
:::

::: practice

::: check
given: V = 1 | 100 | 10000
answer: 1.2265/sqrt(V)
unit: nm
tolerance: 0.5%

## Using $\lambda \approx 1.226/\sqrt V$ nm, what is the wavelength of an electron accelerated through {V} V?

::: misses
- [any] $1.226/\sqrt V$.
:::
:::

::: check
given: p = 1..20 int
answer: 6.626e-34/(p*1e-24)*1e9
unit: nm
tolerance: 0.5%

## A particle's momentum is {p} × 10⁻²⁴ kg·m/s. What is its wavelength?

::: misses
- [any] $h/p$.
:::
:::

::: check
given: dx = 0.1 | 0.5 | 1 | 2 | 5 | 10
answer: 1.0546e-34/(2*dx*1e-9)
unit: kg·m/s
tolerance: 0.5%

## What is the least momentum spread for a particle confined to {dx} nm?

::: misses
- [any] $\hbar/2\Delta x$.
:::
:::
:::
