Skip to main content

Physics V course sequence · Interactive lesson

Superposition and eigenbasis expansion

Superposition is not a haze between two possibilities — it is linear algebra. Choose an observable, take its eigenvectors as axes, and every state becomes a column of complex components. This lesson is about extracting those components correctly, and about what the expansion quietly assumes.

UPV-03.05 · Lesson 5 of 9 in this unit. Position is not a completion score.
Starting model: Superposition and eigenbasis expansion|ψ⟩ = c₁|1⟩ + c₂|2⟩ in the infinite well, drawn twice. Left, the density |ψ(x)|² between the walls with a dot on the axis at ⟨x⟩ = 0.344L. Right, the bars |c₁|² = 0.75 and |c₂|² = 0.25 against a dashed line at 1: they always sum to one and never move when the phase slider does.0L⟨x⟩ = 0.344 L|ψ(x)|² = |c₁ψ₁ + c₂ψ₂|²φ = 0°|c₁|²|c₂|²0.75 + 0.25 = 1
Start with a picture. Change the model in the lab below.
1

Build the model

One vector, many components: the basis is a choice, the state is not.

The key idea

Expanding a state in an eigenbasis means writing |ψ⟩ as a sum Σₙ cₙ|n⟩ over the orthonormal eigenvectors of a chosen observable, with each complex coefficient read off as the projection cₙ = ⟨n|ψ⟩.

Example. In the infinite well, |ψ⟩ = (√3/2)|1⟩ + (1/2)e(iφ)|2⟩ has |c₁|² = 0.75 and |c₂|² = 0.25: an energy measurement returns E₁ three times in four, and no value of φ changes that.

The complete physical model and assumptions

The superposition principle is a statement about the state space, not about the particle. The Schrödinger equation is linear, so states form a complex vector space and any combination of states is again a state. Fix a Hermitian observable  with a discrete spectrum: the spectral theorem hands you an orthonormal eigenbasis (|n⟩), and the resolution of the identity Σₙ|n⟩⟨n| = 1̂ does the rest. Insert it into |ψ⟩ = 1̂|ψ⟩ and the expansion |ψ⟩ = Σₙ cₙ|n⟩ with cₙ = ⟨n|ψ⟩ falls out in one line; orthonormality is what makes each coefficient a single projection rather than a coupled linear system. Born's rule then reads the squared moduli as the probabilities of the eigenvalues, and normalisation makes them sum to one — Parseval's identity, not an extra postulate. The costs are three. Completeness is assumed, never proved by the algebra, and Bessel's inequality guarantees only Σ|cₙ|² ≤ 1, so a short basis loses probability in silence. The coefficients belong to a basis, so "the components of the state" means nothing until the observable is named. And where an eigenvalue is degenerate the expansion fixes a whole eigenspace: individual coefficients inside it can be rotated at will while the physical probability ⟨ψ|P̂ₐ|ψ⟩ stands still.

1Superposition is closure of the state space under addition

Nothing in the postulates says a particle is "in two places". What they say is that states live in a complex vector space and the Schrödinger equation is linear: if |ψ₁⟩ and |ψ₂⟩ both solve it, so does α|ψ₁⟩ + β|ψ₂⟩ for any complex α and β. A superposition is therefore one vector, not an alternation between two. Two constraints follow. The combination must be renormalised — for orthonormal |1⟩ and |2⟩ that means |α|² + |β|² = 1, while for non-orthogonal kets the cross term 2Re(α*β⟨1|2⟩) joins the sum. And multiplying the whole vector by e(iθ) changes nothing measurable, so a state is a ray; only the relative phase between components survives. Keep those two phases apart and half the confusion in this topic disappears.

2Insert the identity and the coefficients fall out

