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=11n2+1.

This series looks similar to the convergent series

n=11n2.

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=11n2+1

satisfies

Sk=n=1k1n2+1<n=1k1n2<n=11n2.

(See [link](a) and [link].) 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=11n2+1

converges.

Similarly, consider the series

n=11n1/2.

This series looks similar to the divergent series

n=11n.

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

1n1/2>1n>0

for every positive integer n.

Therefore, the kth

partial sum Sk

of n=11n1/2

satisfies

Sk=n=1k1n1/2>n=1k1n.

(See [link](b) and [link].) Since the series n=11/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=11n1/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.

Comparing a series with a p-series (p = 2)
k 1 2 3 4 5 6 7 8
n=1k1n2+1 0.5 0.7 0.8 0.8588 0.8973 0.9243 0.9443 0.9597
n=1k1n2 1 1.25 1.3611 1.4236 1.4636 1.4914 1.5118 1.5274
Comparing a series with the harmonic series
k 1 2 3 4 5 6 7 8
n=1k1n1/2 2 2.6667 3.0667 3.3524 3.5746 3.7564 3.9103 4.0436
n=1k1n 1 1.5 1.8333 2.0933 2.2833 2.45 2.5929 2.7179
Comparison Test
  1. Suppose there exists an integer N

    such that

    0anbn

    for all

    nN.

    If

    n=1bn

    converges, then

    n=1an

    converges.

  2. Suppose there exists an integer N

    such that

    anbn0

    for all

    nN.

    If

    n=1bn

    diverges, then

    n=1an

    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=1an,

and let L=n=1bn.

Since the terms an0,

Sk=a1+a2++aka1+a2++ak+ak+1=Sk+1.

Therefore, the sequence of partial sums is increasing. Further, since anbn

for all nN,

then

n=Nkann=Nkbnn=1bn=L.

Therefore, for all k1,

Sk=(a1+a2++aN1)+n=Nkan(a1+a2++aN1)+L.

Since a1+a2++aN1

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=1an

converges.

To use the comparison test to determine the convergence or divergence of a series n=1an,

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 nN,

each term an

is less than each corresponding term of a known convergent series, then n=1an

converges. Similarly, if there exists an integer N

such that for all nN,

each term an

is greater than each corresponding term of a known divergent series, then n=1an

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=11n3+3n+1
  2. n=112n+1
  3. n=21ln(n)
  1. Compare to n=11n3

    Since

    n=11n3

    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=11n3+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=112n+1

    converges.

  3. Compare to n=21n.

    Since


    1ln(n)>1n

    for every integer

    n2

    and

    n=21/n

    diverges, we have that

    n=21ln(n)

    diverges.

Use the comparison test to determine if the series n=1nn3+n+1

converges or diverges.

The series converges.

Hint

Find a value p

such that nn3+n+11np.

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=21n21.

It is natural to compare this series with the convergent series

n=21n2.

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

1n21>1n2

for all integers n2.

Although we could look for a different series with which to compare n=21/(n21),

instead we show how we can use the limit comparison test to compare

n=21n21andn=21n2.

Let us examine the idea behind the limit comparison test. Consider two series n=1an

and n=1bn.

with positive terms anandbn

and evaluate

limnanbn.

If

limnanbn=L0,

then, for n

sufficiently large, anLbn.

Therefore, either both series converge or both series diverge. For the series n=21/(n21)

and n=21/n2,

we see that

limn1/(n21)1/n2=limnn2n21=1.

Since n=21/n2

converges, we conclude that

n=21n21

converges.

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

limnanbn=0.

In this case, {an/bn}

is a bounded sequence. As a result, there exists a constant M

such that anMbn.

Therefore, if n=1bn

converges, then n=1an

converges. On the other hand, suppose

limnanbn=.

In this case, {an/bn}

is an unbounded sequence. Therefore, for every constant M

there exists an integer N

such that anMbn

for all nN.

Therefore, if n=1bn

diverges, then n=1an

