Mathwords logoMathwords

Integral Test

Integral Test

A convergence test used for positive series which with decreasing terms.

 

Integral Test: If a_n=f(n), f continuous, positive, decreasing on [1,∞): 1) If ∫f(x)dx converges, Σa_n converges. 2) If...

 

 

See also

Integral test remainder, improper integral, convergent series, divergent series

Key Formula

If f(x) is continuous, positive, and decreasing for x1, and an=f(n), then:\text{If } f(x) \text{ is continuous, positive, and decreasing for } x \geq 1, \text{ and } a_n = f(n), \text{ then:} n=1an and 1f(x)dx either both converge or both diverge.\sum_{n=1}^{\infty} a_n \text{ and } \int_1^{\infty} f(x)\,dx \text{ either both converge or both diverge.}
Where:
  • f(x)f(x) = A continuous, positive, decreasing function defined for x ≥ 1
  • ana_n = The nth term of the series, where a_n = f(n)
  • n=1an\sum_{n=1}^{\infty} a_n = The infinite series being tested for convergence
  • 1f(x)dx\int_1^{\infty} f(x)\,dx = The corresponding improper integral

Worked Example

Problem: Use the Integral Test to determine whether the series converges or diverges: ∑(n=1 to ∞) 1/n².
Step 1: Define f(x) = 1/x² and verify the conditions. This function is continuous, positive, and decreasing for x ≥ 1. All three conditions are satisfied.
f(x)=1x2,x1f(x) = \frac{1}{x^2}, \quad x \geq 1
Step 2: Set up the corresponding improper integral.
11x2dx=limb1bx2dx\int_1^{\infty} \frac{1}{x^2}\,dx = \lim_{b \to \infty} \int_1^{b} x^{-2}\,dx
Step 3: Evaluate the antiderivative.
limb[1x]1b=limb(1b+11)\lim_{b \to \infty} \left[-\frac{1}{x}\right]_1^{b} = \lim_{b \to \infty} \left(-\frac{1}{b} + \frac{1}{1}\right)
Step 4: Compute the limit. As b → ∞, the term −1/b approaches 0.
=0+1=1= 0 + 1 = 1
Step 5: Since the improper integral converges (to 1), the Integral Test tells us the series also converges.
11x2dx=1n=11n2 converges\int_1^{\infty} \frac{1}{x^2}\,dx = 1 \quad \Rightarrow \quad \sum_{n=1}^{\infty} \frac{1}{n^2} \text{ converges}
Answer: The series ∑(1/n²) converges by the Integral Test. Note: the integral equals 1, but the actual sum of the series is π²/6 ≈ 1.6449. The integral and the series do not have the same value.

Another Example

This example differs from the first in two ways: the series starts at n = 2 instead of n = 1 (which is fine — the starting index does not affect convergence), and the integral requires a u-substitution rather than a straightforward power rule. It also demonstrates the test proving divergence rather than convergence.

Problem: Use the Integral Test to determine whether the series converges or diverges: ∑(n=1 to ∞) 1/(n ln(n)), starting at n = 2.
Step 1: Define f(x) = 1/(x ln x) for x ≥ 2. This function is continuous, positive, and decreasing on [2, ∞) since both x and ln x are increasing, making their product increase and the reciprocal decrease.
f(x)=1xlnx,x2f(x) = \frac{1}{x \ln x}, \quad x \geq 2
Step 2: Set up the improper integral and use the substitution u = ln x, so du = (1/x) dx.
21xlnxdx=limb2b1xlnxdx=limbln2lnb1udu\int_2^{\infty} \frac{1}{x \ln x}\,dx = \lim_{b \to \infty} \int_2^{b} \frac{1}{x \ln x}\,dx = \lim_{b \to \infty} \int_{\ln 2}^{\ln b} \frac{1}{u}\,du
Step 3: Evaluate the resulting integral.
limb[lnu]ln2lnb=limb(ln(lnb)ln(ln2))\lim_{b \to \infty} \left[\ln|u|\right]_{\ln 2}^{\ln b} = \lim_{b \to \infty} \left(\ln(\ln b) - \ln(\ln 2)\right)
Step 4: Compute the limit. As b → ∞, ln(ln b) → ∞, so the integral diverges.
limbln(lnb)=\lim_{b \to \infty} \ln(\ln b) = \infty
Answer: The series ∑(n=2 to ∞) 1/(n ln n) diverges by the Integral Test, because the corresponding improper integral diverges.

Frequently Asked Questions

Does the Integral Test tell you the exact sum of the series?
No. The Integral Test only tells you whether the series converges or diverges. The value of the improper integral is generally not equal to the sum of the series. For example, ∫₁^∞ 1/x² dx = 1, but ∑(1/n²) = π²/6 ≈ 1.645. However, the integral can be used to estimate the sum through integral test remainder bounds.
What are the conditions for the Integral Test?
The function f(x) must satisfy three conditions on the interval [N, ∞) for some integer N: it must be (1) continuous, (2) positive, and (3) decreasing. If any of these conditions fails, the Integral Test cannot be applied. The series terms must satisfy aₙ = f(n).
When should you use the Integral Test instead of another convergence test?
The Integral Test is most useful when the series terms involve functions you can easily integrate, such as powers, logarithms, or exponentials. If you can quickly compute the improper integral, this test works well. For series that resemble geometric series or factorials, the Ratio Test or Comparison Test may be simpler.

Integral Test vs. Comparison Test

Integral TestComparison Test
How it worksCompares the series to an improper integral of a related functionCompares the series term-by-term to a known convergent or divergent series
Requirementsf(x) must be continuous, positive, and decreasing; you must evaluate an integralYou need a known benchmark series with terms that bound yours from above or below
Best used whenThe terms involve functions that are easy to integrate (powers, logs, exponentials)The terms closely resemble a p-series or geometric series
Gives the sum?No, but can provide remainder estimatesNo

Why It Matters

The Integral Test is one of the first convergence tests taught in Calculus II, and it connects two major topics: series and integration. It is the standard way to prove that the p-series ∑1/nᵖ converges for p > 1 and diverges for p ≤ 1, a result used throughout the study of series. The remainder estimate from the Integral Test also provides a practical way to approximate the sum of a convergent series to a desired accuracy.

Common Mistakes

Mistake: Assuming the value of the improper integral equals the sum of the series.
Correction: The Integral Test only determines convergence or divergence. The numerical value of the integral is not the sum of the series. For example, ∫₁^∞ 1/x² dx = 1, but ∑(1/n²) = π²/6.
Mistake: Applying the Integral Test when the function is not decreasing on the entire interval.
Correction: You must verify that f(x) is eventually decreasing (for all x ≥ N for some integer N). If the function increases on part of the interval, the test does not apply. A common check is to show f'(x) < 0 for x ≥ N.

Related Terms