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∞2−n\sum_{n=1}^{\infty} 2^{-n}

∑n=1∞2−n=1\displaystyle \sum_{n=1}^{\infty} 2^{-n} = 1
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→∞2−n=0\lim_{n\to\infty} 2^{-n} = 0
  2. Geometric series test

    The ratio of consecutive terms is the same number for every n, so this is a geometric series with ratio r=12r = \frac{1}{2}.

    Using ∑arn converges  ⟺  ∣r∣<1\sum a r^{n} \text{ converges} \iff |r| < 1

    an+1an=12∣r∣=12\begin{gathered} \frac{a_{n+1}}{a_n} = \frac{1}{2} \\ |r| = \frac{1}{2} \end{gathered}
  3. Sum of a geometric series

    The first term is a=12a = \frac{1}{2} and every term is r=12r = \frac{1}{2} times the one before, with ∣r∣<1|r| < 1, so the geometric series formula gives the sum.

    Using ∑n=n0∞a r n−n0=a1−r\sum_{n=n_0}^{\infty} a\,r^{\,n-n_0} = \frac{a}{1 - r}

    S=121−12=1\begin{aligned} S &= \frac{\frac{1}{2}}{1 - \frac{1}{2}} \\ &= 1 \end{aligned}
  4. Result

    The series converges and its sum is 11.

    ∑n=1∞2−n=1\sum_{n=1}^{\infty} 2^{-n} = 1

Worked examples