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**:

- Volume 2, Section 5.3
*The Divergence and Integral Tests*(link to textbook section)

**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?

#### Warmup exercise 1

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

#### Show answer 1

Since the integral is improper, we must begin by setting it up as a limit:

#### Warmup exercise 2

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

#### Show answer 2

Again, we must first set up the integral as a limit:

Remember that does not exist; keeps getting bigger as gets bigger. This means that our limit above does not exist, so our original improper integral diverges.

#### Helpful reminder

Recall from Lesson 10 (link here) that for functions of the form where ,

- if , then converges, and
- if then 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:

- This Desmos graph (link here) shows as the red shaded region. The series 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 doesn’t fit inside the red region, but the blue rectangles, which represent 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 converges and (since you can add a finite number to something that converges and get something that converges), also converges.
- This Desmos graph (link here) shows as the red shaded region. The series 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 be a series where each term is positive.

Let be a continuous, decreasing function where for all positive integers . Then either

- and both converge, or
- and 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 .

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

#### p-series

Two examples in that video are examples of what we call “*p*-series.” These are series that look like .

The corresponding improper integrals should look familiar to you: .

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

**Theorem:** Let be a *p*-series where .

If then the series converges.

If then the series diverges.

**Definition:** The series (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.

## 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 does not have the -axis as a horizontal asymptote as approaches , then there’s no way that (which calculates the area under the curve) can possibly converge.

**Theorem (Divergence test):** Consider the series .

If 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 then has the -axis as a horizontal asymptote (). But having the -axis as a horizontal asymptote is not enough for convergence; we know that 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 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 .

## Back to today’s motivating questions

- What can integrals tell us about series?
- If the individual terms of a series correspond to a function satisfying the conditions of the integral test, then the convergence or divergence of the corresponding improper integral of tells us whether the series 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 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.

#### Exit ticket

Determine whether the series converges or diverges.