Search

Search papers and lessons

Poisson Summation Formula

Level 3 · 11 min read

Poisson summation says that adding a function's values at all the integers equals adding its Fourier transform at the frequencies 2 pi k, linking sampling to the spectrum.

On this page

  • Colour = topic mix
  • Calculus
  • Discrete math
  • Signal processing
  • Linear algebra
  • ReadReady to readNot yet

TL;DR

Adding up a function at every whole number is hard to do in closed form, yet the Poisson summation formula says it equals a sum of the function's Fourier transform at the frequencies 2πk2\pi k for every whole number kk. A sum over a lattice of points becomes a sum over a lattice of frequencies. This is why sampling a signal at regular intervals produces copies of its spectrum, and why the formula is a standard tool for both signal processing and lattice calculations.

Builds on: Fourier Transform, Dirac Delta Function · Leads to: Discrete Fourier Transform, Nyquist–Shannon Sampling Theorem

Where it's used

Digital audio. A compact disc stores sound sampled 44,100 times per second. Sampling is the same as multiplying the continuous signal by a train of spikes, one at each sample time. The Poisson formula says that this product has a spectrum made of copies of the original spectrum, one copy centred at each multiple of 2π/T2\pi/T radians per second, for samples TT seconds apart. If the original contains frequencies above half the sampling rate, the copies overlap, and that overlap is aliasing.

Crystals and electrostatics. A crystal is a lattice of atoms, and the electric energy of a periodic arrangement of charges is an infinite sum over lattice points. Those sums converge too slowly to add directly. The Ewald method splits the sum in two, and the part in frequency space, on the reciprocal lattice, uses the same Poisson identity, so the calculation can be done with a few quick terms in each half.

Number theory. The theta function ∑nqn2\sum_n q^{n^2} is a series over the integers, and its powers generate counts of ways to write numbers as sums of squares. Number theorists use Poisson summation to turn a theta series into one over the dual lattice, which gives identities that are otherwise hard to see.

How it works

Take a box of width 3: f(t)=1f(t) = 1 for ∣t∣≤1.5|t| \le 1.5 and 00 otherwise. Sample it at every whole number, add the samples, and compare with a sum of its transform. Frequencies are angular, in radians per second, as in Fourier Transform.

  1. Sample at the whole numbers. Evaluate ff at n=…,−2,−1,0,1,2,…n = \dots, -2, -1, 0, 1, 2, \dots. Values are 1 at n=−1,0,1n = -1, 0, 1 and 0 elsewhere, since ∣±2∣>1.5|\pm 2| \gt 1.5. Check: three samples equal 1, so the sum of the samples is 33.

  2. Write down the transform. The transform of the box is f^(ω)=2sin⁡(3ω/2)ω\hat{f}(\omega) = \dfrac{2\sin(3\omega/2)}{\omega}, the box formula with width 3. Check: as ω→0\omega \to 0, the value tends to 33, which is the area of the box.

  3. Evaluate at the frequencies 2πk2\pi k. Put ω=2πk\omega = 2\pi k for a whole number kk. Then 3ω/2=3πk3\omega/2 = 3\pi k, and the sine of a whole multiple of π\pi is zero, so sin⁡(3πk)=0\sin(3\pi k) = 0. So f^(2πk)=0\hat{f}(2\pi k) = 0 for every k≠0k \ne 0. Check: 3πk3\pi k is a multiple of π\pi, where sine is zero.

  4. Keep only the k=0k = 0 term. At k=0k = 0 the transform is f^(0)=3\hat{f}(0) = 3. The sum of the transform over all kk is therefore 33.

  5. Compare the two sums. The sample sum is 3 and the transform sum is 3. They agree.

  6. Read the result. The sum of the samples equals the total area of the box, not by accident. The transform is zero at every nonzero multiple of 2π2\pi, which is the same as saying the samples carry no aliased copies.

24681012140123frequency ω (radians per second)transform value
  • transform of the width-3 box
The transform of the width-3 box is zero at 2π and 4π, and at every other nonzero multiple of 2π. Only the value at zero frequency survives in the sum.
flowchart LR
  A[Sum f at the integers] --> C[Equal]
  B[Sum the transform at the frequencies 2 pi k] --> C

The math

Definition: Poisson summation formula

Let ff be a smooth function that decays quickly as ∣x∣|x| grows, and let f^(ω)=∫−∞∞f(x) e−iωx dx\hat{f}(\omega) = \int_{-\infty}^{\infty} f(x)\, e^{-i\omega x}\, dx be its Fourier transform. Then

∑n=−∞∞f(n)=∑k=−∞∞f^(2πk).\sum_{n = -\infty}^{\infty} f(n) = \sum_{k = -\infty}^{\infty} \hat{f}(2\pi k).

The left side sums ff over the integers. The right side sums its transform over the frequencies 2πk2\pi k.

Step 1 in symbols: the samples

The sum on the left is a sum of values of ff at the points nn. The box has f(−1)=f(0)=f(1)=1f(-1) = f(0) = f(1) = 1, so the left side is 33. Equivalently, the sampled signal is ∑nf(n) δ(t−n)\sum_n f(n)\,\delta(t - n), a train of delta spikes weighted by the samples.

Step 2 in symbols: the transform

For the box of width T=3T = 3, the integral runs over [−3/2,3/2][-3/2, 3/2]:

f^(ω)=∫−3/23/2e−iωt dt=2sin⁡(3ω/2)ω.\hat{f}(\omega) = \int_{-3/2}^{3/2} e^{-i\omega t}\, dt = \frac{2\sin(3\omega/2)}{\omega}.

This is the formula from the Fourier Transform lesson with the width changed.

Step 3 in symbols: the frequencies

The frequencies 2πk2\pi k are the spacing of the sample train in frequency. For the box, f^(2πk)=2sin⁡(3πk)/(2πk)=0\hat{f}(2\pi k) = 2\sin(3\pi k)/(2\pi k) = 0 when k≠0k \ne 0, and at k=0k = 0 the value is the limit, 3. So the right side is 33.

Step 4 in symbols: a smooth example

For f(x)=e−πx2f(x) = e^{-\pi x^2}, an exponential of a square, the standard Gaussian integral gives f^(ω)=e−ω2/(4π)\hat{f}(\omega) = e^{-\omega^2/(4\pi)}. At ω=2πk\omega = 2\pi k this is e−πk2e^{-\pi k^2}, so the formula says

∑ne−πn2=∑ke−πk2.\sum_{n} e^{-\pi n^2} = \sum_{k} e^{-\pi k^2}.

The two sums are the same, so this function is its own transform under the formula.

Worked examples

Example
1. Tiny: a box of width 1

Let f(t)=1f(t) = 1 for ∣t∣≤1/2|t| \le 1/2 and 00 otherwise. Check the Poisson formula.

  1. Sum of samples: the only whole number inside [−1/2,1/2][-1/2, 1/2] is 0, so the sum is f(0)=1f(0) = 1.
  2. Transform: f^(ω)=2sin⁡(ω/2)/ω\hat{f}(\omega) = 2\sin(\omega/2)/\omega.
  3. At ω=2πk\omega = 2\pi k with k≠0k \ne 0: sin⁡(πk)=0\sin(\pi k) = 0, so each term is 0.
  4. At k=0k = 0: f^(0)=1\hat{f}(0) = 1, the area of the box.
  5. Sum of transform values: 11. The two sums agree.

Interpretation: a box of width 1 is picked up by exactly one sample, and its spectrum has no copies at the frequencies 2πk2\pi k.

Try it: the box of width 5, with f(t)=1f(t) = 1 for ∣t∣≤2.5|t| \le 2.5. What is the sum of the samples? Answer: the samples at −2,−1,0,1,2-2, -1, 0, 1, 2 are each 1, so the sum is 5, which matches the area of the box.

Example
2. Standard: the Gaussian is its own transform