Pick a Hermitian  with a discrete, non-degenerate spectrum. The spectral theorem gives an orthonormal eigenbasis (|n⟩) with ⟨m|n⟩ = δₘₙ and Σₙ|n⟩⟨n| = 1̂. The derivation is then one line: |ψ⟩ = 1̂|ψ⟩ = Σₙ|n⟩⟨n|ψ⟩ = Σₙ cₙ|n⟩ with cₙ = ⟨n|ψ⟩. In the position representation that inner product is the integral cₙ = ∫ψₙ*(x)ψ(x)dx, which is a Fourier coefficient whenever the basis is sinusoidal. The step doing the work is orthonormality: acting with ⟨m| on the sum kills every term but one, so each coefficient is a single projection. Lose orthogonality and you lose that — on a non-orthogonal set the coefficients obey Gc = v, with G the Gram matrix ⟨m|n⟩ and vₘ = ⟨m|ψ⟩, and you must invert G. Orthonormalise first; it is cheaper.

3Moduli are the odds, phases are everything else

Born's rule reads off the eigenbasis directly: measuring  returns aₙ with probability |cₙ|², and normalisation makes Σₙ|cₙ|² = ⟨ψ|ψ⟩ = 1, which is Parseval's identity rather than a new postulate. Because the modulus discards the argument of cₙ, no measurement of  can see any phase, and anything diagonal in this basis inherits that blindness: ⟨Â⟩ = Σₙ|cₙ|²aₙ. An operator with off-diagonal elements does not. Take |ψ⟩ = (√3/2)|1⟩ + (1/2)e(iφ)|2⟩ in the infinite well, where ⟨n|x̂|n⟩ = L/2 and ⟨1|x̂|2⟩ = −16L/(9π²) = −0.1801L. Then ⟨x⟩ = L/2 + 2|c₁||c₂|cos φ ⟨1|x̂|2⟩ = 0.500L − 0.156L cos φ, running from 0.344L at φ = 0 to 0.656L at φ = π while ⟨H⟩ sits at 1.75E₁ throughout. Same probabilities, different states.

4Completeness is assumed, and truncation is where you pay

The resolution of the identity is an assumption about the basis, not a theorem the algebra supplies. For any orthonormal set, complete or not, Bessel's inequality gives Σₙ|cₙ|² ≤ ⟨ψ|ψ⟩; completeness is exactly the case of equality. A short basis therefore loses probability silently — the sum simply comes out under one and nothing in the arithmetic complains. Put numbers on it. The nodeless parabolic state ψ(x) = √(30/L⁵)⋅x(L−x) expands on the box eigenfunctions with cₙ = 4√60/(n³π³) for odd n and zero for even n by parity, giving |c₁|² = 0.99856, |c₃|² = 1.370×10⁻³ and |c₅|² = 6.39×10⁻⁵. One term already carries 99.856% of the probability, but stopping there leaves 1.44×10⁻³ unassigned; keeping n ≤ 3 cuts the deficit to 7.5×10⁻⁵. Auditing Σ|cₙ|² against 1 is the cheapest check you own.

5A degenerate eigenvalue fixes a subspace, not a basis

When an eigenvalue a is g-fold degenerate, the label n no longer names a unique vector: any orthonormal basis (|a, k⟩) of the g-dimensional eigenspace will serve. The individual coefficients cₐₖ = ⟨a, k|ψ⟩ are then convention, and only the projector P̂ₐ = Σₖ|a, k⟩⟨a, k| is basis-independent. So the physical quantity is P(a) = ⟨ψ|P̂ₐ|ψ⟩ = Σₖ|cₐₖ|², a sum over the whole block, invariant under any unitary mixing inside it. Concretely, a square two-dimensional box has E = (nₓ² + ny²)E₁, with E₁ = h²/(8mL²) the one-dimensional ground energy, so |1,2⟩ and |2,1⟩ share E = 5E₁, and the pair (|1,2⟩ ± |2,1⟩)/√2 spans the same eigenspace just as well. A state with c₁₂ = c₂₁ = 1/2 gives P(5E₁) = 1/4 + 1/4 = 1/2 in either basis. Lüders projection then returns P̂ₐ|ψ⟩ ⁄ ‖P̂ₐ|ψ⟩‖ — a vector in the subspace, not one basis element of it.

6Doing it in NumPy, and what the machine will not tell you

