Skip to main content
Logo image

Coordinated Calculus

Section 7.5 Ratio Test and Alternating Series

So far, we’ve mostly considered series with exclusively nonnegative terms that have straightforward comparisons. In this section, we will consider one powerful test to compare many series to geometric series using the ratios of consecutive terms. Also, we consider series that have some negative terms.

Subsection 7.5.1 The Ratio Test

The Limit Comparison Test works well if we can find a series with known behavior to compare. But such series are not always easy to find. Below, we will examine a test that allows us to consider the behavior of a series by comparing it to a geometric series, without knowing in advance which geometric series we need.

Example 7.32.

Consider the series defined by
(7.14)k=12k3kk.
This series is not a geometric series, but this example will illustrate how we might compare this series to a geometric one. Recall that a series ak is geometric if the ratio ak+1ak is always the same. For the series in (7.14), note that ak=2k3kk.
  1. To see if 2k3kk is comparable to a geometric series, we analyze the ratios of successive terms in the series. Complete Table 7.33, listing your calculations to at least 8 decimal places.
    Table 7.33. Ratios of successive terms in the series 2k3kk
    k 5 10 20 21 22 23 24 25
    ak+1ak
  2. Based on your calculations in Table 7.33, what can we say about the ratio ak+1ak if k is large?
  3. Do you agree or disagree with the statement: “the series 2k3kk is approximately geometric when k is large”? If not, why not? If so, do you think the series 2k3kk converges or diverges? Explain.
Answer.
  1. k 5 10 20 21 22 23 24 25
    ak+1ak 0.6583679115 0.6665951585 0.6666666642 0.6666666658 0.6666666664 0.6666666666 0.6666666666 0.6666666667
  2. ak+1ak23 when k is large.
  3. 2k3kk converges.
Solution.
  1. Ratios of successive summands in the series are shown (to 10 decimal places) in the following table.
    k 5 10 20 21 22 23 24 25
    ak+1ak 0.6583679115 0.6665951585 0.6666666642 0.6666666658 0.6666666664 0.6666666666 0.6666666666 0.6666666667
  2. The calculations in the table in part (a) seem to indicate that the ratio ak+1ak is roughly 23 when k is large.
  3. Since ak+1ak23 for large k, the series 2k3kk is approximately the same as (23)k when k is large. So the series 2k3kk is approximately geometric with ratio 23 when k is large. Since the series (23)k converges because the ratio is less than 1, we expect that the series 2k3kk will also converge.
We can generalize the argument in Example 7.32 in the following way. Consider the series ak. If
ak+1akr
for large values of k, then ak+1rak for large k and the series ak is approximately the geometric series ark for large k. Since the geometric series with ratio r converges only for 1<r<1, we see that the series ak will converge if
limkak+1ak=r
for a value of r such that |r|<1. This result is known as the Ratio Test.

The Ratio Test.

Let ak be an infinite series. Suppose
limk|ak+1||ak|=r.
  1. If 0r<1, then the series ak converges.
  2. If 1<r, then the series ak diverges.
  3. If r=1, then the test is inconclusive.
Note well: The Ratio Test looks at the limit of the ratio of consecutive terms of a given series; in so doing, the test is asking, “is this series approximately geometric?” If so, the test uses the limit of the ratio of consecutive terms to determine if the given series converges.
We have now encountered several tests for determining convergence or divergence of series.
  • The Divergence Test can be used to show that a series diverges, but never to prove that a series converges.
  • We used the Integral Test to determine the convergence status of an entire class of series, the p-series. More generally, the Integral Test may be applied whenever the series terms correspond to a function that is positive and decreasing and whose convergence behavior when integrated is known.
  • The Direct Comparison Test and Limit Comparison Test work well for series that involve rational functions and which can therefore be compared to p-series and other series whose convergence behavior we know.
  • Finally, the Ratio Test allows us to compare our series to a geometric series; it is particularly useful for series that involve nth powers and factorials.
  • Another test, called the Root Test, is discussed in the exercises.
One of the challenges of determining whether a series converges or diverges is finding which test answers that question.

Example 7.34.

Determine whether each of the following series converges or diverges. Explicitly state which test you use.
  1. k2k
  2. k3+2k2+1
  3. 10kk!
  4. k32k2+1k6+4
Answer.
  1. k2k converges.
  2. k3+2k2+1 diverges.
  3. 10kk! converges.
  4. k32k2+1k6+4 converges.
