---
title: Normalization, expectation values and momentum
heading: Averages of measurements, and the operator that measures momentum
eyebrow: B10 · Lesson 2 · Normalization, expectation values and momentum
xp: 40
---

::: hook
A single measurement of a quantum particle's position is random, but the average over many identically prepared particles isn't, and it moves the way Newton would expect. That average is the **expectation value**, and computing it for position is just a weighted average with $\lvert\psi\rvert^2$. Momentum is subtler: there's no "momentum density" to average. Instead, momentum is carried by how fast the phase of ψ winds, and it's extracted by an **operator**, $-i\hbar\frac{\partial}{\partial x}$. This lesson sets up that machinery, which every later calculation uses.
:::

::: play
- A Gaussian packet of electrons starts at x = 0 with width $\sigma_0$ and mean wavenumber $k_0$. Advance the time (in femtoseconds).
- Its center moves at $\frac{\hbar k_0}{m} = 0.1158\,k_0$ nm/fs, exactly like a classical particle with momentum $\hbar k_0$: the expectation values follow Newton.
- The packet also spreads, faster for a narrow start: the width grows to $\sigma_0\sqrt{1 + (\hbar t/2m\sigma_0^2)^2}$. Lesson 10 explains why.
:::
:::

```sim plot
view: graph
x: x = -3..15 nm
y: y = 0..1
slider: t = 0..20 step 0.2 = 4 fs
slider: k = 0..10 step 0.5 = 5 rad/nm
slider: s = 0.3..1.5 step 0.05 = 0.6 nm
plot: (2*pi*(s*sqrt(1 + (0.05788*t/s^2)^2))^2)^(-0.5)*exp(-(x - 0.11577*k*t)^2/(2*(s*sqrt(1 + (0.05788*t/s^2)^2))^2)) | samples: 800 | label: |ψ|², per nm
readout: ⟨x⟩, nm = 0.11577*k*t
readout: ⟨p⟩/ħ, per nm = k
readout: width now, nm = s*sqrt(1 + (0.05788*t/s^2)^2)
```

::: predict
## An electron packet has mean wavenumber $k_0$ = 10 nm⁻¹. How fast does its center move?

- [ ] 0.12 nm/fs
- [x] 1.16 nm/fs (about $1.2 \times 10^6$ m/s)
- [ ] 10 nm/fs
- [ ] It doesn't move; only the phase does

::: reveal
$\frac{\hbar k_0}{m} = 0.1158 \times 10 = 1.16$ nm/fs, 1.16 × 10⁶ m/s. That's the classical speed of an electron with momentum $\hbar k_0$ and kinetic energy $\frac{\hbar^2k_0^2}{2m} = 3.8$ eV.
:::
:::

::: nameit
## Expectation values

For a normalized ψ, the average of many position measurements is

$$\langle x\rangle = \int x\lvert\psi\rvert^2dx, \qquad \langle x^2\rangle = \int x^2\lvert\psi\rvert^2dx, \qquad \sigma_x^2 = \langle x^2\rangle - \langle x\rangle^2$$

## Momentum

Momentum is represented by the operator $\hat p = -i\hbar\frac{\partial}{\partial x}$:

$$\langle p\rangle = \int\psi^*\left(-i\hbar\frac{\partial\psi}{\partial x}\right)dx, \qquad \langle T\rangle = \frac{\langle p^2\rangle}{2m} = -\frac{\hbar^2}{2m}\int\psi^*\psi''\,dx$$

For $\psi = f(x)e^{ik_0x}$ with real f, $\langle p\rangle = \hbar k_0$: the momentum lives in the winding of the phase. A real wave function, like any standing wave, has $\langle p\rangle = 0$.

## Ehrenfest's theorem

$$\frac{d\langle x\rangle}{dt} = \frac{\langle p\rangle}{m}, \qquad \frac{d\langle p\rangle}{dt} = -\left\langle\frac{dV}{dx}\right\rangle$$

Expectation values obey Newton's laws when the force varies little across the packet, which is why classical mechanics works for big things.

## Units

For electrons, $\frac{\hbar}{m_e} = 0.1158$ nm²/fs and $\frac{\hbar^2}{2m_e} = 0.0381$ eV·nm².
:::

