Kim’s Math NotesCourse index

Integral Test for Convergence

How do I use the integral test to decide whether a series converges?

Use the integral test: check the conditions on f, write the improper integral as a limit, and state the conclusion.

Infinity as a number

Common mistake [ln(lnx)]2∞=ln(ln∞)−ln(ln2)

Correction limb→∞[ln(lnx)]2b

Idea 1: rectangles under the curve

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.

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.

Watch this part of the concept lesson

Read the rest of this scene

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. 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. 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 2: rectangles over the curve

Idea two: rectangles over a curve. 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. That integral is the natural log of n plus one, because the natural log of one is zero.

Watch this part of the concept lesson

Read the rest of this scene

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.

Idea 3: the integral test

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.

Watch this part of the concept lesson

Read the rest of this scene

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. 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 3: what each condition does

Idea three, again: what each condition does. Each condition has a job, and we can see it. 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. 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.

Watch this part of the concept lesson

Read the rest of this scene

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. 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 1: conditions, the limit, the conclusion

Example one is a free response question. 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. 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.

Watch this part of the concept lesson

Read the rest of this scene

All the conditions hold. The plan: substitute u equals the natural log of x, and keep the limit until the very end. 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. 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.

Common mistake: infinity as a number

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.

Watch this part of the concept lesson

Read the rest of this scene

Infinity is never plugged in.

Example 2: the area and the sum

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?

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.

Watch this part of the concept lesson

Read the rest of this scene

The test says the series converges, not that it converges to the same number. And choice D fails. A convergent series has terms going to zero, not three.

Example 3: when the test can't be used

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. Check the positivity condition.

In C, every other term is negative.

Watch this part of the concept lesson

Read the rest of this scene

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.

Worked examples

Example 1

Use the integral test to determine whether ∑n=2∞1nlnn converges or diverges.
Hint

Tie each condition to this f; then u=lnx.

Answer and solution

Answer diverges by the integral test; limb→∞∫2bdxxlnx=∞

  1. f(x)=1xlnx:positive, continuous, decreasing for x≥2
  2. ∫2bdxxlnx=[ln(lnx)]2b(u=lnx)
  3. limb→∞(ln(lnb)−ln(ln2))=∞:diverges

Example 2

The function f is positive, continuous, and decreasing for x≥1, and ∫1∞f(x)dx=3. Which of the following must be true?
  1. ∑n=1∞f(n)=3
  2. ∑n=1∞f(n) converges
  3. ∑n=1∞f(n) diverges
  4. limn→∞f(n)=3
Hint

Same behavior, not the same number.

Answer and solution

Answer B. ∑n=1∞f(n) converges

  1. conditions hold, the integral converges: the series converges
  2. Answer B. (A) confuses the integral with the sum.

Example 3

For which series can the integral test not be used?
  1. ∑n=1∞1n3
  2. ∑n=2∞1nlnn
  3. ∑n=1∞(−1)nn
  4. ∑n=1∞e−n
Hint

Check positive, continuous, decreasing before anything else.

Answer and solution

Answer C. ∑n=1∞(−1)nn

  1. (−1)nn alternates in sign: not positive
  2. Answer C.

Workbook

Problem 1

Use the integral test to determine whether the series ∑n=1∞1(n+3)2 converges or diverges.
Hint

Conditions first, then the limit.

Answer and solution

Answer converges; ∫1∞dx(x+3)2=14

  1. f(x)=1(x+3)2 is positive, continuous, decreasing for x≥1
  2. limb→∞[−1x+3]1b=limb→∞(14−1b+3)=14⇒converges

Common mistake Leaving out the conditions; calling 14 the sum.

Watch the worked solution to Problem 1

Problem 2

What does the integral test show about the series ∑n=1∞12n+1?
  1. It converges to 12ln3.
  2. It converges.
  3. It diverges.
  4. The integral test does not apply.
Hint

An antiderivative is 12ln(2x+1).

Answer and solution

Answer C. It diverges.

  1. limb→∞(12ln(2b+1)−12ln3)=∞⇒diverges. Answer C.

Common mistake The log grows slowly, but it goes to ∞.

Watch the worked solution to Problem 2

Problem 3

Let f(x)=xx2+4. (a) Show that f is decreasing for x>2. (b) Use the integral test to determine whether the series ∑n=1∞nn2+4 converges or diverges.
Hint

Decreasing from some point on is enough.

Answer and solution

Answer (a) f′(x)=4−x2(x2+4)2<0 for x>2 (b) diverges

  1. f′(x)=4−x2(x2+4)2<0 for x>2
  2. limb→∞[12ln(x2+4)]2b=∞⇒diverges

Common mistake Giving up because f is not decreasing from x=1.

Watch the worked solution to Problem 3

Problem 4

What does the integral test show about the series ∑n=1∞ne−n2?
  1. It converges to 12e.
  2. It converges.
  3. It diverges.
  4. The integral test does not apply.
Hint

Same behavior, not the same number.

Answer and solution

Answer B. It converges.

  1. limb→∞[−12e−x2]1b=12e⇒the series converges, but not to 12e.Answer B.

Common mistake (A) gives the value of the integral as the sum.

Watch the worked solution to Problem 4

Problem 5

Use the integral test to determine whether the series ∑n=1∞1n2+2n+2 converges or diverges.
Hint

Complete the square.

Answer and solution

Answer converges; the integral is π2−arctan2

  1. x2+2x+2=(x+1)2+1;limb→∞(arctan(b+1)−arctan2)=π2−arctan2⇒converges

Common mistake arctan(b+1)→π2, not ∞.

Watch the worked solution to Problem 5

Problem 6

Consider the series ∑n=2∞1n(lnn)2. (a) Let f(x)=1x(lnx)2. Explain why f is positive, continuous, and decreasing for x≥2. (b) Use the integral test to determine whether the series converges or diverges.
Hint

Let u=lnx.

Answer and solution

Answer (a) x(lnx)2 is positive and increasing for x≥2 (b) converges; the integral is 1ln2

  1. u=lnx:limb→∞[−1lnx]2b=limb→∞(1ln2−1lnb)=1ln2⇒converges

Common mistake Plugging in ∞ instead of taking a limit.

Watch the worked solution to Problem 6