Skip to content

Improper Integrals: Definitions, Types & Convergence Tests

Type
Lesson
Reading
11 min

When you first learn integration, the rules feel reassuringly clean: you integrate a continuous function over a closed, bounded interval and you get a number. But mathematics, and the real world,rarely stays that tidy. What happens when the interval of integration stretches out to infinity? Or when the function you are integrating blows up to infinity somewhere inside the interval? These situations are exactly where improper integrals come in, and mastering them is a genuine milestone in calculus. From computing the area under probability density functions in statistics to evaluating the Laplace transform in engineering, improper integrals appear wherever a process runs over an unbounded domain.

An improper integral is any definite integral that either has one or both limits of integration equal to infinity, or whose integrand (the function being integrated) becomes infinite at one or more points inside the interval of integration. In both cases, the standard Riemann integral, as you learned it for proper integrals,no longer applies directly. The key idea is to replace the problematic boundary with a variable and then take a limit.

By the end of this guide you will be able to identify whether an integral is improper, evaluate it using limits, and determine whether it converges (gives a finite answer) or diverges (does not). This page covers both Type I (infinite limits) and Type II (discontinuous integrands), the p-integral benchmark, the Comparison Test, and fully worked examples at every stage.

Contents8 sections

What Are Improper Integrals? (Definition)

Now that we have a sense of why these integrals matter, let us pin down exactly what makes an integral “improper.”

An integral ∫abf(x) dx\displaystyle\int_a^b f(x)\,dx is called an improper integral if at least one of the following conditions holds:

  • One or both limits of integration are infinite (i.e., a=−∞a = -\infty or b=+∞b = +\infty, or both).
  • The integrand f(x)f(x) is unbounded (tends to ±∞\pm\infty) at one or more points in the interval [a,b][a, b].

In either case, the integral is defined as a limit of proper integrals: integrals over finite intervals of bounded functions. If that limit exists and is a finite real number, the improper integral is said to converge. If the limit fails to exist or is infinite, the improper integral is said to diverge.

Plain-English translation: you cannot directly “plug in” infinity as a number or evaluate a function at a point where it has no finite value. Instead, you approach the troublesome boundary using a limit; you integrate up to some finite value tt, find the answer in terms of tt, and then let tt move towards the boundary.

⚠️ Common mistake: Students sometimes treat ∞\infty as an ordinary number and write F(∞)−F(a)F(\infty) - F(a) using the antiderivative FF. This is not valid. Infinity is not in the domain of any real-valued function. You must always convert the infinite boundary into a limit first, evaluate the antiderivative at the finite upper limit tt, and only then take t→∞t \to \infty.

Type I Improper Integrals: Infinite Limits of Integration

The first class of improper integrals, and the one most students encounter earliest,arises when at least one of the limits of integration is infinite.

Formal Definitions: Type I

Case 1: Infinite upper limit. If ff is continuous on [a,+∞)[a, +\infty), then:

∫a+∞f(x) dx  =  lim⁡t→+∞∫atf(x) dx \int_a^{+\infty} f(x)\,dx \;=\; \lim_{t \to +\infty} \int_a^t f(x)\,dx

Case 2: Infinite lower limit. If ff is continuous on (−∞,b](-\infty, b], then:

∫−∞bf(x) dx  =  lim⁡t→−∞∫tbf(x) dx \int_{-\infty}^{b} f(x)\,dx \;=\; \lim_{t \to -\infty} \int_t^b f(x)\,dx

Case 3: Both limits infinite. If ff is continuous on (−∞,+∞)(-\infty, +\infty), choose any convenient splitting point cc (often c=0c = 0), then:

∫−∞+∞f(x) dx  =  ∫−∞cf(x) dx  +  ∫c+∞f(x) dx \int_{-\infty}^{+\infty} f(x)\,dx \;=\; \int_{-\infty}^{c} f(x)\,dx \;+\; \int_{c}^{+\infty} f(x)\,dx

