Series Convergence Calculator

Type the general term of the series to find whether it converges and by which test.

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.

Try

Result

You entered∑n=1∞(−1)nn\sum_{n=1}^{\infty} \frac{\left(-1\right)^{n}}{n}

Converges conditionally (alternating series test; the absolute series diverges)\displaystyle \text{Converges conditionally (alternating series test; the absolute series diverges)}
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→∞1n=0\lim_{n\to\infty} \frac{1}{n} = 0
  2. Alternating series test

    The sign changes with every term, so write the term as (−1)n+c bn(-1)^{n+c}\,b_n with bn=1nb_n = \frac{1}{n}. Here bnb_n approaches 0 and is eventually decreasing, so the test applies.

    Using ∑(−1)nbn converges if bn decreases to 0\sum (-1)^{n} b_n \text{ converges if } b_n \text{ decreases to } 0

    bn=1n→0b_n = \frac{1}{n} \to 0
  3. Absolute versus conditional convergence

    The series of absolute values diverges (p-series, p = 1), but the alternating series converges, so it converges conditionally.

  4. Result

    Converges conditionally (alternating series test; the absolute series diverges).

    ∑n=1∞(−1)nn:  Converges conditionally (alternating series test; the absolute series diverges)\sum_{n=1}^{\infty} \frac{\left(-1\right)^{n}}{n}: \; \text{Converges conditionally (alternating series test; the absolute series diverges)}

Worked examples

∑n=1∞1n2\sum_{n=1}^{\infty} \frac{1}{n^{2}}
Converges (p-series, p = 2 > 1)\text{Converges (p-series, p = 2 > 1)}

Divergence test, p-series test

∑n=1∞1n\sum_{n=1}^{\infty} \frac{1}{n}
Diverges (p-series, p = 1)\text{Diverges (p-series, p = 1)}

Divergence test, p-series test

∑n=1∞2−n n\sum_{n=1}^{\infty} 2^{-n}\,n
Converges (ratio test, L = 1/2)\text{Converges (ratio test, L = 1/2)}

Divergence test, Ratio test

∑n=1∞(−1)nn\sum_{n=1}^{\infty} \frac{\left(-1\right)^{n}}{n}
Converges conditionally (alternating series test; the absolute series diverges)\text{Converges conditionally (alternating series test; the absolute series diverges)}

Divergence test, Alternating series test

∑n=1∞nn+1\sum_{n=1}^{\infty} \frac{n}{n + 1}
Diverges (divergence test: the terms approach 1, not 0)\text{Diverges (divergence test: the terms approach 1, not 0)}

Divergence test, Verdict

∑n=1∞1n2+1\sum_{n=1}^{\infty} \frac{1}{n^{2} + 1}
Converges (limit comparison with 1/n^2)\text{Converges (limit comparison with 1/n\textasciicircum{}2)}

Divergence test, Ratio test

∑n=2∞1n ln⁡n\sum_{n=2}^{\infty} \frac{1}{n\,\ln n}
Diverges (integral test)\text{Diverges (integral test)}

Divergence test, Ratio test