5.4 Comparison Tests

We have seen that the integral test allows us to determine the convergence or divergence of a series by comparing it to a related improper integral. In this section, we show how to use comparison tests to determine the convergence or divergence of a series by comparing it to a series whose convergence or divergence is known. Typically these tests are used to determine convergence of series that are similar to geometric series or p-series.

Comparison Test

In the preceding two sections, we discussed two large classes of series: geometric series and p-series. We know exactly when these series converge and when they diverge. Here we show how to use the convergence or divergence of these series to prove convergence or divergence for other series, using a method called the comparison test.

For example, consider the series

∑n=1∞1n2+1.

This series looks similar to the convergent series

∑n=1∞1n2.

Since the terms in each of the series are positive, the sequence of partial sums for each series is monotone increasing. Furthermore, since

0<1n2+1<1n2

for all positive integers n, the kth partial sum Sk of ∑n=1∞1n2+1 satisfies

Sk=∑n=1k1n2+1<∑n=1k1n2<∑n=1∞1n2.

(See Figure 5.16(a) and Table 5.1.) Since the series on the right converges, the sequence {Sk} is bounded above. We conclude that {Sk} is a monotone increasing sequence that is bounded above. Therefore, by the Monotone Convergence Theorem, {Sk} converges, and thus

∑n=1∞1n2+1

converges.

Similarly, consider the series

∑n=1∞1n−1/2.

This series looks similar to the divergent series

∑n=1∞1n.

The sequence of partial sums for each series is monotone increasing and

1n−1/2>1n>0

for every positive integer n. Therefore, the kth partial sum Sk of ∑n=1∞1n−1/2 satisfies

Sk=∑n=1k1n−1/2>∑n=1k1n.

(See Figure 5.16(b) and Table 5.2.) Since the series ∑n=1∞1/n diverges to infinity, the sequence of partial sums ∑n=1k1/n is unbounded. Consequently, {Sk} is an unbounded sequence, and therefore diverges. We conclude that

∑n=1∞1n−1/2

diverges.

This shows two graphs side by side. The first shows plotted points for the partial sums for the sum of 1/n^2 and the sum 1/(n^2 + 1). Each of the partial sums for the latter is less than the corresponding partial sum for the former. The second shows plotted points for the partial sums for the sum of 1/(n - 0.5) and the sum 1/n. Each of the partial sums for the latter is less than the corresponding partial sum for the former.
Figure 5.16 (a) Each of the partial sums for the given series is less than the corresponding partial sum for the converging p−series. (b) Each of the partial sums for the given series is greater than the corresponding partial sum for the diverging harmonic series.
Table 5.1 Comparing a series with a p-series (p = 2)
k12345678
∑n=1k1n2+10.50.70.80.85880.89730.92430.94430.9597
∑n=1k1n211.251.36111.42361.46361.49141.51181.5274

This is a table with three rows and nine columns. The first row contains the label “k” and the values 1 through 8. The second row contains the label “the sum from n = 1 to k of 1 / (n^2 + 1).” The values are 0.5, 0.7, 0.8, 0.8588, 0.8973, 0.9243, 0.9443, and 0.9597. The last row contains the label “the sum from n = 1 to k of 1 / n^2” and the values 1, 1.25, 1.3611, 1.4236, 1.4636, 1.4914, 1.5118, and 1.5274.

Table 5.2 Comparing a series with the harmonic series
k12345678
∑n=1k1n−1/222.66673.06673.35243.57463.75643.91034.0436
∑n=1k1n11.51.83332.09332.28332.452.59292.7179

This shows a table with three rows and nine columns. The first row contains the label “k” and the values 1 through 8. The second row contains the label “the sum from n = 1 to k of 1 / (n - 0.5) and the values 2, 2.6667, 3.0667, 3.3524, 3.5746, 3.7564, 3.9103, and 4.0436. The last row contains the label “the sum from n = 1 to k of 1/n” and the values 1, 1.5, 1.8333, 2.0933, 2.2833, 2.45, 2.5929, and 2.7179.

