Skip to main content

Quantum core · institution-dependent · Interactive lesson

Probability density, nodes and intervals

Once ψₙ is in hand the physics is still one step away. Here you turn the eigenvector into something a detector could check: normalise the density, read the node pattern straight off n, and write “is it in [a, b]?” as a projector whose expectation value is the answer.

UPV-05.06 · Lesson 6 of 9 in this unit. Position is not a completion score.
Starting model: Probability density, nodes and intervalsBorn density (2/L)sin²(nπx/L) for n = 3 against the dashed classical line 1/L; the curve touches the axis at each of the 2 interior nodes. The shaded window runs from 0.30L to 0.65L and holds probability 0.335 against a classical share of 0.350.L|ψₙ|² = 2 sin²(nπx/L)n = 3, 2 interior nodeswindow [0.30L , 0.65L]2/L1/L0x = 0x = L
Start with a picture. Change the model in the lab below.

Quantum core · institution-dependent. Your university determines the required depth of these quantum topics, including the use of operators, differential equations and computation. Institution-dependent does not automatically mean optional.

1

Build the model

A stationary density is a histogram, not a path.

The key idea

The probability density of a stationary state is |⟨x|ψ⟩|², a per-unit-length quantity whose integral over an interval — not its value at a point — is the probability that a position measurement lands there.

Example. In the n = 1 box state |ψ₁|² = (2/L)sin²(πx/L) peaks at 2/L in the middle and integrates over the middle half [L/4, 3L/4] to ½ + 1/π = 0.818, against a classical bouncer's 0.500.

The complete physical model and assumptions

The Born rule says the position-basis wavefunction ⟨x|n⟩ = √(2/L) sin(nπx/L) of the eigenvector |n⟩ is not itself the observable; what is observable is |⟨x|n⟩|², a probability density of dimension 1/length that means nothing at a point and everything over an interval. Written properly, “the particle is in [a, b]” is the projector Π̂ = ∫ₐᵇ|x⟩⟨x|dx — Hermitian, idempotent, spectrum {0, 1} — and the prediction is ⟨n|Π̂|n⟩, which for the box integrates in closed form to the classical share (b−a)/L minus an oscillatory term no larger than 1/(πn). Everything else the density knows follows from the boundary condition: Dirichlet walls select sin, sin puts zeros at x = jL/n, and Sturm oscillation fixes the count of interior zeros at exactly n − 1, so the node pattern labels the level before any energy is computed. What the model costs is any picture of motion. The density of a stationary state does not move — the phase e(−iEₙt/ħ) cancels in the modulus, and the probability current j = (ħ/m) Im(ψ*ψ′) is identically zero because ψₙ is real — so it predicts the histogram of position measurements on identically prepared boxes and says nothing about how a single particle reached where it was found. The classical 1/L is never recovered pointwise at any n; it appears only after averaging over a window at least one period L/n wide.

1From the ket to a density, with units attached

⟨x|n⟩ is not the observable. The Born rule says the observable object is ρₙ(x) = |⟨x|n⟩|², whose dimension in one dimension is 1/length, so a value of ρ is never a probability — only ρ dx is. Normalisation is the statement ⟨n|n⟩ = 1 read in the position basis: ∫₀ᴸ (2/L)sin²(nπx/L) dx = 1, which works for every n because the interval holds exactly n half-periods of sin(nπx/L) and sin² averages to ½ over any whole number of them. Outside [0, L] the density is identically zero, and that is not an approximation but the domain: Ĥ is defined on H²([0, L]) with ψ(0) = ψ(L) = 0, so the walls are imposed before any integral is attempted. Note what the modulus discards. ψ₂ changes sign at L/2; ρ₂ does not. Every fact about relative phase — the thing that makes superpositions interfere — is invisible in the density of a single eigenstate.

2“Is it in [a, b]?” is a projector, not a phrase

“The particle is in [a, b]” is a yes/no observable, and its operator is the projector Π̂ = ∫ₐᵇ|x⟩⟨x|dx. It is Hermitian, satisfies Π̂² = Π̂, and has spectrum {0, 1}, so its expectation value in any normalised state lies between 0 and 1 — exactly what a probability must do. In the position basis ⟨n|Π̂|n⟩ collapses to ∫ₐᵇ ρₙ dx, and with sin²θ = (1 − cos 2θ)/2 the integral is elementary: P = (b−a)/L − [sin(2πnb/L) − sin(2πna/L)]/(2πn). Two properties come free. Disjoint intervals add, because Π̂₁Π̂₂ = 0; and the whole box gives Π̂ = 1̂, so P = 1 without further work. For n = 1 and [0, L/4] the formula returns 0.25 − 1/(2π) = 0.0908 — nine per cent of the hits where a classical bouncer would spend twenty-five per cent of its time, because the ground-state density is still climbing out of the wall there.

3Counting nodes labels the level

