WordGPT

The Basel problem: 1 + 1/4 + 1/9 + … = π²/6

Exercise · Level 5 (Olympiad)

Find the sum of the reciprocals of the squares.

∑n=1∞1n2\sum_{n=1}^{\infty}\frac1{n^2}

wordgptpro.com

Solution

  1. On [−π,π][-\pi,\pi] the function x2x^2 has the cosine series (the coefficients come from integrating by parts twice):

    x2=π23+4∑n=1∞(−1)nn2cos⁡nxx^2=\frac{\pi^2}{3}+4\sum_{n=1}^{\infty}\frac{(-1)^n}{n^2}\cos nx
    (1)
  2. At x=πx=\pi we have cos⁡nπ=(−1)n\cos n\pi=(-1)^n, so each term becomes (−1)n(−1)nn2=1n2\tfrac{(-1)^n(-1)^n}{n^2}=\tfrac1{n^2}:

    π2=π23+4∑n=1∞1n2\pi^2=\frac{\pi^2}{3}+4\sum_{n=1}^{\infty}\frac1{n^2}
    (2)
  3. Solve for the sum:

    ∑n=1∞1n2=14⋅2π23=π26≈1.6449\begin{aligned}&\sum_{n=1}^{\infty}\frac1{n^2}\\&=\frac14\cdot\frac{2\pi^2}{3}\\&=\frac{\pi^2}{6}\approx1.6449\end{aligned}
    (3)
Answerπ26\frac{\pi^{2}}{6}

wordgptpro.com

Need a hint?

Expand x² on [−π, π] as a Fourier series and put in x = π.

1 + 1/4 + 1/9 + … = π²/6 ≈ 1.6449, the value Euler found in 1734.

How to work it out

  1. On [−π,π][-\pi,\pi] the function x2x^2 has the cosine series (the coefficients come from integrating by parts twice):

    x2=π23+4∑n=1∞(−1)nn2cos⁡nxx^2=\frac{\pi^2}{3}+4\sum_{n=1}^{\infty}\frac{(-1)^n}{n^2}\cos nx
    (1)
  2. At x=πx=\pi we have cos⁡nπ=(−1)n\cos n\pi=(-1)^n, so each term becomes (−1)n(−1)nn2=1n2\tfrac{(-1)^n(-1)^n}{n^2}=\tfrac1{n^2}:

    π2=π23+4∑n=1∞1n2\pi^2=\frac{\pi^2}{3}+4\sum_{n=1}^{\infty}\frac1{n^2}
    (2)
  3. Solve for the sum:

    ∑n=1∞1n2=14⋅2π23=π26≈1.6449\begin{aligned}&\sum_{n=1}^{\infty}\frac1{n^2}\\&=\frac14\cdot\frac{2\pi^2}{3}\\&=\frac{\pi^2}{6}\approx1.6449\end{aligned}
    (3)
LaTeX source of the formulas on this page
\[ \frac{\pi^{2}}{6} \]
\[ x^2=\frac{\pi^2}{3}+4\sum_{n=1}^{\infty}\frac{(-1)^n}{n^2}\cos nx \]
\[ \pi^2=\frac{\pi^2}{3}+4\sum_{n=1}^{\infty}\frac1{n^2} \]
\[ \sum_{n=1}^{\infty}\frac1{n^2}=\frac14\cdot\frac{2\pi^2}{3}=\frac{\pi^2}{6}\approx1.6449 \]

Questions

What is the answer to: The Basel problem: 1 + 1/4 + 1/9 + … = π²/6?

1 + 1/4 + 1/9 + … = π²/6 ≈ 1.6449, the value Euler found in 1734.

What is the key idea?

A Fourier series evaluated at one point turns a function into a numeric series.

Is there a hint?

Expand x² on [−π, π] as a Fourier series and put in x = π.

Related problems

More limits and sums

    The Basel problem: 1 + 1/4 + 1/9 + … = π²/6: answer and solution | WordGPT