Solution.
  1. Since limnn2n=0, the Divergence Test does not apply. The Ratio Test is a good one to apply with series whose terms involve exponentials and polynomials.
    In this example we have an+1=n+12n+1 and an=n2n. So
    an+1an=n+12n+1n2n=n+12n.
    As n goes to infinity, the fraction n+1n goes to 1 and so
    limnn+12n=12.
    So in this example, for large n we have that an+1an12 or that an is roughly a geometric series for large n with ratio 12. Since geometric series with ratio 12 converges, we can conclude that
    n2n
    converges as well.
  2. For this series, notice that the degree of the numerator is greater than the degree of the denominator, so
    limnn3+2n2+1=.
    Since this limit is not 0, the Divergence Test shows that k3+2k2+1 diverges.
  3. We use the Ratio Test here with ak=10kk!. Now
    limkak+1ak=limk10k+1(k+1)!10kk!=limk10k+1(k!)10k(k+1)!=limk10k+1=0,
    so the Ratio Test shows that 10kk! converges.
  4. If we ignore the highest powered terms, then the series k32k2+1k6+4 looks like the series k3k6=1k3. We formally apply the Limit Comparison Test as follows:
    limkk32k2+1k6+41k3=limkk62k5+k3k6+4=limk12k+1k31+4k61.
    Since 1k3 is a p-series with p=3>1, the series 1k3 converges. Consequently, the Limit Comparison Test shows that k32k2+1k6+4 converges as well.

Subsection 7.5.2 The Alternating Series Test

Consider the following geometric series:
243+89+2(23)n+.
Notice that a=2 and r=23, so that every other term alternates in sign. This series converges to
S=a1r=21(23)=65.
In Example 7.35 and our following discussion, we investigate the behavior of similar series where consecutive terms have opposite signs.

Example 7.35.

Example 7.20 showed how we can approximate the number e with linear, quadratic, and other polynomial approximations. We use a similar approach in this example to obtain linear and quadratic approximations to ln(2). Along the way, we encounter a type of series that is different than most of the ones we have seen so far. Throughout this example, let f(x)=ln(1+x).
  1. Find the tangent line to f at x=0 and use this linearization to approximate ln(2). That is, find L(x), the tangent line approximation to f(x), and use the fact that L(1)f(1) to estimate ln(2).
  2. The linearization of ln(1+x) does not provide a very good approximation to ln(2) since 1 is not that close to 0. To obtain a better approximation, we alter our approach; instead of using a straight line to approximate ln(2), we use a quadratic function to account for the concavity of ln(1+x) for x close to 0. With the linearization, both the function’s value and slope agree with the linearization’s value and slope at x=0. We will now make a quadratic approximation P2(x) to f(x)=ln(1+x) centered at x=0 with the property that P2(0)=f(0), P2(0)=f(0), and P2(0)=f(0).
    1. Let P2(x)=xx22. Show that P2(0)=f(0), P2(0)=f(0), and P2(0)=f(0). Use P2(x) to approximate ln(2) by using the fact that P2(1)f(1) .
    2. We can continue approximating ln(2) with polynomials of larger degree whose derivatives agree with those of f at 0. This makes the polynomials fit the graph of f better for more values of x around 0. For example, let P3(x)=xx22+x33. Show that P3(0)=f(0), P3(0)=f(0), P3(0)=f(0), and P3(0)=f(0). Taking a similar approach to preceding questions, use P3(x) to approximate ln(2).
    3. If we used a degree 4 or degree 5 polynomial to approximate ln(1+x), what approximations of ln(2) do you think would result? Use the preceding questions to conjecture a pattern that holds, and state the degree 4 and degree 5 approximation.
Solution.
  1. The linearization of f at x=a is
    f(a)+f(a)(xa),
    so the linearization P1(x) of f(x)=ln(1+x) at x=0 is
    P1(x)=0+11+0(x0)=x.
    Now
    f(x)P1(x)
    for x close to 0 and so
    ln(2)=ln(1+1)P1(1)=1.
    1. The derivatives of P2 and f are
      P2(x)=xx22f(x)=ln(1+x)P2(x)=1xf(x)=11+xP2(x)=1f(x)=1(1+x)2,
      and so the derivatives of P2 and f evaluated at 0 are
      P2(0)=0f(0)=ln(1)=0P2(0)=1f(0)=11+0=1P2(0)=1f(0)=1(1+0)2=1
      .
      Then
      ln(2)=ln(1+1)P2(1)=112=12
      .
    2. The derivatives of P3 and f are
      P3(x)=xx22+x33f(x)=ln(1+x)P3(x)=1x+x2f(x)=11+xP3(x)=1+2xf(x)=1(1+x)2P3(x)=2f(x)=2(1+x)3,
      and so the derivatives of P3 and f evaluated at 0 are
      P3(0)=0f(0)=ln(1+0)=0P3(0)=1f(0)=11+0=1P3(0)=1f(0)=1(1+0)2=1P3(0)=2f(0)=2(1+0)3=2
      .
      Then
      ln(2)=ln(1+1)P3(0)=112+13=560.83
      .