Zeros of ρₙ are zeros of sin(nπx/L), so they sit at x = jL/n. Of the values j = 0…n, two are the walls, which are boundary conditions rather than nodes; the n − 1 interior ones are the nodes, evenly spaced by L/n. Between them sit n antinodes at (2j−1)L/(2n), each rising to the same 2/L, so no lobe is favoured over another within a level. The count is not an accident of the box: Sturm's oscillation theorem says that for a real Sturm–Liouville problem with Dirichlet conditions, the eigenfunctions ordered by increasing eigenvalue carry 0, 1, 2, … interior zeros. That makes the node count a label. Given eigenvectors from numpy.linalg.eigh on a grid, counting sign changes identifies each level without comparing eigenvalues, and it keeps working when V is not flat and no closed form exists. Physically nodes are curvature, and curvature is kinetic energy: ⟨p̂²⟩ = (nπħ/L)² rises as the square of the number of half-waves squeezed between the walls.

4A node suppresses the count; it does not forbid it

Because ρ is a density, the probability of any single point is zero — at a node and at an antinode alike. What separates them is how fast a shrinking window loses probability. At a generic x₀ the density is locally flat, so P ≈ ρ(x₀)ε for a window of width ε. At a node ψ crosses zero linearly with slope √(2/L)(nπ/L), so ρ ≈ (2/L)(nπ/L)²(x − x₀)², and integrating gives P ≈ (nπ)²ε³/(6L³): a cubic vanishing, not a linear one. Put numbers on it with n = 3 and ε = 0.02L. On the node at L/3 the exact formula returns 1.18 × 10⁻⁴; on the antinode at L/6 it returns 3.99 × 10⁻², a factor of about 340. The node is a deep suppression of the count, not a wall inside the box.

5Static density, zero current, one-shot statistics

Attach the time factor and nothing happens: Ψ(x, t) = ⟨x|n⟩e(−iEₙt/ħ) has |Ψ|² = ρₙ(x), because the phase has modulus one. The stronger statement is that nothing is flowing either. The probability current j = (ħ/m) Im(ψ*∂ψ/∂x) vanishes identically for ψₙ, since ψₙ is real up to a constant phase, and continuity ∂ρ/∂t + ∂j/∂x = 0 then reads 0 = 0. So ρₙ is the frequency histogram of position measurements made on many identically prepared boxes, not the trace of one particle's motion. And that histogram is a one-shot object: under the projection postulate, an ideal measurement that finds the particle in [a, b] leaves the state Π̂|n⟩ / ‖Π̂|n⟩‖, which is no longer ψₙ and no longer an energy eigenstate, so a second measurement on the same box is drawn from a different density altogether.

6The classical 1/L survives only an average

A classical particle bouncing at constant speed spends equal time in equal lengths, giving a flat 1/L. ρₙ never approaches that pointwise: at every n, however large, it still swings between 0 and 2/L. What converges is the local average. Over a window of width Δ centred on x, ⟨ρₙ⟩ = 1/L − sin(nπΔ/L)cos(2πnx/L)/(nπΔ), a correction bounded by L/(nπΔ) relative to 1/L, and exactly zero whenever Δ is a whole number of periods L/n. Take L = 5.00 nm and n = 20, so the period is 0.250 nm. A window of 0.600 nm centred at 1.00 nm averages 0.1748 nm⁻¹, 13% below 1/L = 0.200 nm⁻¹, because 0.600 nm is 2.4 periods. Change it to 0.250 nm — a narrower window, not a wider one — and the average is exactly 0.200 nm⁻¹. Correspondence here is a statement about resolution matched to L/n, not about ħ becoming small.

2

Key equations

Read the units, assumptions and limits before substituting.

Born density in the box

ρₙ(x) = |⟨x|n⟩|² = (2/L) sin²(nπx/L)

The 2/L, not 1/L, is what normalisation demands: sin² averages to ½ over the n whole half-periods the walls enclose.

ρ in m⁻¹, x in [0, L] and identically zero outside; ∫₀ᴸ ρₙ dx = 1 for every n

An interval is a projector

P = ⟨n|Π̂|n⟩ = (b−a)/L − [sin(2πnb/L) − sin(2πna/L)]/(2πn)

Turns “where is it?” into a yes/no observable. Disjoint intervals add because Π̂₁Π̂₂ = 0, and the whole box gives Π̂ = 1̂, so P = 1.

Π̂ = ∫ₐᵇ|x⟩⟨x|dx is Hermitian and idempotent with spectrum {0, 1}; a and b in metres, P dimensionless

Nodes and antinodes

nodes xⱼ = jL/n, j = 1…n−1 · antinodes (2j−1)L/(2n)

Sturm oscillation makes the interior node count identify the level, so counting sign changes sorts a numerical spectrum without eigenvalues.

n − 1 interior nodes spaced by L/n; n antinodes, each reaching the same peak ρ = 2/L

