# What is sum_(n=1)^oo 1/n^2 ?

Mar 31, 2017

${\sum}_{n = 1}^{\infty} \frac{1}{n} ^ 2 = {\pi}^{2} / 6$

#### Explanation:

Finding the sum of this series is the "Basel Problem", first posed in 1644 by Pietro Mengoli and solved by Leonhard Euler in 1734.

My favourite way of looking at it is to consider the function:

$\sin \frac{x}{x}$

Note that:

${\lim}_{x \to 0} \sin \frac{x}{x} = 1$

and when $n$ is any non-zero integer:

$\sin \frac{n \pi}{n \pi} = \frac{0}{n \pi} = 0$

Consider the function:

$f \left(x\right) = {\prod}_{n \in \mathbb{Z} , n \ne 0} \left(1 - \frac{x}{n \pi}\right)$

$\textcolor{w h i t e}{f \left(x\right)} = {\prod}_{n = 1}^{\infty} \left(1 - \frac{x}{n \pi}\right) \left(1 + \frac{x}{n \pi}\right)$

$\textcolor{w h i t e}{f \left(x\right)} = {\prod}_{n = 1}^{\infty} \left(1 - {x}^{2} / \left({n}^{2} {\pi}^{2}\right)\right)$

$\textcolor{w h i t e}{f \left(x\right)} = 1 - \frac{1}{{\pi}^{2}} \left({\sum}_{n = 1}^{\infty} \frac{1}{n} ^ 2\right) {x}^{2} + O \left({x}^{4}\right)$

From its definition, we find:

$\left\{\begin{matrix}f \left(0\right) = 1 \\ f \left(n \pi\right) = 0 \text{ for " n in ZZ " with } n \ne 0\end{matrix}\right.$

We can tell that $f \left(x\right)$ is well defined for any real value of $x$ since given any $x$ then for all $n > \frac{\left\mid x \right\mid}{\pi}$, we have $0 \le \left(1 - {x}^{2} / \left({n}^{2} {\pi}^{2}\right)\right) < 1$. So the product definition converges and so does the Maclaurin expansion.

Note that $f \left(x\right)$ matches $\sin \frac{x}{x}$ as $x \to 0$ and for $x = n \pi$.

Hence by the Weierstrass Factorisation Theorem, they are equal functions.

Now the Maclaurin expansion for $\sin \frac{x}{x}$ is:

1/(1!)-x^2/(3!)+x^4/(5!)-x^6/(7!)+... = 1-x^2/6+O(x^4)

Equating the coefficient of ${x}^{2}$ for this expansion and the one we found for $f \left(x\right)$, we find:

$\frac{1}{6} = \frac{1}{\pi} ^ 2 {\sum}_{n = 1}^{\infty} \frac{1}{n} ^ 2$

Multiplying both sides by ${\pi}^{2}$ and transposing, we find:

${\sum}_{n = 1}^{\infty} \frac{1}{n} ^ 2 = {\pi}^{2} / 6$