Window Functions and the Uncertainty Principle

The Fourier transform is an even trade: every gain in localization in one domain is paid for by delocalization in the other. A click of zero duration contains every frequency at once; a pure tone held forever occupies a single spectral line. The uncertainty principle is the exact bookkeeping of that trade. Measure the width of ff by the standard deviation Δx\Delta x of ∣f∣2|f|^2 and the width of f^\hat f by Δk\Delta k of ∣f^∣2|\hat f|^2, and their product can never drop below a universal constant, Δx Δk≥12\Delta x\,\Delta k\ge\tfrac12. Nothing in this statement is quantum mechanical — it is a theorem about square-integrable functions, provable with three tools every mathematical physicist owns: the differentiation rule of the Fourier transform, Plancherel's theorem, and the Cauchy-Schwarz inequality applied to the non-commuting pair "multiply by xx" and "differentiate". Follow the equality case of Cauchy-Schwarz to the end and it singles out one function — the Gaussian — as the unique shape that saturates the bound. Dressed with ℏ\hbar through p^=−iℏ d/dx\hat p=-\mathrm{i}\hbar\,\mathrm d/\mathrm dx, the same inequality becomes Heisenberg's position-momentum relation. Dressed with a sliding taper, it becomes the resolution limit of the spectrogram and the reason window functions exist — rectangular, Hann, Hamming, Gaussian each sit somewhere on this one curve. We prove the continuous inequality, find its minimizer, and connect it to the discrete windows engineers apply.

Key takeaways
  • A function and its Fourier transform cannot both be sharply localized: the product of their rms spreads obeys Δx Δk≥12\Delta x\,\Delta k\ge\tfrac12 in the symmetric convention.
  • The bound is a theorem of L2(R)L^2(\mathbb R) analysis — no physics required; it follows from the differentiation rule, Plancherel, and Cauchy-Schwarz.
  • Equality holds if and only if ff is a Gaussian (up to shift, modulation, scale): the unique minimum-uncertainty window.
  • Multiply by ℏ\hbar and it becomes Heisenberg's Δx Δp≥ℏ/2\Delta x\,\Delta p\ge\hbar/2, saturated by the Gaussian wave packet.
  • The same trade-off is the resolution limit of the short-time Fourier transform (Δt Δν≥1/4π\Delta t\,\Delta\nu\ge 1/4\pi) and fixes the main-lobe-versus-leakage compromise of every DFT window.
  • Key idea: multiplication by xx and differentiation ∂x\partial_x are Fourier-conjugate operators that fail to commute, [x,∂x]=−1[x,\partial_x]=-1; Cauchy-Schwarz applied to that commutator forces the product of domain spreads above 12\tfrac12, with the Gaussian as the unique saturating function.
The core insight

Multiplication by xx and differentiation ∂x\partial_x are Fourier-conjugate operators that fail to commute, [x,∂x]=−1[x,\partial_x]=-1; Cauchy-Schwarz applied to that commutator forces the product of the two domain spreads to exceed 12\tfrac12, with the Gaussian the unique function that saturates it.

Where this lives today

The trade-off is the working constraint of every technology that reads a spectrum. In ultrafast optics it is the design equation of femtosecond and attosecond science: shorter pulses demand broader bandwidth, and the frontier of attosecond XUV bursts from high-harmonic generation — a 2023 Nobel Prize — is a direct assault on the time side of Δt Δν≥0.441\Delta t\,\Delta\nu\ge0.441. In gravitational-wave astronomy the LIGO and Virgo detectors are capped by shot noise and radiation-pressure back-action; they now inject squeezed vacuum — light pushed off the minimum-uncertainty symmetry so phase noise trades down against amplitude noise — to see past the standard quantum limit. Time-frequency analysis as a whole, from spectrograms of speech and birdsong to the wavelets behind JPEG-2000, is the engineering response to the fact that no single window resolves both when and what. In quantum information the inequality underwrites security: data encoded in conjugate bases cannot be measured in both without disturbance, so eavesdropping is detectable. An open thread runs alongside — entropic uncertainty relations bound a sum of Shannon entropies rather than a product of variances, sharper and free of the pathologies of second moments.

The physical picture

Strike a piano key for an instant and the sound is a click — sharp in time but spectrally a wash of every frequency at once. Hold the key forever and you approach a single pure pitch — sharp in frequency but smeared across all time. Real signals live between these poles, and the uncertainty principle states precisely how much spectral spread you must accept to buy time localization. The Fourier transform converts "how fast does ff wiggle" into "where is f^\hat f supported": differentiation amplifies high frequencies, so a sharply peaked ff is forced to carry a broad spectrum, as the first figure shows.

