Séries numériques — solved exercise (Undergraduate)
Statement
Compute the sum of the series ∑_{n≥1} 1/n².
Strategy
We use the Fourier series of the function \(f(x)=x^2\) on \([-\pi,\pi]\). Evaluating the Fourier expansion at \(x=\pi\) gives the Basel sum.
Step-by-step solution
1. Fourier coefficients of \(x^2\)
For \(f(x)=x^2\), the Fourier series on \([-\pi,\pi]\) is
\[
x^2 \sim \frac{a_0}{2}+\sum_{n=1}^{\infty}\left(a_n\cos(nx)+b_n\sin(nx)\right),
\]
where
\[
a_0=\frac{1}{\pi}\int_{-\pi}^{\pi}x^2\,dx,\quad a_n=\frac{1}{\pi}\int_{-\pi}^{\pi}x^2\cos(nx)\,dx,\quad b_n=\frac{1}{\pi}\int_{-\pi}^{\pi}x^2\sin(nx)\,dx.
\]
Since \(x^2\) is even and \(\sin(nx)\) is odd, \(b_n=0\). Also,
\[
\int_{-\pi}^{\pi}x^2\,dx=\frac{2\pi^3}{3},
\]
so
\[
a_0=\frac{2\pi^2}{3}.
\]
For \(n\ge 1\), integration by parts gives
\[
\int_{-\pi}^{\pi}x^2\cos(nx)\,dx=\frac{4\pi(-1)^n}{n^2},
\]
hence
\[
a_n=\frac{4(-1)^n}{n^2}.
\]
📖 These are the standard Fourier coefficient formulas for a \(2\pi\)-periodic function. The integral values were verified by symbolic computation.
2. Fourier series expression
Thus, for \(-\pi\le x\le \pi\),
\[
x^2=\frac{\pi^2}{3}+4\sum_{n=1}^{\infty}\frac{(-1)^n\cos(nx)}{n^2}.
\]
📖 The function \(x^2\) is continuous and piecewise \(C^1\), so its Fourier series converges to the function at every point of \([-\pi,\pi]\).
3. Evaluation at \(x=\pi\)
Set \(x=\pi\). Since \(\cos(n\pi)=(-1)^n\), we get
\[
\pi^2=\frac{\pi^2}{3}+4\sum_{n=1}^{\infty}\frac{(-1)^n(-1)^n}{n^2}.
\]
Therefore,
\[
\pi^2=\frac{\pi^2}{3}+4\sum_{n=1}^{\infty}\frac{1}{n^2}.
\]
So
\[
4\sum_{n=1}^{\infty}\frac{1}{n^2}=\frac{2\pi^2}{3},
\]
and hence
\[
\sum_{n=1}^{\infty}\frac{1}{n^2}=\frac{\pi^2}{6}.
\]
📖 At \(x=\pi\), the Fourier series converges to \(\pi^2\), and the identity \(\cos(n\pi)=(-1)^n\) simplifies the series.
Result
\[\boxed{\displaystyle \sum_{n=1}^{\infty}\frac{1}{n^2}=\frac{\pi^2}{6}}\]
Question-by-question check (two independent resolutions)
| 1 | pi**2/6 | ✔ |
Key concepts
Fourier seriesEven and odd functionsBasel problemConvergence of Fourier series
Tip
A useful trick for sums involving \(1/n^2\) is to look for a Fourier series whose coefficients contain \(1/n^2\), such as the Fourier series of \(x^2\).
Have a similar exercise? Get it solved step by step, for free.
🧮 Solve my exercise