The doubly-infinite integral converges only if both component integrals converge independently. The splitting point cc is arbitrary, the answer is the same regardless of which value you choose.

⚠️ Common mistake: For a doubly-infinite integral ∫−∞+∞f(x) dx\int_{-\infty}^{+\infty} f(x)\,dx, it is not valid to write lim⁡t→∞∫−ttf(x) dx\lim_{t\to\infty}\int_{-t}^{t} f(x)\,dx and call that the answer. This symmetric limit (called the Cauchy principal value) can be finite even when the true improper integral diverges. The two halves must converge separately.

Worked Example: A Convergent Type I Integral

Evaluate ∫1+∞1x2 dx\displaystyle\int_1^{+\infty} \frac{1}{x^2}\,dx.

Step 1: Replace the infinite limit with a variable.

∫1+∞1x2 dx  =  lim⁡t→+∞∫1tx−2 dx \int_1^{+\infty} \frac{1}{x^2}\,dx \;=\; \lim_{t \to +\infty} \int_1^t x^{-2}\,dx

Step 2: Evaluate the antiderivative on the finite interval. The antiderivative of x−2x^{-2} is −x−1=−1x-x^{-1} = -\dfrac{1}{x}.

lim⁡t→+∞[−1x]1t  =  lim⁡t→+∞(−1t+1) \lim_{t \to +\infty} \left[-\frac{1}{x}\right]_1^t \;=\; \lim_{t \to +\infty} \left(-\frac{1}{t} + 1\right)

Step 3: Take the limit. As t→+∞t \to +\infty, the term −1t-\tfrac{1}{t} tends to 0:

lim⁡t→+∞(1−1t)  =  1 \lim_{t \to +\infty} \left(1 - \frac{1}{t}\right) \;=\; 1

The integral converges to 11. Geometrically, the region between the curve y=1/x2y = 1/x^2 and the xx-axis, stretching infinitely to the right starting from x=1x = 1, encloses a finite area of exactly 1 square unit, a beautifully counter-intuitive result.

Worked Example: A Divergent Type I Integral

Evaluate ∫1+∞1x dx\displaystyle\int_1^{+\infty} \frac{1}{x}\,dx. This is the harmonic integral, the continuous analogue of the famous harmonic series, and understanding its relationship to the definite integral is central to the convergence of p-series.

lim⁡t→+∞∫1t1x dx  =  lim⁡t→+∞[ln⁡x]1t  =  lim⁡t→+∞ln⁡t  =  +∞ \lim_{t \to +\infty} \int_1^t \frac{1}{x}\,dx \;=\; \lim_{t \to +\infty} \bigl[\ln x\bigr]_1^t \;=\; \lim_{t \to +\infty} \ln t \;=\; +\infty

The limit is infinite, so the integral diverges. Even though 1/x1/x shrinks towards zero as xx grows, it shrinks too slowly to keep the cumulative area finite.

Type II Improper Integrals: Discontinuous Integrands

The second major type looks perfectly ordinary at first glance, the limits of integration are finite,but hides a singularity (a point where the function becomes infinite) somewhere in the interval.

Formal Definitions: Type II

Case 1: Discontinuity at the upper limit. If ff is continuous on [a,b)[a, b) but lim⁡x→b−f(x)=±∞\lim_{x \to b^-} f(x) = \pm\infty, then:

∫abf(x) dx  =  lim⁡t→b−∫atf(x) dx \int_a^b f(x)\,dx \;=\; \lim_{t \to b^-} \int_a^t f(x)\,dx

Case 2: Discontinuity at the lower limit. If ff is continuous on (a,b](a, b] but lim⁡x→a+f(x)=±∞\lim_{x \to a^+} f(x) = \pm\infty, then:

∫abf(x) dx  =  lim⁡t→a+∫tbf(x) dx \int_a^b f(x)\,dx \;=\; \lim_{t \to a^+} \int_t^b f(x)\,dx

