3.11
Rewriting earlier chapters in Dirac notation
Time to settle the accounts. Redo the derivations that consumed so many pages of chapter 2 in the new language, and see exactly how much was saved.
Recommended first
After this section you should be able to
- Recast the infinite square well results in the language of matrices and state vectors
- Solve the harmonic oscillator completely from the ladder-operator algebra, without solving a single differential equation
- Redo the uncertainty principle and the Ehrenfest theorem by operator methods
The toolkit is complete. This section settles the accounts: translate every result of chapter 2 into the new language, then tally up what was saved.
This is not revision. Some proofs will shrink from half a page to three lines; others will turn from “solve a partial differential equation” into “do some algebra” — and the second kind is the real prize.
The infinite square well, written as matrices
The picture
Chapter 2’s version
The mathematics
The new version
The wavefunctions are just components: .
In the energy basis, is a diagonal matrix:
Time evolution: three linesbasic~3 min
Done. The third equality is section 3.4’s rule "".
Where does the sloshing of the probability density come from?
Expand, and the cross terms carry a factor . In the terms the phases cancel (nothing changes with time); the terms oscillate at the Bohr frequencies .
Section 2.5 spent a whole section on “stationary states sit still, superpositions slosh”. Here it is two lines — and you can read off at a glance that the sloshing frequency is set entirely by the level spacing.
The infinite square well
Drag the width L and the quantum number n and watch the energy, the waveform and the probability distribution move together. Units: ħ = m = 1.
- Energy Eₙ (n=1)
- 4.935
- relative to E₁(L=1)
- 1.00 ×
- ⟨x⟩ / L
- 0.500
- Δx / L
- 0.180
Shrink the box and every level is pushed up together: E ∝ 1/L²
nodes = n − 1 = 0 (endpoints excluded)
Try this
- Drag
Lfrom 2.5 down to 0.6 and keep your eye on the dashed line in the level diagram (pinned at the reference energy E₁(L=1)): it sinks all the way to the bottom, meaning every level has risen far above it. The "relative to E₁(L=1)" readout climbs from 0.16 to 2.78 — "the tighter you confine a particle, the more kinetic energy it has", a direct consequence ofΔxΔp ≥ ħ/2. - Change
nin the stationary mode and note that|ψ|²never changes with time (the curve stands still); switch to a superposition, press play, and|ψ|²immediately starts sloshing. That is exactly what "stationary" refers to. - Leave only c₁ in the superposition (drag the rest to 0) and press play — the probability density stops moving again. However long a single eigenstate evolves, it only picks up an overall phase
e^(−iEₙt/ħ), which no observable can see. - Push n above 10 and look at
|ψ|²: the fringes get so fine that the distribution is nearly uniform — the classical picture of a particle equally likely to be anywhere in the box. The correspondence principle, in view.
The harmonic oscillator: a purely algebraic solution
Section 2.9 already used ladder operators, but Dirac notation was not yet available then. Rewritten in the new language, the structure comes out far more clearly.
The complete algebraic solution, without solving a single differential equationadvanced~10 min
The only starting point: . Define
(Writing rather than is the standard convention; note that is not Hermitian — is its adjoint.)
Step one: the commutator.
Step two: the Hamiltonian. Define the number operator ; then
So the problem becomes: find the eigenvalues of .
Step three: the eigenvalues of are non-negative. Let with :
Step four: the ladder property. Using and (both follow directly from ):
Step five: the ladder must have a bottom rung. Applying repeatedly produces eigenvalues , but step three says eigenvalues are non-negative. The only way out is for the sequence to terminate somewhere — there must exist a state with
From , the lowest eigenvalue is . The ladder property then gives all the eigenvalues:
(If some were not an integer, repeated lowering would step past 0 and produce a negative eigenvalue — a contradiction.)
Step six: the energy levels.
Step seven: the normalised ladder. From :
Every result came from a single commutation relation. No Hermite polynomial appeared anywhere, and no differential equation was ever solved.
Only if you want the wavefunctions do you return to the position basis: write in form and you get a first-order ordinary differential equation,
A first-order equation — far easier than the original second-order one.
The one-dimensional harmonic oscillator
Equally spaced levels, zero-point energy, tails reaching into the classically forbidden region, and the one quantum state that really does behave like a classical particle. Units: ħ = m = 1.
- Eₙ = (n+½)ħω
- 0.500
- Level spacing ħω
- 1.00
- Classical turning point ±A
- ±1.00
- Zero-point energy E₀
- 0.500
A steeper well → larger spacing ħω and a narrower wavefunction
nodes = n = 0
Try this
- In the "level ladder" view, push
nup to 8: the levels stay exactlyħωapart. This is unique to the oscillator — look back at the infinite well, where the spacing grows as you climb. - Turn
ωdown to 0.4 and note that the ground-state energyE₀ = ħω/2shrinks but never reaches zero. Making E₀ = 0 would require the particle to sit exactly at x = 0 with p = 0, andΔxΔp ≥ ħ/2forbids it. - Switch to "single eigenstate" with ψ shown and look at the n = 0 curve beyond the two dashed lines (the classical turning points): it has not gone to zero. The particle has a definite probability of being where classical energy conservation forbids — the very same root as tunnelling.
- Show |ψ|², turn on "compare with classical", and take n from 0 to 20: the envelope of the quantum oscillation hugs the classical curve ever more closely (the ends are favoured because a classical particle moves slowest at the turning points).
- Switch to "coherent state" and press play: the packet oscillates back and forth as a whole, keeps its shape, and its period is exactly the classical
T = 2π/ω. Schrödinger found this most classical of quantum states back in 1926; it is also the theoretical description of laser light.
The uncertainty principle: from derivation to substitution
The picture
Chapter 2
All it could say was “the rigorous proof needs the generalised uncertainty relation”, plus an intuitive Fourier-analysis origin.
For the infinite-well ground state specifically, it still had to grind through two integrals: by two rounds of integration by parts, and smuggled in via .
The mathematics
Chapter 3
Substitute :
One step. And the inequality holds for any pair of observables, not just and .
The oscillator ground state: σₓ and σ_p without a single integraladvanced~6 min
Invert the ladder-operator definitions:
First moments. On , and , so
and likewise .
Second moments.
Take the expectation value on : the and terms send to or annihilate it — orthogonal to either way, so they contribute nothing; ; all that survives is :
and in the same way
Multiply them together:
The bound is saturated exactly. The oscillator ground state is a minimum-uncertainty state — section 2.10 claimed that Gaussian wavepackets achieve exactly, and here is the proof, without doing a single integral.
The zero-point energy falls out for free:
And you can see that kinetic and potential energy each contribute exactly half — the virial theorem, as it appears for the oscillator.
The Ehrenfest theorem: one line
The picture
Chapter 2’s approach
Differentiate with respect to time, substitute the Schrödinger equation, integrate by parts twice, argue the boundary terms away… most of a page.
Then do it all again for .
The mathematics
With the Heisenberg equation
Take and use :
Take and use :
Settling the accounts
The picture
Pages saved
| Result | Chapter 2 | Chapter 3 |
|---|---|---|
| Eigenvalues are real | Half a page of integrals | 3 lines |
| Eigenstates are orthogonal | Verified system by system | 4 lines, holds in general |
| Completeness of expansions | Taken on faith | Spectral theorem |
| Uncertainty principle | Intuition only | One substitution |
| Ehrenfest | Most of a page | 2 lines |
| Harmonic oscillator | Power series + Hermite | Pure algebra |
| Wavepacket spreading | Gaussian integrals by completing the square | A few lines (section 3.9) |
The mathematics
New powers bought
Not just saved pages — things chapter 2 simply could not do at all:
- Spin: no wavefunction, only a two-dimensional state vector. All of chapter 5 rests on this.
- Half-integer angular momentum: the algebraic method naturally yields ; the wavefunction method can only give integer .
- Entanglement and mixed states: these need the density operator — the entire foundation of chapters 9 and 10.
- Quantum field theory: turns directly into a creation operator.
Key formulas
Evolution (energy basis)
A whole section of chapter 2, in three lines
Ladder operators
The entire oscillator hangs on this one relation
Normalised ladder
The creation and annihilation operators of chapter 8 are exactly these
x̂ and p̂ in ladder form
Matrix elements without touching an integral
Ehrenfest (operator form)
Take  = x̂ and p̂ to get one classical equation each
Self-check4 questions
- 1.
The fundamental relation the algebraic solution of the oscillator uses, start to finish, is:
- 2.
When computing ⟨x²⟩ in the oscillator ground state with ladder operators, why do the â² and (â†)² terms contribute nothing?
- 3.
After switching to Dirac notation, the right-hand side of the Ehrenfest theorem:
- 4.
Which powers does the language of chapter 3 provide that chapter 2 could not? (Select all that apply.)
Select all that apply
End of chapter
The three questions chapter 2 left open now have answers:
Why do observables correspond to operators? Because demanding “measured values are real, distinct outcomes are distinguishable, every state can be expanded” picks out exactly the Hermitian operators (section 3.5).
By what right is a probability? That one remains a postulate (the Born rule). But the spectral theorem guarantees , so it is at least self-consistent — and Gleason’s theorem goes further: in dimension there is essentially no other choice.
What actually happens in a measurement? The projection postulate describes its effect but does not explain its mechanism (section 3.8). On this there is still no consensus — and it is not the sort of problem that computing more carefully can resolve.
With this language in hand, the pace can pick up considerably. Chapter 4 returns to one-dimensional problems — but this time with structural methods like symmetry and the transfer matrix, and with a numerical solver that handles arbitrary potentials.
Section 30 of 106 · use ← → to turn the page