HomeArticlesHeisenberg Uncertainty

The Heisenberg Uncertainty Principle, Visualised

Why Delta_x times Delta_p >= hbar/2 is a wave property, not a measurement flaw — and why it keeps atoms from collapsing.

mysimulator teamUpdated June 2026≈ 8 min read▶ Open the simulation

Not a measurement problem — a property of waves

The Heisenberg uncertainty principle is often described as a limit on how well an experimenter can measure two quantities at once, but that framing is misleading. It is a mathematical property of any wave, quantum or otherwise: a wave cannot simultaneously be sharply localised in space and have a sharply defined wavelength, because a single well-defined wavelength requires an infinite train of oscillations to define, while a narrow spatial spike requires many different wavelengths superposed to build the peak and cancel everywhere else. Since quantum mechanics represents a particle's state as a wavefunction ψ(x), and its momentum is directly proportional to spatial frequency (de Broglie's p = h/λ), this wave trade-off between position-width and wavelength-width becomes a trade-off between position and momentum.

live demo · squeeze sigma_x, watch sigma_p grow● LIVE

Formally, Heisenberg (1927) showed that for the standard deviations of position and momentum, Δx and Δp, the product obeys

Delta_x * Delta_p  >=  hbar / 2       (hbar = h / 2*pi ~ 1.0546e-34 J*s)

This is an inequality, not an equation, and equality is reached only for one special shape: the Gaussian wave packet, ψ(x) ∝ exp(−x²/4σx²). Every other shape has a strictly larger Δx·Δp product for the same Δx, which is exactly why this simulation uses a Gaussian — it is the shape that sits precisely on the boundary the inequality allows, making the trade-off visible without any measurement inefficiency clouding the picture.

Two views of the same state: the Fourier transform

Position-space and momentum-space wavefunctions are not independent measurements of two different things — they are the same physical state, described in two mathematically equivalent bases connected by the Fourier transform: φ(p) is the Fourier transform of ψ(x). This is why squeezing σx necessarily widens σp: a Fourier transform pair obeys a bandwidth theorem long known in classical signal processing (the same one that tells you a short radio pulse must carry a broad range of frequencies) — quantum mechanics did not invent this trade-off, it inherited it from wave mathematics and attached ħ to make it a physical position-momentum statement rather than a signal-processing curiosity.

psi(x) = (2*pi*sigma_x^2)^(-1/4) * exp(-x^2 / (4*sigma_x^2))
phi(p) = Fourier{ psi(x) }        // itself Gaussian, sigma_p = hbar / (2*sigma_x)
sigma_x * sigma_p = hbar / 2      // exact equality for a Gaussian packet

It is not about clumsy instruments

A common but incorrect explanation says the uncertainty comes from the physical disturbance of measurement — that measuring position with a photon necessarily kicks the particle's momentum. That story (closer to the older, distinct observer effect) is real in some setups, but it is not the source of the Heisenberg bound. The inequality Δx·Δp ≥ ħ/2 applies to the intrinsic statistical spread of position and momentum across many identically prepared systems, before any measurement is performed on any single one of them — a statement about what states can exist, not about how badly we can look at them. A particle simply does not possess a simultaneously sharp position and sharp momentum to be disturbed away from; no amount of engineering removes the trade-off.

Why atoms don't collapse: a direct physical consequence

The uncertainty principle is not a footnote — it is why matter is stable. Classically, nothing stops an electron from spiralling into the nucleus, radiating energy away as it falls to r = 0. Quantum mechanically, confining the electron to a small radius r forces Δx ~ r to shrink, which by the inequality forces Δp, and therefore the electron's minimum kinetic energy, to grow as roughly ħ²/(2mr²). Balancing this unavoidable quantum kinetic energy against the Coulomb attraction that favours shrinking r produces a minimum-energy radius rather than a collapse to zero — that minimisation, done properly, reproduces the Bohr radius of the hydrogen atom to the right order of magnitude, straight from Δx·Δp ≥ ħ/2 and nothing else.

Frequently asked questions

Is the uncertainty principle just a limitation of our measuring instruments?

No. It applies to the statistical spread of position and momentum across an ensemble of identically prepared quantum states, independent of how those quantities are measured. Better instruments cannot beat it because a quantum state simply does not possess simultaneously sharp position and momentum values — there is nothing sharper to measure.

Why does this simulation use a Gaussian wave packet specifically?

Because the Gaussian is the unique wave shape that achieves the equality Delta_x * Delta_p = hbar/2 exactly — every other shape gives a strictly larger product. Using a Gaussian isolates the fundamental trade-off from any extra spread that a non-optimal shape would add.

Does the uncertainty principle mean particles don't have a definite position at all?

It means a particle cannot simultaneously have an arbitrarily well-defined position and an arbitrarily well-defined momentum. A particle can be prepared with a very sharp position (small Delta_x) at the cost of a very uncertain momentum (large Delta_p), or vice versa, but never both at once below the hbar/2 bound.

Try it live

Everything above runs in your browser — open Heisenberg Uncertainty and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open Heisenberg Uncertainty simulation

What did you find?

Add reproduction steps (optional)