---
title: "Integral Test for Convergence | FiveStudy"
description: "Rectangles against area: the sum and the improper integral share a fate, never a value."
url: https://fivestudy.com/guides/ap-calculus-bc-10-4-integral-test-for-convergence
---

[AP Calculus BC](https://fivestudy.com/ap-calculus-bc) · Study guide

# Integral Test for Convergence

[Figure: FiveStudy]

FiveStudy

AP® Calculus BC · Unit 10 · Infinite Sequences and Series

AP® Calculus BC · Unit 10 · Infinite Sequences and Series

# The Integral *Test*

When the terms of a series come from a function you can integrate, the area under that function decides whether the series converges. This guide states the test, its conditions, and what it does not tell you.

1. Why it works 2. Using the test 3. Checking the conditions 4. What it cannot tell you

The idea in one paragraph

Suppose \(a_n = f(n)\), where \(f\) is **positive, continuous and decreasing** for \(x \ge N\). Then \(\sum_{n=N}^{\infty}a_n\) and \(\int_N^{\infty}f(x)\,dx\) both converge or both diverge. The terms are boxes of width 1 sitting just under (or just over) the curve, so a finite area traps the sum and an infinite area pushes it to infinity. The integral’s value is not the series’ sum.

## 1 Why it works

**Figure 1.** Each box fits under the curve, so the boxes add up to less than the area under the curve. A finite area traps the sum; an infinite area would mean the sum grows without bound.

## 2 Using the test

Worked Example 1 State the conditions, then integrate

### \(\displaystyle\sum_{n=1}^{\infty}\frac{1}{n^2}\)

1. 1

   \(f(x) = \frac{1}{x^2}\) is positive, continuous and decreasing for \(x \ge 1\), and \(f(n) = \frac{1}{n^2}\).

2. 2

   \(\displaystyle\int_1^{\infty}\frac{dx}{x^2} = \lim_{b \rightarrow \infty}\left(1 - \frac1b\right) = 1\), which is finite.

**Answer:** The series converges by the integral test. (Its sum is π²/6 ≈ 1.645, not 1.)

Write it like this

“\(f(x) = \frac{1}{x^2}\) is positive, continuous and decreasing on \([1, \infty)\). Since \(\displaystyle\int_1^{\infty}\frac{dx}{x^2} = 1\) converges, \(\displaystyle\sum\frac{1}{n^2}\) converges by the integral test.”

Worked Example 2 A logarithm that diverges

### \(\displaystyle\sum_{n=2}^{\infty}\frac{1}{n\ln n}\)

1. 1

   \(f(x) = \frac{1}{x\ln x}\) is positive, continuous and decreasing for \(x \ge 2\) (both \(x\) and \(\ln x\) increase).

2. 2

   Substitute \(u = \ln x\): \(\displaystyle\int_2^{\infty}\frac{dx}{x\ln x} = \lim_{b \rightarrow \infty}\left[\ln(\ln x)\right]_2^b = \infty\).

**Answer:** Diverges by the integral test.

Worked Example 3 One more power of ln

### \(\displaystyle\sum_{n=2}^{\infty}\frac{1}{n(\ln n)^2}\)

1. 1

   Same conditions as before. With \(u = \ln x\): \(\displaystyle\int_2^{\infty}\frac{dx}{x(\ln x)^2} = \lim_{b \rightarrow \infty}\left[-\frac{1}{\ln x}\right]_2^b = \frac{1}{\ln 2}\).

**Answer:** Converges. One extra factor of ln n is enough to change the answer.

Common Mistake 1 · Leaving out the conditions

The test needs \(f\) positive, continuous and decreasing. State all three before computing the integral; without them the conclusion does not follow.

## 3 Checking the conditions

Worked Example 4 Checking decreasing with a derivative

### \(\displaystyle\sum_{n=1}^{\infty}ne^{-n^2}\)

1. 1

   \(f(x) = xe^{-x^2}\): \(f'(x) = e^{-x^2}(1 - 2x^2)\), negative for \(x \gt \frac{1}{\sqrt2}\). So \(f\) is decreasing for \(x \ge 1\).

2. 2

   \(\displaystyle\int_1^{\infty}xe^{-x^2}\,dx = \lim_{b \rightarrow \infty}\left[-\tfrac12e^{-x^2}\right]_1^b = \frac{1}{2e}\).

**Answer:** Converges by the integral test.

Worked Example 5 Decreasing only after a while

### \(\displaystyle\sum_{n=1}^{\infty}\frac{\ln n}{n}\)

1. 1

   \(f(x) = \frac{\ln x}{x}\) has \(f'(x) = \frac{1 - \ln x}{x^2}\), negative only for \(x \gt e\). So use the test from \(n = 3\) on; the first two terms do not affect convergence.

2. 2

   \(\displaystyle\int_3^{\infty}\frac{\ln x}{x}\,dx = \lim_{b \rightarrow \infty}\left[\frac{(\ln x)^2}{2}\right]_3^b = \infty\).

**Answer:** Diverges.

Common Mistake 2 · Giving up when f increases at first

The conditions only need to hold from some point on. Starting the series later does not change whether it converges.

## 4 What it cannot tell you

Common Mistake 3 · Reporting the integral as the sum

\(\int_1^{\infty}\frac{dx}{x^2} = 1\), but \(\sum\frac{1}{n^2} \approx 1.645\). The test says whether the series converges, not what it converges to.

Common Mistake 4 · Using it on alternating or signed terms

\(\sum\frac{(-1)^n}{n}\) has terms that are not positive, so the integral test does not apply. Other tests handle signs.

### Quick reference

| Item | Rule |
| --- | --- |
| Conditions | f positive, continuous, decreasing for x ≥ N |
| \(\int_N^{\infty}f\) finite | Series converges |
| \(\int_N^{\infty}f = \infty\) | Series diverges |
| Sum | Not given by the integral |

FiveStudy AP® Calculus BC · The integral test
