---
title: The uncertainty principle
heading: Why a confined particle can't sit still
eyebrow: B10 · Lesson 3 · The uncertainty principle
xp: 40
---

::: hook
A wave function narrow in position is built from many wavelengths, and so has a spread of momenta; one with a single sharp momentum is a sine wave filling all of space. That trade-off is the **uncertainty principle**, $\sigma_x\sigma_p \ge \frac\hbar2$. It's the same mathematics as a signal's time–bandwidth product: a short pulse has a wide spectrum. In physics it has a striking consequence: a particle squeezed into a small space must have a large spread of momentum, and so a minimum kinetic energy. It's why electrons in a quantum well have a ground-state energy above the bottom, and why atoms don't collapse.
:::

::: play
- The solid curve is a Gaussian packet's position density, with width $\sigma_x$; the dashed one is its wavenumber density, with width $\sigma_k$ (same axis, read as k in nm⁻¹).
- Squeeze $\sigma_x$: the k-spread grows in exact proportion. For a Gaussian, $\sigma_x\sigma_k = \frac12$ always (readout), the smallest product allowed.
- Any other shape has a larger product: Gaussians are the minimum-uncertainty states, just as Gaussian pulses have the smallest time–bandwidth product.
:::
:::

```sim plot
view: graph
x: u = -6..6
y: y = 0..2
slider: s = 0.2..3 step 0.05 = 0.6 nm
plot: (2*pi*s^2)^(-0.5)*exp(-u^2/(2*s^2)) | label: position density (u in nm)
plot: (2*pi*(1/(2*s))^2)^(-0.5)*exp(-u^2/(2*(1/(2*s))^2)) | dashed | label: wavenumber density (u in nm⁻¹)
readout: σₓ, nm = s
readout: σₖ, per nm = 1/(2*s)
readout: σₓσₖ = 0.5
```

::: predict
## An electron is confined to a region with $\sigma_x$ = 0.1 nm. Roughly what's its minimum kinetic energy, $\frac{\sigma_p^2}{2m}$?

- [ ] 0.001 eV
- [ ] 0.1 eV
- [x] About 1 eV
- [ ] About 100 eV

::: reveal
$\sigma_k \ge \frac{1}{2\sigma_x} = 5$ nm⁻¹, so $\frac{\hbar^2\sigma_k^2}{2m} = 0.0381 \times 25 = 0.95$ eV. Confinement to atomic sizes costs electron-volts, the scale of chemistry and of band gaps.
:::
:::

::: nameit
## The principle

For any state,

$$\sigma_x\sigma_p \ge \frac\hbar2$$

with equality only for Gaussian packets. In wavenumber, $\sigma_x\sigma_k \ge \frac12$.

## Why: Fourier pairs

The momentum-space wave function is the Fourier transform of ψ(x): $\phi(k) = \frac{1}{\sqrt{2\pi}}\int\psi(x)e^{-ikx}dx$. A function and its Fourier transform can't both be narrow. A Gaussian of width $\sigma_x$ in x has a Gaussian of width $\frac{1}{2\sigma_x}$ in k.

## The signal-processing version

A pulse with RMS duration $\sigma_t$ has RMS bandwidth $\sigma_f \ge \frac{1}{4\pi\sigma_t}$. Same theorem, different variables: an oscilloscope's rise time and bandwidth, a radar pulse's length and its range resolution.

## Energy from confinement

A particle confined to $\sigma_x$ has $\langle p^2\rangle \ge \sigma_p^2 \ge \frac{\hbar^2}{4\sigma_x^2}$, so its kinetic energy is at least about $\frac{\hbar^2}{8m\sigma_x^2}$. Balancing that against an attraction sets the sizes of atoms: for hydrogen, minimizing $\frac{\hbar^2}{2mr^2} - \frac{e^2}{4\pi\varepsilon_0r}$ gives the Bohr radius $a_0 = 0.0529$ nm and −13.6 eV.

## Energy and time

A state that lasts a time τ has an energy spread of order $\hbar/\tau$: a level with a 1 ns lifetime is about $6.6 \times 10^{-7}$ eV wide. It's the origin of natural linewidths in lasers.
:::

::: example
## A quantum-well electron is confined to $\sigma_x$ = 2 nm. Estimate its minimum kinetic energy.