Example 7.35 gives us several approximations to ln(2). The linear approximation is 1, and the quadratic approximation is 112=12. If we continue this process, cubic, quartic (degree 4), quintic (degree 5), and higher degree polynomials give us the approximations to ln(2) in Table 7.36.
Table 7.36.
linear 1 1
quadratic 112 0.5
cubic 112+13 0.83
quartic 112+1314 0.583
quintic 112+1314+15 0.783
The pattern here shows that ln(2) can be approximated by the partial sums of the infinite series
(7.15)k=1(1)k+11k
where the alternating signs are indicated by the factor (1)k+1. We call such a series an alternating series .
Using computational technology, we find that the sum of the first 100 terms in this series is 0.6881721793. As a comparison, ln(2)0.6931471806. This shows that even though the series (7.15) converges to ln(2), it must do so quite slowly, since the sum of the first 100 terms isn’t particularly close to ln(2). We will investigate the issue of how quickly an alternating series converges later in this section.

Alternating Series.

An alternating series is a series of the form
k=0(1)kak,
where ak>0 for each k.
We have some flexibility in how we write an alternating series; for example, the series
k=1(1)k+1ak,
whose index starts at k=1, is also alternating. As we will soon see, there are several very nice results that hold for alternating series, while alternating series can also demonstrate some unusual behaivior.
It is important to remember that most of the series tests we have seen in previous sections apply only to series with nonnegative terms. Alternating series require a different test.

Example 7.37.

Remember that, by definition, a series converges if and only if its corresponding sequence of partial sums converges.
  1. Calculate the first few partial sums (to 10 decimal places) of the alternating series
    k=1(1)k+11k.
    Label each partial sum with the notation Sn=k=1n(1)k+11k for an appropriate choice of n.
  2. Plot the sequence of partial sums from part (a). What do you notice about this sequence?
Answer.
  1. k=11(1)k+11k 1 k=16(1)k+11k 0.6166666667
    k=12(1)k+11k 0.5 k=17(1)k+11k 0.7595238095
    k=13(1)k+11k 0.8333333333 k=18(1)k+11k 0.6345238095
    k=14(1)k+11k 0.5833333333 k=19(1)k+11k 0.7456349206
    k=15(1)k+11k 0.7833333333 k=110(1)k+11k 0.6456349206
  2. There appears to be a limit for the sequence of partial sums.
Solution.
  1. The completed table is shown below.
    k=11(1)k+11k 1 k=16(1)k+11k 0.6166666667
    k=12(1)k+11k 0.5 k=17(1)k+11k 0.7595238095
    k=13(1)k+11k 0.8333333333 k=18(1)k+11k 0.6345238095
    k=14(1)k+11k 0.5833333333 k=19(1)k+11k 0.7456349206
    k=15(1)k+11k 0.7833333333 k=110(1)k+11k 0.6456349206
  2. The entries in the sequence of partial sums from part (a) is shown in the figure below.
    Figure 7.38. The sequence of partial sums.
    Notice that the partial sums seem to oscillate back and forth around some fixed number, getting closer to that fixed number at each successive step. So there appears to be a limit for this sequence of partial sums.
Example 7.37 illustrates the general behavior of any convergent alternating series. We see that the partial sums of the alternating harmonic series oscillate around a fixed number that turns out to be the sum of the series.
Recall that if limkak0, then the series ak diverges by the Divergence Test. From this point forward, we will thus only consider alternating series
k=1(1)k+1ak
in which the sequence ak consists of positive numbers that decrease to 0. The nth partial sum Sn is
Sn=k=1n(1)k+1ak.
Notice that
  • S2=a1a2, and since a1>a2 we have 0<S2<S1.
  • S3=S2+a3 and so S2<S3. But a3<a2, so S3<S1. Thus, 0<S2<S3<S1.
  • S4=S3a4 and so S4<S3. But a4<a3, so S2<S4. Thus, 0<S2<S4<S3<S1.
  • S5=S4+a5 and so S4<S5. But a5<a4, so S5<S3. Thus, 0<S2<S4<S5<S3<S1.
This pattern continues as illustrated in Figure 7.39 (with n odd) so that each partial sum lies between the previous two partial sums.
Figure 7.39. Partial sums of an alternating series
Note further that the absolute value of the difference between the (n1)st partial sum Sn1 and the nth partial sum Sn is
|SnSn1|=an.
Because the sequence {an} converges to 0, the distance between successive partial sums becomes as close to zero as we’d like, and thus the sequence of partial sums converges (even though we don’t know the exact value to which it converges).
The preceding discussion has demonstrated the truth of the Alternating Series Test.

The Alternating Series Test.

If {ak} is a sequence of positive terms that decreases to 0 as k, then the alternating series (1)kak converges.
Note that if the limit of the sequence {ak} is not 0, then the alternating series diverges.

Example 7.40.

