10. Infinite Sequences and Series

Integral Test For Convergence

Integral Test for Convergence

students, when a series has many terms, it can be hard to tell whether the total sum settles down to a finite number or grows without bound. That is one of the biggest questions in AP Calculus BC ๐Ÿ“˜. The Integral Test gives a smart way to answer that question for certain series by connecting them to the area under a curve. In this lesson, you will learn what the test says, when it works, and how to use it to decide whether a series converges or diverges.

Why the Integral Test Matters

A series is an expression like $\sum_{n=1}^{\infty} a_n$, where you add infinitely many terms. The big question is whether the partial sums approach a finite limit. If they do, the series converges. If not, it diverges.

The Integral Test is useful when the terms of the series come from a function that is positive, continuous, and decreasing. If $a_n=f(n)$ for a function $f(x)$, then we compare the series

$\sum_{n=1}^{\infty} a_n$

to the improper integral

$$\int_1^{\infty} f(x)\,dx.$$

The core idea is simple: the terms of the series act like the heights of rectangles, while the integral measures the area under the curve. If those rectangles and the curve behave in a similar way, then the series and the integral will either both converge or both diverge. ๐Ÿ“ˆ

This matters because many important series are not geometric or telescoping, so the Integral Test gives a powerful new tool in the Infinite Sequences and Series unit.

What the Integral Test Says

Suppose $f(x)$ is a function such that:

  • $f(x)$ is continuous for $x\ge 1$
  • $f(x)$ is positive for $x\ge 1$
  • $f(x)$ is decreasing for $x\ge 1$
  • $a_n=f(n)$ for each positive integer $n$

Then the series $\sum_{n=1}^{\infty} a_n$ and the improper integral $\int_1^{\infty} f(x)\,dx$ either both converge or both diverge.

This is the official logic of the test:

  • If $\int_1^{\infty} f(x)\,dx$ converges, then $\sum_{n=1}^{\infty} a_n$ converges.
  • If $\int_1^{\infty} f(x)\,dx$ diverges, then $\sum_{n=1}^{\infty} a_n$ diverges.

Notice what the test does not do. It does not give the exact sum of the series. It only tells whether the infinite sum has a finite value. That is still extremely valuable because convergence is often the first thing you need to know.

A helpful way to picture this is with stacked rectangles under a decreasing curve. Because the function decreases, the rectangle sums and the area under the curve stay close enough to compare their long-term behavior.

When You Can Use It

The Integral Test does not work for every series. You should check the function conditions carefully.

For example, the series

$\sum_{n=1}^{\infty} \frac{1}{n^2}$

can be tested with $f(x)=\frac{1}{x^2}$. This function is positive, continuous, and decreasing for $x\ge 1$, so the test applies.

But a series like

$\sum_{n=1}^{\infty} \frac{(-1)^n}{n}$

is not a good candidate for the Integral Test because its terms are not all positive. Instead, this series is better studied with the Alternating Series Test.

Another important idea: the function must be decreasing on the interval you are using. If the function wiggles up and down, the Integral Test is usually not the right tool.

Always ask these questions:

  1. Can I write $a_n=f(n)$?
  2. Is $f(x)$ positive for $x\ge 1$?
  3. Is $f(x)$ continuous for $x\ge 1$?
  4. Is $f(x)$ decreasing for $x\ge 1$?

If the answer is yes, the test is likely available.

How to Apply the Test

Here is the standard procedure students should use:

Step 1: Identify the function

Find a function $f(x)$ so that $a_n=f(n)$.

Step 2: Check the conditions

Make sure $f(x)$ is positive, continuous, and decreasing on $[1,\infty)$.

Step 3: Evaluate the improper integral

Compute

$$\int_1^{\infty} f(x)\,dx.$$

Step 4: Decide convergence or divergence

  • If the integral has a finite value, the series converges.
  • If the integral is infinite, the series diverges.

Letโ€™s look at a classic example.

Consider

$$\sum_{n=1}^{\infty} \frac{1}{n^p}.$$

This is called a $p$-series. Using the Integral Test with $f(x)=\frac{1}{x^p}$, we compute

$$\int_1^{\infty} \frac{1}{x^p}\,dx.$$

If $p\ne 1$, then an antiderivative is

$$\int x^{-p}\,dx=\frac{x^{1-p}}{1-p}.$$

Now evaluate the improper integral:

$$\int_1^{\infty} \frac{1}{x^p}\,dx=\lim_{b\to\infty}\left[\frac{x^{1-p}}{1-p}\right]_1^b.$$

  • If $p>1$, then $1-p<0$, so $b^{1-p}\to 0$ and the integral converges.
  • If $p\le 1$, the integral diverges.

This matches the familiar $p$-series rule: $\sum \frac{1}{n^p}$ converges when $p>1$ and diverges when $p\le 1$.

Example: A Series That Converges

Consider the series

$$\sum_{n=1}^{\infty} \frac{1}{n^2+1}.$$

Let

$$f(x)=\frac{1}{x^2+1}.$$

This function is positive, continuous, and decreasing for $x\ge 1$, so the Integral Test applies.

Now evaluate

