Chalk−1

Math · Calculus II · Concept

Infinite series and convergence tests

An infinite series adds infinitely many terms, and it converges when its partial sums approach a finite limit. A geometric series a+a⁢r+ar2+⋯ converges exactly when ∣⁢r⁢∣<1, and its sum is then a⁢/⁢(1−r). Terms that do not shrink to 0 force divergence. The integral, comparison, ratio and alternating series tests settle most of the series a course meets.

Try one — Chalk checks each line

A concrete case

Adding infinitely many numbers

Stand 2 meters from a wall. Walk 1 meter toward it, then half a meter, then a quarter of a meter, each step half the one before. The table adds up the distance walked. After 5 steps it is 1.9375 m, after 10 steps 1.998 m, and after 20 steps 1.999998 m. You never reach the wall, but the total closes in on 2 m. In that sense the endless sum 1+1⁢/2+1⁢/4+⋯ equals 2.

Now add 1+1⁢/2+1⁢/3+1⁢/4+⋯. These terms also shrink toward 0, only more slowly. After 10 terms the total is 2.929, after 100 terms it is 5.187, and after 1,000 terms it is 7.485. It keeps growing, more and more slowly, past any number you name.

One sum settles on a number and the other does not, although both add smaller and smaller pieces. Telling the two apart is what this page teaches.

1+12+14+18+⋯=2
Running totals of two endless sums
Terms added1+1⁢/2+1⁢/4+⋯1+1⁢/2+1⁢/3+⋯
111
21.51.5
31.751.833
41.8752.083
101.9982.929
1002.000 to three decimals5.187
1,0002.000 to three decimals7.485

The rule

Partial sums and convergence

An infinite series is a sum of infinitely many terms, a1+a2+a3+⋯. In sigma notation it is the sum of an for n from 1 to ∞. Its partial sum SN adds the first N terms. The series converges to S when SN approaches S as N grows, and S is then called the sum of the series. Otherwise the series diverges.

A series and its terms are different things. The terms 1, 1⁢/2, 1⁢/4, … approach 0. The partial sums 1, 1.5, 1.75, … approach 2. The sum of a series is the limit of its partial sums, never the limit of its terms.

SN=∑n=1Nan,∑n=1∞an=limN→∞SN
SN=∑n=1Nan∑n=1∞an=limN→∞SN

Geometric series

A geometric series multiplies each term by the same ratio r. With first term a, its terms are a, a⁢r, ar2, and so on. It converges exactly when ∣⁢r⁢∣<1, and its sum is then the first term divided by 1−r. When ∣⁢r⁢∣≥1 the terms do not shrink to 0, and the series diverges.

The walk to the wall is the geometric series with a=1 and r=1⁢/2. Its sum is 1⁢/⁢(1−1⁢/2)=2.

∑n=1∞arn−1=a1−r,∣⁢r⁢∣<1

The divergence test

If the terms an do not approach 0, the series diverges. The series 1⁢/2+2⁢/3+3⁢/4+⋯ diverges, because its terms approach 1, and each one adds almost 1 more to the total.

The test works in one direction only. Terms that approach 0 do not prove convergence. The harmonic series 1+1⁢/2+1⁢/3+⋯ from the concrete case has terms that approach 0, and it diverges.

limn→∞an≠0⟹∑an diverges

Why it works

Why the sums behave this way

Write the partial sum SN=a+a⁢r+⋯+arN−1 and multiply it by r. The product rSN =a⁢r+ar2+⋯+arN shares every term but two with SN. Subtracting leaves SN−rSN=a−arN. Solving gives SN=a⁢(1−rN)⁢/⁢(1−r) whenever r≠1. If ∣⁢r⁢∣<1, rN shrinks to 0 as N grows, and SN approaches a⁢/⁢(1−r). If ∣⁢r⁢∣>1, ∣rN∣ grows without bound, and so does ∣SN∣. At r=±1 the terms do not shrink, so the series diverges there too.