Which series converge and which diverge? Justify your answers.
  1. k=1(1)kk2+2
  2. k=1(1)k+12kk+5
  3. k=2(1)kln(k)
Answer.
  1. k=1(1)kk2+2 converges.
  2. k=12(1)k+1kk+5 diverges.
  3. k=2(1)kln(k) converges.
Solution.
  1. Since (k+1)2+2>k2+2 it follows that 1(k+1)2+2<1k2+2 and the sequence 1k2+2 decreases to 0. The Alternating Series Test shows then that the series k=1(1)kk2+2 converges.
  2. In this case we have that limk2kk+5=2 and so the sequence of kth terms does not even converge to 0. So the series k=12(1)k+1kk+5 diverges by the Divergence Test.
  3. We know that the natural log is an increasing function, so 1ln(k) is a decreasing function. It is also true that limk1ln(k)=0 and so the series k=2(1)kln(k) converges by the Alternating Series Test.

Subsection 7.5.3 Summary

  • The ratio test may be used to test convergence by comparing to a geometric series. If the absolute value of the ratio of successive terms in the sequence is less than 1, the series converges. If this ratio is larger than 1, the series diverges. When the ratio is exactly one, the series may be convergent or divergent.
  • An alternating series is a series whose terms alternate in sign. It has the form
    (1)kak
    where ak is a positive real number for each k.
  • The sequence of partial sums of a convergent alternating series oscillates around the sum of the series if the sequence of nth terms converges to 0. That is why the Alternating Series Test shows that the alternating series k=1(1)kak converges whenever the sequence {an} of nth terms decreases to 0.

Exercises 7.5.4 Exercises

1. Quick check of understanding for the ratio test.

What can you say about the series an in each of the following cases using the Ratio Test? Answer "Convergent," "Divergent," or "Inconclusive."
  • Convergent
  • Divergent
  • Inconclusive
1. limn|an+1an|=0.1
  • Convergent
  • Divergent
  • Inconclusive
2. limn|an+1an|=1
  • Convergent
  • Divergent
  • Inconclusive
3. limn|an+1an|=10
Note: You only have two attempts at this problem.

2. Convergence of a series using the ratio test.

In this exercise we investigate the sequence {bnn!} for any constant b.
  1. Use the Ratio Test to determine if the series 10kk! converges or diverges.
  2. Now apply the Ratio Test to determine if the series bkk! converges for any constant b.
  3. Use your result from (b) to decide whether the sequence {bnn!} converges or diverges. If the sequence {bnn!} converges, to what does it converge? Explain your reasoning.

3. The root test for convergence.

There is a test for convergence similar to the Ratio Test called the Root Test. Suppose we have a series ak of positive terms so that an0 as n.
  1. Assume
    annr
    as n goes to infinity. Explain why this tells us that anrn for large values of n.
  2. Using the result of part (a), explain why ak looks like a geometric series when n is big. What is the ratio of the geometric series to which ak is comparable?
  3. Use what we know about geometric series to determine that values of r so that ak converges if annr as n.

4. Determining convergence of series without knowing which test to use.

Mark each series as convergent or divergent.
  1. n=116+n63
  2. n=16n(n+7)
  3. n=26n44
  4. n=11+3n6+5n
  5. n=1ln(n)4n

5. Determining series convergence and which test(s) to use.

Use any method to determine whether the series converges.
(a) k=1(k+9)!ek2
  • Converges
  • Diverges
(b) k=19k+kk!+5
  • Converges
  • Diverges

6. Testing convergence for an alternating series.

(a) Carefully determine the convergence of the series n=1(1)n5n. The series is
  • absolutely convergent
  • conditionally convergent
  • divergent
(b) Carefully determine the convergence of the series n=1(1)n(n+1n). The series is
  • absolutely convergent
  • conditionally convergent
  • divergent

7. A closer look at a condition of the Alternating Series Test.

In this exercise, we examine one of the conditions of the Alternating Series Test. Consider the alternating series
11+1214+1319+14116+,
where the terms are selected alternately from the sequences {1n} and {1n2}.
  1. Explain why the nth term of the given series converges to 0 as n goes to infinity.
  2. Rewrite the given series by grouping terms in the following manner:
    (11)+(1214)+(1319)+(14116)+.
    Use this regrouping to determine if the series converges or diverges.
  3. Explain why the condition that the sequence {an} decreases to a limit of 0 is included in the Alternating Series Test.

8. Practice deciding which convergence tests to use.

Select the FIRST correct reason why the given series converges.

9. Practice determining series convergence.

Determine whether the following series converge or diverge. Answer "Converges" or "Diverges."
  • Converges
  • Diverges
1. n=1n(23)n
  • Converges
  • Diverges
2. n=1100nn!
  • Converges
  • Diverges
3. n=1sin3n3n
Note: You only have two attempts at this problem.