Series Calculator

Type the general term, where the series starts and where it stops to find its sum.

A formula in n, such as 1/n^2, (-1)^n/n, n/2^n or n!/n^n. Type powers with ^ and factorials with !.

The first n, a whole number. Leave it as 1 unless the series starts later.

A whole number, or inf for an infinite series.

Try

Result

You entered∑n=1∞1n2\sum_{n=1}^{\infty} \frac{1}{n^{2}}

∑n=1∞1n2=π26≈1.644934\displaystyle \sum_{n=1}^{\infty} \frac{1}{n^{2}} = \frac{\pi^{2}}{6} \approx 1.644934

Decimal

1.644934\displaystyle 1.644934
Show the work
  1. Divergence test

    Every convergent series has terms that approach 0, so check that first. Here the terms do approach 0, so this test is silent and we look for a test that can decide.

    Using lim⁡n→∞an≠0  ⇒  ∑an diverges\lim_{n\to\infty} a_n \neq 0 \;\Rightarrow\; \sum a_n \text{ diverges}

    lim⁡n→∞1n2=0\lim_{n\to\infty} \frac{1}{n^{2}} = 0
  2. p-series test

    The term is a constant times 1/np1/n^{p} with p=2p = 2, so the p-series test applies directly.

    Using ∑1np converges  ⟺  p>1\sum \frac{1}{n^{p}} \text{ converges} \iff p > 1

    p=2>1p = 2 > 1
  3. Basel problem and its relatives

    The sum of 1n2\frac{1}{n^{2}} over all n≥1n \ge 1 is a known value, ζ(2)\zeta(2), found by Euler.

    Using ζ(2k)=a rational multiple of π2k\zeta(2k) = \text{a rational multiple of } \pi^{2k}

    ∑n=1∞1n2=π26\sum_{n=1}^{\infty} \frac{1}{n^{2}} = \frac{\pi^{2}}{6}
  4. Result

    The series converges and its sum is π26≈1.644934\frac{\pi^{2}}{6} \approx 1.644934.

    ∑n=1∞1n2=π26≈1.644934\sum_{n=1}^{\infty} \frac{1}{n^{2}} = \frac{\pi^{2}}{6} \approx 1.644934

Worked examples