The harmonic series diverges because its terms can be grouped into blocks that each add at least 1⁢/2. The block 1⁢/3+1⁢/4 is more than 1⁢/4+1⁢/4=1⁢/2. The block 1⁢/5+⋯+1⁢/8 has four terms of at least 1⁢/8 each, so it is at least 1⁢/2 as well. The next block, 1⁢/9 through 1⁢/16, has eight terms of at least 1⁢/16. Infinitely many halves add up to more than any number.

The divergence test comes straight from the definition. If the partial sums approach S, then SN and SN−1 both approach S. Their difference is the term aN, so aN approaches 0.

SN−rSN=a−arN⟹SN=a(1−rN)1−r
SN−rSN=a−arN⟹SN=a(1−rN)1−r

The method

Choosing a test

The tests below cover most series in a Calculus II course. Try them roughly in this order, and stop at the first one that gives a verdict. The sections after the table explain each one.

Which test to try
Question to askTestWhat it can show
Do the terms fail to approach 0?Divergence testDiverges
Is it geometric, or 1⁢/np?Geometric series or p-series ruleConverges when ∣⁢r⁢∣<1 or p>1, diverges otherwise
Is an =f⁡(n) for a positive, continuous, decreasing f you can integrate?Integral testConverges or diverges with the integral
For large n, does it look like a geometric series or a p-series?Comparison or limit comparison testThe verdict of the series it is compared with
Does it contain factorials or nth powers?Ratio testConverges if L<1, diverges if L>1
Do the signs alternate?Alternating series testConverges if the sizes shrink steadily to 0

The integral test and p-series

Suppose an=f⁡(n) for a function f that is positive, continuous and decreasing for x≥1. Each term an is the area of a rectangle of width 1 and height f⁡(n). Those rectangles sit just above or just below the curve, so the sum of the terms and the area under the curve from 1 to ∞ are both finite or both infinite. The series and the improper integral converge or diverge together.

Applied to f⁡(x)=1⁢/xp, the test gives the p-series rule. The series of 1⁢/np converges exactly when p>1. The harmonic series is the case p=1, whose integral from 1 to b is lnb, which grows without bound.

The test decides convergence, not the sum. The sum of 1⁢/n2 is π2/6≈1.645, while the integral of 1⁢/x2 from 1 to ∞ is 1.

∑n=1∞1np convergesp>1

Comparison tests

For series of positive terms, a series smaller than a convergent one also converges. A series larger than a divergent one also diverges. The series of 1⁢/⁢(n2+1) converges, because each term is less than 1⁢/n2 and the series of 1⁢/n2 converges.

The limit comparison test avoids proving an inequality. If an/bn approaches a positive finite number, the two series converge or diverge together. For an=(2⁢n+1)⁢/⁢(n3+5), compare with bn=2⁢/n2, the ratio of the leading terms. The quotient an/bn approaches 1, and the series of 2⁢/n2 converges, so the series of an converges as well.

limn→∞anbn=c, 0<c<∞

The ratio test

Divide each term by the one before it and take the limit L of the size of that ratio. If L<1 the series converges absolutely, which means the series of sizes ∣an∣ converges as well. If L>1 the series diverges. If L=1 the test gives no verdict.

The test suits series built from powers and factorials, because their ratios simplify. For the series of 5n/⁢n!, the ratio of consecutive terms is 5⁢/⁢(n+1), which approaches 0, so the series converges. Its terms grow at first, reaching about 26.04 at n=4 and n=5, and then fall toward 0.

L=limn→∞|an+1an|

Alternating series

An alternating series switches sign from term to term, as 1−1⁢/2+1⁢/3−1⁢/4+⋯ does. It converges when the sizes of its terms decrease and approach 0. The partial sums then step above and below the sum, and the sum always lies between two consecutive partial sums. Stopping after N terms leaves an error no larger than the first term left out.

A series converges absolutely when the series of sizes ∣an∣ converges. It converges conditionally when it converges only because of its signs. The series 1−1⁢/2+1⁢/3−⋯ converges conditionally, since without the signs it is the harmonic series.

|S−SN|≤|aN+1|

Where it breaks

Where it breaks

Each test has conditions, and a test used outside them proves nothing.

The divergence test never proves convergence. The terms of the harmonic series approach 0, and the series still diverges.

