Processing math: 100%
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

8.3: Integral and Comparison Tests

( \newcommand{\kernel}{\mathrm{null}\,}\)

Knowing whether or not a series converges is very important, especially when we discusses Power Series. Theorems 60 and 61 give criteria for when Geometric and p-series converge, and Theorem 63 gives a quick test to determine if a series diverges. There are many important series whose convergence cannot be determined by these theorems, though, so we introduce a set of tests that allow us to handle a broad range of series. We start with the Integral Test.

Integral Test

We stated in Section 8.1 that a sequence {an} is a function a(n) whose domain is N, the set of natural numbers. If we can extend a(n) to R, the real numbers, and it is both positive and decreasing on [1,), then the convergence of n=1an is the same as 1a(x)dx.

theorem 8.3.1: integral test

Let a sequence {an} be defined by an=a(n), where a(n) is continuous, positive and decreasing on [1,). Then n=1an converges, if, and only if, 1a(x)dx converges.

We can demonstrate the truth of the Integral Test with two simple graphs. In Figure 8.3.1a, the height of each rectangle is a(n)=an for n=1,2,, and clearly the rectangles enclose more area than the area under y=a(x). Therefore we can conclude that

1a(x)dx<n=1an.

8.13.png
Figure 8.3.1: Illustrating the truth of the Integral Test.

In Figure 8.3.1b, we draw rectangles under y=a(x) with the Right-Hand rule, starting with n=2. This time, the area of the rectangles is less than the area under y=a(x), so n=2an<1a(x)dx. Note how this summation starts with n=2; adding a1 to both sides lets us rewrite the summation starting with n=1:

n=1an<a1+1a(x)dx.

Combining Equations ??? and ???, we have

n=1an<a1+1a(x)dx<a1+n=1an.

Theorem 8.3.1

From Equation ??? we can make the following two statements:

  1. If n=1an diverges, so does 1a(x)dx (because n=1an<a1+1a(x)dx)
  2. If n=1an converges, so does 1a(x)dx (because 1a(x)dx<n=1an.)

Therefore the series and integral either both converge or both diverge.

Theorem8.3.1 allows us to extend this theorem to series where a(n) is positive and decreasing on [b,) for some b>1.

Example 8.3.1: Using the Integral Test

Determine the convergence of n=1lnnn2. (The terms of the sequence {an}={lnn/n2} and the nth partial sums are given in Figure 8.3.2).

Solution

Figure 8.3.2 implies that a(n)=(lnn)/n2 is positive and decreasing on [2,). We can determine this analytically, too. We know a(n) is positive as both lnn and n2 are positive on [2,). To determine that a(n) is decreasing, consider a(n)=(12lnn)/n3, which is negative for n2. Since a(n) is negative, a(n) is decreasing.

imageedit_2_7233719900.png
Figure 8.3.2: Plotting the sequence and series in Example 8.3.1.

Applying the Integral Test, we test the convergence of 1lnxx2dx. Integrating this improper integral requires the use of Integration by Parts, with u=lnx and dv=1/x2dx.

1lnxx2dx=limbb1lnxx2dx=limb1xlnx|b1+b11x2dx=limb1xlnx1x|b1=limb11blnbb.Apply L'Hˆopital's Rule:=1.

Since 1lnxx2dx converges, so does n=1lnnn2.

Theorem 61 was given without justification, stating that the general p-series n=11(an+b)p converges if, and only if, p>1. In the following example, we prove this to be true by applying the Integral Test.

Example 8.3.2: Using the Integral Test to establish Theorem 61

Use the Integral Test to prove that n=11(an+b)p converges if, and only if, p>1.

Solution

Consider the integral 11(ax+b)pdx; assuming p1,

11(ax+b)pdx=limcc11(ax+b)pdx=limc1a(1p)(ax+b)1p|c1=limc1a(1p)((ac+b)1p(a+b)1p).

This limit converges if, and only if, p>1. It is easy to show that the integral also diverges in the case of p=1. (This result is similar to the work preceding Key Idea 21.)

Therefore n=11(an+b)p converges if, and only if, p>1.

We consider two more convergence tests in this section, both comparison tests. That is, we determine the convergence of one series by comparing it to another series with known convergence.

Direct Comparison Test

theorem 8.3.1: direct comparison test

Let {an} and {bn} be positive sequences where anbn for all nN, for some N1.

  1. If n=1bn converges, then n=1an converges.
  2. If n=1an diverges, then n=1bn diverges.

Note: A sequence {an} is a positive sequence if an>0 for all n.

Because of Theorem 64, any theorem that relies on a positive sequence still holds true when an>0 for all but a finite number of values of n.

Example 8.3.3: Applying the Direct Comparison Test

Determine the convergence of n=113n+n2.

Solution

This series is neither a geometric or p-series, but seems related. We predict it will converge, so we look for a series with larger terms that converges. (Note too that the Integral Test seems difficult to apply here.)

Since 3n<3n+n2, 13n>13n+n2 for all n1. The series n=113n is a convergent geometric series; by Theorem 66, n=113n+n2 converges.

