We already know that series and integrals share some similar properties. We are going to show that, by replacing the series with an equivalent integral, we can determine if the series converges.
In terms of our Pandora's box, we are just replacing our grilled cheese with something else. Assume we've replaced them with gremlins. Maybe we should keep the box shut on these guys.
Before, we used graphs the convergence or divergence of some series and doing some reasoning similar to what we did when studying left-hand and right-hand sums for integrals.
Integral Test: Let f be a non-negative decreasing function on [c,∞) where c is an integer. If the integral
converges, then the series
If the integral diverges, then the series also diverges.
Like we mentioned before, the integral test replaces grilled cheese with gremlins. They are hard to tame, but if you can do so, you can open the box safely. If you can't tame the gremlins, then keep that box shut.
The integral test works because, depending on how we draw the series, we can choose whether the rectangles will cover more or less area than the integral.
In the example with the harmonic series we drew the series as an overestimate. Since the integral diverged, we knew the series had to diverge.
If we have an integral that converges, we draw the series as an underestimate (right-hand sum) instead. Since a convergent integral describes a finite area, the smaller area covered by the rectangles must also be finite.