$$\int_1^{\infty} \frac{1}{x^2+1}\,dx.$$

Since an antiderivative of $\frac{1}{x^2+1}$ is $\arctan(x)$, we get

$$\int_1^{\infty} \frac{1}{x^2+1}\,dx=\lim_{b\to\infty}\left[\arctan(x)\right]_1^b.$$

That becomes

$$\lim_{b\to\infty}\left(\arctan(b)-\arctan(1)\right).$$

Because $\arctan(b)\to\frac{\pi}{2}$ as $b\to\infty$, the integral equals

$$\frac{\pi}{2}-\frac{\pi}{4}=\frac{\pi}{4}.$$

Since the improper integral converges, the series

$$\sum_{n=1}^{\infty} \frac{1}{n^2+1}$$

also converges. โœ…

This example shows an important point: the Integral Test does not need the exact sum of the series. It only needs the integralโ€™s convergence behavior.

Example: A Series That Diverges

Now consider

$$\sum_{n=1}^{\infty} \frac{1}{n}.$$

This is the harmonic series, one of the most famous divergent series in calculus.

Use

$$f(x)=\frac{1}{x}.$$

The function is positive, continuous, and decreasing for $x\ge 1$. Now compute

$$\int_1^{\infty} \frac{1}{x}\,dx.$$

An antiderivative is $\ln x$, so

$$\int_1^{\infty} \frac{1}{x}\,dx=\lim_{b\to\infty}[\ln x]_1^b=\lim_{b\to\infty}(\ln b-\ln 1).$$

Because $\ln b\to\infty$, the integral diverges. Therefore, by the Integral Test, the harmonic series diverges.

This is a great example of how a series can have terms that get smaller and smaller, yet still fail to sum to a finite value. Smaller terms alone do not guarantee convergence.

Error Bounds and How the Integral Test Helps

The Integral Test also connects to error bounds, which tell you how close a partial sum is to the full infinite sum.

If $S=\sum_{n=1}^{\infty} a_n$ and $S_N=\sum_{n=1}^{N} a_n$, then the remainder is

$$R_N=S-S_N.$$

For a positive, decreasing function $f(x)$ with $a_n=f(n)$, the Integral Test gives useful bounds:

$$\int_{N+1}^{\infty} f(x)\,dx \le R_N \le \int_N^{\infty} f(x)\,dx.$$

This means students can estimate how much of the series is still left after adding the first $N$ terms.

For example, if you want to approximate the sum of a convergent series and know the error must be less than a certain amount, the Integral Test can provide a practical stopping rule. That is useful in numerical work, computer science, and science problems where an infinite process must be approximated with a finite one.

How It Fits in AP Calculus BC

The Integral Test is part of the bigger story of infinite series in AP Calculus BC. It sits alongside other convergence tests such as:

  • the Comparison Test
  • the Limit Comparison Test
  • the Ratio Test
  • the Root Test
  • the Alternating Series Test

Each test has its strengths. The Integral Test is especially useful for series involving rational functions, powers of $n$, logarithms, or expressions that resemble integrals.

It also helps build a bridge between discrete and continuous mathematics. A series is a sum over integers, while an integral uses a continuous variable $x$. The Integral Test shows that these two ideas are deeply connected.

This connection is part of why the test appears in the AP Calculus BC course. It strengthens your ability to reason about infinite processes, not just compute them.

Conclusion

The Integral Test for Convergence is a powerful method for deciding whether an infinite series converges or diverges by comparing it with an improper integral. To use it, students should look for a function $f(x)$ that is positive, continuous, and decreasing, with $a_n=f(n)$. Then evaluate

$$\int_1^{\infty} f(x)\,dx.$$

If the integral converges, the series converges. If the integral diverges, the series diverges. The test is especially helpful for series that resemble $p$-series or other common expressions that can be integrated. It also provides error bounds that help estimate how close a partial sum is to the full infinite sum. In the larger topic of Infinite Sequences and Series, the Integral Test is an important tool for understanding how infinite sums behave. ๐Ÿ”

Study Notes

  • The Integral Test applies when $f(x)$ is positive, continuous, and decreasing on $[1,\infty)$, with $a_n=f(n)$.
  • Compare $\sum_{n=1}^{\infty} a_n$ to $\int_1^{\infty} f(x)\,dx$.
  • If $\int_1^{\infty} f(x)\,dx$ converges, then $\sum_{n=1}^{\infty} a_n$ converges.
  • If $\int_1^{\infty} f(x)\,dx$ diverges, then $\sum_{n=1}^{\infty} a_n$ diverges.
  • The test does not find the exact sum of a series.
  • The harmonic series $\sum_{n=1}^{\infty} \frac{1}{n}$ diverges.
  • The $p$-series $\sum_{n=1}^{\infty} \frac{1}{n^p}$ converges when $p>1$ and diverges when $p\le 1$.
  • The remainder after $N$ terms satisfies $\int_{N+1}^{\infty} f(x)\,dx \le R_N \le \int_N^{\infty} f(x)\,dx$.
  • The Integral Test connects discrete sums to continuous area, which is a major idea in AP Calculus BC.

Practice Quiz

5 questions to test your understanding