A narrow window on a node

P(x₀ ± ε/2) ≈ ρ(x₀)ε, but ≈ (nπ)²ε³/(6L³) on a node

A node suppresses the count by roughly (nε/L)² instead of forbidding it: about 340 times fewer hits than the same window on an antinode at n = 3, ε = 0.02L.

valid for ε ≪ L/n; ψ crosses zero linearly there, so ρ vanishes quadratically and its integral cubically

A stationary density does not move

ρ(x, t) = |⟨x|n⟩ e(−iEₙt/ħ)|² = ρₙ(x), j(x) = 0

Continuity ∂ρ/∂t + ∂j/∂x = 0 then reads 0 = 0 — nothing flows, so a node is not something anything has to cross.

j = (ħ/m) Im(ψ*ψ′) in s⁻¹ in one dimension; it vanishes because ψₙ is real up to one global phase

Local average, and where 1/L appears

⟨ρₙ⟩Δ = 1/L − sin(nπΔ/L) cos(2πnx/L)/(nπΔ)

Exactly 1/L whenever Δ is a whole number of periods L/n. Pointwise ρₙ still swings from 0 to 2/L at every n, so convergence is never pointwise.

Δ is the window width about centre x; the correction is at most L/(nπΔ) of 1/L
3

Interactive lab

Predict first. Explore the model. Compare the result.

Explore the model

3
1 to 8; steps of 1.
0.30 L
0 to 0.9 L; steps of 0.05.
0.35 L
0.05 to 0.5 L; steps of 0.05.

Try this. Set n = 4 and the window width to 0.25 L — one whole period of the density — and the probability equals the classical share exactly, wherever you slide the left edge, as long as the window stays inside the box (a ≤ 0.75 L). A width that is not a whole number of periods leaves a residue that shrinks as 1/n, while the curve itself still runs from 0 to 2/L at every n.

Live results

P IN WINDOW
0.335
CLASSICAL SHARE Δ/L
0.350
MEAN DENSITY × L
0.958
INTERIOR NODES
2

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

Interactive Physics V modelBorn density (2/L)sin²(nπx/L) for n = 3 against the dashed classical line 1/L; the curve touches the axis at each of the 2 interior nodes. The shaded window runs from 0.30L to 0.65L and holds probability 0.335 against a classical share of 0.350.L|ψₙ|² = 2 sin²(nπx/L)n = 3, 2 interior nodeswindow [0.30L , 0.65L]2/L1/L0x = 0x = L
Born density (2/L)sin²(nπx/L) for n = 3 against the dashed classical line 1/L; the curve touches the axis at each of the 2 interior nodes. The shaded window runs from 0.30L to 0.65L and holds probability 0.335 against a classical share of 0.350.

Predict → change one variable → check

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

Saved baseline. Quantum number n: 3; Window left edge a: 0.30 L; Window width Δ: 0.35 L

Baseline 3; choose 1 to 8, in steps of 1.
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 node error runs: “ψ₂ vanishes at L/2, so the particle can never cross the middle and is trapped in one lobe.” Two things are wrong. First, the argument assumes a trajectory, and a stationary state supplies none — ρ₂ is the histogram of independent position measurements on identically prepared boxes, not a record of one particle's route, and the current j = (ħ/m)Im(ψ*ψ′) is zero everywhere, so there is nothing to cross in the first place. Second, even the statistics say suppression, not prohibition: a window of width ε centred on the node carries probability ∝ ε³ rather than ε, which is small but never zero. A state genuinely confined to the left lobe would be a different vector — a superposition of many |n⟩ with no definite energy at all, not an eigenstate at E₂.

5

Practice & worked examples

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

EasyExample 1

A particle is in the ground state (n = 1) of an infinite well of width L = 1.00 nm. Find the probability that a position measurement finds it in the middle half, [L/4, 3L/4], compare that with the classical bouncer's answer, and state how many interior nodes ψ₁ has.

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

For n = 3 in a well of width L = 1.20 nm: (a) locate the interior nodes and antinodes; (b) find the probability in the left lobe [0, L/3]; (c) compare the probability in a 0.0240 nm window centred on the node at L/3 with the same window centred on the antinode at L/6.

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.

HardExample 3

A well of width L = 5.00 nm holds a particle in n = 20. A detector integrates the density over a window of width Δ = 0.600 nm centred at x = 1.00 nm. Find the probability it records and the mean density over that window. Then find a window width narrower than 0.600 nm that returns the classical value exactly, and say why the pointwise density never does.

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.

A particle is in the n = 3 stationary state of an infinite well on [0, L]. What is the probability that a position measurement finds it in the middle third, [L/3, 2L/3]?
7

Review & continue

The probability density of a stationary state is |⟨x|ψ⟩|², a per-unit-length quantity whose integral over an interval — not its value at a point — is the probability that a position measurement lands there.

  • 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.