Let f(x)=e−πx2f(x) = e^{-\pi x^2}. Check the formula numerically.

  1. Left side: the terms are f(0)=1f(0) = 1, f(±1)=e−πf(\pm 1) = e^{-\pi}, and f(±2)=e−4πf(\pm 2) = e^{-4\pi}, and the rest are negligible. Using e−π≈0.043214e^{-\pi} \approx 0.043214 and e−4π≈0.0000035e^{-4\pi} \approx 0.0000035, the sum is 1+2(0.043214)+2(0.0000035)≈1.0864351 + 2(0.043214) + 2(0.0000035) \approx 1.086435.
  2. Transform: f^(ω)=e−ω2/(4π)\hat{f}(\omega) = e^{-\omega^2/(4\pi)}. Check: at ω=0\omega = 0 it is 1, which is the area of e−πx2e^{-\pi x^2}.
  3. Evaluate at ω=2πk\omega = 2\pi k: ω2/(4π)=4π2k2/(4π)=πk2\omega^2/(4\pi) = 4\pi^2 k^2/(4\pi) = \pi k^2, so f^(2πk)=e−πk2\hat{f}(2\pi k) = e^{-\pi k^2}.
  4. Right side: the same terms as step 1, so the sum is about 1.0864351.086435.
  5. Interpretation: the two sums agree to six decimal places. The formula holds exactly, and the closeness is what a quick numerical check shows.

Try it: using the same Gaussian, find f^(4π)\hat{f}(4\pi). Answer: 4π4\pi is 2π⋅22\pi \cdot 2, so k=2k = 2 and f^(4π)=e−4π≈3.5×10−6\hat{f}(4\pi) = e^{-4\pi} \approx 3.5 \times 10^{-6}.

Example
3. Realistic: a sensor sampling a pulse

A sensor records a bell-shaped pulse, f(t)=e−t2/2f(t) = e^{-t^2/2} (the shape of the normal distribution curve, without its normalising constant), once per unit time, at t=nt = n for whole numbers nn. Find the sum of the readings, and check the answer using the transform.

  1. Samples: f(0)=1f(0) = 1; f(±1)=e−0.5≈0.606531f(\pm 1) = e^{-0.5} \approx 0.606531; f(±2)=e−2≈0.135335f(\pm 2) = e^{-2} \approx 0.135335; f(±3)=e−4.5≈0.011109f(\pm 3) = e^{-4.5} \approx 0.011109; f(±4)=e−8≈0.000335f(\pm 4) = e^{-8} \approx 0.000335.
  2. Sum: 1+2(0.606531+0.135335+0.011109+0.000335+… )≈1+2(0.753314)≈2.5066281 + 2(0.606531 + 0.135335 + 0.011109 + 0.000335 + \dots) \approx 1 + 2(0.753314) \approx 2.506628.
  3. Transform: for this Gaussian f^(ω)=2π e−ω2/2\hat{f}(\omega) = \sqrt{2\pi}\, e^{-\omega^2/2}. Check: at ω=0\omega = 0 it is 2π≈2.506628\sqrt{2\pi} \approx 2.506628, the area under the pulse.
  4. Right side: ∑k2π e−(2πk)2/2=2π(1+2e−2π2+… )\sum_k \sqrt{2\pi}\, e^{-(2\pi k)^2/2} = \sqrt{2\pi}\left(1 + 2e^{-2\pi^2} + \dots\right). The number e−2π2e^{-2\pi^2} is about 2.7×10−92.7 \times 10^{-9}.
  5. Interpretation: the sum of the readings equals the area of the pulse, 2π≈2.506628\sqrt{2\pi} \approx 2.506628, to six decimal places. The first aliased pair of terms, 22π e−2π22\sqrt{2\pi}\,e^{-2\pi^2}, changes the answer by about 1.3×10−81.3 \times 10^{-8}, far below the sixth decimal place, so the samples capture the pulse's total area.

Try it: without adding the readings, predict their sum using only the k=0k = 0 term of the transform. Answer: 2π≈2.5066\sqrt{2\pi} \approx 2.5066, which matches the sum of the readings to six decimal places.

Common mistakes and tradeoffs