Case 3: Discontinuity in the interior. If ff has an infinite discontinuity at an interior point c∈(a,b)c \in (a, b), split the integral:

∫abf(x) dx  =  ∫acf(x) dx  +  ∫cbf(x) dx \int_a^b f(x)\,dx \;=\; \int_a^c f(x)\,dx \;+\; \int_c^b f(x)\,dx

Both pieces must converge for the whole integral to converge.

Worked Example: Type II Integral

Evaluate ∫011x dx\displaystyle\int_0^1 \frac{1}{\sqrt{x}}\,dx.

Here f(x)=x−1/2f(x) = x^{-1/2} is continuous on (0,1](0, 1] but blows up as x→0+x \to 0^+, so this is a Type II improper integral with a discontinuity at the lower limit.

∫011x dx=lim⁡t→0+∫t1x−1/2 dx=lim⁡t→0+[2x]t1=lim⁡t→0+(2−2t)=2−0  =  2 \begin{align*} \int_0^1 \frac{1}{\sqrt{x}}\,dx &= \lim_{t \to 0^+} \int_t^1 x^{-1/2}\,dx \\[6pt] &= \lim_{t \to 0^+} \Bigl[2\sqrt{x}\Bigr]_t^1 \\[6pt] &= \lim_{t \to 0^+} \bigl(2 - 2\sqrt{t}\bigr) \\[6pt] &= 2 - 0 \;=\; 2 \end{align*}

The integral converges to 22. Even though the function shoots off to infinity at x=0x = 0, the area it encloses remains finite.

⚠️ Common mistake: The integral ∫−111x2 dx\displaystyle\int_{-1}^{1} \frac{1}{x^2}\,dx looks like a standard definite integral, but f(x)=1/x2f(x) = 1/x^2 has an infinite discontinuity at x=0x = 0, right in the middle of [−1,1][-1,1]. Applying the Fundamental Theorem of Calculus blindly gives the nonsensical answer −2-2. You must split the integral at x=0x = 0 and treat each piece as a Type II improper integral. Both pieces diverge, so the whole integral diverges.

The p-Integral: A Key Benchmark for Convergence

Before diving into convergence tests, it pays to know one family of improper integrals, the p-integrals,almost by heart, because they serve as the reference standard against which all other integrals are compared.

The p-Integral Theorem

For a real constant pp, the improper integral

∫1+∞1xp dx \int_1^{+\infty} \frac{1}{x^p}\,dx
  • converges to 1p−1\dfrac{1}{p-1} if p>1p > 1;
  • diverges if p≤1p \leq 1.

Similarly, for the singularity version at x=0x = 0:

∫011xp dxconverges if p<1;diverges if p≥1. \int_0^{1} \frac{1}{x^p}\,dx \quad \text{converges if } p < 1; \quad \text{diverges if } p \geq 1.

Notice the directions are reversed for the two cases: the integral at infinity likes large decay (needs p>1p > 1), while the integral near a singularity likes mild blowup (needs p<1p < 1). The borderline case p=1p = 1, which gives ∫1/x dx=ln⁡x\int 1/x\,dx = \ln x,always diverges. This is directly connected to understanding infinite series and their convergence via the p-series test.

Quick Proof for p≠1p \neq 1

∫1+∞1xp dx=lim⁡t→+∞∫1tx−p dx=lim⁡t→+∞[x1−p1−p]1t=lim⁡t→+∞t1−p−11−p \begin{align*} \int_1^{+\infty} \frac{1}{x^p}\,dx &= \lim_{t\to+\infty} \int_1^t x^{-p}\,dx \\[6pt] &= \lim_{t\to+\infty} \left[\frac{x^{1-p}}{1-p}\right]_1^t \\[6pt] &= \lim_{t\to+\infty} \frac{t^{1-p} - 1}{1-p} \end{align*}