diverges as well.

Limit Comparison Test

Let an,bn0

for all n1.

  1. If limnan/bn=L0,

    then

    n=1an

    and

    n=1bn

    both converge or both diverge.

  2. If limnan/bn=0

    and

    n=1bn

    converges, then

    n=1an

    converges.

  3. If limnan/bn=

    and

    n=1bn

    diverges, then

    n=1an

    diverges.

Note that if an/bn0

and n=1bn

diverges, the limit comparison test gives no information. Similarly, if an/bn

and n=1bn

converges, the test also provides no information. For example, consider the two series n=11/n

and n=11/n2.

These series are both p-series with p=1/2

and p=2,

respectively. Since p=1/2>1,

the series n=11/n

diverges. On the other hand, since p=2<1,

the series n=11/n2

converges. However, suppose we attempted to apply the limit comparison test, using the convergent pseries

n=11/n3

as our comparison series. First, we see that

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

Similarly, we see that

1/n21/n3=nasn.

Therefore, if an/bn

when n=1bn

converges, we do not gain any information on the convergence or divergence of n=1an.

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=11n+1
  2. n=12n+13n
  3. n=1ln(n)n2
  1. Compare this series to n=11n.

    Calculate


    limn1/(n+1)1/n=limnnn+1=limn1/n1+1/n=1.

    By the limit comparison test, since

    n=11n

    diverges, then

    n=11n+1

    diverges.

  2. Compare this series to n=1(23)n.

    We see that


    limn(2n+1)/3n2n/3n=limn2n+13n·3n2n=limn2n+12n=limn[1+(12)n]=1.

    Therefore,


    limn(2n+1)/3n2n/3n=1.

    Since

    n=1(23)n

    converges, we conclude that

    n=12n+13n

    converges.

  3. Since lnn<n,

    compare with

    n=11n.

    We see that


    limnlnn/n21/n=limnlnnn2·n1=limnlnnn.

    In order to evaluate

    limnlnn/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


    limxlnxx=limx1x=0.

    Therefore,

    limnlnn/n=0,

    and, consequently,


    limnlnn/n21/n=0.

    Since the limit is

    0

    but

    n=11n

    diverges, the limit comparison test does not provide any information.


    Compare with

    n=11n2

    instead. In this case,


    limnlnn/n21/n2=limnlnnn2·n21=limnlnn=.

    Since the limit is

    but

    n=11n2

    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=11n3/2,

    we see that


    limnlnn/n21/n3/2=limnlnnn2·n3/21=limnlnnn.

    As above, in order to evaluate

    limnlnn/n,

    evaluate the limit as

    x

    of the real-valued function

    lnx/x.

    Using L’Hôpital’s rule,


    limxlnxx=limx2xx=limx2x=0.

    Since the limit is

    0

    and

    n=11n3/2

    converges, we can conclude that

    n=1lnnn2

    converges.

Use the limit comparison test to determine whether the series n=15n3n+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=1an

where an=2n(n+1)

n=1an

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

Converges by comparison with 1/n2.

n=112(n+1)
n=112n1

Diverges by comparison with harmonic series, since 2n1n.

n=21(nlnn)2
n=1n!(n+2)!
an=1/(n+1)(n+2)<1/n2.

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

n=11n!
n=1sin(1/n)n
sin(1/n)1/n,

so converges by comparison with p-series, p=2.

n=1sin2nn2
n=1sin(1/n)n
sin(1/n)1,

so converges by comparison with p-series, **p=3/2.

n=1n1.21n2.3+1
n=1n+1nn

Since n+1n=1/(n+1+n)2/n,

series converges by comparison with p-series **for p=1.5.

n=1n4n4+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=1ln(1+1n)n

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

n=1ln(1+1n2)
n=114n3n

Converges by limit comparison with 4n.

n=11n2nsinn
n=11e(1.1)n3n

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

n=11e(1.01)n3n
n=11n1+1/n

Diverges by limit comparison with harmonic series.

