How to Tell If an Integral Diverges or Converges: 2025 Guide

You can tell whether an improper integral diverges or converges by checking if its limit exists and is finite: if the limit of the integral equals a real number, it converges; if that limit is infinite or fails to exist, it diverges. So the core question is always the same — does the accumulated area settle on a finite value, or does it run off to infinity? This guide gives you the definitions, the key tests, and a short process for deciding.
Convergence vs. Divergence Basics
An improper integral is one where the interval of integration is infinite, the integrand becomes unbounded somewhere on the interval, or both.
For an infinite-interval integral, convergence is defined through a limit. The integral from a to infinity of f(x) dx converges if the limit as b approaches infinity of the integral from a to b exists and is finite. If that limit is infinite or does not exist, the integral diverges. Wolfram MathWorld treats this limit definition as the foundation of improper integration, and it’s the standard starting point in any calculus course.
Unbounded integrands work the same way. If f(x) blows up at a point c inside or at the edge of the interval, you split the integral at c and take a one-sided limit. The whole integral converges only if each piece converges on its own.
A crucial rule: if an integral is split into pieces, all pieces must converge. One divergent piece makes the entire integral divergent. This is where many students slip up.
A classic benchmark is the integral from 1 to infinity of 1/x² dx, which equals 1 — it converges. The integral from 1 to infinity of 1/x dx, by contrast, diverges, even though the terms shrink toward zero. That contrast is the heart of the p-test below.
Core Tests for Convergence
You rarely need to compute an exact value to decide convergence. These tests give quick verdicts. Paul’s Online Math Notes lays out each of these with worked proofs, and they are the workhorses of the topic.
The p-test
For integrals of the form ∫₁^∞ 1/xᵖ dx:
- It converges if p > 1.
- It diverges if p ≤ 1.
So ∫₁^∞ 1/x² dx converges, but ∫₁^∞ 1/x dx and ∫₁^∞ 1/√x dx both diverge. The same threshold applies near a singular point: ∫₀¹ 1/xᵖ dx converges when p < 1 and diverges when p ≥ 1.
The comparison test
If 0 ≤ f(x) ≤ g(x) for all large x:
- If ∫ g converges, then ∫ f converges (the smaller one can’t outrun the bigger).
- If ∫ f diverges, then ∫ g diverges (the bigger one can’t be tamed by the smaller).
This is powerful when you can bound a messy function by a known one, like 1/x².
The limit comparison test
When direct comparison is awkward, compare ratios. If f and g are positive and the limit as x → ∞ of f(x)/g(x) equals a positive finite number L, then the two integrals either both converge or both diverge. This “same team” behavior makes it ideal for functions that look like a p-power at infinity, such as (x + 3)/(x³ + 1), which behaves like 1/x².
| Test | Best used when | Quick verdict |
|---|---|---|
| p-test | Integrand is a power of x | Converges iff p > 1 |
| Comparison | Function is bounded by a known one | Both follow the bound |
| Limit comparison | Ratio to a known function is finite and positive | Same outcome as the known one |
A Worked Example
Decide whether ∫₁^∞ (x + 2)/(x³ + 1) dx converges.
As x grows, the integrand behaves like x/x³ = 1/x². Using limit comparison with g(x) = 1/x²: the ratio of the integrand to 1/x² simplifies, in the limit, to a finite positive constant. Since ∫₁^∞ 1/x² dx converges (p = 2 > 1), the original integral converges as well.
Notice that the test tells you that it converges without telling you the value. That’s normal — convergence is about existence of the limit, and the exact value is a separate question.
Two mistakes to avoid along the way. First, don’t assume small terms mean convergence: the integrand 1/x goes to zero, yet ∫₁^∞ 1/x dx diverges. Second, don’t forget to split at problem points. Evaluating ∫₋₁¹ 1/x² dx naively gives a negative result, because there’s a vertical asymptote at x = 0. Split it into ∫₋₁⁰ and ∫₀¹; both diverge, so the whole integral diverges.
When in doubt, run the behavior at infinity through the p-test first; it resolves the majority of textbook and exam problems.
Key Takeaways
- An improper integral converges when its defining limit is finite and diverges when that limit is infinite or nonexistent.
- Improper means an infinite interval, an unbounded integrand, or both.
- The p-test says ∫₁^∞ 1/xᵖ dx converges exactly when p > 1; near a singularity it flips to p < 1.
- Comparison and limit comparison let you judge a messy integral by comparing it to a known one.
- Split the integral at every problem point, and require all pieces to converge.
- Vanishing terms don’t guarantee convergence — ∫₁^∞ 1/x dx still diverges.
- Tests often prove convergence without giving the exact value; that’s normal and sufficient.