If p>1p > 1, then 1−p<01 - p < 0, so t1−p→0t^{1-p} \to 0 as t→+∞t \to +\infty, giving the finite value 1p−1\dfrac{1}{p-1}.
If p<1p < 1, then 1−p>01 - p > 0, so t1−p→+∞t^{1-p} \to +\infty, and the integral diverges.
If p=1p = 1, use ln⁡x\ln x as the antiderivative and the limit is again +∞+\infty.

Conditions for Convergence and Divergence

Knowing the p-integral by heart is only the beginning: the deeper skill is deciding whether an integral you have never seen before converges or diverges, especially when direct evaluation is difficult or impossible.

The Comparison Test for Improper Integrals

Suppose f(x)f(x) and g(x)g(x) are continuous on [a,+∞)[a, +\infty) and satisfy 0≤f(x)≤g(x)0 \leq f(x) \leq g(x) for all x≥ax \geq a. Then:

  • If ∫a+∞g(x) dx\displaystyle\int_a^{+\infty} g(x)\,dx converges, then ∫a+∞f(x) dx\displaystyle\int_a^{+\infty} f(x)\,dx also converges.
  • If ∫a+∞f(x) dx\displaystyle\int_a^{+\infty} f(x)\,dx diverges, then ∫a+∞g(x) dx\displaystyle\int_a^{+\infty} g(x)\,dx also diverges.

Intuitively: if a smaller function’s area is already infinite, the larger function’s area must also be infinite. And if a larger function’s area is finite, anything trapped below it must also be finite.

Comparison Test: Worked Example

Determine whether ∫1+∞cos⁡2xx2 dx\displaystyle\int_1^{+\infty} \frac{\cos^2 x}{x^2}\,dx converges or diverges.

Direct evaluation is awkward because cos⁡2x\cos^2 x oscillates. But we know that 0≤cos⁡2x≤10 \leq \cos^2 x \leq 1 for all xx, so:

0  ≤  cos⁡2xx2  ≤  1x2 0 \;\leq\; \frac{\cos^2 x}{x^2} \;\leq\; \frac{1}{x^2}

We know from the p-integral theorem (with p=2>1p = 2 > 1) that ∫1+∞1x2 dx\int_1^{+\infty} \frac{1}{x^2}\,dx converges. Since our function is trapped between 0 and the convergent 1/x21/x^2, the Comparison Test guarantees that ∫1+∞cos⁡2xx2 dx\int_1^{+\infty} \frac{\cos^2 x}{x^2}\,dx also converges.

The Limit Comparison Test

The Limit Comparison Test is particularly useful when the direct comparison is hard to establish but the two functions behave similarly for large xx. If f(x)≥0f(x) \geq 0 and g(x)>0g(x) > 0 for x≥ax \geq a, and

lim⁡x→+∞f(x)g(x)=L,0<L<+∞, \lim_{x \to +\infty} \frac{f(x)}{g(x)} = L, \quad 0 < L < +\infty,

then ∫a+∞f(x) dx\int_a^{+\infty} f(x)\,dx and ∫a+∞g(x) dx\int_a^{+\infty} g(x)\,dx both converge or both diverge.

Geometric Intuition: What Improper Integrals Look Like

Understanding improper integrals analytically is one thing, but holding a clear picture of them in your mind makes every calculation more natural.

For a Type I integral like ∫1+∞1x2 dx\int_1^{+\infty} \frac{1}{x^2}\,dx, imagine the region between the curve y=1/x2y = 1/x^2 and the positive xx-axis. The curve starts at y=1y = 1 when x=1x = 1 and descends steeply towards zero as xx grows. The key geometric insight is that even though this region extends infinitely to the right, it also narrows fast enough that the total area remains bounded.

Contrast this with ∫1+∞1x dx\int_1^{+\infty} \frac{1}{x}\,dx: the curve y=1/xy = 1/x also approaches zero, but it does so more slowly, slowly enough that the area beneath it accumulates without bound.

