Fourier series and Parseval's theorem

Database › Mathematics › Mathematical physics › Fourier analysis

FOUR-0001TheoremUndergraduateEntrance exam

A periodic function satisfying the Dirichlet conditions equals its Fourier series (the mean of one-sided limits at jumps), and Parseval's theorem relates the mean square to the sum of squared coefficients.

$$f(x)=\frac{a_0}2+\sum_{n=1}^\infty\Big(a_n\cos\frac{n\pi x}{L}+b_n\sin\frac{n\pi x}{L}\Big),\quad a_n=\frac1L\int_{-L}^Lf\cos\frac{n\pi x}{L}dx;\qquad\frac1{2L}\int_{-L}^L|f|^2dx=\frac{a_0^2}{4}+\frac12\sum_n(a_n^2+b_n^2)$$

Explanation

The coefficients follow from orthogonality of sines and cosines over a period. Even functions have only cosines, odd functions only sines; a function given on $(0,L)$ can be extended as even or odd to choose. Complex form: $f=\sum c_ne^{in\pi x/L}$, $c_n=\frac{1}{2L}\int fe^{-in\pi x/L}dx$, Parseval $\frac1{2L}\int|f|^2=\sum|c_n|^2$.

Smoothness controls convergence: coefficients fall like $1/n$ for a jump, $1/n^2$ for a kink. Near a jump the partial sums overshoot by about 9 % of the jump (Gibbs phenomenon), however many terms are kept. Evaluating a series at special points or using Parseval sums many numerical series.

Example 1

Expand $f(x)=x^2$ on $[-\pi,\pi]$ and deduce $\sum1/n^2$ and $\sum1/n^4$.

Solution

$a_0=\frac{2\pi^2}{3}$, $a_n=\frac{4(-1)^n}{n^2}$, $b_n=0$: $x^2=\frac{\pi^2}{3}+4\sum\frac{(-1)^n}{n^2}\cos nx$. At $x=\pi$: $\pi^2=\frac{\pi^2}3+4\sum\frac1{n^2}$, so $\sum\frac1{n^2}=\frac{\pi^2}{6}$. Parseval: $\frac{1}{\pi}\int x^4=\frac{2\pi^4}{5}=\frac{2\pi^4}{9}+16\sum\frac1{n^4}$, so $\sum\frac1{n^4}=\frac{\pi^4}{90}$.

Example 2

Find the Fourier series of the square wave $f=1$ for $0<x<\pi$, $f=-1$ for $-\pi<x<0$, and its value at $x=0$.

Solution

Odd, so $b_n=\frac2\pi\int_0^\pi\sin nx\,dx=\frac{2[1-(-1)^n]}{n\pi}$: $f=\frac4\pi\big(\sin x+\frac{\sin3x}{3}+\cdots\big)$. At the jump $x=0$ the series gives $0$, the mean of $\pm1$. At $x=\pi/2$ it gives Leibniz's series $\frac\pi4=1-\frac13+\frac15-\cdots$.

In graduate entrance exams

  • University of Tokyo, Graduate School of Science, Physics (MSc entrance exam), FY1999 (H11), Problem 1

Related entries