Discretise on a grid: the state becomes a length-N complex vector, the observable a Hermitian N×N matrix, and numpy.linalg.eigh returns eigenvalues w together with a matrix V whose columns are the |n⟩. The whole expansion is then one matrix product, c = V.conj().T @ ψ, with probabilities p = np.square(np.abs(c)) and the audit p.sum() against 1. Three warnings. eigh fixes each eigenvector only up to a phase, and that phase is library- and machine-dependent, so an individual cₙ's argument means nothing until you pin a convention — force the largest component real and positive, for instance. For a degenerate eigenvalue eigh hands back an arbitrary orthonormal pair spanning the block, so only the summed probability over that block is reproducible. And the grid basis is complete on the grid, so Σ|cₙ|² = 1 there even when the physical basis has been badly truncated: the grid hides the very deficit Bessel's inequality was warning you about.

2

Key equations

Read the units, assumptions and limits before substituting.

Resolution of the identity

Σₙ |n⟩⟨n| = 1̂, with ⟨m|n⟩ = δₘₙ

Insert it anywhere: |ψ⟩ = 1̂|ψ⟩ = Σₙ|n⟩⟨n|ψ⟩ delivers the whole expansion in a single line.

The sum runs over a complete orthonormal set; each |n⟩⟨n| is a dimensionless projector with P̂² = P̂.

Expansion coefficient

cₙ = ⟨n|ψ⟩, |ψ⟩ = Σₙ cₙ|n⟩

Orthonormality collapses ⟨m|Σₙcₙ|n⟩ to cₘ, so each coefficient is one inner product, not a coupled system.

cₙ is complex and dimensionless in a discrete basis; the bra ⟨n| supplies the conjugation.

Normalisation and Parseval

⟨ψ|ψ⟩ = Σₙ |cₙ|² = 1

Your cheapest audit: a sum short of one means an unnormalised state or a basis that does not close.

Dimensionless. For an incomplete set Bessel gives only Σ|cₙ|² ≤ 1, the deficit being lost probability.

Born's rule in the eigenbasis

P(aₙ) = |cₙ|² = |⟨n|ψ⟩|², ⟨Â⟩ = Σₙ |cₙ|² aₙ

Everything diagonal in this basis is phase-blind, which is why probabilities alone never separate a superposition from a mixture.

aₙ carries the units of Â; the modulus discards arg cₙ, so no phase can enter here.

Off-diagonal terms carry the phase

⟨B̂⟩ = Σₘₙ cₘ* cₙ ⟨m|B̂|n⟩

Only an observable off-diagonal in this basis sees the relative phase: in the box, ⟨x⟩ = L/2 + 2|c₁||c₂| cos φ ⟨1|x̂|2⟩.

Bₘₙ = ⟨m|B̂|n⟩ carries the units of B̂; the m = n terms alone are the classical weighted average.

Degenerate eigenvalue: project, do not index

P̂ₐ = Σₖ |a, k⟩⟨a, k|, P(a) = ⟨ψ|P̂ₐ|ψ⟩ = Σₖ |cₐₖ|²

Rotating the basis inside the eigenspace scrambles every cₐₖ but leaves the measured probability untouched.

k runs over the g-fold degeneracy and cₐₖ = ⟨a, k|ψ⟩; P̂ₐ is dimensionless and basis-independent inside the block.
3

Interactive lab

Predict first. Explore the model. Compare the result.

Explore the model

0.75
0 to 1; steps of 0.05.
0 °
0 to 360 °; steps of 15.

Try this. Sweep the phase from 0° to 180°: the density slides from the left half of the well to the right and ⟨x⟩ crosses L/2, while both bars stand perfectly still. Then set the weight to 1.00, where the phase does nothing at all — one eigenstate has no relative phase to carry.

Live results

|c₁|²
0.75
|c₂|²
0.25
⟨x⟩
0.344 L
INTERFERENCE IN ⟨x⟩
-0.156 L

Results follow this lesson’s model and assumptions. Displayed values are rounded.