::: solution
1. **Wavenumber spread.**
   $$\begin{aligned} \sigma_k &= \frac{1}{2 \times 2} \\ &= 0.25\ \text{nm}^{-1} \end{aligned}$$
2. **Kinetic energy.**
   $$\begin{aligned} E &= \frac{\hbar^2\sigma_k^2}{2m} \\ &= 0.0381 \times 0.0625 \\ &= 2.4\ \text{meV} \end{aligned}$$
3. **In a GaAs well.** The effective mass is 0.067m, which multiplies that by 15: about 36 meV, the order of real well confinement energies.

**Answer:** at least about 2.4 meV for a free electron, and about 36 meV in a GaAs well.
:::
:::

::: example
## A laser transition's upper level lives 10 ns. How wide is the line in frequency?

::: solution
1. **Energy spread.**
   $$\Delta E \approx \frac{\hbar}{\tau}$$
2. **Frequency spread.**
   $$\begin{aligned} \Delta f &= \frac{1}{2\pi\tau} \\ &= 16\ \text{MHz} \end{aligned}$$
3. **Other broadening.** That's the natural linewidth; collisions and Doppler shifts usually broaden it further.

**Answer:** the natural linewidth is about 16 MHz.
:::
:::

::: example
## A laser pulse lasts 10 fs (as a standard deviation in time). What is the least spread of frequencies it can have, and what spread of wavelengths is that at 800 nm?

::: solution
1. **Least frequency spread.** For a Gaussian pulse $\sigma_t\sigma_\omega = \frac12$, so
   $$\begin{aligned} \sigma_f &= \frac{1}{4\pi\sigma_t} \\ &= \frac{1}{4\pi \times 10^{-14}} \\ &= 7.96\ \text{THz} \end{aligned}$$
2. **Compare with the light's frequency.** At 800 nm, 375 THz, that's 2.1% of the frequency, or 17 nm of wavelength.
3. **The same Fourier relation.** This is $\sigma_x\sigma_p \ge \frac\hbar2$ applied to time and frequency: an ultrafast laser can't be monochromatic, and the shortest pulses need the broadest gain media.

**Answer:** at least 7.96 THz, which is 17 nm of wavelength at 800 nm.
:::
:::

::: check
given: s = 0.1 | 0.5 | 2
answer: 1/(2*s)
unit: nm^-1
tolerance: 0.1%

## A Gaussian packet has $\sigma_x$ = {s} nm. What's its $\sigma_k$?

::: right
Right. $\frac{1}{2\sigma_x}$ = {answer} nm⁻¹: the minimum allowed.
:::

::: misses
- [1/s] For a Gaussian the product is ½, not 1.
- [any] Not yet. $\sigma_x\sigma_k = \frac12$.
:::
:::

::: check
given: s = 0.1 | 0.3 | 1
answer: 0.0381/(4*s^2)
unit: eV
tolerance: 0.5%

## An electron is confined to $\sigma_x$ = {s} nm. What's its minimum kinetic energy, $\frac{\hbar^2\sigma_k^2}{2m}$ with $\sigma_k = \frac{1}{2\sigma_x}$?

::: right
Right. $\frac{0.0381}{4\sigma_x^2}$ = {answer} eV.
:::

::: misses
- [0.0381/s^2] Use $\sigma_k = \frac{1}{2\sigma_x}$, which brings a factor ¼.
- [any] Not yet. $0.0381\sigma_k^2$ eV.
:::
:::

::: check
given: t = 1 | 10 | 100
answer: 1/(2*pi*t)*1000
unit: MHz
tolerance: 0.5%

## A level lives {t} ns. About how wide is its line, $\frac{1}{2\pi\tau}$?

::: right
Right. {answer} MHz.
:::

::: misses
- [1/t*1000] Divide by 2π: the energy width $\hbar/\tau$ is $h/(2\pi\tau)$.
- [any] Not yet. $\Delta f \approx \frac{1}{2\pi\tau}$.
:::
:::

::: check
given: t = 1 | 0.1 | 0.01
answer: 1/(4*pi*t)
unit: GHz
tolerance: 0.5%

## A pulse has RMS duration {t} ns. What's the smallest possible RMS bandwidth?

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

::: misses
- [1/(2*pi*t)] For RMS widths the bound has 4π.
- [any] Not yet. $\sigma_t\sigma_f \ge \frac{1}{4\pi}$.
:::
:::

::: check
given: Z = 2 | 3 | 4
answer: -13.6*Z^2
unit: eV
tolerance: 0.5%

## For a one-electron ion with nuclear charge Z = {Z}, minimizing $\frac{\hbar^2}{2mr^2} - \frac{Ze^2}{4\pi\varepsilon_0r}$ gives what ground energy?

::: right
Right. $-13.6Z^2$ eV = {answer} eV, at $r = a_0/Z$.
:::

::: misses
- [-13.6*Z] The energy scales as $Z^2$: the electron is both closer and more strongly attracted.
- [any] Not yet. The minimum is at $r = a_0/Z$.
:::
:::

::: check
kind: choice

## Which statement is true?

- [ ] The uncertainty principle comes from measuring instruments disturbing the particle
- [x] It's a property of the wave function itself: any ψ narrow in x is broad in k
- [ ] It only applies to electrons
- [ ] A clever enough measurement can beat it

::: misses
- [1] Disturbance is a separate effect; the spreads are there before any measurement.
- [3] It applies to anything described by a wave, including light and signals.
- [4] It follows from a theorem about Fourier transforms, so no instrument can get around it.
:::
:::

::: check
kind: parts
given: s = 0.5 | 2 | 10; m = 1 | 0.067

## A carrier of effective mass {m} times the free mass is confined to $\sigma_x$ = {s} nm.

::: part
answer: 1.0546e-34/(2*s*1e-9)
unit: kg·m/s
tolerance: 0.5%

### What is the least spread in its momentum?

::: misses
- [1.0546e-34/(s*1e-9)] The bound is $\frac\hbar2$, not ħ.
- [any] $\sigma_p \ge \frac{\hbar}{2\sigma_x}$.
:::
:::

::: part
answer: (1.0546e-34/(2*s*1e-9))^2/(2*m*9.109e-31)/1.602e-19*1000
unit: meV
tolerance: 0.5%

### What kinetic energy does that spread carry, at least?

::: misses
- [any] $\frac{\sigma_p^2}{2m}$.
:::
:::
:::

::: check
kind: derivation
vars: s = 0.000000000000001..0.000000001

## A Gaussian pulse lasts $\sigma_t$ (write s).

::: step
answer: 1/(2*s)

### What is the least spread of angular frequencies?
:::

::: step
answer: 1/(4*pi*s)

### And of ordinary frequencies?
:::

::: right
Right. $\sigma_t\sigma_\omega = \frac12$ for a Gaussian; any other shape spreads more.
:::
:::

::: explain
## Why does confining a particle give it a minimum energy, even at absolute zero?

::: model
Confining the particle to a small region makes its wave function narrow in position, and a narrow function is necessarily made of a wide range of wavenumbers, by the Fourier relationship behind the uncertainty principle. A wide spread of wavenumbers means a wide spread of momenta around zero, so the average of $p^2$ is large, and the kinetic energy $\langle p^2\rangle/2m$ is at least about $\frac{\hbar^2}{8m\sigma_x^2}$. No state of the confined particle can avoid it, so the lowest energy sits above the bottom of the well: the zero-point energy. Cooling removes thermal energy but not this.
:::
:::

::: practice

::: check
given: s = 0.05 | 0.1 | 0.5 | 1 | 2 | 4
answer: 1/(2*s)
unit: nm^-1
tolerance: 0.1%

## $\sigma_k$ for a Gaussian with $\sigma_x$ = {s} nm?

::: misses
- [any] $\frac{1}{2\sigma_x}$.
:::
:::

::: check
given: s = 0.1 | 0.2 | 0.5 | 1 | 2 | 5
answer: 0.0381/(4*s^2)
unit: eV
tolerance: 0.5%

## Minimum kinetic energy at $\sigma_x$ = {s} nm?

::: misses
- [any] $\frac{0.0381}{4\sigma_x^2}$ eV.
:::
:::

::: check
given: t = 1 | 3 | 10 | 16 | 26 | 100 | 300
answer: 1/(2*pi*t)*1000
unit: MHz
tolerance: 0.5%

## Natural linewidth for a {t} ns lifetime?

::: misses
- [any] $\frac{1}{2\pi\tau}$.
:::
:::
:::
