Fiveable

โž—Calculus II Unit 5 Review

QR code for Calculus II practice questions

5.3 The Divergence and Integral Tests

5.3 The Divergence and Integral Tests

Written by the Fiveable Content Team โ€ข Last updated August 2025
Written by the Fiveable Content Team โ€ข Last updated August 2025
โž—Calculus II
Unit & Topic Study Guides

The divergence test and integral test are two of the most frequently used tools for analyzing infinite series. The divergence test gives you a quick way to rule out convergence, while the integral test connects series to improper integrals you already know how to evaluate. Together, they cover a wide range of series you'll encounter in this course.

The Divergence Test

Divergence test for series

The divergence test is the first test you should try on any series. It's fast, and it can immediately tell you a series diverges.

The logic is straightforward: if the terms of a series don't shrink to zero, there's no way the partial sums can settle down to a finite value. Formally:

  • If limโกnโ†’โˆžanโ‰ 0\lim_{n \to \infty} a_n \neq 0, or if the limit does not exist, then โˆ‘n=1โˆžan\sum_{n=1}^{\infty} a_n diverges.
  • If limโกnโ†’โˆžan=0\lim_{n \to \infty} a_n = 0, the test is inconclusive. The series might converge or might diverge.

That second point trips people up constantly. Having anโ†’0a_n \to 0 is necessary for convergence but not sufficient. The classic example is the harmonic series โˆ‘n=1โˆž1n\sum_{n=1}^{\infty} \frac{1}{n}: the terms go to zero, yet the series diverges. Meanwhile โˆ‘n=1โˆž1n2\sum_{n=1}^{\infty} \frac{1}{n^2} also has terms going to zero, but this one converges. The divergence test can't distinguish between these two cases.

When to use it: Always check this test first. If limโกnโ†’โˆžanโ‰ 0\lim_{n \to \infty} a_n \neq 0, you're done. If the limit equals zero, move on to another test.

The Integral Test

Divergence test for series, calculus - I need help understanding The Integral Test for series - Mathematics Stack Exchange

Integral test for convergence

The integral test works by linking a series to an improper integral. Since you already have techniques for evaluating integrals, this lets you leverage that knowledge.

Requirements: To apply the integral test to โˆ‘n=1โˆžan\sum_{n=1}^{\infty} a_n, you need a function f(x)f(x) that is:

  1. Continuous on [1,โˆž)[1, \infty)
  2. Positive on [1,โˆž)[1, \infty)
  3. Decreasing on [1,โˆž)[1, \infty)
  4. Satisfies f(n)=anf(n) = a_n for all nโ‰ฅ1n \geq 1

All three conditions must hold (though they only need to hold eventually, meaning for all xx beyond some starting point NN).

The conclusion:

  • If โˆซ1โˆžf(x)โ€‰dx\int_1^{\infty} f(x)\, dx converges, then โˆ‘n=1โˆžan\sum_{n=1}^{\infty} a_n converges.
  • If โˆซ1โˆžf(x)โ€‰dx\int_1^{\infty} f(x)\, dx diverges, then โˆ‘n=1โˆžan\sum_{n=1}^{\infty} a_n diverges.

Note that the integral and the series don't converge to the same value. The test only tells you they share the same convergence behavior.

Example: Does โˆ‘n=1โˆž1n2\sum_{n=1}^{\infty} \frac{1}{n^2} converge?

  1. Let f(x)=1x2f(x) = \frac{1}{x^2}. This is continuous, positive, and decreasing on [1,โˆž)[1, \infty).
  2. Evaluate โˆซ1โˆž1x2โ€‰dx=limโกbโ†’โˆž[โˆ’1x]1b=limโกbโ†’โˆž(โˆ’1b+1)=1\int_1^{\infty} \frac{1}{x^2}\, dx = \lim_{b \to \infty} \left[-\frac{1}{x}\right]_1^b = \lim_{b \to \infty}\left(-\frac{1}{b} + 1\right) = 1.
  3. The integral converges, so the series converges.

