Even and Odd Functions: Cosine and Sine Series
What you'll learn: How exploiting the symmetry of even and odd functions dramatically simplifies Fourier series computations.
The Core Idea
When your function has special symmetry, you don't need both sine and cosine terms—you can use half the work! This is like packing a symmetric suitcase: if the left side mirrors the right, you only need to inventory one side.
Even functions satisfy f(-x) = f(x). They're symmetric about the y-axis (think of cos(x) or x²). Their Fourier series contains only cosine terms (and possibly a constant):
f(x) = a₀/2 + Σ aₙ cos(nx)
All the bₙ coefficients (the sine terms) vanish automatically because sine is odd and integrating an odd function over a symmetric interval gives zero.
Odd functions satisfy f(-x) = -f(x). They're symmetric about the origin (think of sin(x) or x³). Their Fourier series contains only sine terms:
f(x) = Σ bₙ sin(nx)
Here, all aₙ coefficients (cosine terms) vanish because cosine is even, making the product with an odd function odd over a symmetric interval.
Why This Matters
When solving PDEs like the heat or wave equations with separation of variables, boundary conditions often force your spatial eigenfunctions to be purely even or odd. Recognizing this immediately tells you whether you need a cosine series or sine series—cutting your computational work in half and simplifying the physics interpretation.
For example, insulated endpoints often lead to cosine series (even extensions), while fixed endpoints lead to sine series (odd extensions).
Key Takeaway: Even functions yield cosine-only Fourier series; odd functions yield sine-only series. Recognizing symmetry eliminates half your coefficients before you compute anything.