For a Type II integral like ∫011x dx\int_0^1 \frac{1}{\sqrt{x}}\,dx, the region is bounded on the right at x=1x = 1, but it shoots upward to infinity at x=0x = 0. The curve has a vertical asymptote, a line it approaches but never touches,at the left edge of the interval. Yet the area enclosed between this spike and the xx-axis is only 2, a finite number, because the spike is so thin near the axis.

This geometric viewpoint also explains why understanding limits and continuity is the essential prerequisite: the entire method rests on approaching a boundary that cannot be reached directly.

Step-by-Step Proof: Convergence of the p-Integral for p>1p > 1

With the geometric picture and the comparison tools in place, let us now work through a fully rigorous derivation of the most important result in this topic.

Claim: For p>1p > 1, ∫1+∞x−p dx=1p−1\displaystyle\int_1^{+\infty} x^{-p}\,dx = \dfrac{1}{p-1}.

Step 1: Recognise the improper nature.

The upper limit is +∞+\infty, which is not a real number. We therefore write the integral as a limit. Let t>1t > 1 be a finite real number:

∫1+∞x−p dx  =  lim⁡t→+∞∫1tx−p dx \int_1^{+\infty} x^{-p}\,dx \;=\; \lim_{t \to +\infty} \int_1^t x^{-p}\,dx

Step 2: Evaluate the proper integral using the Power Rule.

Since p≠1p \neq 1, the antiderivative of x−px^{-p} is x−p+1−p+1=x1−p1−p\dfrac{x^{-p+1}}{-p+1} = \dfrac{x^{1-p}}{1-p}.

∫1tx−p dx  =  [x1−p1−p]1t  =  t1−p1−p−11−p  =  t1−p−11−p \int_1^t x^{-p}\,dx \;=\; \left[\frac{x^{1-p}}{1-p}\right]_1^t \;=\; \frac{t^{1-p}}{1-p} - \frac{1}{1-p} \;=\; \frac{t^{1-p} - 1}{1-p}

Step 3: Analyse the behaviour of t1−pt^{1-p} as t→+∞t \to +\infty.

Since p>1p > 1, we have 1−p<01 - p < 0. An expression tαt^{\alpha} with negative exponent α\alpha satisfies tα→0t^{\alpha} \to 0 as t→+∞t \to +\infty.

Step 4: Take the limit.

lim⁡t→+∞t1−p−11−p  =  0−11−p  =  −11−p  =  1p−1 \lim_{t \to +\infty} \frac{t^{1-p} - 1}{1-p} \;=\; \frac{0 - 1}{1-p} \;=\; \frac{-1}{1-p} \;=\; \frac{1}{p-1}

Step 5: Conclude.

The limit exists and is the finite number 1p−1\dfrac{1}{p-1}. Therefore the improper integral converges, and its value is 1p−1\dfrac{1}{p-1}. □\square

As a quick check: with p=2p = 2 the formula gives 12−1=1\tfrac{1}{2-1} = 1, which matches our earlier direct calculation. With p=3p = 3 it gives 12\tfrac{1}{2}, and so on.

Conclusion

Improper integrals are a natural and powerful extension of standard integration, enabling calculus to handle the infinite, whether that means integrating over an unbounded interval or integrating a function with a vertical asymptote. The central technique in every case is the same: replace the problematic boundary with a finite parameter tt, integrate properly, then take the limit. When that limit is a finite number, the improper integral converges; when it is infinite or does not exist, the integral diverges.

The most important benchmark to know is the p-integral: ∫1+∞x−p dx\int_1^{+\infty} x^{-p}\,dx converges precisely when p>1p > 1. Every comparison test argument ultimately comes back to this touchstone result. When direct evaluation is not feasible, the Comparison Test and Limit Comparison Test give you the tools to decide convergence without ever computing an explicit antiderivative.