Comparison Test
  1. Suppose there exists an integer N such that 0≤an≤bn for all n≥N. If ∑n=1∞bn converges, then ∑n=1∞an converges.
  2. Suppose there exists an integer N such that an≥bn≥0 for all n≥N. If ∑n=1∞bn diverges, then ∑n=1∞an diverges.

Proof

We prove part i. The proof of part ii. is the contrapositive of part i. Let {Sk} be the sequence of partial sums associated with ∑n=1∞an, and let L=∑n=1∞bn. Since the terms an≥0,

Sk=a1+a2+⋯+ak≤a1+a2+⋯+ak+ak+1=Sk+1.

Therefore, the sequence of partial sums is increasing. Further, since an≤bn for all n≥N, then

∑n=Nkan≤∑n=Nkbn≤∑n=1∞bn=L.

Therefore, for all k≥1,

Sk=(a1+a2+⋯+aN−1)+∑n=Nkan≤(a1+a2+⋯+aN−1)+L.

Since a1+a2+⋯+aN−1 is a finite number, we conclude that the sequence {Sk} is bounded above. Therefore, {Sk} is an increasing sequence that is bounded above. By the Monotone Convergence Theorem, we conclude that {Sk} converges, and therefore the series ∑n=1∞an converges.

□

To use the comparison test to determine the convergence or divergence of a series ∑n=1∞an, it is necessary to find a suitable series with which to compare it. Since we know the convergence properties of geometric series and p-series, these series are often used. If there exists an integer N such that for all n≥N, each term an is less than each corresponding term of a known convergent series, then ∑n=1∞an converges. Similarly, if there exists an integer N such that for all n≥N, each term an is greater than each corresponding term of a known divergent series, then ∑n=1∞an diverges.

Using the Comparison Test

For each of the following series, use the comparison test to determine whether the series converges or diverges.

  1. ∑n=1∞1n3+3n+1
  2. ∑n=1∞12n+1
  3. ∑n=2∞1ln(n)
  1. Compare to ∑n=1∞1n3 Since ∑n=1∞1n3 is a p-series with p=3, it converges. Further,
    1n3+3n+1<1n3

    for every positive integer n. Therefore, we can conclude that ∑n=1∞1n3+3n+1 converges.
  2. Compare to ∑n=1∞(12)n. Since ∑n=1∞(12)n is a geometric series with r=1/2 and |1/2|<1, it converges. Also,
    12n+1<12n

    for every positive integer n. Therefore, we see that ∑n=1∞12n+1 converges.
  3. Compare to ∑n=2∞1n. Since
    1ln(n)>1n

    for every integer n≥2 and ∑n=2∞1/n diverges, we have that ∑n=2∞1ln(n) diverges.

Use the comparison test to determine if the series ∑n=1∞nn3+n+1 converges or diverges.

The series converges.

Hint

Find a value p such that nn3+n+1≤1np.

Limit Comparison Test

The comparison test works nicely if we can find a comparable series satisfying the hypothesis of the test. However, sometimes finding an appropriate series can be difficult. Consider the series

∑n=2∞1n2−1.

It is natural to compare this series with the convergent series

∑n=2∞1n2.

However, this series does not satisfy the hypothesis necessary to use the comparison test because

1n2−1>1n2

for all integers n≥2. Although we could look for a different series with which to compare ∑n=2∞1/(n2−1), instead we show how we can use the limit comparison test to compare

∑n=2∞1n2−1and∑n=2∞1n2.

Let us examine the idea behind the limit comparison test. Consider two series ∑n=1∞an and ∑n=1∞bn. with positive terms anandbn and evaluate

limn→∞anbn.

If

limn→∞anbn=L≠0,

then, for n sufficiently large, an≈Lbn. Therefore, either both series converge or both series diverge. For the series ∑n=2∞1/(n2−1) and ∑n=2∞1/n2, we see that

