Fourier Analysis

⚡ Key Takeaways

Fourier Analysis decomposes functions into sums or integrals of sines and cosines (or complex exponentials). Key result: any "reasonable" periodic function equals a sum of harmonics whose amplitudes are computed by integration; non-periodic functions get a continuous analogue, the Fourier transform. Applies to: signal processing, PDEs, quantum mechanics, number theory, data compression. Who/when: Joseph Fourier (1807–1822), formalized by Dirichlet, Riemann, Lebesgue, and others through the 19th–20th centuries.

💡 The Core Insight

The sines and cosines form an orthogonal basis for a space of functions. Just as a vector in R3\mathbb{R}^3 is reconstructed from its components along orthogonal axes, a function is reconstructed from its "components" along each frequency. Each Fourier coefficient is an inner product — a projection of the function onto a single pure tone. The entire theory is linear algebra in an infinite-dimensional inner-product space.

Formal Statement

DefinitionFourier Series — Trigonometric Form

Let ff be a real function of period 2L2L that is (absolutely) integrable over one period. Its Fourier series is

1
f(x)∼a02+∑n=1∞[ancos⁡ ⁣nπxL+bnsin⁡ ⁣nπxL]\quad f(x) \sim \frac{a_0}{2} + \sum_{n=1}^{\infty}\left[a_n\cos\!\frac{n\pi x}{L} + b_n\sin\!\frac{n\pi x}{L}\right]

Derivation hint: Posit that ff is a superposition of harmonics with period dividing 2L2L; the constant term is written a0/2a_0/2 so that the coefficient formula below is uniform across all nn. with coefficients

2
an=1L∫−LLf(x)cos⁡ ⁣nπxL dx,bn=1L∫−LLf(x)sin⁡ ⁣nπxL dx\quad a_n = \frac{1}{L}\int_{-L}^{L} f(x)\cos\!\frac{n\pi x}{L}\,dx,\qquad b_n = \frac{1}{L}\int_{-L}^{L} f(x)\sin\!\frac{n\pi x}{L}\,dx

Derivation hint: Multiply [1] by cos⁡(mπx/L)\cos(m\pi x/L) or sin⁡(mπx/L)\sin(m\pi x/L), integrate over a period, and use the orthogonality relations ∫−LLcos⁡nπxLcos⁡mπxL dx=Lδnm\int_{-L}^L \cos\frac{n\pi x}{L}\cos\frac{m\pi x}{L}\,dx = L\delta_{nm} (for n,m≥1n,m\ge1), with sines analogous and mixed products vanishing. Here:

  • ff — the function being analyzed;
  • LL — half-period (period is 2L2L);
  • an,bna_n,b_n — Fourier coefficients (amplitudes of each harmonic);
  • nn — harmonic number (integer ≥0\ge 0);
  • the symbol ∼\sim means "has the Fourier series," reserved because equality requires convergence hypotheses.
DefinitionFourier Series — Complex Form

Using Euler's formula eiθ=cos⁡θ+isin⁡θe^{i\theta}=\cos\theta+i\sin\theta, the series collapses to

3
f(x)∼∑n=−∞∞cn einπx/L,cn=12L∫−LLf(x) e−inπx/L dx\quad f(x) \sim \sum_{n=-\infty}^{\infty} c_n\, e^{i n\pi x/L},\qquad c_n = \frac{1}{2L}\int_{-L}^{L} f(x)\, e^{-i n\pi x/L}\,dx

Derivation hint: Substitute cos⁡θ=12(eiθ+e−iθ)\cos\theta = \tfrac12(e^{i\theta}+e^{-i\theta}), sin⁡θ=12i(eiθ−e−iθ)\sin\theta = \tfrac1{2i}(e^{i\theta}-e^{-i\theta}) into [1]; matching coefficients gives cn=12(an−ibn)c_n=\tfrac12(a_n-ib_n) for n>0n>0, c−n=cn‾c_{-n}=\overline{c_n} for real ff, and c0=a0/2c_0=a_0/2. The exponentials {einπx/L}n∈Z\{e^{in\pi x/L}\}_{n\in\mathbb{Z}} satisfy the orthogonality relation ∫−LLeinπx/L eimπx/L‾ dx=2L δnm\int_{-L}^{L} e^{in\pi x/L}\,\overline{e^{im\pi x/L}}\,dx = 2L\,\delta_{nm}.

DefinitionFourier Transform

For a function f:R→Cf:\mathbb{R}\to\mathbb{C} that is absolutely integrable (f∈L1(R)f\in L^1(\mathbb{R})), the Fourier transform and its inverse are

4
f^(ξ)=∫−∞∞f(x) e−2πiξx dx,f(x)=∫−∞∞f^(ξ) e2πiξx dξ\quad \hat f(\xi) = \int_{-\infty}^{\infty} f(x)\, e^{-2\pi i \xi x}\,dx,\qquad f(x) = \int_{-\infty}^{\infty} \hat f(\xi)\, e^{2\pi i \xi x}\,d\xi

Derivation hint: Take the period 2L→∞2L\to\infty in [3]; the discrete frequencies n/(2L)n/(2L) merge into a continuous variable ξ\xi, the sum becomes a Riemann integral, and the factor 1/(2L)1/(2L) becomes the differential dξd\xi. Here ξ\xi is frequency. (Conventions vary: some authors use angular frequency ω=2πξ\omega=2\pi\xi and place factors of 1/2π1/\sqrt{2\pi} or 1/(2π)1/(2\pi); the e−2πiξxe^{-2\pi i\xi x} convention keeps the transform pair perfectly symmetric.)

TheoremDirichlet's Pointwise Convergence Theorem

If ff is periodic, piecewise continuous, and has a left and right derivative at a point x0x_0 (e.g. ff is piecewise smooth), then the Fourier series converges at x0x_0 to the average of the one-sided limits:

5
a02+∑n=1∞[ancos⁡nπx0L+bnsin⁡nπx0L]=f(x0+)+f(x0−)2\quad \frac{a_0}{2}+\sum_{n=1}^\infty\left[a_n\cos\tfrac{n\pi x_0}{L}+b_n\sin\tfrac{n\pi x_0}{L}\right] = \frac{f(x_0^+)+f(x_0^-)}{2}

Derivation hint: Express the NN-th partial sum as the convolution of ff with the Dirichlet kernel DN(t)=sin⁡((N+12)t)sin⁡(t/2)D_N(t)=\frac{\sin((N+\tfrac12)t)}{\sin(t/2)}, then apply the Riemann–Lebesgue lemma to the difference, which kills all but the value at the jump's midpoint. At points of continuity the right side equals f(x0)f(x_0).

TheoremPlancherel / Parseval

The Fourier transform preserves the L2L^2 norm (energy):

6
∫−∞∞∣f(x)∣2 dx=∫−∞∞∣f^(ξ)∣2 dξ\quad \int_{-\infty}^{\infty}|f(x)|^2\,dx = \int_{-\infty}^{\infty}|\hat f(\xi)|^2\,d\xi