Example: Does โˆ‘n=2โˆž1nlnโกn\sum_{n=2}^{\infty} \frac{1}{n \ln n} converge?

  1. Let f(x)=1xlnโกxf(x) = \frac{1}{x \ln x}. This is continuous, positive, and decreasing on [2,โˆž)[2, \infty).
  2. Evaluate using the substitution u=lnโกxu = \ln x: โˆซ2โˆž1xlnโกxโ€‰dx=limโกbโ†’โˆž[lnโก(lnโกx)]2b=โˆž\int_2^{\infty} \frac{1}{x \ln x}\, dx = \lim_{b \to \infty} [\ln(\ln x)]_2^b = \infty.
  3. The integral diverges, so the series diverges.

The integral test is especially useful for series involving logarithms, exponentials, or powers where other tests are harder to apply.

Remainder terms for series estimation

When a series converges, you often approximate its value using a partial sum Sn=โˆ‘k=1nakS_n = \sum_{k=1}^{n} a_k. The remainder Rn=Sโˆ’SnR_n = S - S_n measures how far off that approximation is. The integral test gives you a way to bound this error.

For a series that satisfies the integral test conditions:

โˆซn+1โˆžf(x)โ€‰dxโ‰คRnโ‰คโˆซnโˆžf(x)โ€‰dx\int_{n+1}^{\infty} f(x)\, dx \leq R_n \leq \int_n^{\infty} f(x)\, dx

This double inequality is powerful for two reasons:

  • Estimating accuracy: If you've computed S10S_{10} for โˆ‘1n2\sum \frac{1}{n^2}, you can bound the error by evaluating โˆซ10โˆž1x2โ€‰dx=110=0.1\int_{10}^{\infty} \frac{1}{x^2}\, dx = \frac{1}{10} = 0.1, so R10โ‰ค0.1R_{10} \leq 0.1.
  • Choosing how many terms to sum: If you need the error below 0.010.01, set โˆซnโˆžf(x)โ€‰dx<0.01\int_n^{\infty} f(x)\, dx < 0.01 and solve for nn. For โˆ‘1n2\sum \frac{1}{n^2}, that gives 1n<0.01\frac{1}{n} < 0.01, so n>100n > 100. You'd need at least 100 terms.
Divergence test for series, convergence - Shouldn't all alternating series diverge by the diverge test? - Mathematics Stack ...

Additional Convergence Tests

Comparison and Limit Comparison Tests

These tests work by comparing a series you don't know to one you do.

Direct Comparison Test: Suppose 0โ‰คanโ‰คbn0 \leq a_n \leq b_n for all nโ‰ฅNn \geq N:

  • If โˆ‘bn\sum b_n converges, then โˆ‘an\sum a_n converges (a smaller series beneath a convergent one must also converge).
  • If โˆ‘an\sum a_n diverges, then โˆ‘bn\sum b_n diverges (a larger series above a divergent one must also diverge).

The tricky part is finding the right series to compare against and getting the inequality in the right direction. Common comparison targets are geometric series and pp-series.

Limit Comparison Test: If an>0a_n > 0 and bn>0b_n > 0, and

limโกnโ†’โˆžanbn=L\lim_{n \to \infty} \frac{a_n}{b_n} = L

where 0<L<โˆž0 < L < \infty, then โˆ‘an\sum a_n and โˆ‘bn\sum b_n either both converge or both diverge. This is often easier than direct comparison because you don't need to establish an inequality; you just need the terms to behave similarly for large nn.

Telescoping Series

A telescoping series is one where most terms cancel when you write out the partial sums, leaving only a few terms from the beginning and end.

Example: โˆ‘n=1โˆž(1nโˆ’1n+1)\sum_{n=1}^{\infty} \left(\frac{1}{n} - \frac{1}{n+1}\right)

Write out the partial sum:

Sn=(1โˆ’12)+(12โˆ’13)+โ‹ฏ+(1nโˆ’1n+1)=1โˆ’1n+1S_n = \left(1 - \frac{1}{2}\right) + \left(\frac{1}{2} - \frac{1}{3}\right) + \cdots + \left(\frac{1}{n} - \frac{1}{n+1}\right) = 1 - \frac{1}{n+1}

As nโ†’โˆžn \to \infty, Snโ†’1S_n \to 1, so the series converges to 1.

The key step with telescoping series is to use partial fractions (or a similar decomposition) to rewrite the general term as a difference, then verify the cancellation by expanding the partial sum.