Calculus · real student question

Find the sum of 1/n^2 for n from 1 to infinity.

Question

Evaluate

n=11n2\sum_{n=1}^{\infty}\frac{1}{n^{2}}

Step-by-step solution

  1. Confirm convergence before hunting for a value. This is a pp-series np\sum n^{-p} with p=2p=2. The integral test compares it with 1x2dx=1\int_{1}^{\infty}x^{-2}dx=1, which is finite, so the series converges — unlike the harmonic series p=1p=1, which diverges. Asking for a sum is only meaningful once this is settled.

  2. Bound the sum crudely to know what to expect. Since 1n2<1n(n1)\dfrac{1}{n^{2}}<\dfrac{1}{n(n-1)} for n2n\ge 2, and that telescopes to 11, the tail after the first term is under 11:

    1<n=11n2<21<\sum_{n=1}^{\infty}\frac{1}{n^{2}}<2

    So the answer lies between 1 and 2 — a useful guard against a wrong closed form.

  3. Recall Euler idea: factor sinxx\dfrac{\sin x}{x} over its roots. The function sinxx\dfrac{\sin x}{x} equals 11 at x=0x=0 and vanishes at x=±kπx=\pm k\pi, which suggests the infinite product

    sinxx=k=1(1x2k2π2)\frac{\sin x}{x}=\prod_{k=1}^{\infty}\left(1-\frac{x^{2}}{k^{2}\pi^{2}}\right)

    This treats a transcendental function like a polynomial written from its roots, the leap that made the argument famous.

  4. Match the x2x^{2} coefficients. Expanding the product, the coefficient of x2x^{2} is k11k2π2-\displaystyle\sum_{k\ge 1}\frac{1}{k^{2}\pi^{2}}. From the Taylor series sinxx=1x26+\dfrac{\sin x}{x}=1-\dfrac{x^{2}}{6}+\cdots, that same coefficient is 16-\dfrac16. Equating:

    1π2k=11k2=16\frac{1}{\pi^{2}}\sum_{k=1}^{\infty}\frac{1}{k^{2}}=\frac16

  5. Solve for the sum.

    n=11n2=π261.6449340668\sum_{n=1}^{\infty}\frac{1}{n^{2}}=\frac{\pi^{2}}{6}\approx 1.6449340668

    It sits comfortably inside the bounds from step 2. A direct partial sum of two million terms gives 1.64493356681.6449335668, and the missing 5×1075\times 10^{-7} is exactly the tail 1/N\approx 1/N ✓. In modern notation this is ζ(2)\zeta(2).

Answer

π261.6449\frac{\pi^{2}}{6}\approx 1.6449

Need to solve a different problem like this? Open the solver →