Example 8.3.4: Applying the Direct Comparison Test

Determine the convergence of n=11nlnn.

Solution

We know the Harmonic Series n=11n diverges, and it seems that the given series is closely related to it, hence we predict it will diverge.

Since nnlnn for all n1, 1n1nlnn for all n1.

The Harmonic Series diverges, so we conclude that n=11nlnn diverges as well.

The concept of direct comparison is powerful and often relatively easy to apply. Practice helps one develop the necessary intuition to quickly pick a proper series with which to compare. However, it is easy to construct a series for which it is difficult to apply the Direct Comparison Test.

Consider n=11n+lnn. It is very similar to the divergent series given in Example 8.3.5. We suspect that it also diverges, as 1n1n+lnn for large n. However, the inequality that we naturally want to use "goes the wrong way'': since nn+lnn for all n1, 1n1n+lnn for all n1. The given series has terms less than the terms of a divergent series, and we cannot conclude anything from this.

Fortunately, we can apply another test to the given series to determine its convergence.

Large Limit Comparison Test

Theorem 67: limit comparison test

Let {an} and {bn} be positive sequences.

  1. If limnanbn=L, where L is a positive real number, then n=1an and n=1bn either both converge or both diverge.
  2. If limnanbn=0, then if n=1bn converges, then so does n=1an.
  3. If limnanbn=, then if n=1bn diverges, then so does n=1an.

Theorem 67 is most useful when the convergence of the series from {bn} is known and we are trying to determine the convergence of the series from {an}.

We use the Limit Comparison Test in the next example to examine the series n=11n+lnn which motivated this new test.

Example 8.3.5: Applying the Limit Comparison Test

Determine the convergence of n=11n+lnn using the Limit Comparison Test.

Solution

We compare the terms of n=11n+lnn to the terms of the Harmonic Sequence n=11n:

limn1/(n+lnn)1/n=limnnn+lnn=1(after applying L'Hˆopital's Rule).

Since the Harmonic Series diverges, we conclude that n=11n+lnn diverges as well.

Example 8.3.6: Applying the Limit Comparison Test

Determine the convergence of n=113nn2

Solution
This series is similar to the one in Example 8.3.3, but now we are considering "3nn2'' instead of "3n+n2.'' This difference makes applying the Direct Comparison Test difficult.

Instead, we use the Limit Comparison Test and compare with the series n=113n:

limn1/(3nn2)1/3n=limn3n3nn2=1(after applying L'Hˆopital's Rule twice).

We know n=113n is a convergent geometric series, hence n=113nn2 converges as well.

As mentioned before, practice helps one develop the intuition to quickly choose a series with which to compare. A general rule of thumb is to pick a series based on the dominant term in the expression of {an}. It is also helpful to note that factorials dominate exponentials, which dominate algebraic functions (e.g., polynomials), which dominate logarithms. In the previous example, the dominant term of 13nn2 was 3n, so we compared the series to n=113n. It is hard to apply the Limit Comparison Test to series containing factorials, though, as we have not learned how to apply L'Hˆopital's Rule to n!.

Example 8.3.7: Applying the Limit Comparison Test

Determine the convergence of n=1n+3n2n+1.

Solution

We naively attempt to apply the rule of thumb given above and note that the dominant term in the expression of the series is 1/n2. Knowing that n=11n2 converges, we attempt to apply the Limit Comparison Test:

limn(n+3)/(n2n+1)1/n2=limnn2(n+3)n2n+1=(Apply L'Hˆopital's Rule).

Theorem 67 part (3) only applies when n=1bn diverges; in our case, it converges. Ultimately, our test has not revealed anything about the convergence of our series.

The problem is that we chose a poor series with which to compare. Since the numerator and denominator of the terms of the series are both algebraic functions, we should have compared our series to the dominant term of the numerator divided by the dominant term of the denominator.

The dominant term of the numerator is n1/2 and the dominant term of the denominator is n2. Thus we should compare the terms of the given series to n1/2/n2=1/n3/2:

limn(n+3)/(n2n+1)1/n3/2=limnn3/2(n+3)n2n+1=1(Apply L'Hˆopital's Rule).

Since the p-series n=11n3/2 converges, we conclude that n=1n+3n2n+1 converges as well.

We mentioned earlier that the Integral Test did not work well with series containing factorial terms. The next section introduces the Ratio Test, which does handle such series well. We also introduce the Root Test, which is good for series where each term is raised to a power.

Contributors and Attributions

  • Gregory Hartman (Virginia Military Institute). Contributions were made by Troy Siemers and Dimplekumar Chalishajar of VMI and Brian Heinold of Mount Saint Mary's University. This content is copyrighted by a Creative Commons Attribution - Noncommercial (BY-NC) License. http://www.apexcalculus.com/


This page titled 8.3: Integral and Comparison Tests is shared under a CC BY-NC 3.0 license and was authored, remixed, and/or curated by Gregory Hartman et al. via source content that was edited to the style and standards of the LibreTexts platform.

Support Center

How can we help?