Interactive Physics V model|ψ⟩ = c₁|1⟩ + c₂|2⟩ in the infinite well, drawn twice. Left, the density |ψ(x)|² between the walls with a dot on the axis at ⟨x⟩ = 0.344L. Right, the bars |c₁|² = 0.75 and |c₂|² = 0.25 against a dashed line at 1: they always sum to one and never move when the phase slider does.0L⟨x⟩ = 0.344 L|ψ(x)|² = |c₁ψ₁ + c₂ψ₂|²φ = 0°|c₁|²|c₂|²0.75 + 0.25 = 1
|ψ⟩ = c₁|1⟩ + c₂|2⟩ in the infinite well, drawn twice. Left, the density |ψ(x)|² between the walls with a dot on the axis at ⟨x⟩ = 0.344L. Right, the bars |c₁|² = 0.75 and |c₂|² = 0.25 against a dashed line at 1: they always sum to one and never move when the phase slider does.

Predict → change one variable → check

Plan a change before running it. Every other input stays at the saved baseline.

Saved baseline. Weight |c₁|²: 0.75; Relative phase φ: 0 °

Baseline 0.75; choose 0 to 1, in steps of 0.05.
4. Compared with the saved baseline, this result will…

This experiment is kept only while this page is open. It does not change saved course progress.

4

Catch the common trap

The trap is treating the list of moduli as the state, and two errors grow out of it. First, reading |ψ⟩ = c₁|1⟩ + c₂|2⟩ as "the system is really in |1⟩ or |2⟩ with probabilities |c₁|² and |c₂|², we just don't know which" — that is a mixture, described by a diagonal density matrix, and it is a physically different object. Second, remembering that a global phase is unobservable and concluding that the coefficients' phases are unobservable too. The box superposition settles both with numbers: (√3/2)|1⟩ + (1/2)|2⟩ has ⟨x⟩ = 0.344L, (√3/2)|1⟩ − (1/2)|2⟩ has ⟨x⟩ = 0.656L, and the mixture with the same weights has ⟨x⟩ = 0.500L exactly. Three distinct states, one identical list of |cₙ|². The coefficients are the state, up to a single overall phase; their moduli are only what an  measurement can see.

5

Practice & worked examples

3 authored examples. Make an attempt, then reveal the reasoning one step at a time.

EasyExample 1

An orthonormal eigenbasis of  has eigenvalues a₁ = 1 eV, a₂ = 3 eV and a₃ = 5 eV. A state is handed to you unnormalised as |χ⟩ = 2|1⟩ − i|2⟩ + 2|3⟩. Normalise it, give the three outcome probabilities, and find ⟨Â⟩.

Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.

0 of 4 steps revealed.

MediumExample 2

An electron occupies a 1.00 nm infinite well in the state |ψ⟩ = (√3/2)|1⟩ + (1/2)e(iπ/3)|2⟩. Find ⟨H⟩ in eV and ⟨x⟩ in nm, given ⟨n|x̂|n⟩ = L/2 and ⟨1|x̂|2⟩ = −16L/(9π²).

Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.

0 of 4 steps revealed.

HardExample 3

Expand the normalised parabolic state ψ(x) = √(30/L⁵)⋅x(L − x) on the infinite-well eigenbasis ψₙ(x) = √(2/L) sin(nπx/L). Find cₙ, evaluate |c₁|², state how much probability a one-term truncation loses, and compute ⟨H⟩ in units of E₁.

Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.

0 of 5 steps revealed.

6

Quick check

Select an answer and explain it before checking.

In the infinite well's energy eigenbasis a state |ψ⟩ = (√3/2)|1⟩ + (1/2)|2⟩ is replaced by |ψ′⟩ = (√3/2)|1⟩ − (1/2)|2⟩. What is different about |ψ′⟩?
7

Review & continue

Expanding a state in an eigenbasis means writing |ψ⟩ as a sum Σₙ cₙ|n⟩ over the orthonormal eigenvectors of a chosen observable, with each complex coefficient read off as the projection cₙ = ⟨n|ψ⟩.

  • Explain the relationship without looking at the equation.
  • Check a sign, a unit and a model assumption in your working.
  • Return to the lab or worked example if a step is still unclear.

Extra challenging questions

Connect several ideas, explore supplied data, and compare your reasoning with a worked solution.