Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

How to Evaluate Improper Integrals

An integral is improper when a limit of integration is infinite or the integrand blows up on the interval. Replace the bad endpoint by a variable, integrate, then take the limit. A finite limit means the integral converges; otherwise it diverges.

Recognize the task

An ∞\infty or −∞-\infty as a limit: ∫1∞dxx2\int_1^\infty \frac{dx}{x^2}, ∫−∞0ex dx\int_{-\infty}^0 e^x\,dx. Or a vertical asymptote at an endpoint or inside: ∫01dxx\int_0^1 \frac{dx}{\sqrt{x}}, ∫−11dxx2\int_{-1}^1 \frac{dx}{x^2}. Test: is the integrand undefined or unbounded anywhere on the closed interval, or is an endpoint infinite?
The two kinds are defined under infinite limits of integration and discontinuous integrands; convergence tests follow in the same lesson.

Two kinds, one idea

Infinite intervallimit at infinity
∫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
Improper integral with infinite limits. Two infinite ends: split at any point and take two separate limits.
Unbounded integrandone-sided limit at the blow-up
∫abf(x) dx=lim⁡t→b−∫atf(x) dx(blow-up at b)\int_a^b f(x)\,dx = \lim_{t\to b^-}\int_a^t f(x)\,dx \quad (\text{blow-up at } b)
Improper integral with a discontinuous integrand. A blow-up inside the interval: split there and treat each half.
Compare instead of computeconvergence only
0≤f≤g, ∫g converges  ⇒  ∫f converges0 \le f \le g,\ \int g \text{ converges} \;\Rightarrow\; \int f \text{ converges}
When only convergence is asked, the p-test (∫1∞x−pdx\int_1^\infty x^{-p}dx converges exactly when p>1p > 1) and the comparison test avoid the integration.

Steps

StepOn ∫1∞dxx2\int_1^\infty \frac{dx}{x^2}
1Locate the problem. An infinite endpoint, or a point where ff is unbounded. Check the inside of the interval too, not just the ends.upper limit ∞\infty; ff is fine on [1,∞)[1, \infty)
2Replace it by t and write the limit. The limit sign stays in front of everything until the last step.lim⁡t→∞∫1tx−2 dx\lim_{t\to\infty}\int_1^t x^{-2}\,dx
3Integrate with t in the limits. An ordinary definite integral by the Fundamental Theorem.Power rule for integrals ↗lim⁡t→∞[−1x]1t=lim⁡t→∞(1−1t)\lim_{t\to\infty}\Big[-\frac{1}{x}\Big]_1^t = \lim_{t\to\infty}\Big(1 - \frac{1}{t}\Big)
4Take the limit and state the verdict. Finite: the integral converges to that value. Infinite or nonexistent: it diverges.=1= 1; the integral converges

Worked examples

Example 1 · infinite interval, convergent

p = 2
∫1∞dxx2=lim⁡t→∞[−1x]1t\int_1^\infty \frac{dx}{x^2} = \lim_{t\to\infty}\Big[-\frac{1}{x}\Big]_1^t
replace ∞\infty by tt
=lim⁡t→∞(1−1t)=1= \lim_{t\to\infty}\Big(1 - \frac{1}{t}\Big) = 1
converges

Example 2 · blow-up at an endpoint, convergent

one-sided limit
∫01dxx=lim⁡t→0+∫t1x−1/2 dx\int_0^1 \frac{dx}{\sqrt{x}} = \lim_{t\to 0^+}\int_t^1 x^{-1/2}\,dx
the integrand is unbounded at 00
=lim⁡t→0+[2x]t1=2−0=2= \lim_{t\to 0^+}\big[2\sqrt{x}\big]_t^1 = 2 - 0 = 2
converges

Example 3 · infinite interval, divergent

p = 1
∫1∞dxx=lim⁡t→∞[ln⁡x]1t\int_1^\infty \frac{dx}{x} = \lim_{t\to\infty}\big[\ln x\big]_1^t
same setup
=lim⁡t→∞ln⁡t=∞= \lim_{t\to\infty}\ln t = \infty
diverges, although 1x→0\frac{1}{x} \to 0

Example 4 · blow-up inside the interval

split first
∫−11dxx2\int_{-1}^1 \frac{dx}{x^2}
unbounded at x=0x = 0, inside the interval
∫01dxx2=lim⁡t→0+[−1x]t1=lim⁡t→0+(−1+1t)=∞\int_0^1 \frac{dx}{x^2} = \lim_{t\to 0^+}\Big[-\frac{1}{x}\Big]_t^1 = \lim_{t\to 0^+}\Big(-1 + \frac{1}{t}\Big) = \infty
one half already diverges
the integral diverges
the "answer" [−1x]−11=−2\big[-\frac{1}{x}\big]_{-1}^1 = -2 is wrong

See it happen

The region under 1x2\frac{1}{x^2} to the right of 11 stretches forever but has area exactly 11: each doubling of the interval adds less than half the previous area. Under 1x\frac{1}{x} the strips shrink too slowly and the area grows without bound. The p-test draws the line at p=1p = 1.

Common mistakes

Integrating straight across a blow-up

✗ ∫−11dxx2=[−1x]−11=−2\int_{-1}^1 \frac{dx}{x^2} = \Big[-\frac{1}{x}\Big]_{-1}^1 = -2
✓ a positive function cannot have a negative integral; split at 00, each half diverges

Plugging in infinity

✗ −1∞=0-\frac{1}{\infty} = 0 written as arithmetic
✓ write the limit as t→∞t \to \infty and evaluate it

"The integrand goes to 0, so it converges"

✗ ∫1∞dxx\int_1^\infty \frac{dx}{x} converges because 1x→0\frac{1}{x} \to 0
✓ how fast it goes to 00 decides; 1x\frac{1}{x} is too slow (p-test, p=1p = 1)

Missing an interior asymptote

✗ ∫02dxx−1\int_0^2 \frac{dx}{x - 1} treated as an ordinary integral
✓ split at x=1x = 1 and test both halves