limn→∞1/(n2−1)1/n2=limn→∞n2n2−1=1.

Since ∑n=2∞1/n2 converges, we conclude that

∑n=2∞1n2−1

converges.

The limit comparison test can be used in two other cases. Suppose

limn→∞anbn=0.

In this case, {an/bn} is a bounded sequence. As a result, there exists a constant M such that an≤Mbn. Therefore, if ∑n=1∞bn converges, then ∑n=1∞an converges. On the other hand, suppose

limn→∞anbn=∞.

In this case, {an/bn} is an unbounded sequence. Therefore, for every constant M there exists an integer N such that an≥Mbn for all n≥N. Therefore, if ∑n=1∞bn diverges, then ∑n=1∞an diverges as well.

Limit Comparison Test

Let an,bn≥0 for all n≥1.

  1. If limn→∞an/bn=L≠0, then ∑n=1∞an and ∑n=1∞bn both converge or both diverge.
  2. If limn→∞an/bn=0 and ∑n=1∞bn converges, then ∑n=1∞an converges.
  3. If limn→∞an/bn=∞ and ∑n=1∞bn diverges, then ∑n=1∞an diverges.

Note that if an/bn→0 and ∑n=1∞bn diverges, the limit comparison test gives no information. Similarly, if an/bn→∞ and ∑n=1∞bn converges, the test also provides no information. For example, consider the two series ∑n=1∞1/n and ∑n=1∞1/n2. These series are both p-series with p=1/2 and p=2, respectively. Since p=1/2<1, the series ∑n=1∞1/n diverges. On the other hand, since p=2>1, the series ∑n=1∞1/n2 converges. However, suppose we attempted to apply the limit comparison test, using the convergent p−series ∑n=1∞1/n3 as our comparison series. First, we see that

1/n1/n3=n3n=n5/2→∞asn→∞.

Similarly, we see that

1/n21/n3=n→∞asn→∞.

Therefore, if an/bn→∞ when ∑n=1∞bn converges, we do not gain any information on the convergence or divergence of ∑n=1∞an.

Using the Limit Comparison Test

For each of the following series, use the limit comparison test to determine whether the series converges or diverges. If the test does not apply, say so.

  1. ∑n=1∞1n+1
  2. ∑n=1∞2n+13n
  3. ∑n=1∞ln(n)n2
  1. Compare this series to ∑n=1∞1n. Calculate
    limn→∞1/(n+1)1/n=limn→∞nn+1=limn→∞11+1/n=1.
    By the limit comparison test, since ∑n=1∞1n diverges, then ∑n=1∞1n+1 diverges.
  2. Compare this series to ∑n=1∞(23)n. We see that
    limn→∞(2n+1)/3n2n/3n=limn→∞2n+13n·3n2n=limn→∞2n+12n=limn→∞[1+(12)n]=1.

    Therefore,
    limn→∞(2n+1)/3n2n/3n=1.

    Since ∑n=1∞(23)n converges, we conclude that ∑n=1∞2n+13n converges.
  3. Since lnn<n, compare with ∑n=1∞1n. We see that
    limn→∞lnn/n21/n=limn→∞lnnn2·n1=limn→∞lnnn.

    In order to evaluate limn→∞lnn/n, evaluate the limit as x→∞ of the real-valued function ln(x)/x. These two limits are equal, and making this change allows us to use L’Hôpital’s rule. We obtain
    limx→∞lnxx=limx→∞1x=0.

    Therefore, limn→∞lnn/n=0, and, consequently,
    limn→∞lnn/n21/n=0.

    Since the limit is 0 but ∑n=1∞1n diverges, the limit comparison test does not provide any information.
    Compare with ∑n=1∞1n2 instead. In this case,
    limn→∞lnn/n21/n2=limn→∞lnnn2·n21=limn→∞lnn=∞.

    Since the limit is ∞ but ∑n=1∞1n2 converges, the test still does not provide any information.
    So now we try a series between the two we already tried. Choosing the series ∑n=1∞1n3/2, we see that
    limn→∞lnn/n21/n3/2=limn→∞lnnn2·n3/21=limn→∞lnnn.

    As above, in order to evaluate limn→∞lnn/n, evaluate the limit as x→∞ of the real-valued function lnx/x. Using L’Hôpital’s rule,
    limx→∞lnxx=limx→∞2xx=limx→∞2x=0.

    Since the limit is 0 and ∑n=1∞1n3/2 converges, we can conclude that ∑n=1∞lnnn2 converges.

Use the limit comparison test to determine whether the series ∑n=1∞5n3n+2 converges or diverges.

The series diverges.

Hint

Compare with a geometric series.

Key Concepts

Use the comparison test to determine whether the following series converge.

∑n=1∞an where an=2n(n+1)

∑n=1∞an where an=1n(n+1/2)

Converges by comparison with 1/n2.

∑n=1∞12(n+1)

∑n=2∞12n-1

The sum is one half times a harmonic series, which diverges.

∑n=2∞1(nlnn)2

∑n=1∞n!(n+2)!

an=1/(n+1)(n+2)<1/n2. Converges by comparison with p-series, p=2.

∑n=1∞1n!

∑n=1∞sin(1/n)n2

sin(1/n)≤1/n, so converges by comparison with p-series, p=2.

∑n=1∞sin2nn2

∑n=1∞sin(1/n)(n)3

sin(1/n)≤1, so converges by comparison with p-series, p=3/2.

∑n=1∞n1.2−1n2.3+1

∑n=1∞n+1−nn

Since n+1−n=1/(n+1/2+n)≤2/n, series converges by comparison with p-series for p=1.5.

∑n=1∞n4n4+n23

Use the limit comparison test to determine whether each of the following series converges or diverges.

∑n=1∞(lnnn)2

Converges by limit comparison with p-series for p>1.

∑n=1∞(lnnn0.6)2

∑n=1∞ln(1+1n)n

Converges by limit comparison with p-series, p=2.

∑n=1∞ln(1+1n2)

∑n=1∞14n−3n

Converges by limit comparison with 4−n.

∑n=1∞1n2−nsinn

∑n=1∞1e(1.1)n−3n

Converges by limit comparison with 1/e1.1n.

∑n=1∞1e(1.01)n−3n

∑n=1∞1n1+1/n

Diverges by limit comparison with harmonic series.

∑n=1∞121+1/nn1+1/n

∑n=1∞(1n−sin(1n))

Converges by limit comparison with p-series, p=3.

∑n=1∞(1−cos(1n))

∑n=1∞1n(π2−tan−1n)

Converges by limit comparison with p-series, p=2.

∑n=1∞(1−1n)n (Hint:(1−1n)n→1/e.)

∑n=1∞(1−e−1/n) (Hint:1/e≈(1−1/n)n, so 1−e−1/n≈1/n.)

Diverges by limit comparison with 1/n.

Does ∑n=2∞1(lnn)p converge if p is large enough? If so, for which p?

Does ∑n=1∞((lnn)n)p converge if p is large enough? If so, for which p?

Converges for p>1 by comparison with a p series for slightly smaller p.

For which p does the series ∑n=1∞2pn/3n converge?

For which p>0 does the series ∑n=1∞np2n converge?

Converges for all p>0.

For which r>0 does the series ∑n=1∞rn22n converge?

For which r>0 does the series ∑n=1∞2nrn2 converge?

Converges for all r>1. If r>1 then rn>4, say, once n>ln(2)/ln(r) and then the series converges by limit comparison with a geometric series with ratio 1/2.

Find all values of p and q such that ∑n=1∞np(n!)q converges.

Does n=1∞nπ2 converge or diverge? Explain.