The geometric formula needs ∣⁢r⁢∣<1. For 1+2+4+8+⋯, the formula a⁢/⁢(1−r) gives 1⁢/⁢(1−2)=−1. That is a negative number for a sum of positive terms that grows without bound.

The ratio test gives no verdict when L=1. The series of 1⁢/⁢n and the series of 1⁢/n2 both have L=1, and the first diverges while the second converges. Every p-series gives L=1, so use the p-series rule instead.

The integral and comparison tests need positive terms, and the integral test also needs a continuous, decreasing function. A comparison must point the right way. Being smaller than a divergent series, or larger than a convergent one, proves nothing.

The alternating series test needs the sizes to shrink to 0. The series 1−1+1−1+⋯ alternates, but its terms keep size 1, and its partial sums jump between 1 and 0 forever.

Check your answer

Check your answer

A verdict on a series rests on a test, so check the numbers it predicts and the conditions it needs.

Look at the partial sums. Add ten or twenty terms, by hand or in Graph with the partial sums Sn shown. Totals that level off agree with convergence, and totals that keep climbing agree with divergence. A table only suggests the answer, though. The harmonic series climbs so slowly that its table can look as if it levels off.

Compare the sum with the partial sums. A series of positive terms is larger than every one of its partial sums. The sum 6 of 3+3⁢/2+3⁢/4+⋯ passes, since ten terms give 5.994. For an alternating series, the sum lies between any two consecutive partial sums.

Check the test’s conditions before its verdict. Is the function really decreasing, is L exactly 1, and do the sizes really shrink?

To have Chalk check the work, write it in a Math box. For a geometric series, write the series in sigma notation on the first row, such as the sum of 3⁢(1⁢/2)n−1 for n from 1 to ∞, then a⁢/⁢(1−r) with the numbers in, then the sum. Each row is then checked, and a wrong first term or ratio reads ✗. Written with its first terms and dots, 3+3⁢/2+3⁢/4+⋯, the series is read as the geometric series it begins, and the rows under it are checked the same way. A wrong ratio, 3⁢/⁢(1−1⁢/3), reads ✗ “Not the sum of the series in row 1: this row is 9/2.” Show at least three terms: with only 3+3⁢/2+⋯, the rows under it read ?.

Chalk checks ∣⁢r⁢∣<1 when the ratio is a number. Under the sum of 2n−1, the formula row 1⁢/⁢(1−2) and −1 below it read ✗, because the series has no sum. Test ∣⁢r⁢∣<1 yourself before you write the formula, too.

A limit such as the ratio test’s L, an improper integral written as a limit, and a partial sum written out term by term are checked the same way.

The row that simplifies a ratio with nth powers or factorials, such as (n+1)⁢/2n+1⋅2n/⁢n becoming (n+1)⁢/⁢(2⁢n), reads ✓, and so does the limit after it. A verdict such as “converges” is not a row Chalk checks. The test you name is the reason for it.

Which converges, the sum of 1⁢/n0.9 or the sum of 1⁢/n1.1?

Only the sum of 1⁢/n1.1. By the p-series rule the series of 1⁢/np converges exactly when p>1, and 1.1>1 while 0.9<1. The terms of both approach 0, and term by term they are close, yet one total stays finite and the other passes every number. Terms that approach 0 are not enough.

Rearranging terms, exact sums and slow growth

A conditionally convergent series is fragile. Riemann showed that its terms can be rearranged to add up to any number at all, or to diverge. Taking two positive terms of 1−1⁢/2+1⁢/3−1⁢/4+⋯ for each negative one gives 1+1⁢/3−1⁢/2+1⁢/5+1⁢/7 −1⁢/4+⋯, which adds up to (3⁢/2)ln2 instead of ln2. An absolutely convergent series has the same sum in every order.

The tests prove convergence without naming the sum, and exact sums are rare. Euler found that the sum of 1⁢/n2 is π2/6. No simple closed form is known for the sum of 1⁢/n3.

The harmonic series grows like lnN. After N terms its partial sum is close to lnN+0.5772, where 0.5772⁢… is the Euler–Mascheroni constant. After a million terms the total is only about 14.39.