::: example
## A probability density is $\lvert\psi\rvert^2 = 2x$ on [0, 1] (zero elsewhere). Find $\langle x\rangle$ and $\sigma_x$.

::: solution
1. **Mean.**
   $$\begin{aligned} \langle x\rangle &= \int_0^12x^2dx \\ &= \frac23 \end{aligned}$$
2. **Mean square.**
   $$\begin{aligned} \langle x^2\rangle &= \int_0^12x^3dx \\ &= \frac12 \end{aligned}$$
3. **Spread.**
   $$\begin{aligned} \sigma_x^2 &= \frac12 - \frac49 \\ &= \frac{1}{18} \end{aligned}$$
   so $\sigma_x = 0.236$.

**Answer:** $\langle x\rangle = \frac23$ and $\sigma_x = 0.236$.
:::
:::

::: example
## How wide is an electron packet 10 fs after starting with σ = 0.5 nm?

::: solution
1. **Spreading factor.**
   $$\begin{aligned} \frac{\hbar t}{2m\sigma_0^2} &= \frac{0.0579 \times 10}{0.25} \\ &= 2.32 \end{aligned}$$
2. **Width.**
   $$\begin{aligned} \sigma &= 0.5\sqrt{1 + 2.32^2} \\ &= 1.26\ \text{nm} \end{aligned}$$
3. **Compare.** A packet confined to half a nanometer spreads to more than twice its size in 10 fs.

**Answer:** the packet is 1.26 nm wide after 10 fs.
:::
:::

::: example
## An electron packet sits in a uniform field of 1 V/µm. By Ehrenfest's theorem, how fast is its center moving after 1 ps, and how far has it gone?

::: solution
1. **Force on the center.** The force $eE$ is uniform, so exactly
   $$\frac{d\langle p\rangle}{dt} = eE$$
2. **Acceleration.**
   $$\begin{aligned} a &= \frac{eE}{m} \\ &= \frac{1.602 \times 10^{-19} \times 10^6}{9.109 \times 10^{-31}} \\ &= 1.76 \times 10^{17}\ \text{m/s}^2 \end{aligned}$$
3. **After 1 ps.** It moves at 176 km/s and has covered 88 nm.
4. **Why the center follows Newton.** For a uniform force, Ehrenfest's theorem makes the packet's center follow Newton exactly, whatever its shape; that's why classical drift works so well for electrons in devices. Only forces that vary across the packet make the center's motion differ from a classical particle's.

**Answer:** after 1 ps the center moves at 176 km/s and has gone 88 nm.
:::
:::

::: check
given: n = 1 | 2 | 3
answer: (n + 1)/(n + 2)
tolerance: 0.1%

## A density is $\lvert\psi\rvert^2 = (n + 1)x^n$ on [0, 1] with n = {n}. What's $\langle x\rangle$?

::: right
Right. $\int_0^1(n + 1)x^{n+1}dx = \frac{n + 1}{n + 2}$ = {answer}.
:::

::: misses
- [1/2] That's for a uniform density; this one is weighted toward 1.
- [any] Not yet. $\int x\lvert\psi\rvert^2dx$.
:::
:::

::: check
given: k = 2 | 10 | 25
answer: 0.11577*k
unit: nm/fs
tolerance: 0.5%

## A packet of electrons has mean wavenumber {k} nm⁻¹. How fast does ⟨x⟩ move?

::: right
Right. $\frac{\hbar k}{m}$ = {answer} nm/fs.
:::

::: misses
- [0.05788*k] That's $\frac{\hbar k}{2m}$, the phase velocity; the packet moves at twice that.
- [any] Not yet. $\langle p\rangle/m$ with $\langle p\rangle = \hbar k$.
:::
:::

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

## What's the kinetic energy $\frac{\hbar^2k^2}{2m_e}$ of an electron with k = {k} nm⁻¹?

::: right
Right. {answer} eV.
:::

::: misses
- [0.0381*k] It goes as $k^2$.
- [any] Not yet. $0.0381k^2$ eV with k in nm⁻¹.
:::
:::

::: check
given: s = 0.3 | 0.5 | 1; t = 5 | 20
answer: s*sqrt(1 + (0.05788*t/s^2)^2)
unit: nm
tolerance: 0.5%

