# Basel problem

The **Basel problem** is a famous problem in number theory, first posed by Pietro Mengoli in 1644, and solved by Leonhard Euler in 1735. The problem had withstood the attacks of the leading mathematicians of the day, so Euler's solution gained him immediate notoriety at the age of 28. Euler generalised the problem considerably, and his ideas were taken up years later by Bernhard Riemann in his seminal 1859 paper *On the Number of Primes Less Than a Given Magnitude*, in which he defined his zeta function and proved its basic properties. The problem is named after Basel, hometown of Euler as well as of the Bernoulli family, who unsuccessfully attacked the problem.

The Basel problem asks for the precise sum of the reciprocals of the squares of the positive integers, i.e. the precise sum of the infinite series

The series is approximately equal to **1.644934**. The Basel problem asks for the *exact* sum of this series, (in closed form), as well as a proof that this sum is correct. Euler found the exact sum to be **π ^{2}/6** and announced this discovery in 1735. His arguments were based on manipulations that were not justified at the time, and it was not until 1741 that he was able to produce a truly rigorous proof.

## Contents

## Euler attacks the problem

Euler's original "derivation" of the value π^{2}/6 is clever and original. He essentially extended observations about finite polynomials and assumed that these same properties hold true for infinite series. Of course, Euler's original reasoning requires justification, but even without justification, by simply obtaining the correct value, he was able to verify it numerically against partial sums of the series. The agreement he observed gave him sufficient confidence to announce his result to the mathematical community.

To follow Euler's argument, recall the Taylor series expansion of the sine function

Dividing through by *x*, we have