Series whose terms contain powers of x, such as 1+x+x2+⋯, are power series. The ratio test finds the values of x for which they converge, which leads to Taylor series.

∑n=1∞1n2=π26

Common mistakes

  • Concluding that a series converges because its terms approach 0. The terms of the harmonic series approach 0 and the series diverges. Terms that approach 0 are needed for convergence, but they are not enough.
  • Using a⁢/⁢(1−r) when ∣⁢r⁢∣≥1. For 1+2+4+⋯ it gives −1, which cannot be the sum of positive numbers. Check that ∣⁢r⁢∣<1 first, and when it fails the series diverges.
  • Taking a as the coefficient instead of the first term. The series of 4⁢(1⁢/3)n from n=1 starts at 4⁢/3, so its sum is (4⁢/3)⁢/⁢(1−1⁢/3)=2, not 4⁢/⁢(1−1⁢/3)=6.
  • Reading L=1 in the ratio test as a verdict. The series of 1⁢/⁢n and of 1⁢/n2 both give L=1, and one diverges while the other converges. Switch to another test, such as the p-series rule.
  • Confusing the limit of the terms with the sum. The terms of 1+1⁢/2+1⁢/4+⋯ approach 0, while the series adds up to 2. The sum is the limit of the partial sums.
  • Comparing in the wrong direction. 1⁢/⁢(n+1) is smaller than 1⁢/⁢n, whose series diverges, but being smaller than a divergent series proves nothing. Compare with a smaller series that diverges, or a larger one that converges.

Key terms

Infinite series
A sum of infinitely many terms, a1+a2+a3+⋯. Its sum is the limit of its partial sums, if that limit exists.
Partial sum
The sum of the first n terms of a series, Sn=a1+⋯+an. If the partial sums approach a limit, that limit is the series’ sum.
Series convergence
A series converges when its partial sums approach a finite number. Terms going to zero is necessary but not enough: the harmonic series 1+1⁢/2+1⁢/3+⋯ diverges.
Geometric series
A series in which each term is the previous one times a fixed ratio r: a+a⁢r+ar2+⋯. It converges to a⁢/⁢(1−r) when ∣⁢r⁢∣<1 and diverges otherwise, unless a=0.
Divergence test
If the terms of a series don’t approach zero, the series diverges. If they do approach zero, this test tells you nothing.
Harmonic series
The series 1+1⁢/2+1⁢/3+⋯. Its terms go to zero, yet its partial sums grow without bound, so it diverges.
Integral test
If an=f⁡(n) for a positive, continuous, decreasing function f, then Σan and ∫1∞ f⁡(x) d⁢x either both converge or both diverge.
p-series
The series Σ 1⁢/np. It converges when p>1 and diverges when p≤1, as the harmonic series (p=1) shows.
Comparison test
A test for series of positive terms: a series smaller, term by term, than a convergent series converges, and one larger than a divergent series diverges. The limit comparison test compares two series through the limit of the ratio of their terms.
Ratio test
Find L=lim∣an+1/an∣. If L<1 the series converges absolutely, if L>1 it diverges, and if L=1 the test can’t decide.
Alternating series
A series whose terms switch sign, such as 1−1⁢/2+1⁢/3−⋯. If the sizes of the terms decrease to zero it converges, and stopping early is off by at most the next term’s size.
Conditional convergence
A series that converges only because its positive and negative terms cancel: with every term made positive, it diverges. The alternating harmonic series is an example, and reordering its terms can change its sum.

Work through an example

Find the sum of 3+3⁢/2+3⁢/4+3⁢/8+⋯, the sum of 3⁢(1⁢/2)n−1 for n from 1 to ∞.

Sum a geometric series →

Test a p-series with the integral test →

Test a series with the ratio test →

Test an alternating series →

Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

After reading

Try it, then study it

Open the example in its tool to check steps or change values, then review the key terms as flashcards.

Sum it in Graph Check the sum in Math Study the 12 key terms Open worked example on a board Infinite geometric sum in Math Reference

Your existing work stays on this device. Examples open as editable copies.