Harmonic Analysis

The Heisenberg Uncertainty Principle for Functions

You cannot make a function and its Fourier transform both sharply concentrated: the more you localize a signal in time, the more its frequency content must spread out — and the trade-off is a hard inequality, not a soft heuristic. Precisely, for any f ∈ L²(ℝ) with ‖f‖₂ = 1 and any a, b ∈ ℝ, the position spread and momentum spread obey (∫ (x−a)² |f(x)|² dx) · (∫ (ξ−b)² |f̂(ξ)|² dξ) ≥ 1/(16π²), with equality exactly for Gaussians.

This is the L²-theoretic backbone of quantum mechanics' ΔX·ΔP ≥ ℏ/2, but it is a pure statement about functions and their Fourier transforms — no physics required. Its two-line proof via integration by parts and Cauchy–Schwarz is one of the most efficient arguments in all of analysis.

  • FieldHarmonic / Fourier analysis
  • Named forWerner Heisenberg (1927); function form via Weyl, Kennard, Pauli
  • Sharp constantProduct ≥ 1/(16π²) (convention f̂(ξ)=∫f(x)e^(−2πixξ)dx)
  • ExtremizersGaussians f(x)=c·e^(−α(x−a)²)e^(2πibx), α>0
  • Proof techniqueIntegration by parts + Cauchy–Schwarz (or [X,D] commutator)
  • Generalizes toℝⁿ, locally compact abelian groups, Hardy/Beurling/entropic forms

Interactive visualization

Press play, or step through manually. The visualization is yours to drive — try it before reading on.

Open visualization fullscreen ↗

Watch the 60-second explainer

A condensed visual walkthrough — narrated, captioned, under a minute.

The precise statement

Fix the analyst's Fourier convention f̂(ξ) = ∫_ℝ f(x) e^(−2πixξ) dx, so that Plancherel gives ‖f̂‖₂ = ‖f‖₂. Let f ∈ L²(ℝ) with ‖f‖₂ = 1, and suppose the relevant integrals below are finite (i.e. x·f ∈ L² and ξ·f̂ ∈ L²). Then for every pair a, b ∈ ℝ,

(∫_ℝ (x−a)² |f(x)|² dx) · (∫_ℝ (ξ−b)² |f̂(ξ)|² dξ) ≥ 1/(16π²).

The two factors are the variances of the probability densities |f|² and |f̂|² (both integrate to 1 by Plancherel). Writing V_a(f) and V_b(f̂) for these, and optimizing over a, b, the minima are attained at the means a* = ∫x|f|²dx and b* = ∫ξ|f̂|²dξ. So the sharpest reading is: the product of variances of a unit-mass function's position and momentum densities is bounded below by 1/(16π²) ≈ 0.00633. Equivalently, the standard deviations satisfy σ_x · σ_ξ ≥ 1/(4π).

The picture: you cannot cheat both domains

A function and its Fourier transform are two views of the same object, linked by Plancherel's unitarity. Scaling reveals the tension immediately: if f_λ(x) = √λ · f(λx), then f̂_λ(ξ) = λ^(−1/2) f̂(ξ/λ). Squeezing f horizontally (large λ) shrinks its position variance by λ² but inflates the frequency variance by exactly λ², so the product is scale-invariant — you can move the trade-off around but never beat it.

Intuitively, resolving fine detail in x requires high frequencies; a spike needs a broad band to synthesize it (the δ-function has flat spectrum), while a pure tone e^(2πibx) is perfectly localized in ξ but spread over all of x. The inequality says these are not accidents but the extremes of a single conserved quantity. The Gaussian sits precisely at the balance point: it is its own Fourier transform (up to the scaling constant), so it distributes 'blur' symmetrically between the two domains and achieves equality.

Key idea of the proof: integration by parts meets Cauchy–Schwarz

By translating (x ↦ x−a) and modulating (f ↦ e^(−2πibx)f, which shifts f̂ by b), we may assume a = b = 0; these operations preserve ‖f‖₂ and the two variances. The engine is the identity that Fourier turns differentiation into multiplication: the transform of f′ is 2πiξ·f̂. Hence ∫ ξ²|f̂|² dξ = (1/4π²) ∫ |f′|² dx by Plancherel.