and for Fourier series, 12L∫−LL∣f∣2 dx=∑n=−∞∞∣cn∣2\displaystyle \frac{1}{2L}\int_{-L}^{L}|f|^2\,dx = \sum_{n=-\infty}^{\infty}|c_n|^2. Derivation hint: Expand ∫∣f∣2=∫ffˉ\int |f|^2 = \int f\bar f, substitute the inverse transform for one factor, swap order of integration, and use ∫e2πi(ξ−ξ′)xdx=δ(ξ−ξ′)\int e^{2\pi i(\xi-\xi')x}dx = \delta(\xi-\xi').

Why It Holds / Derivation

ProofDeriving the Coefficient Formulas via Orthogonality

1. Assume a representation. Suppose f(x)=a02+∑n≥1[ancos⁡nπxL+bnsin⁡nπxL]f(x)=\frac{a_0}{2}+\sum_{n\ge1}[a_n\cos\frac{n\pi x}{L}+b_n\sin\frac{n\pi x}{L}] with convergence good enough to integrate term by term. 2. Establish orthogonality. For integers m,n≥1m,n\ge 1:

7
∫−LLcos⁡nπxLcos⁡mπxL dx=L δnm,∫−LLsin⁡nπxLsin⁡mπxL dx=L δnm\quad \int_{-L}^{L}\cos\tfrac{n\pi x}{L}\cos\tfrac{m\pi x}{L}\,dx = L\,\delta_{nm},\quad \int_{-L}^{L}\sin\tfrac{n\pi x}{L}\sin\tfrac{m\pi x}{L}\,dx = L\,\delta_{nm}

Derivation hint: Use product-to-sum identities cos⁡Acos⁡B=12[cos⁡(A−B)+cos⁡(A+B)]\cos A\cos B=\tfrac12[\cos(A-B)+\cos(A+B)]; the integral of any nonzero-frequency cosine over a full period is zero, leaving only the n=mn=m term. 3. Mixed and constant terms. ∫−LLcos⁡nπxLsin⁡mπxL dx=0\int_{-L}^{L}\cos\frac{n\pi x}{L}\sin\frac{m\pi x}{L}\,dx=0 for all n,mn,m (odd integrand symmetry), and ∫−LL1⋅cos⁡nπxL dx=0\int_{-L}^{L}1\cdot\cos\frac{n\pi x}{L}\,dx=0 for n≥1n\ge1. 4. Project. To extract ama_m (m≥1m\ge1), multiply both sides by cos⁡mπxL\cos\frac{m\pi x}{L} and integrate over [−L,L][-L,L]. By steps 2–3 every term vanishes except am∫cos⁡2=amLa_m\int\cos^2 = a_m L, giving am=1L∫−LLfcos⁡mπxL dxa_m=\frac1L\int_{-L}^{L}f\cos\frac{m\pi x}{L}\,dx, matching [2]. 5. The constant. Integrating [1] directly gives ∫−LLf dx=a0L\int_{-L}^L f\,dx = a_0 L, i.e. a0=1L∫−LLf dxa_0=\frac1L\int_{-L}^L f\,dx — which is exactly [2] with n=0n=0, justifying the a0/2a_0/2 convention. 6. Best approximation property. Among all trigonometric polynomials of degree ≤N\le N, these coefficients minimize the mean-square error ∫−LL∣f−PN∣2\int_{-L}^L|f-P_N|^2. This is the projection theorem in the Hilbert space L2[−L,L]L^2[-L,L]: the Fourier partial sum is the orthogonal projection of ff onto the span of the first 2N+12N+1 harmonics. ■\blacksquare

∎
JF
Joseph Fourier
1768–1830

Jean-Baptiste Joseph Fourier was a French mathematician and physicist, orphaned young, who trained at the École Normale, accompanied Napoleon to Egypt, and later served as prefect of Isère. While studying heat conduction he made the audacious claim (in his 1807 memoir, expanded in Théorie analytique de la chaleur, 1822) that any function — even one with corners or jumps — could be written as a trigonometric series. The leading mathematicians of the day, including Lagrange and Laplace, were skeptical, and rigorous justification took another century. Fourier is also credited with an early recognition of the greenhouse effect.

Building Intuition

🧠 Intuition

Think of a function as a musical chord and Fourier analysis as the ear (or a prism). The chord is a single complicated pressure wave; your ear decomposes it into pure tones with definite pitches and loudnesses. The Fourier coefficient cnc_n is "how much of pitch nn" is present and "with what phase." Two complementary viewpoints:

  • Geometric: the harmonics are perpendicular coordinate axes in an infinite-dimensional space. cnc_n is the shadow of ff on the nn-th axis. Parseval [6] is the Pythagorean theorem: total energy = sum of squared components.
  • Dynamical: einωte^{in\omega t} are the eigenfunctions of ddt\frac{d}{dt}. Decomposing ff into them diagonalizes differentiation, which is why Fourier methods crush linear differential equations: each frequency evolves independently.
Figure
Square wave (gold) and its Fourier partial sums — note the Gibbs overshoot near the jumps
x f +1 (target) -1 Gibbs overshoot ≈ 9% partial sum S₇(x) — gold

Worked Examples

ExampleFourier Series of a Square Wave

Given: the odd square wave of period 2π2\pi (L=πL=\pi): f(x)=+1f(x)=+1 for 0<x<π0<x<\pi, f(x)=−1f(x)=-1 for −π<x<0-\pi<x<0.

Steps: 1. Since ff is odd, all an=0a_n=0 (cosines are even). Only bnb_n survive. 2. Compute bn=1π∫−ππf(x)sin⁡(nx) dx=2π∫0πsin⁡(nx) dxb_n=\frac1\pi\int_{-\pi}^{\pi}f(x)\sin(nx)\,dx = \frac2\pi\int_0^\pi \sin(nx)\,dx (even integrand). 3. ∫0πsin⁡(nx) dx=1−cos⁡(nπ)n=1−(−1)nn\int_0^\pi \sin(nx)\,dx = \frac{1-\cos(n\pi)}{n}=\frac{1-(-1)^n}{n}. 4. So bn=2π⋅1−(−1)nnb_n=\frac{2}{\pi}\cdot\frac{1-(-1)^n}{n}: this is 00 for even nn and 4πn\frac{4}{\pi n} for odd nn.

Boxed answer:

8
f(x)=4π∑k=0∞sin⁡((2k+1)x)2k+1=4π(sin⁡x+sin⁡3x3+sin⁡5x5+⋯ )\quad f(x)=\frac{4}{\pi}\sum_{k=0}^{\infty}\frac{\sin\big((2k+1)x\big)}{2k+1}=\frac{4}{\pi}\left(\sin x+\frac{\sin 3x}{3}+\frac{\sin 5x}{5}+\cdots\right)

Derivation hint: only odd harmonics appear because the half-period symmetry f(x+π)=−f(x)f(x+\pi)=-f(x) annihilates even harmonics.

Bonus: setting x=π/2x=\pi/2 (where f=1f=1) gives the Leibniz series π4=1−13+15−17+⋯\frac{\pi}{4}=1-\frac13+\frac15-\frac17+\cdots.

ExampleFourier Transform of a Gaussian

Given: f(x)=e−πx2f(x)=e^{-\pi x^2} (a normalized Gaussian).

Steps: 1. f^(ξ)=∫−∞∞e−πx2e−2πiξx dx\hat f(\xi)=\int_{-\infty}^\infty e^{-\pi x^2}e^{-2\pi i\xi x}\,dx. 2. Complete the square in the exponent: −πx2−2πiξx=−π(x+iξ)2−πξ2-\pi x^2-2\pi i\xi x = -\pi(x+i\xi)^2 - \pi\xi^2. 3. Factor out e−πξ2e^{-\pi\xi^2}: f^(ξ)=e−πξ2∫−∞∞e−π(x+iξ)2 dx\hat f(\xi)=e^{-\pi\xi^2}\int_{-\infty}^\infty e^{-\pi(x+i\xi)^2}\,dx. 4. The remaining integral equals ∫−∞∞e−πu2 du=1\int_{-\infty}^\infty e^{-\pi u^2}\,du = 1 (contour shift / Gaussian integral).

Boxed answer:

9
e−πx2^(ξ)=e−πξ2\quad \widehat{e^{-\pi x^2}}(\xi)=e^{-\pi \xi^2}

Derivation hint: the Gaussian with this normalization is a fixed point ("eigenfunction") of the Fourier transform.

Interpretation: A Gaussian transforms to a Gaussian — and a narrow one transforms to a wide one (try e−πax2↦a−1/2e−πξ2/ae^{-\pi a x^2}\mapsto a^{-1/2}e^{-\pi\xi^2/a}). This trade-off is the analytic heart of the Uncertainty Principle.

Common Misconceptions

⚠️ Common mistake

"A Fourier series always equals the function." Not pointwise. Convergence depends on the function's smoothness and the mode of convergence. There exist continuous functions (du Bois-Reymond, 1873) whose Fourier series diverges at a point. Convergence in L2L^2 (mean-square) is guaranteed for any square-integrable function (Riesz–Fischer), but pointwise convergence needs extra hypotheses like piecewise smoothness. The deep result of Carleson (1966) is that for f∈L2f\in L^2 the series converges almost everywhere — a far harder fact than it sounds.

⚠️ Common mistake

"More terms always give a better approximation everywhere." Near a jump discontinuity the partial sums overshoot by a fixed fraction (~8.95% of the jump) regardless of how many terms you take — the Gibbs phenomenon. The overshoot does not shrink; it merely narrows and slides toward the discontinuity. The series still converges in the L2L^2 sense, just not uniformly.

Counterexample

Define ff on [−π,π][-\pi,\pi] by f(x)=∑k=1∞sin⁡(2kx)k2f(x)=\sum_{k=1}^\infty \frac{\sin(2^{k}x)}{k^2}-type lacunary constructions, or more simply consider the Weierstrass-style nowhere-differentiable function. Its Fourier coefficients decay like 1/k21/k^2 along sparse frequencies, the series converges uniformly (so ff is continuous), yet ff is nowhere differentiable. Conclusion: a uniformly convergent, perfectly continuous Fourier series can represent a function with no derivative anywhere — slow decay of coefficients ⟺ rough function.

Connections

connection

Fourier analysis sits at a crossroads:

  • It is infinite-dimensional <span class="wiki-link-missing">Linear Algebra</span>: coefficients are inner products onto an orthonormal basis, and Parseval is the Pythagorean theorem in Hilbert Space.
  • It is the natural tool for Partial Differential Equations — separation of variables in the heat, wave, and Laplace equations produces exactly these trigonometric eigenfunctions.
  • The Fourier transform turns <span class="wiki-link-missing">Convolution</span> into pointwise multiplication, the foundation of Linear Time-Invariant Systems.
  • It generalizes to the Laplace Transform (complex frequencies), the Discrete Fourier Transform / Fast Fourier Transform (finite data), and abstract Harmonic Analysis on groups.
  • In Quantum Mechanics the position and momentum representations of a state are a Fourier transform pair, making [9]'s Gaussian trade-off literally Heisenberg's uncertainty.

Real-World Applications

🔬 Where this appears

Historical Development

⏳ History
- 1748 — Euler relates trigonometric series to the vibrating string problem; debate with d'Alembert and Daniel Bernoulli over which functions a string's shape can take.
- 1807 — Fourier submits his memoir on heat to the French Academy, claiming arbitrary functions expand in trigonometric series; the committee (Lagrange, Laplace, Legendre) withholds full approval.
- 1822 — Fourier publishes Théorie analytique de la chaleur, establishing the method despite incomplete rigor.
- 1829 — Dirichlet gives the first rigorous convergence theorem for piecewise-monotone functions ([5]).
- 1854 — Riemann, in his habilitation, develops the Riemann integral partly to clarify which functions have Fourier series, and constructs the Riemann–Lebesgue ideas.
- 1873 — du Bois-Reymond exhibits a continuous function whose Fourier series diverges at a point, ending hopes for universal pointwise convergence.
- 1899 — Gibbs (after Wilbraham, 1848) explains the persistent overshoot at jumps — the Gibbs phenomenon.
- 1902–1910 — Lebesgue's integration theory and the Riesz–Fischer theorem put L2L^2 convergence on solid ground; Plancherel proves [6] for the transform.
- 1965 / 1966 — Cooley & Tukey publish the Fast Fourier Transform (FFT), reducing the DFT cost from O(N2)O(N^2) to O(Nlog⁡N)O(N\log N); Carleson proves a.e. convergence of L2L^2 Fourier series.

Subtleties & Limits

open-problem

Several boundaries of the classical theory remain delicate or active:

  • Multidimensional convergence: in Rd\mathbb{R}^d the order of summation matters; the "ball multiplier" problem (Fefferman, 1971) showed that spherical partial sums need not converge in LpL^p for p≠2p\ne 2 when d≥2d\ge2 — a counterintuitive failure absent in one dimension.
  • Pointwise convergence at the edge of integrability: Kolmogorov (1923) built an L1L^1 function whose Fourier series diverges everywhere. The exact boundary between Carleson's a.e.-convergence (L2L^2) and total divergence (L1L^1) is governed by subtle conditions (e.g. Llog⁡LL\log L classes).
  • Restriction & Kakeya: modern harmonic analysis ties Fourier restriction estimates to the Kakeya conjecture, with open problems linking geometry, number theory, and PDE that drive contemporary research (work of Bourgain, Tao, and others).
  • Uncertainty limits: a function and its transform cannot both be sharply localized; the precise extremal trade-offs (Beurling–Malliavin, Hardy's theorem) remain a refined area.

See Also

Laplace Transform · Discrete Fourier Transform · Convolution · Gibbs Phenomenon · Uncertainty Principle · Spectral Methods · Sturm–Liouville Theory