Sign in to save

Bookmark this page so you can find it later.

Sign in to save

Bookmark this page so you can find it later.

Fourier series represent periodic functions as sums of sines and cosines. This cheat sheet helps college students quickly identify the correct coefficient formulas, symmetry shortcuts, and convergence rules. It is useful in calculus, differential equations, signal processing, physics, and engineering courses. The goal is to make setup and interpretation faster without losing mathematical precision. The core idea is that a function with period 2L2L can be expanded using orthogonal basis functions cos(nπxL)\cos\left(\frac{n\pi x}{L}\right) and sin(nπxL)\sin\left(\frac{n\pi x}{L}\right). Coefficients are found by integrating the function against these basis functions over one full period. Even functions produce cosine series, odd functions produce sine series, and piecewise smooth functions converge to midpoint values at jumps. Energy relationships such as Parseval's identity connect the function's squared size to the sum of squared Fourier coefficients.

Key Facts

  • For a function with period 2L2L, the Fourier series is f(x)a02+n=1[ancos(nπxL)+bnsin(nπxL)]f(x) \sim \frac{a_0}{2} + \sum_{n=1}^{\infty}\left[a_n\cos\left(\frac{n\pi x}{L}\right) + b_n\sin\left(\frac{n\pi x}{L}\right)\right].
  • The constant coefficient is a0=1LLLf(x)dxa_0 = \frac{1}{L}\int_{-L}^{L} f(x)\,dx.
  • The cosine coefficients are an=1LLLf(x)cos(nπxL)dxa_n = \frac{1}{L}\int_{-L}^{L} f(x)\cos\left(\frac{n\pi x}{L}\right)\,dx for n1n \ge 1.
  • The sine coefficients are bn=1LLLf(x)sin(nπxL)dxb_n = \frac{1}{L}\int_{-L}^{L} f(x)\sin\left(\frac{n\pi x}{L}\right)\,dx for n1n \ge 1.
  • If ff is even, then bn=0b_n = 0 and an=2L0Lf(x)cos(nπxL)dxa_n = \frac{2}{L}\int_{0}^{L} f(x)\cos\left(\frac{n\pi x}{L}\right)\,dx.
  • If ff is odd, then a0=0a_0 = 0, an=0a_n = 0, and bn=2L0Lf(x)sin(nπxL)dxb_n = \frac{2}{L}\int_{0}^{L} f(x)\sin\left(\frac{n\pi x}{L}\right)\,dx.
  • At a jump discontinuity, the Fourier series converges to f(x)+f(x+)2\frac{f(x^-) + f(x^+)}{2} rather than to either one-sided value.
  • Parseval's identity for period 2L2L is 1LLLf(x)2dx=a022+n=1(an2+bn2)\frac{1}{L}\int_{-L}^{L} |f(x)|^2\,dx = \frac{a_0^2}{2} + \sum_{n=1}^{\infty}\left(a_n^2 + b_n^2\right).

Vocabulary

Fourier series
A representation of a periodic function as an infinite sum of sine and cosine terms.
Period
The positive length TT such that f(x+T)=f(x)f(x+T)=f(x) for all relevant values of xx.
Fourier coefficient
A number such as ana_n or bnb_n that measures how much of a specific cosine or sine mode appears in the function.
Orthogonality
A property where integrals of different basis functions over a full period equal 00, allowing coefficients to be isolated.
Half-range expansion
A sine-only or cosine-only Fourier series built from a function originally defined on an interval such as 0<x<L0 < x < L.
Gibbs phenomenon
The persistent overshoot near a jump discontinuity that remains even as more Fourier terms are added.

Common Mistakes to Avoid

  • Using the wrong period in the basis functions, because cos(nx)\cos(nx) and sin(nx)\sin(nx) apply directly only when the period is 2π2\pi.
  • Forgetting the factor 1L\frac{1}{L} or 2L\frac{2}{L} in coefficient formulas, which changes every coefficient by a constant scale factor.
  • Treating a discontinuity value as the Fourier series limit, because the series converges to f(x)+f(x+)2\frac{f(x^-) + f(x^+)}{2} at a jump.
  • Ignoring symmetry, which leads to unnecessary integration and can produce incorrect nonzero coefficients for terms that should vanish.
  • Confusing sine and cosine half-range extensions, because a sine series corresponds to an odd extension while a cosine series corresponds to an even extension.

Practice Questions

  1. 1 Find the Fourier series coefficients for f(x)=xf(x)=x on π<x<π-\pi < x < \pi with period 2π2\pi.
  2. 2 Compute the cosine series for f(x)=x2f(x)=x^2 on π<x<π-\pi < x < \pi with period 2π2\pi.
  3. 3 For the square wave f(x)=1f(x)=1 on 0<x<π0<x<\pi and f(x)=1f(x)=-1 on π<x<0-\pi<x<0, determine which coefficients a0a_0, ana_n, and bnb_n are zero.
  4. 4 Explain why a Fourier series may fail to equal f(x)f(x) exactly at a jump discontinuity, even when the function is otherwise well behaved.