Now integrate by parts the real quantity ∫ x·(f̄ f′ + f f̄′) dx = ∫ x·(|f|²)′ dx = −∫ |f|² dx = −1 (the boundary terms vanish since x|f|² → 0, forced by x·f ∈ L²). So |∫ x·2Re(f̄ f′) dx| = 1, giving 1 ≤ 2 ∫ |x f| · |f′| dx. Apply Cauchy–Schwarz:

1 ≤ 2 (∫ x²|f|² dx)^(1/2) (∫ |f′|² dx)^(1/2) = 4π (∫ x²|f|² dx)^(1/2) (∫ ξ²|f̂|² dξ)^(1/2).

Squaring yields the constant 1/(16π²). Equality in Cauchy–Schwarz forces f′ = −c·x·f for a constant c > 0, i.e. f is a Gaussian.

Worked example: the Gaussian family attains equality

Take f(x) = (2α)^(1/4) e^(−παx²), α > 0, normalized so ‖f‖₂ = 1. A direct computation gives the position variance ∫ x²|f|² dx = 1/(4πα). Its Fourier transform is again Gaussian: f̂(ξ) = (2/α)^(1/4) e^(−πξ²/α), with frequency variance ∫ ξ²|f̂|² dξ = α/(4π).

The product is (1/(4πα))·(α/(4π)) = 1/(16π²) — equality, for every α. Choosing α tunes the width in x versus ξ but never the product. This confirms the extremizer analysis: the full equality set is exactly the four-parameter family c·e^(−α(x−a)²)·e^(2πibx) with |c| fixed by normalization, obtained from the standard Gaussian by scaling (α), translation (a), and modulation (b). Physically these are the coherent states / minimum-uncertainty wave packets: a particle described by such a state saturates ΔX·ΔP = ℏ/2. No other functions do.

Why the hypotheses matter — and sharper cousins

The finiteness assumptions x·f ∈ L² and ξ·f̂ ∈ L² are not decoration: if either variance is infinite the inequality holds trivially (∞ ≥ constant) but the extremizer characterization fails, and the integration-by-parts boundary term x|f|² must genuinely vanish, which requires the decay these conditions encode. Unit mass ‖f‖₂ = 1 is a normalization; for general f both sides scale by ‖f‖₂⁴, so the correct homogeneous form is V(f)·V(f̂) ≥ ‖f‖₂⁴/(16π²).

The variance form is only one face of a deeper phenomenon. Benedicks' theorem: if f and f̂ are both supported on sets of finite measure, then f ≡ 0 — you cannot compactly support both. Hardy's theorem quantifies the Gaussian barrier: |f| ≲ e^(−παx²) and |f̂| ≲ e^(−πβξ²) with αβ > 1 forces f ≡ 0, and αβ = 1 forces f to be a Gaussian. These are qualitative uncertainty principles, invisible to the variance inequality but expressing the same rigidity.

Why it matters: from spectroscopy to operator theory

In quantum mechanics the inequality is Heisenberg's principle: for position operator X and momentum P = −iℏ d/dx = (ℏ/i) d/dx, the commutator [X,P] = iℏ forces σ_X σ_P ≥ ℏ/2 via the Robertson–Schrödinger inequality, of which the L² statement is the free-particle case. It bounds ground-state energies (the stability of matter), Gabor/wavelet time-frequency resolution (you cannot build a basis both time- and frequency-localized — the Balian–Low theorem), and the diffraction limit in optics.

Mathematically it is the prototype for a whole industry: the Amrein–Berthier quantitative form, entropic uncertainty (Hirschman–Beckner, sharpened by the Babenko–Beckner Hausdorff–Young constant), Donoho–Stark discrete/finite uncertainty underpinning compressed sensing, and analogues on ℝⁿ, tori, finite abelian groups, and the Heisenberg group. Each says the same thing: a function and its spectrum cannot both be concentrated, and the Gaussian (or its group analogue) marks the boundary of what is possible.

Uncertainty inequalities: hypotheses, quantities controlled, and extremizers
InequalityStatement (‖f‖₂=1)Extremizer / sharpness
Heisenberg (variance form)V(f)·V(f̂) ≥ 1/(16π²), where V(f)=∫(x−a)²|f|²dxGaussians e^(−αx²) (mod translation/modulation/scaling)
Hardy's uncertaintyIf |f(x)|≤Ce^(−παx²) and |f̂(ξ)|≤Ce^(−πβξ²) with αβ>1, then f≡0αβ=1 forces f = c·e^(−παx²) (Gaussian)
Benedicks / Amrein–BerthierIf supp f and supp f̂ both have finite Lebesgue measure, then f≡0Qualitative — no nonzero extremizer
Entropic (Hirschman–Beckner)h(|f|²)+h(|f̂|²) ≥ log(e/2)Gaussians; implies Heisenberg via Jensen
Higher-dim ℝⁿV(f)·V(f̂) ≥ n²/(16π²)Radial Gaussians e^(−α|x|²)

Frequently asked questions

Why does the constant depend on the Fourier convention?

The 2π's move around. With the analyst's convention f̂(ξ)=∫f(x)e^(−2πixξ)dx, Fourier is unitary with no prefactor and differentiation maps to 2πiξ, giving the bound 1/(16π²), i.e. σ_x σ_ξ ≥ 1/(4π). With the physicist's convention f̂(k)=(2π)^(−1/2)∫f(x)e^(−ikx)dx, the same theorem reads σ_x σ_k ≥ 1/2. Both are the identical statement; only the labeling of frequency changes. Always state your convention before quoting the constant.

Where exactly is completeness or the L² structure used?

The whole argument lives in the Hilbert space L²(ℝ). Plancherel's theorem — that the Fourier transform is a unitary bijection of L²(ℝ) onto itself — is what lets us pass ∫ξ²|f̂|²dξ back to (1/4π²)∫|f′|²dx, and it is a theorem about the complete inner-product space L². Cauchy–Schwarz is the L² inner product's inequality. On a non-complete space, or in Lᵖ for p≠2, there is no unitary Plancherel identity and this exact variance inequality has no clean analogue.

Does equality really characterize Gaussians, and which ones?

Yes, and this is a genuine 'if and only if'. Equality forces equality in Cauchy–Schwarz, so f′ and x·f must be proportional: f′(x) = −c·x·f(x) with c>0 for L² membership, whose solutions are e^(−cx²/2). Restoring the translations, modulations, and complex scalar we quotiented out, the full extremal set is {c·e^(−α(x−a)²)e^(2πibx) : α>0, a,b∈ℝ, c∈ℂ}. These are exactly the minimum-uncertainty coherent states of physics.

What breaks if a variance is infinite?

The inequality still holds vacuously (a finite number is ≤ ∞), so it is never violated. But the proof's integration by parts silently assumes the boundary term x|f(x)|² → 0 as |x|→∞, which is guaranteed only when x·f ∈ L² (this is a standard lemma: if f and xf are both L², then x|f|² has limit 0). If x·f ∉ L² the position variance is +∞ anyway. So the finiteness hypotheses matter for the extremizer statement and the honesty of the proof, not for the truth of the bound.

How is this related to the operator/commutator statement in quantum mechanics?

They are the same fact in two languages. For self-adjoint operators A, B on a Hilbert space, the Robertson inequality gives σ_A σ_B ≥ (1/2)|⟨[A,B]⟩|. Taking A = X (multiplication by x) and B = D = (1/2πi)d/dx, one computes the canonical commutator [X,D] = −(1/2πi)I = (i/2π)I (magnitude 1/(2π)). Then σ_X σ_D ≥ 1/(4π), which is precisely the function-theoretic statement since σ_D is the standard deviation of the frequency density |f̂|². The physics ℏ enters only through P = 2πℏ·D.

Is there a version where both f and f̂ have compact support?

No nonzero one — and this is a much stronger 'uncertainty' than the variance inequality. If f∈L²(ℝ) has f compactly supported and f̂ also compactly supported, then f≡0, because f̂ compactly supported makes f the restriction of an entire function (Paley–Wiener), and an entire function vanishing on an open set (where supp f is missed) vanishes identically. Benedicks strengthened this: even finite Lebesgue measure of both supports forces f≡0. The variance inequality only says the product is bounded below; the support versions say certain configurations are outright impossible.