Now, the roots (zeros) of sin(*x*)/*x* occur precisely at *x* = ±*n*π, where *n* = 1, 2, 3, ... Let us assume we can express this infinite series as a product of linear factors given by its roots, just as we do for finite polynomials:

If we formally multiply out this product and collect all the *x*^{2} terms, we see that the *x*^{2} coefficient of sin(*x*)/*x* is

But from the original infinite series expansion of sin(*x*)/*x*, the coefficient of *x*^{2} is −1/(3!) = −1/6. These two coefficients must be equal; thus,

Multiplying through both sides of this equation by −π^{2} gives the sum of the reciprocals of the positive square integers.

## The Riemann zeta function

The Riemann zeta function ζ(*s*) is one of the most important functions in mathematics, because of its relationship to the distribution of the prime numbers. The function is defined for any complex number *s* with real part > 1 by the following formula:

Taking *s* = 2, we see that ζ(2) is equal to the sum of the reciprocals of the squares of the positive integers:

How do we know it converges *at all*? We can demonstrate this with the following inequality:

This gives us the upper bound ζ(2) < 2, but the exact value ζ(2) = π^{2}/6 was unknown for some time, until Leonhard Euler computed it in 1735. It can be shown that ζ(*s*) has a nice expression in terms of the Bernoulli numbers whenever *s* is a positive even integer.

## A rigorous proof

The following argument proves the identity **ζ(2) = π ^{2}/6**, where ζ(

*s*) is the Riemann zeta function. It is by far the simplest proof yet available; while most proofs utilise results from advanced mathematics, such as Fourier analysis, complex analysis, and multivariable calculus, the following does not even require single-variable calculus (although a single limit is taken at the end).

### History of this proof

The origin of the proof is unclear. It appeared in the journal *Eureka* in 1982, attributed to John Scholes, but Scholes claims he learned the proof from Peter Swinnerton-Dyer, and in any case he maintains the proof was "common knowledge at Cambridge in the late 1960s".

### What you need to know

To understand the proof, you will need to understand the following facts:

- De Moivre's formula states that for any real number
*x*and any integer*n*,

- Proof: This can be proved from Euler's formula; see the article for more details.

- The binomial theorem, which states that for any real numbers
*x*and*y*and any nonnegative integer*n*,

- where we have the binomial coefficients

- (See factorial)

- Proof: This requires mathematical induction and some properties of the binomial coefficients.

- The function cot
^{2}*x*is one-to-one on the interval (0, π/2).- Proof: Suppose cot
^{2}*x*= cot^{2}*y*for some*x*,*y*in the interval (0, π/2). Using the definition of cotangent cot*x*= (cos*x*)/(sin*x*) and the trigonometric identity cos^{2}*x*= 1 − sin^{2}*x*, we see that (sin^{2}*x*)(1 − sin^{2}*y*) = (sin^{2}*y*)(1 − sin^{2}*x*). Subtracting (sin^{2}*x*)(sin^{2}*y*) from each side, we have sin^{2}*x*= sin^{2}*y*. Since the sine function is always nonnegative on the interval (0, π/2), this means sin*x*= sin*y*, but it is geometrically evident (by looking at the unit circle, e.g.) that the sine function is 1-1 on the interval (0, π/2), so that*x*=*y*.

- Proof: Suppose cot

- If
*p*(*t*) is a polynomial of degree*m*, then*p*has no more than*m*distinct roots.- Proof: This is a consequence of the fundamental theorem of algebra.

- If
*p*(*t*) =*a*_{m}*t*^{m}+*a*_{m − 1}*t*^{m − 1}+ ... +*a*_{1}*t*+*a*_{0}, where*a*_{m}≠ 0, then the sum of the roots of*p*(counting multiplicities) is −*a*_{m − 1}/*a*_{m}.- Proof: If
*a*_{m}= 1, then*p*(*t*) = product of all (*t*−*s*), where*s*ranges over all roots of*p*. Expanding this product, we see the coefficient of*t*^{m − 1}is minus the sum of all the roots. If*a*_{m}≠ 1, then we can divide each term by it, obtaining a new polynomial with the same roots, whose leading coefficient is now 1; applying the preceding argument shows that the sum of the roots of the original*p*(*t*) = sum of the roots of this new polynomial = −*a*_{m − 1}/*a*_{m}.

- Proof: If

- The trigonometric identity csc
^{2}*x*= 1 + cot^{2}*x*.- Proof: This follows from the fundamental identity 1 = sin
^{2}*x*+ cos^{2}*x*after dividing through by sin^{2}*x*.

- Proof: This follows from the fundamental identity 1 = sin

- For any real number
*x*with 0 <*x*< π/2, we have the inequalities cot^{2}*x*< 1/*x*^{2}< csc^{2}*x*.- Proof: First note that 0 < sin
*x*<*x*< tan*x*. This can be seen by considering the following picture:

- Proof: First note that 0 < sin

- Now, take the reciprocal of everything and square. Remember that the inequality switches direction.

- Let
*a*,*b*, and*c*be any real numbers, with*a*and*c*not both zero; then the limit of the function (*am*+*b*)/(*am*+*c*) as*m*approaches infinity is 1.- Proof: Divide each term by
*m*, and get (*a*+*b*/*m*)/(*a*+*c*/*m*). If we divide a fixed number by a larger and larger number, the quotient approaches zero; thus, both the numerator and the denominator above tend to*a*, and so their quotient tends to 1.

- Proof: Divide each term by

- The squeeze theorem, which states that if a function is "squeezed" between two other functions, and each of those two functions approach a common limit, then the "squeezed" function also approaches that same limit.
- Proof: See the article for a thorough discussion and proof.

### The proof

The main idea behind the proof is to bound the partial sums

between two expressions, each of which will tend to π^{2}/6 as *m* approaches infinity. The two expressions are derived from identities involving the cotangent and cosecant functions. These identities are in turn derived from De Moivre's formula, and we now turn to establishing these identities.

Let *x* be a real number with 0 < *x* < π/2, and let *n* be a positive integer. Then from De Moivre's formula and the definition of the cotangent function, we have

From the binomial theorem, we have

Combining the two equations and equating imaginary parts gives the identity

We take this identity and set *n* = 2*m* + 1, where *m* is a positive integer, and *x* = *r*π/(2*m* + 1), where *r* = 1, 2, ..., *m*. Then *nx* = *r*π, so that sin(*nx*) = 0, and so

This equation holds for each of the values *x* = *r*π/(2*m* + 1), where *r* = 1, 2, ..., *m*. These values of *x* are distinct numbers strictly between 0 and π/2. Since the function cot^{2}(*x*) is 1-1 on the interval (0, π/2), the numbers cot^{2}(*x*) = cot^{2}(*r*π/(2*m* + 1)) are therefore distinct for *r* = 1, 2, ..., *m*. But by the above equation, each of these *m* distinct numbers is a root of the *m*th degree polynomial

This means that the numbers *x* = cot^{2}(*r*π/(2*m* + 1)), for *r* = 1, 2, ..., *m* are precisely the roots of the polynomial *p*(*t*). But we can calculate the sum of the roots directly by examining the coefficients, and the comparison shows that

Substituting the identity csc^{2} *x* = cot^{2} *x* + 1, we have

Now consider the inequality cot^{2} *x* < 1/*x*^{2} < csc^{2} *x*. If we add up all these inequalities for each of the numbers *x* = *r*π/(2*m* + 1), and if we use the two identities above, we get

Multiplying through by (π/(2*m* + 1))^{2}, this becomes

As *m* approaches infinity, the left and right hand expressions each approach π^{2}/6, so by the squeeze theorem,

and this completes the proof. Q.E.D.

## References

*Number Theory: An Approach Through History*, Andre Weil, Springer, ISBN 0817631410*Euler: The Master of Us All*, William Dunham, MAA, ISBN 0883853280*Prime Obsession: Bernhard Riemann and the Greatest Unsolved Problem in Mathematics*, John Derbyshire, Joseph Henry Press, ISBN 0309085497*Proofs From the Book*, Martin Aigner, Gunter Ziegler, Springer, ISBN 3540678654*Riemann's Zeta Function*, Harold M. Edwards, Dover, ISBN 0486417409

## External links

- A page dedicated to ζ(2)
- Euler's solution of the Basel problem -- the longer story (PDF)
- How Euler did it (PDF)
- The infinite series of Euler and the Bernoulli's spice up a calculus class (PDF)
- Fourteen proofs of the evaluation of ζ(2), compiled by Robin Chapman