Skip to main content

Code Scholars Tutoring · AP Calculus BC

The integral test and positive decreasing functions

Unit 10 · Topics 10.4 · Detailed notes, a worked example, and a self-check with reasoning.

Understand the idea

The integral test connects a positive series with the accumulated area of a related continuous function. When the function is positive, continuous, and decreasing beyond some starting point, the series and the corresponding improper integral either both converge or both diverge.

Check the conditions on the function used for the comparison, not just on isolated values at integer inputs. Eventual satisfaction is enough: changing finitely many initial terms cannot change convergence. The integral's finite value is generally not the sum of the series.

For a convergent positive decreasing series, neighboring improper integrals also bound the tail after the N\displaystyle Nth term. This gives a numerical error estimate, but it still depends on the same positivity and monotonicity conditions.

∫N+1∞f(x) dx≤RN=∑n=N+1∞f(n)≤∫N∞f(x) dx\int_{N+1}^{\infty}f(x)\,dx\le R_N=\sum_{n=N+1}^{\infty}f(n)\le\int_N^{\infty}f(x)\,dx

A method you can apply

  1. Choose a continuous function f\displaystyle f with f(n)=an\displaystyle f(n)=a_n.
  2. Verify positivity, continuity, and decreasing behavior on a suitable tail.
  3. Evaluate the improper integral using a limit, then transfer its convergence conclusion to the series.

Worked example

Use the integral test for ∑n=1∞1/n2\displaystyle \sum_{n=1}^{\infty}1/n^2 and bound its tail after ten terms.

  1. The function f(x)=1/x2\displaystyle f(x)=1/x^2 is positive, continuous, and decreasing for x≥1\displaystyle x\ge1.
  2. The improper integral ∫1∞x−2 dx=1\displaystyle \int_1^\infty x^{-2}\,dx=1 is finite, so the series converges.
  3. The tail bounds are ∫11∞x−2 dx=1/11\displaystyle \int_{11}^\infty x^{-2}\,dx=1/11 and ∫10∞x−2 dx=1/10\displaystyle \int_{10}^\infty x^{-2}\,dx=1/10.
The series converges, and its tail satisfies 1/11≤R10≤1/10\displaystyle 1/11\le R_{10}\le1/10. The integral value 1\displaystyle 1 is not the series sum.

Try it yourself

Determine the convergence of ∑n=2∞1/(nln⁡n)\displaystyle \sum_{n=2}^{\infty}1/(n\ln n) using an integral.

Show solution and reasoning

The function is positive, continuous, and decreasing for x≥2\displaystyle x\ge2. The integral is lim⁡b→∞[ln⁡(ln⁡x)]2b\displaystyle \lim_{b\to\infty}[\ln(\ln x)]_2^b, which diverges. Therefore the series diverges.

AP® is a trademark registered by the College Board, which is not affiliated with, and does not endorse, this material.