Tutorials › AP Calculus › Verifying Integral Test Conditions

Justification and Candidate Tests · Tutorial 918 of 999

Verifying Integral Test Conditions

Check the Integral Test’s hypotheses carefully, then use its rectangle inequalities to justify what the improper integral tells you about the series.

Intermediate 9 min read

What You'll Learn

  • State the Integral Test and its hypotheses precisely
  • Check positivity and continuity on an appropriate interval
  • Use a derivative to justify eventual decrease
  • Connect an improper integral to a series using rectangle inequalities
  • Recognize when a function’s behavior near the starting point does not affect the test

Why the Integral Test Needs Justification

A series of positive terms can sometimes be studied by comparing its terms with the area under a curve. The Integral Test makes this connection precise, but it is not enough to find a function whose formula resembles the terms. The function must satisfy specific conditions on an interval containing the relevant integers.

In particular, you must verify positivity, continuity, and decrease. These conditions allow the values \(f(n)\) to be related to areas over intervals of length one. Once the conditions are established, convergence of the improper integral determines convergence of the series, and divergence of the integral determines divergence of the series.

Key idea: The Integral Test applies to a positive-term series when its terms are values of a positive, continuous, decreasing function at the positive integers, at least from some point onward.

The Integral Test and Its Conditions

Suppose \(a_n=f(n)\) for every integer \(n\geq N\), where \(N\) is a positive integer. The function must be positive and continuous on \([N,\infty)\), and decreasing there. In practice, showing that \(f'(x)<0\) for every \(x\geq N\) is a common way to establish that \(f\) is decreasing.

Theorem: Let \(f\) be positive, continuous, and decreasing on \([N,\infty)\), and suppose \(a_n=f(n)\) for every integer \(n\geq N\). Then the series \(\sum_{n=N}^{\infty}a_n\) converges if and only if the improper integral \(\int_N^\infty f(x)\,dx\) converges. Equivalently, the series diverges if and only if the integral diverges.

The conditions are required on a tail of the domain, not necessarily from the very first term of a series. Omitting or adding finitely many terms does not change whether a series converges: the partial sums are changed by only a fixed finite amount. Similarly, changing the lower endpoint of a convergent or divergent improper integral by a finite amount does not change its behavior at infinity, provided the integral over the finite interval is well-defined.

Why the Test Works

If \(f\) is decreasing, then on each interval \([k,k+1]\), its values lie between its endpoint values:

$$ f(k+1)\leq f(x)\leq f(k) \qquad (k\leq x\leq k+1). $$

Integrating these inequalities over an interval of width one gives:

$$ f(k+1)\leq \int_k^{k+1}f(x)\,dx\leq f(k). $$

Adding the inequalities across consecutive intervals connects sums of terms to areas. This is the whole reason the decrease condition matters: it ensures that the graph on each unit interval stays between the heights at its endpoints.

1
Establish the hypotheses.
Verify that \(f\) is positive, continuous, and decreasing for every \(x\geq N\), and that \(a_n=f(n)\) for integers \(n\geq N\).
2
Compare terms with interval areas.
Use \(f(k+1)\leq\int_k^{k+1}f(x)\,dx\leq f(k)\), then add over consecutive intervals.
3
Conclude from the improper integral.
If the integral is finite, the positive series has bounded partial sums; if the series has bounded partial sums, the integral is bounded. In each case the relevant increasing quantities converge.

Here is the complete partial-sum comparison behind the conclusion. For an integer \(M>N\), adding the interval inequalities gives:

$$ \int_{N+1}^{M+1}f(x)\,dx \leq \sum_{n=N+1}^{M}f(n) \leq \int_N^M f(x)\,dx. $$

If \(\int_N^\infty f(x)\,dx\) converges, the series partial sums on the middle are bounded above by that finite integral, so the positive-term series converges. Conversely, if the series converges, the middle sums are bounded above, and the integral on the left is bounded as \(M\) increases. Because \(f\) is positive, the improper integral is the limit of an increasing collection of integrals; boundedness therefore gives a finite limit. The initial term \(f(N)\) is just one finite term and does not affect convergence.

Worked Examples

Worked Example: A Convergent Series from a Rational Function

Use the Integral Test to determine whether \(\sum_{n=1}^{\infty}\frac{1}{n^2+4}\) converges.

Choose \(f(x)=\frac{1}{x^2+4}\), so \(f(n)=\frac{1}{n^2+4}\). For \(x\geq1\), the denominator is positive, so \(f(x)>0\). The rational function is continuous wherever its denominator is nonzero; since \(x^2+4>0\) for all real \(x\), it is continuous on \([1,\infty)\).

Differentiate to check decrease:

$$f'(x)=\frac{-2x}{(x^2+4)^2}.$$

For \(x\geq1\), the numerator is negative and the denominator is positive, so \(f'(x)<0\). Thus \(f\) is decreasing on the required interval.

Now evaluate the improper integral:

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

This is finite, so the Integral Test says the series converges. As a check on the antiderivative, differentiating \(\frac12\arctan(x/2)\) gives \(\frac12\cdot\frac{1}{1+(x/2)^2}\cdot\frac12=\frac{1}{x^2+4}\), as required.

Worked Example: A Divergent Series with a Logarithmic Function

Determine whether \(\sum_{n=2}^{\infty}\frac{1}{n\ln n}\) converges.

Let \(f(x)=\frac{1}{x\ln x}\). For \(x\geq2\), \(x>0\) and \(\ln x>0\), so \(f(x)>0\). The denominator is nonzero on \([2,\infty)\), so \(f\) is continuous there. Also \(f(n)=\frac{1}{n\ln n}\) for each integer \(n\geq2\).

The derivative is:

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

For \(x\geq2\), the numerator \(\ln x+1\) is positive and the denominator is positive, so \(f'(x)<0\). Therefore, \(f\) is decreasing on \([2,\infty)\).

Evaluate the integral using \(u=\ln x\), so \(du=\frac{1}{x}\,dx\):

$$\int_2^\infty\frac{1}{x\ln x}\,dx =\lim_{b\to\infty}\left[\ln(\ln x)\right]_2^b =\lim_{b\to\infty}\bigl(\ln(\ln b)-\ln(\ln 2)\bigr) =\infty.$$

The series diverges by the Integral Test. The antiderivative checks because \(\frac{d}{dx}\ln(\ln x)=\frac{1}{x\ln x}\) for \(x>1\).

Worked Example: A Decreasing Function with an Exponential Factor

Determine whether \(\sum_{n=1}^{\infty}(n+1)e^{-n}\) converges.

Set \(f(x)=(x+1)e^{-x}\), which satisfies \(f(n)=(n+1)e^{-n}\). For \(x\geq1\), both factors \(x+1\) and \(e^{-x}\) are positive, so \(f(x)>0\). Both are continuous, so their product is continuous.

Using the product rule:

$$f'(x)=e^{-x}-(x+1)e^{-x}=-xe^{-x}.$$

For \(x\geq1\), \(x>0\) and \(e^{-x}>0\); hence \(f'(x)<0\), and \(f\) is decreasing.

An antiderivative is \(-(x+2)e^{-x}\), because:

$$\frac{d}{dx}\left(-(x+2)e^{-x}\right)=-(e^{-x}-(x+2)e^{-x})=(x+1)e^{-x}.$$

Therefore:

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

The limit term is zero: exponential decay dominates the linear factor, so \((b+2)e^{-b}\to0\). The integral is finite, and the Integral Test shows that the series converges.

Common Pitfall: Ignoring the Starting Point

A function need not satisfy the hypotheses before the interval on which the test is applied. For example, in the logarithmic example, \(f(x)=1/(x\ln x)\) is not defined at \(x=1\), because \(\ln1=0\). It would be incorrect to claim that this function is continuous on \([1,\infty)\) or to write the Integral Test integral starting at \(1\).

The series in that example starts at \(n=2\), and \(f\) is positive, continuous, and decreasing on \([2,\infty)\). Thus the test applies with \(N=2\). The correction is to use the valid interval:

$$ \int_2^\infty\frac{1}{x\ln x}\,dx, $$

not an integral beginning at \(1\). More generally, check the function on the actual tail where its values represent the terms. A finite number of earlier terms cannot alter convergence, but a condition failure on the claimed interval must not be ignored.

Writing a Complete Integral-Test Justification

A sound justification makes the logical chain explicit. Identify the function and the index from which its values match the terms. Then establish positivity, continuity, and decrease on the same interval before evaluating the improper integral.

  • State \(f(x)\) and verify \(a_n=f(n)\) for all integers \(n\geq N\).
  • Explain why \(f(x)>0\) and why \(f\) is continuous on \([N,\infty)\).
  • Show that \(f\) is decreasing there, often by proving \(f'(x)<0\).
  • Evaluate or classify \(\int_N^\infty f(x)\,dx\), including its limiting behavior.
  • State the corresponding conclusion about the series and name the Integral Test.

The conditions are not decorative. Positivity lets the partial sums and integrals increase as their upper endpoints grow; continuity supports the interval integrals; and decrease provides the rectangle bounds connecting terms to areas. If any condition has not been checked on the chosen tail, the Integral Test conclusion has not yet been justified.

Check Your Understanding

For each question, focus on the hypotheses as well as the final convergence conclusion.

  1. State the positivity, continuity, and monotonicity conditions required by the Integral Test.
  2. Why does decrease imply \(f(k+1)\leq\int_k^{k+1}f(x)\,dx\leq f(k)\) when \(f\) is positive?
  3. For \(f(x)=1/(x\ln x)\), why is \(N=2\) a valid starting point, while \(N=1\) is not?
  4. If \(\int_N^\infty f(x)\,dx\) diverges and the Integral Test hypotheses hold, what follows about \(\sum_{n=N}^\infty f(n)\)?
  5. Why does adding or removing a finite number of terms not change whether a series converges?

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon