Fourier Series

Any periodic function can be written as a sum of sines and cosines. Learn periodic functions, Euler formulas for the coefficients, even and odd symmetry (cosine and sine series), half-range expansions, convergence and the Gibbs phenomenon, Parseval's theorem, and the complex exponential form.

Fourier series decompose square waves from digital clocks, sawtooth sweeps, rectified AC and periodic loads on machinery into harmonics. They are also the key to solving the heat and wave equations by separation of variables.

An analogy

A Fourier series is like mixing paint from primary colours: every periodic shape is a mixture of pure sinusoids in specific amounts (the coefficients).

Harmonics

The fundamental has the signal's period; harmonics are integer multiples. Smooth signals need few harmonics; sharp edges need many.

Symmetry saves work

Check even/odd symmetry first — half the coefficients vanish. Half-wave symmetry (f(x + L) = −f(x)) removes even harmonics.

Half-range expansions

A function on [0, L] can be extended evenly (cosine series) or oddly (sine series) — chosen to match boundary conditions in PDE problems.

Convergence

At jumps the series converges to the midpoint; near jumps it overshoots ≈ 9 % (Gibbs phenomenon) no matter how many terms. Parseval links power in the signal to the sum of harmonic powers.

Formulas

Worked example: Sawtooth

Given: f(x) = x on (−π, π), period 2π

Find: Coefficients.

Answer: x = 2(sin x − sin 2x/2 + sin 3x/3 − …)

Worked example: Basel sum via Parseval

Given: Sawtooth series

Find: Σ 1/n².

Answer: Σ 1/n² = π²/6

Common mistakes

Applications

Key takeaways

Going further