Fourier Series & Orthogonal Expansions

A Fourier series is an orthogonal projection of a periodic function onto sinusoidal modes. This chapter derives the coefficients, separates mean-square from pointwise convergence, explains symmetry, Parseval energy, Gibbs behavior, and coefficient decay, and keeps normalization and phase conventions explicit.

A Fourier series does not claim that a complicated waveform is secretly made of physical oscillators. It says that periodic functions can be represented or approximated in an orthogonal coordinate system whose basis functions are sines, cosines, or complex exponentials. Orthogonality makes each coefficient an independent projection and turns approximation error and signal energy into sums of squares.

What coefficients mean on a real waveform #

For a measured periodic signal, the zero-frequency coefficient is its average, the fundamental repeats once per period, and higher harmonics describe shape within the cycle. This representation is useful because a linear system can be analyzed one sinusoidal input at a time and the responses added. Periodic motor torque, switched power, sound, vibration, and heat forcing then become families of small sinusoidal problems instead of one complicated waveform problem.

The coefficients do not prove that hidden oscillators physically generated the signal. They are coordinates. Their usefulness comes from orthogonality and from how linear differential equations act on sinusoidal coordinates.

Fix the convention before calculating #

Let ff have period T=2LT=2L and fundamental angular frequency ω0=π/L=2π/T\omega_0=\pi/L=2\pi/T. The real form is

f(x)∼a02+∑n=1∞(ancos⁡nω0x+bnsin⁡nω0x),f(x)\sim \frac{a_0}{2}+\sum_{n=1}^{\infty} \left(a_n\cos n\omega_0x+b_n\sin n\omega_0x\right),

with

an=1L∫−LLf(x)cos⁡(nω0x) dx,bn=1L∫−LLf(x)sin⁡(nω0x) dx.a_n=\frac1L\int_{-L}^{L}f(x)\cos(n\omega_0x)\,dx, \qquad b_n=\frac1L\int_{-L}^{L}f(x)\sin(n\omega_0x)\,dx.

Here the a0a_0 formula is the same formula at n=0n=0, so the DC value is a0/2a_0/2.

The complex form is

f(x)∼∑n∈Zcneinω0x,cn=12L∫−LLf(x)e−inω0x dx.f(x)\sim\sum_{n\in\mathbb Z}c_ne^{in\omega_0x}, \qquad c_n=\frac1{2L}\int_{-L}^{L}f(x)e^{-in\omega_0x}\,dx.

For n>0n>0,

cn=an−ibn2,c−n=an+ibn2,c0=a02.c_n=\frac{a_n-ib_n}{2},\qquad c_{-n}=\frac{a_n+ib_n}{2},\qquad c_0=\frac{a_0}{2}.

If ff is real-valued, c−n=cn‾c_{-n}=\overline{c_n}. Negative frequencies are therefore redundant for reconstructing a real signal, but they are not absent; the pair is what produces a real sinusoid.

Orthogonality derives the coefficients #

On [−L,L][-L,L], distinct complex modes satisfy

12L∫−LLeinω0xeimω0x‾ dx=δnm.\frac1{2L}\int_{-L}^{L}e^{in\omega_0x}\overline{e^{im\omega_0x}}\,dx =\delta_{nm}.

Taking the inner product of ff with mode mm kills every other mode and leaves cmc_m. This is the same coordinate extraction used with orthonormal vectors.

For the partial sum

SNf=∑∣n∣≤Ncneinω0x,S_Nf=\sum_{|n|\le N}c_ne^{in\omega_0x},

orthogonality also gives the projection property

∥f−SNf∥2≤∥f−p∥2\|f-S_Nf\|_2\le\|f-p\|_2

for every trigonometric polynomial pp using only modes ∣n∣≤N|n|\le N. The Fourier partial sum is not merely one approximation; it is the least-squares approximation in that subspace.

Three convergence questions are different #

The notation f∼∑cneinω0xf\sim\sum c_ne^{in\omega_0x} does not by itself specify how the series converges.

  • Mean-square convergence. ∥SNf−f∥2→0\lVert S_Nf-f\rVert_2\to0. For f∈L2f\in L^2 on a period, the complex exponentials form a complete orthonormal system, so this is the natural baseline.
  • Pointwise convergence. For sufficiently regular piecewise-smooth functions, the symmetric partial sums converge at xx to [f(x−)+f(x+)]/2[f(x-)+f(x+)]/2.
  • Uniform convergence. sup⁡x∣SNf(x)−f(x)∣→0\sup_x\lvert S_Nf(x)-f(x)\rvert\to0. This is stronger and cannot hold across a jump because every finite partial sum is continuous.

At a jump, the Fourier series reconstructs the midpoint of the one-sided limits, regardless of the value assigned to ff at that single point. Changing finitely many point values also does not change the coefficients because integrals ignore measure-zero changes.

Symmetry is a calculation shortcut, not a new theorem #

On a symmetric interval:

  • if ff is even, every bn=0b_n=0 and only cosines remain;
  • if ff is odd, a0=an=0a_0=a_n=0 and only sines remain;
  • half-wave symmetry f(x+L)=−f(x)f(x+L)=-f(x) removes even harmonics.

A function given only on [0,L][0,L] does not have a unique Fourier series until an extension is chosen. The even extension produces a cosine series, the odd extension a sine series, and a direct periodic extension may create different endpoint jumps. The extension is part of the model.

Parseval turns waveform energy into coefficient energy #

With the convention above, Parseval's identity is

