Convergence Tests
Learning Objectives
- State the divergence, integral, comparison, limit comparison, alternating series, ratio, and root tests with all of their hypotheses, and say what each one concludes in each case.
- Recognize when a test is inconclusive, and name a series on each side of the boundary that proves it (for example and for the ratio test).
- Show on a concrete series why dropping one hypothesis (positivity, monotonicity, a limit that actually exists) can make a test give the wrong answer.
- Distinguish absolute from conditional convergence, and explain why rearranging a conditionally convergent series can change its sum.
- Use the integral test and the alternating series test to bound the error left after terms, and choose a test for a given series.
Context & Motivation
Most infinite series have no closed form for their partial sums. The geometric series and telescoping sums from infinite-series-and-partial-sums are the exceptions, so the usual question is not "what is the sum?" but "does it converge at all?". The tests in this lesson answer that question without computing the sum, and for the ones that give error bounds they also say how far a truncated sum can be from the true value.
The question matters in computing because a program can only add finitely many terms, and a partial sum alone does not settle convergence. The series diverges, yet its partial sum up to is only about . Looking at the numbers would suggest a limit that does not exist. Convergence tests are the argument that replaces the numerical guess.
Series also show up inside algorithm analysis. The expected cost of quicksort involves the harmonic numbers , whose growth like comes from the integral test. The linear-time bound for building a binary heap reduces to , a series the ratio test accepts and whose sum is exactly .
Core Theory
Throughout, is the partial sum and is the remainder when the series converges to .
The divergence test
If converges, then . Equivalently: if does not tend to (including when the limit does not exist), the series diverges. The test can only prove divergence. The harmonic series has and still diverges, so is inconclusive.
The integral test
Hypotheses: is continuous, positive, and decreasing on , and for . Conclusion: and either both converge or both diverge. When they converge, the remainder is trapped between two integrals:
For -series, converges exactly when , so converges exactly when . The hypotheses are not decoration. Take : it is continuous and nonnegative, but not decreasing. Then for every integer , so the series converges to , while for integer , which grows without bound. The two behave differently because monotonicity is missing.
Comparison tests
Direct comparison. Hypothesis: for all . If converges, so does ; if diverges, so does . The other two directions say nothing: knowing that a small series converges or that a big series diverges tells you nothing about the other one. Nonnegativity is essential: holds for all and converges, but diverges.
Limit comparison. Hypothesis: and , and exists with . Conclusion: both series converge or both diverge. If , only " converges implies converges" survives; if , only " diverges implies diverges" survives. With and we get and diverges, so nothing follows, and indeed converges. Swap the roles to get with the same moral.
The alternating series test
Hypotheses: the series is with , is decreasing (at least from some index on), and . Conclusion: the series converges, and the remainder satisfies for every with , that is, once the monotonicity has started. All three conditions are needed. Without the divergence test kills the series. Without monotonicity the conclusion can fail even when (see Example 4).
The ratio and root tests
Ratio test. Hypothesis: eventually and exists (possibly ). If the series converges absolutely; if (or ) it diverges; if the test is inconclusive.
Root test. Hypothesis: , which always exists in . The three cases are the same as for the ratio test, and again is inconclusive. Whenever the ratio limit exists, the root limit exists and equals it, so the root test is never weaker; it also handles series where the ratio has no limit.
Both tests are blind at because a limit below means geometric decay, and covers every decay slower than any geometric rate. That includes polynomial decay, but also (faster than any polynomial, yet ) and (slower than any polynomial). For and the ratio tends to in both cases, yet one diverges and the other converges.
Absolute and conditional convergence
If converges, then converges (absolute convergence implies convergence). The converse fails: converges by the alternating series test, but diverges, so the convergence is only conditional.
The distinction has teeth. If a series converges absolutely, every rearrangement has the same sum. If it converges only conditionally, Riemann's rearrangement theorem says rearrangements can be made to sum to any real number, or to diverge. Addition of infinitely many terms is not commutative.
Choosing a test
| Look for | Try |
|---|---|
| is plausible | divergence test first |
| factorials, exponentials, or n-th powers | ratio test, or root test for n-th powers |
| rational or algebraic in n | limit comparison with a p-series |
| with an easy antiderivative (logs, ) | integral test |
| signs alternate | alternating series test; then check |
| ratio or root test gives 1 | comparison or integral test |
Worked Examples
Example 1: the ratio test, and a sum that is exactly 2
For , the ratio is , so the series converges. Its sum is . The partial sums , , and approach it quickly, as a ratio of predicts. This is the series behind the linear-time heap build.
Example 2: limit comparison
For , compare with . Then , a finite positive limit, and converges, so the series converges. A numerical check agrees with the limit: the ratio is at , at , and at . The series sums to about .
Example 3: the integral test and its error bound
For , take , which is continuous, positive, and decreasing on . After terms, , and the remainder bound gives , that is, . The true sum is , inside the window. To guarantee an error below using only the upper bound, take ; the actual error there is , just below the guarantee.
Example 4: the alternating series test, and what happens without monotonicity
The alternating harmonic series meets all three hypotheses with , and it converges to . The bound is honest but conservative: for it promises , while the actual error is . The bound needs terms to guarantee , while the actual error first drops to near . The slow convergence is the point: a single digit of accuracy per tenfold increase in terms.
Now take (it starts at because the denominator is ). Here , but and , so is not decreasing. The test does not apply, and the series diverges: rationalizing the denominator splits the term into . The first part converges by the alternating test and the second is a harmonic tail. The partial sums behave like : at , at , and at , against , , and for (the difference settles near ). Dropping one hypothesis flipped the conclusion.
Example 5: when the ratio test says nothing and the root test decides
Let , with terms . The ratios alternate between and , so the limit does not exist and the ratio test as stated does not apply. (Even the limsup/liminf version of the test is inconclusive: it needs to converge or to diverge, and here and .) The root test gives , so the series converges, and it sums to exactly .
Example 6: a conditionally convergent series rearranged
Take the alternating harmonic series and reorder it as two positive terms followed by one negative one: . It uses exactly the same terms, but its sum is instead of . A script summing the first million groups of this ordering gives .
Example 7: when partial sums mislead
: with , , so the series diverges, and so does the sum up to , which tracks plus a constant. At , and the partial sum is . In contrast, converges (the integral is from ), and its sum is (computed with an Euler-Maclaurin tail; the convergence is so slow that the partial sum at is only ). A ratio test is useless for both, because the ratio of consecutive terms tends to .
Common Misconceptions & Pitfalls
- "If , the series converges." Only the converse holds. The harmonic series is the standard counterexample, and shows how slowly the divergence can show up.
- "The ratio test gave , so the series diverges (or converges)." At the test says nothing. Switch to comparison or the integral test.
- "Comparison goes either way." A series smaller than a divergent one, or larger than a convergent one, tells you nothing. Check the direction, and check that all terms are nonnegative.
- "Alternating signs with is enough." Monotonicity is a hypothesis. Example 4 diverges despite .
- "A partial sum that has stopped changing means convergence." Partial sums of divergent series can move by less than any displayed precision for a long time.
- "Rearranging terms is harmless." It is harmless only for absolutely convergent series.
Summary
The divergence test only detects divergence. The integral, comparison, limit comparison, ratio, and root tests apply to series whose terms are (eventually) positive or considered in absolute value. The integral test decides whenever its hypotheses hold, the comparison tests say nothing when the inequality points the wrong way (or when or ), and the ratio and root tests say nothing at . The alternating series test needs decreasing to , and then gives both convergence and the bound ; the integral test gives two-sided remainder bounds. Absolute convergence is the safe case: it implies convergence and allows free rearrangement, while conditional convergence does not. The next lesson, power-series-and-the-radius-of-convergence, applies the ratio and root tests to series with a variable , where they decide an interval of convergence and the endpoints are settled with the other tests from this lesson.