01 / 20

Improper
Integrals

Explore integrals with infinite limits and unbounded integrands: when they converge, when they diverge, and how to evaluate them.

Calculus 2

What Is an Improper Integral?

A definite integral is called improper if it has at least one of the following features:

Type I
One or both limits of integration are infinite: \(\int_a^{\infty} f(x)\,dx\)
Type II
The integrand has a vertical asymptote on the interval of integration, \([a,b]\): \(\int_0^1 \frac{1}{\sqrt{x}}\,dx\)

Visualizing Type I: Infinite Bounds

Visualizing Type II: Vertical Asymptotes

The Formal Definition

1
Type I (infinite upper bound): \(\displaystyle\int_a^{\infty} f(x)\,dx = \lim_{t\to\infty}\int_a^t f(x)\,dx\)
2
Type I (infinite lower bound): \(\displaystyle\int_{-\infty}^b f(x)\,dx = \lim_{t\to -\infty}\int_t^b f(x)\,dx\)
3
Type II (asymptote at \(a\)): \(\displaystyle\int_a^b f(x)\,dx = \lim_{t\to a^+}\int_t^b f(x)\,dx\)

The p-Test for \(\int_1^{\infty}\frac{1}{x^p}\,dx\)

Converges
When \(p > 1\). The result is \(\frac{1}{p-1}\).
Diverges
When \(p \le 1\). Includes the harmonic case \(p=1\).

Type I vs Type II

Type I Type II
Source Infinite limit of integration Unbounded integrand
Example \(\int_1^{\infty}\frac{1}{x^2}\,dx\) \(\int_0^1\frac{1}{\sqrt{x}}\,dx\)
Limit variable Upper or lower bound \(\to \pm\infty\) Bound \(\to\) asymptote
Key test p-test: \(p > 1\) converges p-test: \(p < 1\) converges

The Comparison Test

When you cannot find an antiderivative, compare to a known integral:

1
Direct Comparison: If \(0 \le f(x) \le g(x)\,\) and \(\int g\) converges, then \(\int f\) also converges.
2
Direct Comparison: If \(f(x) \ge g(x) \ge 0\) and \(\int g\) diverges, then \(\int f\) also diverges.
3
Limit Comparison: If \(\lim_{x\to\infty}\frac{f(x)}{g(x)} = L\) with \(0 < L < \infty\), then both integrals share the same convergence behavior.

How to Evaluate Step by Step

1
Identify the type: Is the bound infinite (Type I) or does the integrand blow up (Type II)?
2
Replace the problem: Substitute the problematic bound with a variable \(t\) and write the limit.
3
Evaluate the definite integral: Find the antiderivative, apply the Fundamental Theorem.
4
Take the limit: Let \(t\to\infty\) (or \(t\to a^{\pm}\)). If finite, it converges.
5
State the result: Give the value or declare divergence.

Example 1: \(\int_1^{\infty}\frac{1}{x^2}\,dx\)

1
Rewrite: \(\displaystyle\lim_{t\to\infty}\int_1^t x^{-2}\,dx\)
2
Antiderivative: \(\displaystyle\int x^{-2}\,dx = -x^{-1} + C\)
3
Evaluate: \(\displaystyle\lim_{t\to\infty}\left[-\frac{1}{t}+\frac{1}{1}\right] = \lim_{t\to\infty}\left[1-\frac{1}{t}\right]\)
4
Limit: As \(t\to\infty\), \(\frac{1}{t}\to 0\), so the result is \(1\).

Example 2: \(\int_1^{\infty}\frac{1}{x}\,dx\)

1
Rewrite: \(\displaystyle\lim_{t\to\infty}\int_1^t \frac{1}{x}\,dx\)
2
Antiderivative: \(\ln|x|\)
3
Evaluate: \(\displaystyle\lim_{t\to\infty}[\ln t - \ln 1] = \lim_{t\to\infty}\ln t\)
4
Limit: \(\ln t \to \infty\), so the integral diverges.

Example 3: \(\int_0^1\frac{1}{\sqrt{x}}\,dx\) (Type II)

1
Identify: \(\frac{1}{\sqrt{x}} \to \infty\) as \(x\to 0^+\): vertical asymptote at \(x=0\).
2
Rewrite: \(\displaystyle\lim_{t\to 0^+}\int_t^1 x^{-1/2}\,dx\)
3
Antiderivative: \(2\sqrt{x}\). Evaluate: \(\displaystyle\lim_{t\to 0^+}[2\sqrt{1} - 2\sqrt{t}] = 2 - 0\).
4
Result: Converges to 2. This is consistent with the Type II p-test, since \(p = \frac{1}{2} < 1\).

Both Bounds Infinite

For \(\displaystyle\int_{-\infty}^{\infty} f(x)\,dx\), split at any convenient point \(c\):

Example: For \(\displaystyle\int_{-\infty}^{\infty}\frac{1}{1+x^2}\,dx\), we evaluate each half:
Right half: \(\int_0^{\infty}\frac{dx}{1+x^2} = \lim_{t\to\infty}[\arctan x]_0^t = \frac{\pi}{2}-0 = \frac{\pi}{2}\).
Left half: \(\int_{-\infty}^{0}\frac{dx}{1+x^2} = \lim_{t\to-\infty}[\arctan x]_t^0 = 0-(-\frac{\pi}{2}) = \frac{\pi}{2}\).
The total area is \(\frac{\pi}{2}+\frac{\pi}{2}=\pi\).

Comparison Test in Action

Does \(\displaystyle\int_1^{\infty}\frac{1}{x^2+1}\,dx\) converge?

1
Observe: For \(x \ge 1\), we have \(x^2 + 1 > x^2\), so \(\frac{1}{x^2+1} < \frac{1}{x^2}\).
2
Known: \(\int_1^{\infty}\frac{1}{x^2}\,dx = 1\) converges (p-test, \(p=2\)).
3
Conclusion: By direct comparison, \(\int_1^{\infty}\frac{1}{x^2+1}\,dx\) also converges.

Common Mistakes

✕ Ignoring the Limit
Plugging \(\infty\) directly into an antiderivative instead of writing \(\lim_{t\to\infty}\).
✕ Wrong p-test Direction
Applying the Type I p-condition (\(p > 1\)) to a Type II integral (where it should be \(p < 1\)).
✕ Missing Interior Asymptotes
Integrating \(\int_{-1}^{1}\frac{1}{x^2}\,dx\) without splitting at the asymptote \(x=0\).

Question 1 of 5

What is the value of \(\displaystyle\int_1^{\infty}\frac{1}{x^3}\,dx\)?

Question 2 of 5

Does \(\displaystyle\int_1^{\infty}\frac{1}{\sqrt{x}}\,dx\) converge or diverge?

Question 3 of 5

What makes \(\displaystyle\int_0^3\frac{1}{x-1}\,dx\) improper?

Question 4 of 5

Using the comparison test, \(\displaystyle\int_1^{\infty}\frac{\sin^2 x}{x^2}\,dx\):

Question 5 of 5

Evaluate \(\displaystyle\int_{-\infty}^{0} e^{x}\,dx\).