12L∫−LL∣f(x)∣2 dx=∑n∈Z∣cn∣2.\frac1{2L}\int_{-L}^{L}|f(x)|^2\,dx =\sum_{n\in\mathbb Z}|c_n|^2.

In real coefficients,

1L∫−LL∣f(x)∣2 dx=∣a0∣22+∑n=1∞(∣an∣2+∣bn∣2).\frac1L\int_{-L}^{L}|f(x)|^2\,dx =\frac{|a_0|^2}{2}+\sum_{n=1}^{\infty}\left(|a_n|^2+|b_n|^2\right).

This is Pythagoras in an infinite-dimensional Hilbert space. It gives an exact truncation-error budget in mean square:

12L∥f−SNf∥22=∑∣n∣>N∣cn∣2.\frac1{2L}\|f-S_Nf\|_2^2=\sum_{|n|>N}|c_n|^2.

Smoothness controls decay, with boundary conditions attached #

Integration by parts explains coefficient decay. If ff is absolutely continuous over a period and its endpoint values match, then for n≠0n\ne0,

cn=1inω012L∫−LLf′(x)e−inω0x dx,c_n=\frac{1}{in\omega_0}\frac1{2L}\int_{-L}^{L}f'(x)e^{-in\omega_0x}\,dx,

so cn=o(1/n)c_n=o(1/n) under standard integrability assumptions. Repeating the argument gives higher inverse powers only when the corresponding derivatives exist, are integrable enough, and the periodic boundary terms continue to match.

A jump in ff typically produces O(1/n)O(1/n) coefficients. If ff is continuous but f′f' has jumps, O(1/n2)O(1/n^2) is typical. These are patterns under explicit regularity and boundary hypotheses, not a universal rule of the form “the last continuous derivative always determines 1/nN+21/n^{N+2}.”

Gibbs behavior is local but does not shrink vertically #

Near a jump, partial sums oscillate and overshoot. As NN grows, the oscillatory region narrows, but the peak overshoot approaches a nonzero fraction of the jump rather than vanishing. This does not contradict mean-square convergence: the error is concentrated in a shrinking interval.

Fourier projection, two-sided spectrum, and Gibbs behavior The top-left panel shows the Fourier partial sum as an orthogonal projection with a perpendicular residual. The top-right panel shows conjugate-symmetric coefficient magnitudes at positive and negative integer frequencies. The bottom panel compares a jump discontinuity with a ringing partial sum whose oscillation region narrows while its overshoot remains finite. Orthogonal projection Two-sided coefficients Gibbs behavior near a jump Vₙ: modes |n| ≤ N f Sₙf f − Sₙf residual ⟂ Vₙ, so Sₙf is least-squares best −3−2−1 0123 n |cₙ| real f: c₋ₙ = c̄ₙ — negative modes are present x value f(x) Sₙf(x) overshoot remains ringing region narrows as N grows midpoint (f₋ + f₊)/2 at the jump
Orthogonal projection explains least-squares optimality, real signals require paired positive and negative modes, and Gibbs ringing narrows around a jump without losing its finite overshoot.

Smoother summation methods such as Fejér means average the partial sums and improve convergence behavior. Windowing also changes sidelobes, but it trades resolution for reduced ringing; it is not a free repair.

Worked example: the odd square wave #

Let f(x)=1f(x)=1 for 0<x<π0<x<\pi, f(x)=−1f(x)=-1 for −π<x<0-\pi<x<0, and extend it with period 2π2\pi. The function is odd, so only sine coefficients remain:

bn=1π∫−ππf(x)sin⁡(nx) dx=2π∫0πsin⁡(nx) dx=2πn(1−(−1)n).b_n=\frac1\pi\int_{-\pi}^{\pi}f(x)\sin(nx)\,dx =\frac2\pi\int_{0}^{\pi}\sin(nx)\,dx =\frac{2}{\pi n}\bigl(1-(-1)^n\bigr).

Thus bn=4/(πn)b_n=4/(\pi n) for odd nn and bn=0b_n=0 for even nn:

f(x)∼4π(sin⁡x+sin⁡3x3+sin⁡5x5+⋯ ).f(x)\sim\frac4\pi\left(\sin x+\frac{\sin3x}{3}+\frac{\sin5x}{5}+\cdots\right).

At x=0x=0 and x=πx=\pi, the series converges to the midpoint of the jump, 00. Away from jumps it converges to ±1\pm1. The 1/n1/n decay records the jump discontinuities.

Diagnostic checklist #

  • State TT, LL, ω0\omega_0, and the coefficient convention.
  • Check DC separately and use conjugate symmetry only for real signals.
  • Decide whether the claim is L2L^2, pointwise, or uniform convergence.
  • At a jump, compare with the midpoint of one-sided limits.
  • Verify periodic endpoint matching before integrating by parts repeatedly.
  • Derive phase from the chosen complex coefficient; a time delay f(x−x0)f(x-x_0) contributes e−inω0x0e^{-in\omega_0x_0} under this convention.
  • Use Parseval to audit normalization: coefficient energy must match waveform energy.

Sources

  1. bookSeries, Functions of a Complex Variable and Operational Calculus: Lecture Notes and Practicumpdfnotes
  2. docsNIST DLMF §1.8 — Fourier Series
  3. docsMIT OCW RES.18-015 Lecture 1 — Basic Theory of Fourier Series
  4. docsMIT OCW ES.1803 Topic 22 — Fourier Series Introduction Continued
  5. docsMIT OCW 18.03SC — Fourier Series and Laplace Transform

Searches titles, aliases, headings, summaries, and full text.↑↓ move ↵ open esc close