The numerator is equal to 1 when n is odd and 0 when n is even, so the series can be rewritten ∑n=1∞12n+1, which diverges by limit comparison with the harmonic series.

Explain why, for each n, at least one of {|sinn|,|sin(n+1)|,...,|sinn+6|} is larger than 1/2. Use this relation to test convergence of ∑n=1∞|sinn|n.

Suppose that an≥0 and bn≥0 and that ∑n=1∞a2n and ∑n=1∞b2n converge. Prove that ∑n=1∞anbn converges and ∑n=1∞anbn≤12(∑n=1∞an2+∑n=1∞bn2).

(a−b)2=a2−2ab+b2 or a2+b2≥2ab, so convergence follows from comparison of 2anbn with a2n+b2n. Since the partial sums on the left are bounded by those on the right, the inequality holds for the infinite series.

Does ∑n=1∞2−lnlnn converge? (Hint: Write 2lnlnn as a power of lnn.)

Does ∑n=1∞(lnn)−lnn converge? (Hint: Use n=eln(n) to compare to a p−series.)

(lnn)−lnn=e−ln(n)lnln(n). If n is sufficiently large, then lnlnn>2, so (lnn)−lnn<1/n2, and the series converges by comparison to a p−series.

Does ∑n=2∞(lnn)−lnlnn converge? (Hint: Compare an to 1/n.)

Show that if an≥0 and ∑n=1∞an converges, then ∑n=1∞a2n converges. If ∑n=1∞a2n converges, does ∑n=1∞an necessarily converge?

an→0, so a2n≤|an| for large n. Convergence follows from limit comparison. ∑1/n2 converges, but ∑1/n does not, so the fact that ∑n=1∞a2n converges does not imply that ∑n=1∞an converges.

Suppose that an>0 for all n and that ∑n=1∞an converges. Suppose that bn is an arbitrary sequence of zeros and ones. Does ∑n=1∞anbn necessarily converge?

Suppose that an>0 for all n and that ∑n=1∞an diverges. Suppose that bn is an arbitrary sequence of zeros and ones with infinitely many terms equal to one. Does ∑n=1∞anbn necessarily diverge?

No. ∑n=1∞1/n diverges. Let bk=0 unless k=n2 for some n. Then ∑kbk/k=∑1/k2 converges.

Complete the details of the following argument: If ∑n=1∞1n converges to a finite sum s, then 12s=12+14+16+⋯ and s−12s=1+13+15+⋯. Why does this lead to a contradiction?

Show that if an≥0 and ∑n=1∞a2n converges, then ∑n=1∞sin2(an) converges.

|sint|≤|t|, so the result follows from the comparison test.

Suppose that an/bn→0 in the comparison test, where an≥0 and bn≥0. Prove that if ∑bn converges, then ∑an converges.

Let bn be an infinite sequence of zeros and ones. What is the largest possible value of x=∑n=1∞bn/2n?

By the comparison test, x=∑n=1∞bn/2n≤∑n=1∞1/2n=1.

Let dn be an infinite sequence of digits, meaning dn takes values in {0,1,…,9}. What is the largest possible value of x=∑n=1∞dn/10n that converges?

Explain why, if x>1/2, then x cannot be written x=∑n=2∞bn2n(bn=0or1,b1=0).

If b1=0, then, by comparison, x≤∑n=2∞1/2n=1/2.

[T] Evelyn has a perfect balancing scale, an unlimited number of 1-kg weights, and one each of 1/2-kg,1/4-kg,1/8-kg, and so on weights. She wishes to weigh a meteorite of unspecified origin to arbitrary precision. Assuming the scale is big enough, can she do it? What does this have to do with infinite series?

[T] Robert wants to know his body mass to arbitrary precision. He has a big balancing scale that works perfectly, an unlimited collection of 1-kg weights, and nine each of 0.1-kg, 0.01-kg,0.001-kg, and so on weights. Assuming the scale is big enough, can he do this? What does this have to do with infinite series?

Yes. Keep adding 1-kg weights until the balance tips to the side with the weights. If it balances perfectly, with Robert standing on the other side, stop. Otherwise, remove one of the 1-kg weights, and add 0.1-kg weights one at a time. If it balances after adding some of these, stop. Otherwise if it tips to the weights, remove the last 0.1-kg weight. Start adding 0.01-kg weights. If it balances, stop. If it tips to the side with the weights, remove the last 0.01-kg weight that was added. Continue in this way for the 0.001-kg weights, and so on. After a finite number of steps, one has a finite series of the form A+∑n=1Nsn/10n where A is the number of full kg weights and dn is the number of 1/10n-kg weights that were added. If at some state this series is Robert’s exact weight, the process will stop. Otherwise it represents the Nth partial sum of an infinite series that gives Robert’s exact weight, and the error of this sum is at most 1/10N.

The series ∑n=1∞12n is half the harmonic series and hence diverges. It is obtained from the harmonic series by deleting all terms in which n is odd. Let m>1 be fixed. Show, more generally, that deleting all terms 1/n where n=mk for some integer k also results in a divergent series.

In view of the previous exercise, it may be surprising that a subseries of the harmonic series in which about one in every five terms is deleted might converge. A depleted harmonic series is a series obtained from ∑n=1∞1n by removing any term 1/n if a given digit, say 9, appears in the decimal expansion of n. Argue that this depleted harmonic series converges by answering the following questions.

  1. How many whole numbers n have d digits?
  2. How many d-digit whole numbers h(d). do not contain 9 as one or more of their digits?
  3. What is the smallest d-digit number m(d)?
  4. Explain why the deleted harmonic series is bounded by ∑d=1∞h(d)m(d).
  5. Show that ∑d=1∞h(d)m(d) converges.

a. 10d−10d−1<10d b. h(d)<9d c. m(d)=10d−1+1 d. Group the terms in the deleted harmonic series together by number of digits. h(d) bounds the number of terms, and each term is at most 1/m(d). ∑d=1∞h(d)/m(d)≤∑d=1∞9d/(10)d−1≤90. One can actually use comparison to estimate the value to smaller than 80. The actual value is smaller than 23.

Suppose that a sequence of numbers an>0 has the property that a1=1 and an+1=1n+1Sn, where Sn=a1+⋯+an. Can you determine whether ∑n=1∞an converges? (Hint: Sn is monotone.)

Suppose that a sequence of numbers an>0 has the property that a1=1 and an+1=1(n+1)2Sn, where Sn=a1+⋯+an. Can you determine whether ∑n=1∞an converges? (Hint: S2=a2+a1=a2+S1=a2+1=1+1/4=(1+1/4)S1, S3=132S2+S2=(1+1/9)S2=(1+1/9)(1+1/4)S1, etc. Look at ln(Sn), and use ln(1+t)≤t, t>0.)

Continuing the hint gives SN=(1+1/N2)(1+1/(N−1)2…(1+1/4)). Then ln(SN)=ln(1+1/N2)+ln(1+1/(N−1)2)+⋯+ln(1+1/4). Since ln(1+t) is bounded by a constant times t, when 0<t<1 one has ln(SN)≤C∑n=1N1n2, which converges by comparison to the p-series for p=2.

Glossary

comparison test
if 0≤an≤bn for all n≥N and ∑n=1∞bn converges, then ∑n=1∞an converges; if an≥bn≥0 for all n≥N and ∑n=1∞bn diverges, then ∑n=1∞an diverges
limit comparison test
suppose an,bn≥0 for all n≥1. If limn→∞an/bn→L≠0, then ∑n=1∞an and ∑n=1∞bn both converge or both diverge; if limn→∞an/bn→0 and ∑n=1∞bn converges, then ∑n=1∞an converges. If limn→∞an/bn→∞, and ∑n=1∞bn diverges, then ∑n=1∞an diverges