← Return to lesson

Class materials · 10.4

Integral Test for Convergence

Lecture transcript

0:00

You've already met improper integrals. The integral from one to infinity of f of x is a limit, the limit as b goes to infinity of the integral from one to b. And it either converges or diverges. A series with positive terms can be drawn the same way. Make each term a rectangle of width one and height A sub n, so its area is exactly that term. Then the series is a sum of areas.

0:28

Today we set those rectangles beside the area under a curve, and let an improper integral decide whether the series converges. Idea one: rectangles under a curve. Take the series with terms A sub n equals one over n squared. Those terms are the heights of the curve f of x equals one over x squared, at the positive integers. Start with A sub two; A sub one comes back later. Draw it as a rectangle on the interval from one to two: width one, height A sub two, which is the height of the curve at the right end, x equals two.

1:09

Next, A sub three goes on the interval from two to three. And so on: A sub n goes on the interval from n minus one to n. The curve is decreasing, so the rectangles all stay under the curve, every single one. So those rectangles together have less area than the region under the curve from one to n: the integral from one to n of one over x squared. And past n the area only grows, so that is less than the integral from one to infinity. Compute it. The integral from one to b of x to the negative two is negative one over x, from one to b.

1:50

That's one minus one over b. As b goes to infinity, it goes to one. Now put the first term back. A sub one is one, so every partial sum, S sub n, is at most one plus one, which is two. The terms are positive, so the partial sums increase, and they never pass two. A sequence that is bounded and monotone has to converge.

2:17

So the series converges. Be careful about what we found. One was the value of the integral, and two was an upper bound for the partial sums. Neither of them is the sum. The integral only tells us that a sum exists. Idea two: rectangles over a curve.

2:37

Now take A sub n equals one over n, with the curve f of x equals one over x. This time, move each rectangle one step over: put A sub n on the interval from n to n plus one. Now its height is the height of the curve at the left end, the highest point of that stretch. The curve is decreasing, so each rectangle sticks out over the curve. A sub one sits on the interval from one to two, and A sub two from two to three. So the first n rectangles have more area than the region under the curve from one to n plus one, because the last rectangle ends at n plus one.

3:19

That integral is the natural log of n plus one, because the natural log of one is zero. The natural log of n plus one goes to infinity, and S sub n is even bigger. So the partial sums go to infinity, and the series diverges. Say it with the integral. The integral from one to infinity of one over x diverges, because the natural log grows without bound. The series follows it, and diverges too.

3:49

Idea three: the integral test. Both pictures used the same facts about f. It's positive, it's continuous, and it's decreasing, for x at least one. And the terms are its heights: A sub n equals f of n. Then the series and the improper integral behave the same way. Either both converge, or both diverge.

4:16

That is the integral test. And remember what the test gives you. The series and the integral converge together, but not to the same number. The sum of one over n squared is not one. So when do you reach for the integral test? Take the term, A sub n, and write it as f of n.

4:39

Then look at f of x. Can you integrate f of x? If you can, the integral test is your tool. The conditions still have to hold, of course. Idea three, again: what each condition does. Each condition has a job, and we can see it.

4:58

Take a new curve. Look first at the part where it goes down. There, each rectangle fits under the curve. That's what let us compare a sum with an integral. Where the curve is still rising, the rectangle sticks out over the curve, and the inequality goes the wrong way. Next, positive.

5:18

Every rectangle adds some area, and none takes any away. So the partial sums, S sub n, only go up. That is the monotone part. And continuous is what lets us integrate f in the first place. Without it, the area under the curve might not even make sense. Here's the good news. The curve only has to decrease from some point on.

5:42

Here that's from x equals three on, and that is enough. Look at it again: it rises first, and then it goes down for good. The rectangles before three add a finite amount. And a finite amount can't change whether a series converges. So check the conditions from some point on, and say so. Example one is a free response question.

6:08

Use the integral test to determine whether the series, the sum from n equals two to infinity of one over n times the natural log of n, converges or diverges. The plan: check the conditions on this function, then compute the improper integral as a limit, and then state the conclusion. Call the function f of x: one over x times the natural log of x. We check the conditions on f itself. This line earns the point. For x at least two, both x and its natural log are positive.

6:44

So x times the natural log of x is positive, and never zero. So f is positive, and it is continuous. As x grows, x and its natural log both grow, so the bottom increases. That makes f decreasing. All the conditions hold. The plan: substitute u equals the natural log of x, and keep the limit until the very end.

7:11

Let u be the natural log of x, so d u is one over x, d x. Now find those pieces in the integrand. One over x times the natural log of x, d x, is one over the natural log of x, times one over x, d x. That's one over u, d u. The integral of one over u, d u, is the natural log of u. Put the natural log of x back in for u.

7:41

So the integral from two to b is the natural log of the natural log of x, from two to b. This line earns the point. Take the limit as b goes to infinity. The natural log of b grows without bound, and so does its natural log, so the limit is infinity. The integral diverges. The conditions hold, so by the integral test, the series diverges too.

8:08

Stay with that integral for a moment. The answer can be right and still lose the point, because of how the upper limit is written. This is where people lose points. A common slip is to plug in infinity as if it were a number, and write the natural log of the natural log of infinity. On the exam, that notation does not earn the point. Write b for the upper limit, and take the limit as b goes to infinity.

8:35

Infinity is never plugged in. Example two is multiple choice. The function f is positive, continuous, and decreasing for x at least one, and the integral from one to infinity of f of x is three. Which of the following must be true? The plan: see what the integral test says, and then look at each choice. What does the integral test guarantee?

9:04

The hypotheses hold, and the integral has a finite value, three. That tells us the series converges. Its sum is a separate question. So the answer is B. Choice A claims too much. The test says the series converges, not that it converges to the same number.

9:25

And choice D fails. A convergent series has terms going to zero, not three. Example three is multiple choice. For which series can the integral test not be used? The plan: before any integral, check whether the function is positive, continuous, and decreasing, for each choice. In A, B, and D, the function is positive, continuous, and decreasing, so the test can be used.

9:58

Check the positivity condition. In C, every other term is negative. No matter how far out you start, the terms still change sign, so the integral test doesn't apply. So the answer is C. That series needs a different test, and we'll meet it soon. So, how can an integral decide whether a series converges?

10:23

If the rectangles fit under a finite area, the partial sums are bounded and increasing, so the series converges. That gives the integral test. For a positive, continuous, decreasing function, the series and the improper integral converge together or diverge together. But the integral is not the sum. The test tells you whether the series converges, and nothing more. Which condition do you forget to check most often?

10:51

Tell me in the comments. Next up is ten point five: the harmonic series and p-series.