n=1121+1/nn1+1/n
n=1(1nsin(1n))

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

n=1(1cos(1n))
n=11n(tan−1nπ2)

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

n=1(11n)n.n

(Hint:(11n)n1/e.)

n=1(1e−1/n)

(Hint:1/e(11/n)n,

so 1e−1/n1/n.)

Diverges by limit comparison with 1/n.

Does n=21(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=12pn/3n

converge?

For which p>0

does the series n=1np2n

converge?

Converges for all p>0.

For which r>0

does the series n=1rn22n

converge?

For which r>0

does the series n=12nrn2

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=1np(n!)q

converges.

Does n=1sin2(nr/2)n

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=112n+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 an0

and bn0

and that n=1a2n

and n=1b2n

converge. Prove that n=1anbn

converges and n=1anbn12(n=1an2+n=1bn2).

(ab)2=a22ab+b2

or a2+b22ab,

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=12lnlnn

converge? (Hint: Write 2lnlnn

as a power of lnn.)

Does n=1(lnn)lnn

converge? (Hint: Use t=eln(t)

to compare to a pseries.)

(lnn)lnn=eln(n)lnln(n).

If n

is sufficiently large, then lnlnn>2,

so (lnn)lnn<1/n2,

and the series converges by comparison to a pseries.

Does n=2(lnn)lnlnn

converge? (Hint: Compare an

to 1/n.)

Show that if an0

and n=1an

converges, then n=1a2n

converges. If n=1a2n

converges, does n=1an

necessarily converge?

an0,

so a2n\|an\|

for large n.

Convergence follows from limit comparison. 1/n2

converges, but 1/n

does not, so the fact that n=1a2n

converges does not imply that n=1an

converges.

Suppose that an>0

for all n

and that n=1an

converges. Suppose that bn

is an arbitrary sequence of zeros and ones. Does n=1anbn

necessarily converge?

Suppose that an>0

for all n

and that n=1an

diverges. Suppose that bn

is an arbitrary sequence of zeros and ones with infinitely many terms equal to one. Does n=1anbn

necessarily diverge?

No. n=11/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=11n

converges to a finite sum s,

then 12s=12+14+16+

and s12s=1+13+15+.

Why does this lead to a contradiction?

Show that if an0

and n=1a2n

converges, then n=1sin2(an)

converges.

\|sint\|\|t\|,

so the result follows from the comparison test.

Suppose that an/bn0

in the comparison test, where an0

and bn0.

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=1bn/2n?

By the comparison test, x=n=1bn/2nn=11/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=1dn/10n

that converges?

Explain why, if x>1/2,

then x

cannot be written x=n=2bn2n(bn=0or1,b1=0).

If b1=0,

then, by comparison, xn=21/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=112n

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=11n

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=1h(d)m(d).
  5. Show that d=1h(d)m(d)

    converges.

a. 10d10d1<10d

b. h(d)<9d

c. m(d)=10d1+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=1h(d)/m(d)d=19d/(10)d190.

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=1an

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=1an

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/(N1)2(1+1/4)).

Then ln(SN)=ln(1+1/N2)+ln(1+1/(N1)2)++ln(1+1/4).

Since ln(1+t)

is bounded by a constant times t,

when 0<t<1

one has ln(SN)Cn=1N1n2,

which converges by comparison to the p-series for p=2.

Glossary

comparison test
if 0anbn

for all

nN

and

n=1bn

converges, then

n=1an

converges; if

anbn0

for all

nN

and

n=1bn

diverges, then

n=1an

diverges

limit comparison test
suppose an,bn0

for all

n1.

If

limnan/bnL0,

then

n=1an

and

n=1bn

both converge or both diverge; if

limnan/bn0

and

n=1bn

converges, then

n=1an

converges. If

limnan/bn,

and

n=1bn

diverges, then

n=1an

diverges


Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

You can also download for free at http://cnx.org/contents/9a1df55a-b167-4736-b5ad-15d996704270@5.1

Attribution: