---
title: The wave function and the Born rule
heading: What the Schrödinger equation actually describes
eyebrow: B10 · Lesson 1 · The wave function and the Born rule
xp: 40
---

::: hook
B9 used quantum ideas to explain atoms, wells and bands. This course takes the theory itself seriously, because transistors are now small enough, and devices like tunnel diodes, quantum-well lasers, single-photon detectors and qubits exotic enough, that the pictures stop being enough. The starting point is a strange object: a complex-valued **wave function** ψ(x, t) that evolves smoothly by the Schrödinger equation, yet whose only connection to measurement is statistical. Its squared magnitude is a probability density for where the particle will be found: the **Born rule**.
:::

::: play
- The curves are a Gaussian wave packet: the real part of ψ (dashed), which oscillates at wavenumber $k_0$, and the probability density $\lvert\psi\rvert^2$ (solid), which doesn't.
- The readout is the probability of finding the particle between a and b: the area under $\lvert\psi\rvert^2$ there. Move a and b to cover ±σ around the center: 68%, as for any Gaussian.
- Change $k_0$: the oscillation speeds up, but $\lvert\psi\rvert^2$ is unchanged. The phase carries the momentum, which position measurements can't see.
:::
:::

```sim plot
view: graph
x: x = -3..3 nm
y: y = -1.2..1.2
slider: s = 0.2..1 step 0.05 = 0.5 nm
slider: k = 0..20 step 0.5 = 8 rad/nm
slider: a = -3..3 step 0.05 = -0.5 nm
slider: b = -3..3 step 0.05 = 0.5 nm
plot: (2*pi*s^2)^(-0.5)*exp(-x^2/(2*s^2)) | label: |ψ|², per nm
plot: (2*pi*s^2)^(-0.25)*exp(-x^2/(4*s^2))*cos(k*x) | dashed | label: Re ψ
marker: x = a | label: a
marker: x = b | label: b
readout: probability between a and b = 0.5*(erf(b/(sqrt(2)*s)) - erf(a/(sqrt(2)*s)))
```

::: predict
## An electron's wave function in a 1 nm well is $\sqrt{2}\sin(\pi x)$ (x in nm, 0 to 1). If you look for it, what's the chance of finding it in the middle third?

- [ ] Exactly one third
- [x] About 61%
- [ ] 100%
- [ ] It's always found in the middle

::: reveal
$\int_{1/3}^{2/3}2\sin^2(\pi x)\,dx = \frac13 + \frac{\sqrt3}{2\pi} = 0.609$. The probability density peaks in the middle, so the middle third gets more than its share; the outer thirds get 19.6% each. One measurement gives one place; the 61% is what repeated identical preparations show.
:::
:::

::: nameit
## The Schrödinger equation

For a particle of mass m in a potential V(x):

$$i\hbar\frac{\partial\psi}{\partial t} = -\frac{\hbar^2}{2m}\frac{\partial^2\psi}{\partial x^2} + V(x)\psi$$

It's linear, first order in time, and complex: the i means ψ is complex even for a real potential.

## The Born rule

$\lvert\psi(x, t)\rvert^2dx$ is the probability of finding the particle between x and x + dx at time t:

$$P(a < x < b) = \int_a^b\lvert\psi(x, t)\rvert^2dx, \qquad \int_{-\infty}^\infty\lvert\psi\rvert^2dx = 1$$

The Schrödinger equation preserves that normalization: probability flows (with a current $j = \frac{\hbar}{m}\text{Im}(\psi^*\psi')$) but never appears or vanishes.

## Measurement

A position measurement gives one definite result, with probabilities set by $\lvert\psi\rvert^2$. Immediately repeating it gives the same result: the measurement changes the state (the wave function "collapses" to a narrow spike there). What ψ means between measurements is a matter of interpretation; what it predicts about measurements is not, and it has never been wrong.

## Units for electrons

$\frac{\hbar^2}{2m_e} = 0.0381$ eV·nm², a number that turns nanometers into electron-volts throughout this course.
:::

::: example
## Normalize $\psi(x) = Ae^{-\lvert x\rvert/a}$.

::: solution
1. **Normalize.** Set the total probability to 1:
   $$\begin{aligned} 1 &= \int_{-\infty}^\infty A^2e^{-2\lvert x\rvert/a}dx \\ &= 2A^2\cdot\frac a2 \\ &= A^2a \end{aligned}$$
   so $A = \frac{1}{\sqrt a}$.
2. **Probability within a of the origin.**
   $$\begin{aligned} P &= \int_{-a}^a\frac1ae^{-2\lvert x\rvert/a}dx \\ &= 1 - e^{-2} \\ &= 0.865 \end{aligned}$$

**Answer:** $A = \frac{1}{\sqrt a}$, and the particle lies within a of the origin with probability 0.865.
:::
:::

::: example
## For the 1 nm well's ground state, what's the probability of finding the electron in the first quarter, 0 to 0.25 nm?

::: solution
1. **Integrate the density over the first quarter.**
   $$\begin{aligned} P &= \int_0^{1/4}2\sin^2(\pi x)\,dx \\ &= \frac14 - \frac{1}{2\pi}\sin\frac\pi2 \\ &= 0.25 - 0.159 \\ &= 0.091 \end{aligned}$$
2. **Compare with a quarter.** That's much less than a quarter, because ψ vanishes at the wall.

**Answer:** the probability is 0.091.
:::
:::

::: example
## A trial wave function in a box of width L is $\psi = Ax(L - x)$. Normalize it, find the chance of finding the particle in the middle half, and compare it with the true ground state.

::: solution
1. **Normalize.**
   $$\begin{aligned} 1 &= \int_0^LA^2x^2(L - x)^2dx \\ &= A^2\frac{L^5}{30} \end{aligned}$$
   so $A = \sqrt{30/L^5}$.
2. **The middle half.** With $u = x/L$,
   $$\begin{aligned} P &= 30\int_{1/4}^{3/4}u^2(1 - u)^2du \\ &= 0.793 \end{aligned}$$
3. **Overlap with the ground state.** The true ground state is $\sqrt{2/L}\sin\frac{\pi x}{L}$, and
   $$\begin{aligned} |\langle\psi_1|\psi\rangle|^2 &= \frac{960}{\pi^6} \\ &= 0.9986 \end{aligned}$$
4. **Compare.** The parabola is almost exactly the ground state, which is why it makes such a good guess in the variational method later on.

**Answer:** $A = \sqrt{30/L^5}$, the chance in the middle half is 0.793, and the overlap with the true ground state is 0.9986.
:::
:::

::: check
given: s = 0.5 | 1 | 2; a = -0.5 | 0; b = 1 | 2
answer: 0.5*(erf(b/(sqrt(2)*s)) - erf(a/(sqrt(2)*s)))
tolerance: 0.5%

## A Gaussian packet has $\lvert\psi\rvert^2$ centered at 0 with standard deviation σ = {s} nm. What's the probability of finding the particle between {a} and {b} nm?

::: right
Right. $\frac12\left[\text{erf}\frac{b}{\sqrt2\sigma} - \text{erf}\frac{a}{\sqrt2\sigma}\right]$ = {answer}.
:::

::: misses
- [any] Not yet. Integrate the Gaussian density between a and b.
:::
:::

::: check
given: a = 0.5 | 2 | 4
answer: 1/sqrt(a)
tolerance: 0.1%

## What normalizes $\psi = Ae^{-\lvert x\rvert/a}$ with a = {a} nm? (A in nm^−½.)

::: right
Right. $A = 1/\sqrt a$ = {answer}.
:::

::: misses
- [1/a] Normalize $\lvert\psi\rvert^2$, not ψ: $A^2a = 1$.
- [any] Not yet. $\int A^2e^{-2\lvert x\rvert/a}dx = A^2a$.
:::
:::

::: check
given: f = 0.25 | 0.1 | 0.4
answer: f - sin(2*pi*f)/(2*pi)
tolerance: 0.1%

## In the ground state $\sqrt2\sin(\pi x)$ of a well from 0 to 1, what's the probability of finding the particle between 0 and {f}?

::: right
Right. $f - \frac{\sin 2\pi f}{2\pi}$ = {answer}.
:::

::: misses
- [f] That would be a uniform density; this one vanishes at the walls.
- [any] Not yet. $\int_0^f2\sin^2(\pi x)\,dx$.
:::
:::

::: check
given: l = 1 | 4 | 0.25
answer: (2*l/pi)^0.25
tolerance: 0.1%

## What normalizes $\psi = Ae^{-\lambda x^2}$ with λ = {l} nm⁻²?

::: right
Right. $A = (2\lambda/\pi)^{1/4}$ = {answer} nm^−½.
:::

::: misses
- [(l/pi)^0.5] Square ψ first: $\int A^2e^{-2\lambda x^2}dx = A^2\sqrt{\pi/2\lambda}$.
- [any] Not yet. Use $\int e^{-cx^2}dx = \sqrt{\pi/c}$ with $c = 2\lambda$.
:::
:::

::: check
given: L = 2 | 5 | 10
answer: 0.0381/L^2
unit: eV
tolerance: 0.5%

## What's $\frac{\hbar^2}{2m_eL^2}$ for L = {L} nm, the natural energy scale for an electron confined to that size?

::: right
Right. $\frac{0.0381\text{ eV·nm}^2}{L^2}$ = {answer} eV.
:::

::: misses
- [0.0381/L] It goes as $1/L^2$.
- [any] Not yet. $\frac{\hbar^2}{2m_e} = 0.0381$ eV·nm².
:::
:::

::: check
kind: choice

## The same state is prepared many times, and each time its position is measured. What does $\lvert\psi\rvert^2$ predict?

- [ ] The exact position every time
- [x] The distribution of the results over many measurements
- [ ] The particle's size
- [ ] The charge density of a smeared-out electron

::: misses
- [1] Single results are random; only their statistics are predicted.
- [3] A point particle is found at one place each time.
- [4] Each measurement finds a whole electron at one place.
:::
:::

::: check
kind: parts
given: f = 0.1 | 0.25 | 0.4

## An electron is in the ground state of an infinite well of width L.

::: part
answer: f - sin(2*pi*f)/(2*pi)
tolerance: 0.5%

### What is the chance of finding it between 0 and {f}L?

::: misses
- [f] The density isn't uniform: it's $\frac2L\sin^2\frac{\pi x}{L}$.
- [any] $\int_0^{fL}\frac2L\sin^2\frac{\pi x}{L}dx = f - \frac{\sin 2\pi f}{2\pi}$.
:::
:::

::: part
answer: 1 - 2*(f - sin(2*pi*f)/(2*pi))
tolerance: 0.5%

### What is the chance of finding it between {f}L and (1 − {f})L?

::: misses
- [any] Subtract both ends, which are equal by symmetry.
:::
:::
:::

::: check
kind: derivation
vars: L = 0.5..5, x = 0..0.5

## An electron in the ground state of a well of width L (in nm), with position x a fraction of the way across (write x for that fraction).

::: step
answer: 2/L*sin(pi*x)^2

### What is the probability density there, per nm?
:::

::: step
answer: x - sin(2*pi*x)/(2*pi)

### What is the chance of finding it in the first fraction x of the well?
:::

::: right
Right. The density peaks in the middle, so the ends hold less than their share.
:::
:::

::: explain
## Why can't a position measurement reveal the phase of the wave function, and why does the phase still matter?

::: model
The Born rule uses only $\lvert\psi\rvert^2$, which is unchanged if ψ is multiplied by a phase $e^{i\theta(x)}$ that varies slowly, so a single snapshot of where the particle is found can't see the phase. But the phase governs how ψ evolves: a phase that varies as $e^{ikx}$ means momentum ħk, so the packet moves, and two parts of a wave function with different phases interfere when they overlap, adding or canceling in $\lvert\psi\rvert^2$ later on. The phase is invisible to one position measurement and decisive for every later one, which is why the wave function has to be complex.
:::
:::

::: practice

::: check
given: s = 0.3 | 1.5; a = -1 | 0.2; b = 0.5 | 3
answer: 0.5*(erf(b/(sqrt(2)*s)) - erf(a/(sqrt(2)*s)))
tolerance: 0.5%

## Probability between {a} and {b} nm, σ = {s} nm, centered at 0?

::: misses
- [any] Integrate the Gaussian.
:::
:::

::: check
given: f = 0.1 | 0.2 | 0.25 | 0.4 | 0.75 | 0.9
answer: f - sin(2*pi*f)/(2*pi)
tolerance: 0.1%

## Ground-state probability between 0 and {f} in a unit well?

::: misses
- [any] $f - \frac{\sin 2\pi f}{2\pi}$.
:::
:::

::: check
given: L = 0.5 | 1 | 2 | 5 | 10 | 20
answer: 0.0381/L^2
unit: eV
tolerance: 0.5%

## $\hbar^2/(2m_eL^2)$ for L = {L} nm?

::: misses
- [any] $0.0381/L^2$ eV.
:::
:::
:::