Figure
A narrow pulse has a broad spectrum and a broad pulse a narrow spectrum; either way the product of the two rms widths is pinned at the same floor Δx·Δk = 1/2 for a Gaussian
Fourier conjugacy: squeezing a function in one domain stretches it in the other position domain |f(x)|² spectrum |f̂(k)|² Δx small Δk large Δx large Δk small ℱ ℱ Δx·Δk = ½

The Gaussian earns its central role because it is the fixed shape of the transform, e−ax2\mathrm e^{-ax^2} mapping to another Gaussian: it divides its "wiggling budget" as evenly as any function can and sits exactly at the bottom of the trade-off curve. Add a chirp — a quadratic phase — and Δx Δk\Delta x\,\Delta k rises above 12\tfrac12, as the second figure shows: the theorem as a landscape with a single minimum at zero chirp.

Figure
The uncertainty product for a chirped Gaussian e^−(a+ib)x² equals ½√(1+(b/a)²); it bottoms out at exactly 1/2 for zero chirp — the pure Gaussian — and rises for any nonzero chirp
The minimum-uncertainty floor: Δx·Δk = ½√(1 + (b/a)²), least at zero chirp 0.5 1.0 1.5 −2 −1 0 1 2 chirp ratio b / a Δx·Δk floor = ½ (pure Gaussian) minimum = ½ b/a = 1 → ½√2 ≈ 0.707

In quantum mechanics this same figure says a particle cannot have both a definite position and a definite momentum: squeeze the wavefunction into a small box and its momentum spreads wildly; give it a sharp momentum and it spreads over all space. Nothing is needed beyond Fourier conjugacy and the constant ℏ\hbar that converts kk into pp — Heisenberg's principle is not an extra postulate but a corollary of the wave description, true of any Fourier-conjugate pair.

The core equations

We fix the symmetric Fourier convention throughout; the numerical bound depends on this choice, so it must be stated before any number is quoted. The kernel is e−ikx\mathrm e^{-\mathrm i kx} with a 1/2π1/\sqrt{2\pi} prefactor split evenly between forward and inverse transforms.

f^(k)=12π∫−∞∞f(x) e−ikx dx(1)\hat f(k)=\frac{1}{\sqrt{2\pi}}\int_{-\infty}^{\infty} f(x)\,\mathrm e^{-\mathrm i kx}\,\mathrm dx \qquad (1)

where: f(x)f(x) — the function in the spatial or time domain, assumed to lie in L2(R)L^2(\mathbb R); f^(k)\hat f(k) — its transform in the conjugate (wavenumber or frequency) domain; kk — the conjugate variable. The symmetric split makes Plancherel read ∥f∥=∥f^∥\|f\|=\|\hat f\| with no stray 2π2\pi. The "width" of a function is the root-mean-square spread of its probability-like density ∣f∣2|f|^2 about the centroid — nothing more than the variance of a normalized distribution.

⟨x⟩=∫x ∣f∣2 dx∫∣f∣2 dx,(Δx)2=∫(x−⟨x⟩)2 ∣f∣2 dx∫∣f∣2 dx(2)\langle x\rangle=\frac{\int x\,|f|^2\,\mathrm dx}{\int|f|^2\,\mathrm dx},\qquad (\Delta x)^2=\frac{\int (x-\langle x\rangle)^2\,|f|^2\,\mathrm dx}{\int|f|^2\,\mathrm dx} \qquad (2)

where: ⟨x⟩\langle x\rangle — mean position, the centroid of ∣f∣2|f|^2; Δx\Delta x — standard deviation (rms spread) of ∣f∣2|f|^2. The spread is about the mean, which need not be zero; a shift of ff moves ⟨x⟩\langle x\rangle but leaves Δx\Delta x unchanged. The spectral width is the identical construction on ∣f^∣2|\hat f|^2. By Plancherel the two densities carry equal total weight, so both variances are well defined for any f∈L2f\in L^2.

⟨k⟩=∫k ∣f^∣2 dk∫∣f^∣2 dk,(Δk)2=∫(k−⟨k⟩)2 ∣f^∣2 dk∫∣f^∣2 dk(3)\langle k\rangle=\frac{\int k\,|\hat f|^2\,\mathrm dk}{\int|\hat f|^2\,\mathrm dk},\qquad (\Delta k)^2=\frac{\int (k-\langle k\rangle)^2\,|\hat f|^2\,\mathrm dk}{\int|\hat f|^2\,\mathrm dk} \qquad (3)

where: Δk\Delta k — rms spread of the spectrum; ⟨k⟩\langle k\rangle — mean wavenumber. A modulation f↦eik0xff\mapsto \mathrm e^{\mathrm i k_0 x}f shifts ⟨k⟩\langle k\rangle but leaves Δk\Delta k fixed — the mirror of shift invariance. The central result binds these two spreads by a hard floor: no function, however shaped, can push the product below one half.

Δx Δk ≥ 12(4)\Delta x\,\Delta k\ \ge\ \tfrac12 \qquad (4)

where: 12\tfrac12 — the universal lower bound in the symmetric convention. The value is convention-dependent (it becomes 1/4π1/4\pi for the ordinary-frequency kernel e−2πiνx\mathrm e^{-2\pi\mathrm i\nu x}); the existence of a positive floor is not. The engine of the proof is the differentiation rule: in the conjugate domain a derivative is the same as multiplication by ik\mathrm i k, which converts a spectral second moment into a statement about f′f'.

f′^(k)=ik f^(k)(5)\widehat{f'}(k)=\mathrm i k\,\hat f(k) \qquad (5)

where: f′f' — the derivative of ff; under F\mathcal F it becomes multiplication by ik\mathrm i k. Read the other way, xf^=i f^′\widehat{xf}=\mathrm i\,\hat f': multiplication and differentiation swap roles, which is exactly why they are conjugate operators. Promoted to operators, xx and −i d/dx-\mathrm i\,\mathrm d/\mathrm dx fail to commute — the abstract source of the bound. Multiplying by ℏ\hbar turns them into the physical position and momentum operators.

[x^,p^]=iℏ,x^=x,p^=−iℏ ddx(6)[\hat x,\hat p]=\mathrm i\hbar,\qquad \hat x=x,\quad \hat p=-\mathrm i\hbar\,\frac{\mathrm d}{\mathrm dx} \qquad (6)

where: x^\hat x — position operator; p^\hat p — momentum operator, Fourier-conjugate to x^\hat x; ℏ\hbar — reduced Planck constant. The commutator is a pure number times the identity, which makes the bound state-independent. Feeding p=ℏkp=\hbar k into (4) rescales the spectral spread into Heisenberg's relation — the single line where physics enters, through ℏ\hbar and nowhere else.

Δx Δp ≥ ℏ2(7)\Delta x\,\Delta p\ \ge\ \frac{\hbar}{2} \qquad (7)

where: Δp=ℏ Δk\Delta p=\hbar\,\Delta k — the momentum spread. With ℏ=1.0546×10−34 J s\hbar=1.0546\times10^{-34}\ \mathrm{J\,s} the bound is negligible in daily life but decisive at atomic scales. The Gaussian saturates every step. A Gaussian of scale σ\sigma maps to a Gaussian of reciprocal scale 1/σ1/\sigma — squeeze one, the other spreads by the same factor.

gσ(x)=e−x2/(2σ2) → F  g^σ(k)=σ e−σ2k2/2(8)g_\sigma(x)=\mathrm e^{-x^2/(2\sigma^2)}\ \xrightarrow{\ \mathcal F\ }\ \hat g_\sigma(k)=\sigma\,\mathrm e^{-\sigma^2 k^2/2} \qquad (8)

where: σ\sigma — spatial scale; spectral scale 1/σ1/\sigma. These give Δx=σ/2\Delta x=\sigma/\sqrt2 and Δk=1/(σ2)\Delta k=1/(\sigma\sqrt2), so Δx Δk=12\Delta x\,\Delta k=\tfrac12 for every σ\sigma — the equality is scale-invariant. Finally, the discrete face: a window function tapers a finite data record before transforming, trading main-lobe width against side-lobe leakage. The Hann window is the canonical cosine taper.

wHann(n)=12[1−cos⁡ ⁣(2πnN−1)],n=0,…,N−1(9)w_{\mathrm{Hann}}(n)=\tfrac12\Big[1-\cos\!\Big(\tfrac{2\pi n}{N-1}\Big)\Big],\qquad n=0,\dots,N-1 \qquad (9)

where: NN — number of samples; nn — sample index. Tapering the ends to zero removes the discontinuity a rectangular cut leaves, dropping the peak side lobe from −13-13 dB to about −31.5-31.5 dB at the cost of a main lobe twice as wide — the discrete face of the same trade-off.

Derivation AThe uncertainty inequality from second moments

The goal is to establish inequality (4) directly from the definitions, using only the differentiation rule, Plancherel, Cauchy-Schwarz, and one integration by parts. The strategy: convert the spectral spread into a norm of f′f', bound its product with the spatial spread by an inner product, keep the real part, and recognize that real part as the derivative of ∣f∣2|f|^2 — which integrates by parts to the normalization constant. Assume with no loss of generality that the means vanish, ⟨x⟩=⟨k⟩=0\langle x\rangle=\langle k\rangle=0 (a shift and a modulation, neither changing a spread), and ff is normalized, ∫∣f∣2 dx=1\int|f|^2\,\mathrm dx=1.

Step 1. By the differentiation rule (5), ∣f′^∣2=k2∣f^∣2|\widehat{f'}|^2=k^2|\hat f|^2, and Plancherel equates total power, giving (Δk)2=∫k2∣f^∣2 dk=∫∣f′(x)∣2 dx(\Delta k)^2=\int k^2|\hat f|^2\,\mathrm dk=\int|f'(x)|^2\,\mathrm dx. Why: this pivotal move evacuates the spectral domain, expressing a kk-space moment as an L2L^2 norm of f′f' alongside the spatial moment.

Step 2. The product is now (Δx)2(Δk)2=(∫x2∣f∣2 dx)(∫∣f′∣2 dx)(\Delta x)^2(\Delta k)^2=\big(\int x^2|f|^2\,\mathrm dx\big)\big(\int|f'|^2\,\mathrm dx\big). Cauchy-Schwarz with u=xfu=xf, v=f′v=f' gives (Δx)2(Δk)2≥∣∫x f∗f′ dx∣2(\Delta x)^2(\Delta k)^2\ge\big|\int x\,f^{*}f'\,\mathrm dx\big|^2. Why: this is the only inequality in the proof — everything else is identity, so here is where "greater than or equal" is born.

Step 3. Keep only the real part: ∣∫xf∗f′ dx∣2≥(Re∫xf∗f′ dx)2\big|\int x f^{*}f'\,\mathrm dx\big|^2\ge\big(\mathrm{Re}\int x f^{*}f'\,\mathrm dx\big)^2, and since 2 Re(f∗f′)=(∣f∣2)′2\,\mathrm{Re}(f^{*}f')=(|f|^2)' this equals (12∫x (∣f∣2)′ dx)2\big(\tfrac12\int x\,(|f|^2)'\,\mathrm dx\big)^2. Why: writing it through the real density ∣f∣2|f|^2 makes the next integral elementary; the discarded imaginary part is the chirp term that lifts non-Gaussians above the floor.

Step 4. Integrate by parts: 12∫x (∣f∣2)′ dx=12[x∣f∣2]−∞∞−12∫∣f∣2 dx=−12\tfrac12\int x\,(|f|^2)'\,\mathrm dx=\tfrac12[x|f|^2]_{-\infty}^{\infty}-\tfrac12\int|f|^2\,\mathrm dx=-\tfrac12. The boundary term vanishes for any f∈L2f\in L^2 with finite moments, and normalization sends the integral to 11. Why: this is where the number 12\tfrac12 enters — it is just the total probability, extracted by the parts integration.

Step 5. Assemble: (Δx)2(Δk)2≥14(\Delta x)^2(\Delta k)^2\ge\tfrac14, and positive square roots give Δx Δk≥12\Delta x\,\Delta k\ge\tfrac12. Why: both spreads are non-negative, so the square root is unambiguous — the theorem is proved.

The same bound follows from the operator side as a special case of the Robertson relation ΔA ΔB≥12∣⟨[A^,B^]⟩∣\Delta A\,\Delta B\ge\tfrac12|\langle[\hat A,\hat B]\rangle|, valid for any self-adjoint pair: with A=x^A=\hat x, B=−i d/dxB=-\mathrm i\,\mathrm d/\mathrm dx and [A,B]=i 1[A,B]=\mathrm i\,\mathbb 1, Cauchy-Schwarz plus keeping the imaginary part gives Δx Δk≥12∣⟨f,if⟩∣=12\Delta x\,\Delta k\ge\tfrac12|\langle f,\mathrm i f\rangle|=\tfrac12, and B=p^/ℏB=\hat p/\hbar returns Δx Δp≥ℏ/2\Delta x\,\Delta p\ge\hbar/2. Because the commutator is a multiple of the identity, the bound is state-independent — the form that generalizes to angular momentum and energy-time. The next derivation asks which states meet it with equality.

Go deeper · Derivation B · 1 minWhy the Gaussian and only the Gaussian saturates the bound
Derivation BWhy the Gaussian and only the Gaussian saturates the bound

The goal is to identify every function that achieves equality in inequality (4) and confirm the value is exactly 12\tfrac12. Equality propagates backward: Cauchy-Schwarz is tight only when its two arguments are proportional, turning the inequality into a first-order differential equation whose only normalizable solutions are Gaussians. We then compute the two spreads, multiply to verify saturation, and note how a complex constant reintroduces the chirp that lifts the product above the floor.

Step 1. Cauchy-Schwarz ∥u∥ ∥v∥=∣⟨u,v⟩∣\|u\|\,\|v\|=|\langle u,v\rangle| is an equality if and only if v=λuv=\lambda u for a scalar λ\lambda. With u=xfu=xf and v=−if′v=-\mathrm i f' this reads −if′=λ xf-\mathrm i f'=\lambda\,xf, i.e. f′=iλ xff'=\mathrm i\lambda\,x f. Why: the equality condition of the single inequality in the proof is the only constraint the minimizer must satisfy, so solving it finds every extremal function at once.

Step 2. Write α=−iλ\alpha=-\mathrm i\lambda; a normalizable solution requires Re α>0\mathrm{Re}\,\alpha>0. The ODE f′=−αxff'=-\alpha xf integrates to f(x)=C e−αx2/2f(x)=C\,\mathrm e^{-\alpha x^2/2}, a Gaussian. If α\alpha is real the Gaussian is pure; a complex α=a+ib\alpha=a+\mathrm i b multiplies in a quadratic phase e−ibx2/2\mathrm e^{-\mathrm i b x^2/2}, a chirp. Why: this is the punchline — the minimizer is forced to be Gaussian in shape, and the only freedom is a chirp that, as the second figure shows, pushes the product up.

Step 3. Take α=1/σ2\alpha=1/\sigma^2 real, so f=e−x2/(2σ2)f=\mathrm e^{-x^2/(2\sigma^2)} and ∣f∣2=e−x2/σ2|f|^2=\mathrm e^{-x^2/\sigma^2}. The Gaussian second moment gives (Δx)2=σ2/2(\Delta x)^2=\sigma^2/2. Why: a standard integral fixes the spatial spread at Δx=σ/2\Delta x=\sigma/\sqrt2 with no free constants.

Step 4. By pair (8), ∣f^∣2∝e−σ2k2|\hat f|^2\propto\mathrm e^{-\sigma^2 k^2}, and the identical calculation gives (Δk)2=1/(2σ2)(\Delta k)^2=1/(2\sigma^2), i.e. Δk=1/(σ2)\Delta k=1/(\sigma\sqrt2). Why: the transform is a Gaussian of reciprocal variance, so the spectral spread is locked to the spatial one — squeeze σ\sigma and Δk\Delta k grows in compensation.

Step 5. Multiply: Δx Δk=σ22⋅12σ2=12\Delta x\,\Delta k=\sqrt{\tfrac{\sigma^2}{2}\cdot\tfrac{1}{2\sigma^2}}=\tfrac12, independent of σ\sigma; a chirped Gaussian instead gives 121+(b/a)2>12\tfrac12\sqrt{1+(b/a)^2}>\tfrac12. Why: every Gaussian of every width saturates the bound, and only this family does (up to shift and modulation).

Limiting cases

The inequality interpolates between two singular endpoints and is saturated by the Gaussian sitting between them.

CaseResultMeaning
Perfect spatial localizationf→δ(x−x0) ⇒ Δx→0, Δk→∞f\to\delta(x-x_0)\ \Rightarrow\ \Delta x\to0,\ \Delta k\to\inftyA delta has a flat spectrum f^∝e−ikx0\hat f\propto\mathrm e^{-\mathrm i kx_0}; the spectral spread diverges so the product stays ≥12\ge\tfrac12. The delta lives outside L2L^2, at the singular edge.
Perfect spectral localizationf→eik0x ⇒ Δk→0, Δx→∞f\to\mathrm e^{\mathrm i k_0 x}\ \Rightarrow\ \Delta k\to0,\ \Delta x\to\inftyA pure tone has f^∝δ(k−k0)\hat f\propto\delta(k-k_0); the spatial spread diverges. The exact dual of the previous case.
Minimum uncertainty (Gaussian)f=e−x2/(2σ2) ⇒ Δx Δk=12f=\mathrm e^{-x^2/(2\sigma^2)}\ \Rightarrow\ \Delta x\,\Delta k=\tfrac12Exact equality for every width, with Δx=σ/2\Delta x=\sigma/\sqrt2 and Δk=1/(σ2)\Delta k=1/(\sigma\sqrt2).
Chirped Gaussianf=e−(a+ib)x2 ⇒ Δx Δk=121+(b/a)2f=\mathrm e^{-(a+\mathrm i b)x^2}\ \Rightarrow\ \Delta x\,\Delta k=\tfrac12\sqrt{1+(b/a)^2}A nonzero chirp bb correlates phase with position and lifts the product above the floor.
Classical limit (ℏ→0\hbar\to0)Δx Δp≥ℏ/2→0\Delta x\,\Delta p\ge\hbar/2\to0The floor collapses; position and momentum can be jointly sharp, recovering classical phase space.

Worked examples

1 · An electron confined to an atom (fully worked)

An electron is localized to within Δx=0.10 nm=1.0×10−10 m\Delta x=0.10\ \mathrm{nm}=1.0\times10^{-10}\ \mathrm m, roughly an atom's size. Estimate the minimum spread in its momentum and speed and the kinetic-energy scale implied, using ℏ=1.055×10−34 J s\hbar=1.055\times10^{-34}\ \mathrm{J\,s}, me=9.11×10−31 kgm_e=9.11\times10^{-31}\ \mathrm{kg}.

Step 1. Heisenberg's relation (7) at saturation gives the momentum spread directly: Δp=ℏ2 Δx=1.055×10−342 (1.0×10−10)=5.3×10−25 kg m/s\Delta p=\dfrac{\hbar}{2\,\Delta x}=\dfrac{1.055\times10^{-34}}{2\,(1.0\times10^{-10})}=\mathbf{5.3\times10^{-25}\ kg\,m/s} — the least uncertainty compatible with pinning the electron to one atom.

Step 2. Divide by the mass for a speed spread: Δv=Δp/me=(5.3×10−25)/(9.11×10−31)=5.8×105 m/s\Delta v=\Delta p/m_e=(5.3\times10^{-25})/(9.11\times10^{-31})=\mathbf{5.8\times10^{5}\ m/s}, uncertain at half a million metres per second purely because it is confined.

Step 3. The kinetic-energy scale is E∼(Δp)22me=(5.3×10−25)22 (9.11×10−31)=1.5×10−19 J=0.95 eVE\sim\dfrac{(\Delta p)^2}{2m_e}=\dfrac{(5.3\times10^{-25})^2}{2\,(9.11\times10^{-31})}=1.5\times10^{-19}\ \mathrm J=\mathbf{0.95\ eV}. That an atom-sized box forces an energy of order an electron-volt — the scale of atomic binding — is why atoms have the size they do: squeezing tighter costs more kinetic energy than the Coulomb attraction can repay. Confining an electron to 0.1 nm0.1\ \mathrm{nm} forces Δv≈5.8×105 m/s\Delta v\approx5.8\times10^{5}\ \mathrm{m/s} and E≈1 eVE\approx1\ \mathrm{eV}, setting the size of atoms.

2 · The bandwidth of an ultrashort laser pulse (fully worked)

A mode-locked Ti:sapphire laser emits a transform-limited Gaussian pulse of duration Δt=10 fs\Delta t=10\ \mathrm{fs} (intensity FWHM) centred at λ0=800 nm\lambda_0=800\ \mathrm{nm}. What minimum spectral bandwidth, in frequency and in wavelength, must it occupy?

Step 1. For a Gaussian pulse, the bound in intensity-FWHM widths is the time-bandwidth product Δt Δν≥2ln⁡2π=0.441\Delta t\,\Delta\nu\ge\dfrac{2\ln 2}{\pi}=0.441. A transform-limited pulse saturates it: Δν=0.44110×10−15=4.41×1013 Hz=44 THz\Delta\nu=\dfrac{0.441}{10\times10^{-15}}=4.41\times10^{13}\ \mathrm{Hz}=\mathbf{44\ THz}.

Step 2. Convert to a wavelength spread with ∣Δλ∣=λ02c Δν=(800×10−9)23.00×108 (4.41×1013)=94 nm|\Delta\lambda|=\dfrac{\lambda_0^2}{c}\,\Delta\nu=\dfrac{(800\times10^{-9})^2}{3.00\times10^{8}}\,(4.41\times10^{13})=\mathbf{94\ nm} — the pulse must draw on light from roughly 750750 to 850 nm850\ \mathrm{nm} at once.

Step 3. Read backward: shorter pulses require more bandwidth, which is why femtosecond oscillators use broadband gain media (Ti:sapphire spans 650650 to 1100 nm1100\ \mathrm{nm}) and a single-frequency laser can never be pulsed short. The principle is the design equation of ultrafast optics. A 10 fs10\ \mathrm{fs} pulse at 800 nm800\ \mathrm{nm} needs at least 44 THz44\ \mathrm{THz} (≈94 nm\approx94\ \mathrm{nm}) of bandwidth.

3 · Resolution versus leakage in a DFT window

Compare the rectangular window with the Hann window on the two competing figures of merit — main-lobe width and peak side-lobe level — for a length-NN DFT. The rectangular window is the sharpest cut in time, so it has the narrowest main lobe (null-to-null width 22 bins, the best raw resolution) but abrupt edges give a Dirichlet transform whose peak side lobe is only −13 dB-13\ \mathrm{dB} down — one tone leaks conspicuously into its neighbours. The Hann window (9) tapers smoothly to zero, widening the main lobe to 44 bins (half the resolution) but dropping the peak side lobe to about −31.5 dB-31.5\ \mathrm{dB}. You cannot have both, because the window and its spectrum obey the same trade-off as ff and f^\hat f: separating two equal close tones favours the rectangular window, while detecting a weak tone beside a strong one favours Hann or Blackman.

Physics of the portrait

The uncertainty principle is where nineteenth-century analysis and twentieth-century quantum mechanics turn out to be the same theorem — proved as a fact about Fourier integrals, the physics a corollary of renaming kk as p/ℏp/\hbar.

Origins · 1 minuncertainty principle and how this was discovered
UP
uncertainty principle
the Fourier inequality Δx·Δk ≥ 1/2, saturated by the Gaussian · analysis and quantum mechanics

The principle carries Heisenberg's name, but its rigorous form was assembled by others within two years of his 1927 paper. Werner Heisenberg's "microscope" argument of 1927 gave the relation Δx Δp∼h\Delta x\,\Delta p\sim h through a thought-experiment about disturbing a particle by observing it — persuasive, but heuristic and tied to measurement. Earl Kennard, the same year, replaced the hand-waving with a calculation: for a free Gaussian wave packet he derived Δx Δp≥ℏ/2\Delta x\,\Delta p\ge\hbar/2 from the wavefunction alone, establishing that the spread is a property of the state, not of the act of looking. In 1928 Hermann Weyl, crediting Wolfgang Pauli, gave the argument its permanent home in Gruppentheorie und Quantenmechanik, recognizing the bound as a Cauchy-Schwarz inequality on L2L^2 functions — the proof reproduced here. Howard Robertson generalized it in 1929 to any observables, the floor being 12∣⟨[A^,B^]⟩∣\tfrac12|\langle[\hat A,\hat B]\rangle|. The signal-processing reading arrived with Dennis Gabor in 1946, who tiled the time-frequency plane into minimum-area "logons" and introduced the Gaussian-windowed transform. What began as a parable about photons hitting electrons is, in its mature form, a line of functional analysis older than quantum mechanics itself.

History
1927
— Heisenberg's microscope argument gives the heuristic relation Δx·Δp ~ h
1927
— Kennard derives the exact Gaussian bound Δx·Δp ≥ ℏ/2 from the wavefunction
1928
— Weyl, crediting Pauli, casts the bound as a Cauchy-Schwarz inequality on L² functions
1929
— Robertson generalizes it to any observables as ½ of the commutator expectation
1946
— Gabor tiles the time-frequency plane into minimum-area logons and defines the windowed transform

Going further

Texts. Stone & Goldbart, Mathematics for Physics, §6 (Fourier methods) · Arfken, Weber & Harris, Mathematical Methods for Physicists, 7th ed., Ch. 20 · Riley, Hobson & Bence, Mathematical Methods for Physics and Engineering, 3rd ed., Ch. 13 · Folland, Fourier Analysis and Its Applications, §7.5 · Cohen-Tannoudji, Diu & Laloë, Quantum Mechanics, Vol. 1, Complement C-III · Hassani, Mathematical Physics, Ch. on Fourier analysis · Byron & Fuller, Mathematics of Classical and Quantum Physics, Ch. 5. All formulas use the symmetric convention f^=(2π)−1/2∫f e−ikx dx\hat f=(2\pi)^{-1/2}\int f\,\mathrm e^{-\mathrm i kx}\,\mathrm dx. Key checkpoints: f′^=ikf^\widehat{f'}=\mathrm i k\hat f with Plancherel reduces ∫k2∣f^∣2\int k^2|\hat f|^2 to ∫∣f′∣2\int|f'|^2; the Cauchy-Schwarz plus integration-by-parts chain yields (Δx Δk)2≥14(\Delta x\,\Delta k)^2\ge\tfrac14; the Gaussian moments Δx=σ/2\Delta x=\sigma/\sqrt2, Δk=1/(σ2)\Delta k=1/(\sigma\sqrt2) give product 12\tfrac12, and the chirped Gaussian gives 121+(b/a)2\tfrac12\sqrt{1+(b/a)^2}. Numerical anchors: the electron (0.1 nm⇒Δp=5.3×10−25 kg m/s0.1\ \mathrm{nm}\Rightarrow\Delta p=5.3\times10^{-25}\ \mathrm{kg\,m/s}, Δv=5.8×105 m/s\Delta v=5.8\times10^{5}\ \mathrm{m/s}, E≈0.95 eVE\approx0.95\ \mathrm{eV}); the pulse (10 fs10\ \mathrm{fs} at 800 nm⇒44 THz≈94 nm800\ \mathrm{nm}\Rightarrow44\ \mathrm{THz}\approx94\ \mathrm{nm} via Δt Δν=0.441\Delta t\,\Delta\nu=0.441); DFT side lobes (−13 dB-13\ \mathrm{dB} rectangular, −31.5 dB-31.5\ \mathrm{dB} Hann).

Prerequisites. The Fourier Transform · Properties of the Fourier Transform · Parseval's and Plancherel's Theorems · The Dirac Delta Function. Leads to. Tempered Distributions and Fourier Transforms · The Convolution Theorem · Solving Differential Equations by Transform Methods.

Ask the tutor: Ask me to run the Cauchy-Schwarz proof line by line, work a Heisenberg estimate for any system you name, or show why your favourite DFT window sits where it does on the time-frequency curve.

Is the uncertainty principle a fact about quantum mechanics or about mathematics?

It is a theorem of mathematics that quantum mechanics inherits. The inequality Δx Δk≥12\Delta x\,\Delta k\ge\tfrac12 holds for any square-integrable function and its Fourier transform, with no mention of particles, measurement, or ℏ\hbar. Quantum mechanics enters only when you identify the wavefunction's Fourier partner as the momentum amplitude and rescale k=p/ℏk=p/\hbar, at which point it becomes Heisenberg's Δx Δp≥ℏ/2\Delta x\,\Delta p\ge\hbar/2. This is why the same relation shows up untouched in classical signal processing, optics, and acoustics: it is a statement about waves, and quantum particles simply happen to be waves.

Why is the Gaussian the unique minimizer and nothing else?

Because equality forces a differential equation with only one normalizable solution. The single inequality used is Cauchy-Schwarz, tight only when its arguments xfxf and f′f' are proportional: f′=λxff'=\lambda x f. That first-order equation integrates to f=C e−αx2/2f=C\,\mathrm e^{-\alpha x^2/2}, a Gaussian, and no other function satisfies it. A real α\alpha gives a pure Gaussian sitting exactly at 12\tfrac12; a complex α\alpha adds a quadratic-phase chirp that pushes the product above the floor. Shifts and modulations of a Gaussian also saturate the bound — they move the means without changing the spreads — but they are the same Gaussian relocated.

Does a delta function violate the bound, since its position spread is zero?

No — it lives at the singular edge of the trade-off, not below it. As ff approaches a delta, Δx→0\Delta x\to0, but its spectrum flattens toward a constant of infinite extent, so Δk→∞\Delta k\to\infty and the product does not shrink; it diverges. The delta is not an L2L^2 function, so the theorem's hypotheses fail and the clean statement ≥12\ge\tfrac12 is replaced by this limiting behaviour. Properly, the delta and the pure exponential eik0x\mathrm e^{\mathrm i k_0 x} belong to the theory of tempered distributions, where they are the two endpoints the inequality interpolates between.

How is a window function related to the uncertainty principle?

A window is the finite taper you multiply onto a data record before transforming it, and the window itself obeys the trade-off. Its transform has a main lobe whose width sets frequency resolution and side lobes whose height sets spectral leakage, and you cannot make both small at once — a narrow main lobe needs an abruptly-cut window (rectangular), while low side lobes need a smoothly-tapered one (Hann, Blackman). This is Δx Δk≥12\Delta x\,\Delta k\ge\tfrac12 applied to the window itself. Choosing a window is choosing where to sit on the uncertainty curve for the measurement you care about, and the Gaussian window is the minimum-uncertainty choice.

Does squeezed light beat the uncertainty principle?

No — it redistributes uncertainty rather than removing it. The product of the two quadrature spreads still respects the bound, but a squeezed state pushes one factor below the symmetric minimum-uncertainty value while letting the other grow to compensate. This is legitimate because the principle constrains only the product; the symmetric split of a coherent state is a convenient special case, not a requirement. Gravitational-wave detectors exploit exactly this: they squeeze the phase quadrature that carries the signal, accepting louder amplitude noise they do not care about, and so read below the standard quantum limit without violating any theorem.

Why does confinement raise a particle's energy — is that the same principle?

Yes, and it explains atomic stability. Trapping a particle in a region of size Δx\Delta x forces Δp≥ℏ/(2Δx)\Delta p\ge\hbar/(2\Delta x), and since kinetic energy scales as (Δp)2/2m(\Delta p)^2/2m, tighter confinement costs energy growing as 1/(Δx)21/(\Delta x)^2. For an electron in an atom this "quantum pressure" balances the Coulomb attraction that would otherwise pull it into the nucleus: the atom settles at the size where the cost of further squeezing offsets the electrostatic gain — about 0.1 nm0.1\ \mathrm{nm} and 1 eV1\ \mathrm{eV}, as the worked example estimates. The same mechanism sets the degeneracy pressure that holds up white dwarfs and neutron stars.

Before this

Where this leads