Fourier series, explained
6 min read
Short answer
A periodic function on can be written as with and . Each coefficient measures how much of that frequency contains.
Why the formulas work
Sines and cosines of different frequencies are orthogonal: for and equals for . Multiply the series by and integrate: every term vanishes except the term, leaving . It is projection onto a basis, as in linear algebra.
Even and odd shortcuts
If is odd, all (only sines). If is even, all (only cosines). Checking this first halves the work.
Worked example
Find the Fourier series of on .
is odd, so . (integration by parts). So . Check at : . ✓
Try it yourself
Without computing, which coefficients vanish for on ?
Show the answer
is even, so every and the series contains only a constant and cosine terms.
Keep going with practice
Vidi's linear algebra lessons explain this as an orthogonal projection onto a basis of sines and cosines.