## An electron packet starts with width σ = {s} nm. How wide is it after {t} fs?

::: right
Right. $\sigma_0\sqrt{1 + (\hbar t/2m\sigma_0^2)^2}$ = {answer} nm.
:::

::: misses
- [s] It spreads; it doesn't keep its width.
- [any] Not yet. $\frac{\hbar}{2m} = 0.0579$ nm²/fs.
:::
:::

::: check
given: n = 1 | 2 | 4
answer: sqrt((n + 1)/(n + 3) - ((n + 1)/(n + 2))^2)
tolerance: 0.1%

## For the density $(n + 1)x^n$ on [0, 1], n = {n}, what's $\sigma_x$?

::: right
Right. $\sqrt{\langle x^2\rangle - \langle x\rangle^2}$ = {answer}.
:::

::: misses
- [any] Not yet. $\langle x^2\rangle = \frac{n + 1}{n + 3}$.
:::
:::

::: check
kind: choice

## The ground state of an infinite well is real, $\sqrt{2/a}\sin(\pi x/a)$. What's ⟨p⟩?

- [x] 0
- [ ] $\hbar\pi/a$
- [ ] $-\hbar\pi/a$
- [ ] Undefined

::: misses
- [2] That's the size of each of its two momentum components; they're equal and opposite, so the average is 0.
- [3] Same size, but the average over both directions is 0.
- [4] It's well defined: a real, normalizable ψ always has ⟨p⟩ = 0.
:::
:::

::: check
kind: parts
given: E = 0.1 | 1 | 10; t = 0.1 | 1

## An electron packet sits in a uniform field of {E} V/µm.

::: part
answer: 1.602e-19*E*1e6/9.109e-31*t*1e-12/1000
unit: km/s
tolerance: 0.5%

### How fast is its center moving after {t} ps, from rest?

::: misses
- [any] $\frac{d\langle p\rangle}{dt} = eE$.
:::
:::

::: part
answer: 0.5*1.602e-19*E*1e6/9.109e-31*(t*1e-12)^2*1e9
unit: nm
tolerance: 0.5%

### How far has its center gone?

::: misses
- [any] $\frac12at^2$.
:::
:::
:::

::: check
kind: derivation
vars: m = 0.00000000000000000000000000000005..0.000000000000000000000000000001, k = 1000000..100000000000

## A packet of mass m with mean wavenumber k.

::: step
answer: 1.0546e-34*k/m

### How fast does its center move?
:::

::: step
answer: (1.0546e-34*k)^2/(2*m)

### What is its mean kinetic energy, ignoring the spread?
:::

::: right
Right. $\langle p\rangle = \hbar k$, and the packet's center moves at $\frac{\langle p\rangle}{m}$.
:::
:::

::: explain
## Why is momentum represented by a derivative, $-i\hbar\frac{\partial}{\partial x}$?

::: model
A wave $e^{ikx}$ has wavelength $2\pi/k$, and de Broglie's relation gives it momentum ħk. Differentiating it brings down exactly that factor: $-i\hbar\frac{\partial}{\partial x}e^{ikx} = \hbar k\,e^{ikx}$. So the derivative operator reads off the momentum of a pure wave, and for a general ψ, which is a mixture of such waves, $\int\psi^*\hat p\psi$ averages ħk over the mixture with the right weights. Momentum isn't located at a point; it's in how fast the phase winds, and a derivative is what measures winding.
:::
:::

::: practice

::: check
given: n = 1..12 int
answer: (n + 1)/(n + 2)
tolerance: 0.1%

## ⟨x⟩ for $(n + 1)x^n$ on [0, 1], n = {n}?

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

::: check
given: k = 1 | 4 | 10 | 20 | 40 | 100
answer: 0.11577*k
unit: nm/fs
tolerance: 0.5%

## Packet speed for k = {k} nm⁻¹?

::: misses
- [any] $0.1158k$ nm/fs.
:::
:::

::: check
given: k = 1..15 int
answer: 0.0381*k^2
unit: eV
tolerance: 0.5%

## Kinetic energy for k = {k} nm⁻¹?

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