The Integral Test
A sum is just the area of a stack of rectangles, and those rectangles hug the graph of . So when is positive and decreasing, the series and the improper integral either both stay finite or both blow up.
What the symbols mean
- Terms
The series terms, read off a function f that is positive, continuous and decreasing.
- Improper integral
The area under the same function from k to infinity.
What the symbols mean
- Power
How fast the terms shrink. p = 1 is the harmonic series, right on the edge.
Explanation
The integral test is simply a way to decide whether a series adds up to something finite by looking at the area under a matching curve instead. It works because adding up and finding the area under the graph of are close cousins, so if one is finite, so is the other. It's good because integrals are often much easier to work out than sums. The statement converges converges looks intimidating, but it's just three pieces: (the series, the heights of the graph at whole numbers added up), (the area under that same graph, all the way out) and (they go together, either both finite or both infinite). It's a lot of symbols for "the sum and the area share a fate," so bear with it.
Why would you want this? Last lesson you met the harmonic series, and we needed a clever grouping trick to show it diverges. Most series don't have a trick like that. But you already know how to handle improper integrals, and those are often easy. This test lets you trade a hard series question for an integral question you already know how to answer.
The picture. Draw rectangles of width 1 and height . Each rectangle has area , so the total area of the rectangles is the series. Placed to the left of each , they sit under the curve, so . Placed to the right, they cover the curve, so . A finite area traps the series underneath it; an infinite area sits under the series and drags it to infinity too.
Requirements. must be positive, continuous and decreasing, at least from some point on. If the terms aren't decreasing, the rectangles don't line up with the curve and the test doesn't apply.
A common mistake. It's tempting to think the series and the integral are equal, since they're tied so closely together. They're not. , but . The rectangles stick out above the curve, so they hold extra area. The test only says the two share a fate: both finite or both infinite.
p-series. Now we can settle a whole family at once. is finite exactly when , so converges exactly when . Notice the harmonic series, , sits right on the edge and falls on the divergent side. This family, together with geometric series, supplies most of the comparisons in the next lesson.
Reach for the integral test when has an easy antiderivative, often through a substitution, like or .
See it
Worked examples
Does converge?
- 1
First check the test applies: is positive, continuous and decreasing for , since both and grow there.
Does converge?
- 1
It's not obvious that is decreasing, since the grows, so check the derivative: for .
Practice
Type your answer and check it. Solve them all to complete the lesson.
For which does converge?
Does converge?
To test , evaluate .
To test , evaluate .
Does converge?
On a big website the -th most popular page gets about visits a day. Use the integral test's bound to cap the total daily visits, however many pages there are.
The hardest one here. Get it, and you've got this lesson.
Does converge?
Where it's used
The integral test is behind running-time estimates like , which is why quicksort takes about steps on average.