Hi everyone! In today’s lesson we’ll learn about two of the tests for our series convergence/divergence toolbox. We’ll be adding more tools to this toolbox in the upcoming lessons.

Lesson 15: The Integral and Divergence Tests

Learning goals:

  • Use the integral test to determine whether a series converges or diverges.
  • Use the divergence test to determine whether a series converges or diverges.

Topic:

WeBWorK:

  • Series – Integral Test
  • Series – Divergence Test

Motivating question

We are covering two tests for our series convergence/divergence toolbox today, so we’ll ask two motivating questions:

  • What can integrals tell us about series?
  • What is the “easiest” way for a series to diverge?

Determine whether the improper integral converges or diverges. If it converges, evaluate it.

11x2dx

Determine whether the improper integral converges or diverges. If it converges, evaluate it.

11xdx

Helpful reminder

Recall from Lesson 10 (link here) that for functions of the form f(x)=1xpdx where p>0,

  1. if p>1, then 11xpdx converges, and
  2. if 0<p1 then 11xpdx diverges.

In Warmup exercise 1 p = 2 and in Warmup exercise 2, p=1.

We’ll start with the integral test and see the divergence test later in the lesson

Integral test

In Lesson 10 (link here) we saw that improper integrals represent areas of unbounded regions and they either converge or diverge. In Lesson 14 (link here) we saw that series are infinite sums and they either converge or diverge. The integral test tells us exactly what these two facts have to do with each other.

Before we get to the formal statement of the integral test, here are two visuals that should help give you an intuitive understanding:

  1. This Desmos graph (link here) shows 11x2dx as the red shaded region.  The series n=11n is represented by the areas of the blue rectangles plus the area of the one green rectangle. We had to separate out the first term of the series because the green rectangle with area 112 doesn’t fit inside the red region, but the blue rectangles, which represent n=21n do. Since the red region represents an integral that converges (see Warmup exercise 1), and the blue region sits inside the red region,  the blue region represents a series that also converges. So n=21n converges and (since you can add a finite number to something that converges and get something that converges), 112+n=21n=n=11n also converges.
  2. This Desmos graph (link here) shows 11xdx as the red shaded region. The series n=11n is represented by the areas of the blue rectangles (only the first few terms of the series are shown). Clearly, the blue region is larger than the red region. So since the red region represents an integral that diverges (see Warmup exercise 2), the blue region represents a series that also diverges.

When looking at the areas of the irregular shapes versus the sums of the areas of the rectangles, think about the blobs of different sizes we used to demonstrate how the comparison theorem for improper integrals works in Lesson 10 (link here).

Theorem (Integral test): Let n=1an be a series where each term an is positive.

Let f(x) be a continuous, decreasing function where f(n)=an for all positive integers 1,2,3,. Then either

  • 1f(x)dx and n=1an both converge, or
  • 1f(x)dx and n=1an both diverge.

Remark: As stated in the theorem above, both the improper integral and series start at the value 1, but the theorem is still true if we replace that 1 with any positive integer N.

Video 1 below introduces you to how the integral test works through three examples.

Video 1

p-series

Two examples in that video are examples of what we call “p-series.”  These are series that look like n=11np.

The corresponding improper integrals should look familiar to you: 11xpdx.

You know the improper integrals converge if p>1 and diverge if p1. The same is true for p-series and you can prove this using the integral test.

Theorem: Let n=11np be a p-series where p>0.

If p>1 then the series converges.

If p1 then the series diverges.

Definition: The series n=11n (that is, the p-series where p=1) is known as the harmonic series.

Videos 2, 3, and 4 below show more examples of the integral test in action.

Video 2
Video 3
Video 4

Divergence Test

You saw the divergence test briefly in one of the videos in Lesson 14 (link here).

The divergence test is convenient when it applies. It’s always a good idea to check whether it applies to a particular series before you start trying to use another test for convergence.

Remember that when an infinite series converges, that means that a sum of infinitely many numbers is actually (in the limit) finite. The only way this can possibly happen is if the individual numbers are getting smaller and smaller and smaller. If the individual numbers (terms of the sequence) are not getting smaller, there’s no way for the series to converge.

Compare this to improper integrals of Type 1 from Lesson 10 (link here): if your function f(x) does not have the x-axis as a horizontal asymptote as x approaches , then there’s no way that af(x)dx (which calculates the area under the curve) can possibly converge.

Theorem (Divergence test): Consider the series n=1an.

If limnan0 then the series diverges.

Notice which direction the implication goes: if the individual terms of the sequence don’t approach zero, then the infinite series diverges. The test does not say that that if the individual terms do approach zero, then the infinite series converges. Compare this to the improper integral again: if f(x)=1x then f(x) has the x-axis as a horizontal asymptote (limx1x=0). But having the x-axis as a horizontal asymptote is not enough for convergence; we know that 11xdx diverges.

To reiterate: the divergence test cannot tell you if a series converges, but it might tell you if the series diverges.

Video 5 below show how the divergence test works in some examples where it applies.

Video 5

Video 6 below shows how the divergence test works in some other examples where it applies. But note that these are examples of geometric series and we know from Lesson 14 (link here) exactly when geometric series converge or diverge. The divergence test can only confirm divergence when |r|1.

Video 6

Back to today’s motivating questions

  • What can integrals tell us about series?
    • If the individual terms an of a series n=1an correspond to a function f(x) satisfying the conditions of the integral test, then the convergence or divergence of the corresponding improper integral of f(x) tells us whether the series n=1an converges or diverges.
  • What is the “easiest” way for a series to diverge?
    • Some people may argue about how “easy” the divergence test is, but the point is that it can tell you if a particular series n=1an doesn’t have a hope of converging: if the individual terms in an infinite sum don’t approach zero, there is no way for that infinite sum to converge. If they do approach zero, you’ll have to use another test to determine whether the series converges or diverges.
beenhere

Additional Video Resources

The Divergence and Integral Tests

Determine whether the series converges or diverges.

n=19n53n5+5