It is tempting to think that the sum over the integers always equals the integral of ff. In fact that happens only when the transform vanishes at all the nonzero frequencies 2πk2\pi k, or when those terms are negligible. In the box example they vanish, and in the Gaussian example they are small. A signal with a strong component at a frequency 2πk2\pi k breaks the approximation, which is aliasing in disguise.

It is tempting to think the formula needs the function to be periodic. In fact it turns a sum over a lattice into a sum over the dual lattice, and no periodicity of ff is required. The periodic copies appear in the transform, not in the function.

It is tempting to think the constants are a detail. In fact the formula uses angular frequency, and in the convention with frequency ξ\xi in cycles per second the formula reads ∑nf(n)=∑kf^(k)\sum_n f(n) = \sum_k \hat{f}(k) with f^(ξ)=∫f(x) e−2πiξx dx\hat{f}(\xi) = \int f(x)\, e^{-2\pi i \xi x}\, dx. Mixing the two conventions produces a factor of 2π2\pi error.

It is tempting to think that Poisson summation is a numerical approximation. In fact the identity is exact under its conditions, and the approximation is only in the truncation of the sums, which is what a computer does.

When to use it: when a sum over a regular lattice is hard to add directly, when a signal is sampled at a regular spacing, or when a lattice sum converges slowly and a dual sum converges fast. When not to use it: when ff does not decay, or is not smooth enough for the transform to exist. Then the sums need a different method, such as direct summation with a known error bound.

History

Siméon Denis Poisson stated the summation identity in the early nineteenth century, while working on Fourier series and definite integrals. It later became a standard tool for Fourier analysis and for lattice sums.

The formula became central to engineering in the twentieth century, when the sampling theorem explained how a continuous signal can be recovered from its samples. The Nyquist and Shannon work on sampling is the setting in which the aliasing copies of the spectrum, which Poisson summation describes, became the working rule for digital audio. The method caught on because it turns a slow sum into a fast one, and sampling theory needs exactly that.

Recap

  • Poisson summation says the sum of f(n)f(n) over the integers equals the sum of f^(2πk)\hat{f}(2\pi k) over the integers kk.
  • Sampling at unit spacing multiplies the signal by a spike train, and its spectrum becomes periodic copies of the original.
  • The box of width 3 has transform zero at every nonzero 2πk2\pi k, so only the area survives in the sum.
  • For e−πx2e^{-\pi x^2} and e−t2/2e^{-t^2/2} the two sides agree to six decimal places.
  • Read next: Discrete Fourier Transform, the version used for sampled data, and the sampling theorem that sets the limit on what sampling can capture.

Check yourself

QuestionRecall: state the Poisson summation formula in words, with the two sums named.Show answer
The sum of a function's values at all the integers equals the sum of its Fourier transform evaluated at the frequencies 2πk2\pi k for all integers kk.
QuestionComputation: for f(x)=e−πx2f(x) = e^{-\pi x^2}, what is f^(2π)\hat{f}(2\pi), and which term of the left-hand sum does it match?Show answer
f^(ω)=e−ω2/(4π)\hat{f}(\omega) = e^{-\omega^2/(4\pi)}, so f^(2π)=e−π≈0.0432\hat{f}(2\pi) = e^{-\pi} \approx 0.0432. This is the same as the value f(1)=e−πf(1) = e^{-\pi} on the left, which is the first term of the sample sum: the two sides pair their terms as k=±1k = \pm 1 and n=±1n = \pm 1.
QuestionWhy: the transform of a box is zero at 2πk2\pi k for k≠0k \ne 0. What does that say about the samples of the box?Show answer
The zeros mean the spectrum of the box has no copies at the aliasing frequencies. The sample sum therefore equals the area of the box, with no correction from the other terms.
QuestionApplied: a recorder samples a signal at unit spacing. Under what condition does the sum of its samples equal the area of the signal, and what goes wrong otherwise?Show answer
The sum equals the area when the transform is negligible at every nonzero frequency 2πk2\pi k. If the signal has a large transform value at some 2πk2\pi k with k≠0k \ne 0, that term adds to the sum, and the sample total no longer reflects the area alone. This is aliasing: a frequency near a multiple of the sampling rate is mistaken for a lower one.

Sources