An integral is improper when an endpoint is infinite or the integrand blows up somewhere on the interval. Replace the troublesome endpoint by a variable, integrate over the ordinary interval that results, and take the limit. If the limit is a finite number, the integral converges to it, and otherwise it diverges. The p-integrals ∫ from 1 to ∞ of dx/xp, which converge exactly when p>1, are the benchmarks for comparison.
The region under y=1/x2 to the right of x=1 never ends. Measure it in pieces. The area from 1 to b is 1−1/b, which is 0.9 at b=10,0.99 at b=100 and 0.999 at b=1000. The area keeps growing, but it never passes 1, and it gets as close to 1 as you like.
The curve y=1/x looks almost the same. It also falls toward 0, and it is never negative. Its area from 1 to b is lnb, about 2.303 at b=10,4.605 at b=100 and 6.908 at b=1000. That area passes every number eventually.
One endless region has a finite area and the other does not, and the table shows the two columns parting as b grows. An improper integral is the tool that tells them apart.
Areas from x=1 to x=b
b
Under 1/x2,1−1/b
Under 1/x,lnb
10
0.9
2.303
100
0.99
4.605
1000
0.999
6.908
b→∞
approaches 1
grows without bound
The rule
Infinite intervals
The integral from a to ∞ means the limit of the integral from a to b as b→∞. If the limit is a finite number, the integral converges to that number. If the limit is infinite or does not exist, the integral diverges. The integral from −∞ to b works the same way, with a→−∞.
∫a∞f(x)dx=b→∞lim∫abf(x)dx
∫a∞f(x)dx=b→∞lim∫abf(x)dx
Infinite integrands
If f blows up at the endpoint a, integrate from t to b and let t→a from inside the interval. If f blows up at an interior point c, split the integral at c. The whole integral converges only if both pieces converge.
∫01√x1dx=t→0+lim∫t1√x1dx
∫01√x1dx=t→0+lim∫t1√x1dx
The p-integrals
The integral from 1 to ∞ of dx/xp converges to 1/(p−1) when p>1 and diverges when p≤1. Near 0 the pattern flips. The integral from 0 to 1 of dx/xp converges to 1/(1−p) when p<1 and diverges when p≥1.
∫1∞xpdx=p−11(p>1)
∫1∞xpdx=p−11(p>1)
Why it works
Why a limit, and why p=1 is the border
A definite integral is built from rectangles over a bounded interval under a bounded function. Over [1,∞) the interval is not bounded, and near 0 the function 1/√x is not bounded, so the integral there has no meaning until it is defined. The limit gives it one. Each ordinary integral is a real area, and the limit asks where those areas are heading.
The p-rule comes straight from the power rule. For p=1, the integral from 1 to b of x−p is (b1−p−1)/(1−p). When p>1 the exponent 1−p is negative, so b1−p→0 and the value tends to 1/(p−1). When p<1 the exponent is positive and b1−p grows without bound. At p=1 the antiderivative is lnb, which also grows without bound.
Near 0 the same formula runs the other way. The integral from t to 1 is (1−t1−p)/(1−p), and t1−p→0 as t→0+ exactly when 1−p>0. A curve that is tall near 0 must not be too tall, just as a tail toward ∞ must fall fast enough.
∫1bx−pdx=1−pb1−p−1(p=1)
∫1bx−pdx=1−pb1−p−1(p=1)
The method
The method in five steps
The table works through ∫2x/(x2+1)2dx from 0 to ∞.
∫0∞(x2+1)22xdx=b→∞lim(1−b2+11)=1
∫0∞(x2+1)22xdx=b→∞lim(1−b2+11)=1
An improper integral over an infinite interval
Step
What to do
For ∫2x/(x2+1)2dx from 0 to ∞
1
Find what is improper
The upper limit is ∞, and the integrand is continuous on [0,∞)
2
Replace it with a variable
The limit as b→∞ of the integral from 0 to b
3
Integrate on the ordinary interval
With u=x2+1, the antiderivative is −1/(x2+1), so the integral is 1−1/(b2+1)
4
Take the limit
1/(b2+1)→0, so the limit is 1
5
State the verdict and check it
Converges to 1. At b=10 the integral is already 100/101≈0.990
Comparison
Many integrands have no antiderivative you can write, and comparison decides them anyway. Suppose 0≤f(x)≤g(x) on the interval. If the integral of g converges, so does the integral of f, because its area fits inside a finite one. If the integral of f diverges, so does the integral of g.
For x≥1,(2+sinx)/x2 lies between 1/x2 and 3/x2, and the integral of 3/x2 from 1 to ∞ is 3, so the smaller one converges too. For x≥1,(1+e−x)/x≥1/x, and the integral of 1/x diverges, so the larger one diverges. Compare with a p-integral or with e−x.
Both ends infinite
When both limits are infinite, split at any convenient point and treat each half as its own improper integral. The integral of 1/(1+x2)from −∞ to ∞ splits at 0. Each half is a limit of arctangents, π/2 from each side, so the whole integral converges to π. If either half diverges, the whole integral diverges.
Where it breaks
Where it breaks
The Fundamental Theorem needs f continuous on the whole interval. Across a vertical asymptote it gives nonsense. Applied to 1/x2from −1 to 1, it gives −2, a negative area for a positive function. The integral diverges, because the piece from 0 to 1 is already infinite.
An integrand that tends to 0 is not enough. 1/x tends to 0 as x grows, yet its integral from 1 to ∞ diverges. The integrand must fall fast enough, as 1/x2 does.
Divergent pieces never cancel. The integral of xfrom −∞ to ∞ is not 0, even though the area left of 0 mirrors the area right of 0. Each half diverges on its own, so the whole integral diverges. The integral from −b to b is 0 for every b, but that symmetric limit is a different calculation.
The table pairs each power with the end where it causes trouble. Near ∞ a large power converges, and near 0 a small one does.
Four integrals that look alike
Integral
Verdict
Value
∫dx/x2 from 1 to ∞
Converges
1
∫dx/x from 1 to ∞
Diverges
lnb grows
∫dx/x2 from 0 to 1
Diverges
1/t−1 grows
∫dx/√x from 0 to 1
Converges
2
Check your answer
Check your answer
An improper integral is a limit of ordinary ones, so test it as you would a limit: try values near the end, and ask what size the answer can be.
Try a large b, or a small t. The ordinary integral up to b=1000 should sit near the claimed value. For 1/x2 it is 0.999, and for a divergent integral the values keep growing with no sign of settling.
Check sign and size. A positive integrand gives a positive value, so −2 for the integral of 1/x2 is impossible. A comparison gives a ceiling, as 1/(x3+1)≤1/x3 puts its integral from 1 to ∞ below 1/2.
Run the p-rule. For a power of x, or anything that behaves like one far out, the rule predicts the verdict before any work.
In a Math box, write the integral on the first row, the limit of the ordinary integral on the next, then the limit of its value, then the number. Chalk checks the rows, and a wrong final value reads ✗ “Not the limit in row 3.” It does not check the integration in row 3, though. A wrong integral to b, such as 1+1/b for 1/x2, reads “?” rather than ✗, so differentiate it yourself.
Chalk does look for a blow-up inside the interval. Written as a bracket, [−1/x]from −1 to 1, the misused theorem reads ✗ “The integrand isn’t defined at x = 0, inside the interval, so this integral diverges.”, and the −2 under it reads “?”. Look for zeros of the denominator before you use the theorem.
A value written straight under the improper integral is checked too, as 1 under ∫1∞1/x2dx is. A two-sided integral from −∞ to ∞ is checked as well, where π under ∫1/(1+x2) dx reads ✓ and 2π reads ✗. A row Chalk cannot follow reads “?”, which means not verified, not wrong.
The integral of 1/x3/2 from 1 to ∞ converges. Does the integral from 0 to ∞?
No. Split it at 1. The tail converges to 1/(3/2−1)=2, because p>1 there. Near 0 the rule flips, and the piece from 0 to 1 converges only when p<1. Here p=3/2, so that piece diverges, and one divergent piece makes the whole integral diverge.
The thin border, a famous horn and a bell curve
The border at p=1 is thinner than it looks. The integral of 1/(xlnx) from 2 to ∞ diverges, since its antiderivative ln(lnx) grows without bound, however slowly. The integral of 1/(x (lnx)2) from 2 to ∞ converges, to 1/ln2≈1.443. Both fall faster than 1/x and slower than any 1/xp with p>1.
Spin y=1/x for x≥1 about the x-axis. The solid, called Gabriel’s horn, has volume π times the integral of 1/x2, which is π. Its surface area is at least 2π times the integral of 1/x, which diverges. A horn that holds a finite amount of paint has an infinite surface to paint.
The integral of e−x2from −∞ to ∞ converges by comparison with e−∣x∣ for ∣x∣≥1, though e−x2 has no antiderivative built from the usual functions. Its value, √π≈1.772, needs a trick in two variables. It is the area under the bell curve of statistics. The integral test also links improper integrals to infinite series, which is why ∑1/np follows the same rule as the p-integral.
∫2∞x(lnx)2dx=ln21
Common mistakes
Applying the Fundamental Theorem across a vertical asymptote. The integral of 1/x2from −1 to 1 is not −2. The integrand blows up at 0, the piece from 0 to 1 is infinite, and the integral diverges.
Writing F(∞) as if ∞ were a number. Replace ∞ with b, compute F(b)−F(a), and take the limit as b→∞, which is how −1/bbecomes 0.
Deciding that an integral converges because the integrand tends to 0.1/x tends to 0, yet its integral from 1 to b is lnb, which grows without bound. The integrand has to fall fast enough.
Letting divergent pieces cancel. The integral of xfrom −∞ to ∞ is not 0, because the piece from 0 to ∞ already diverges. Each piece must converge on its own.
Missing a blow-up inside the interval. 1/(x−2) on [0,3] blows up at x=2, so the integral splits there and diverges, even though F(3)−F(0) gives the number −ln2.
Using the rule for ∞near 0. The integral of 1/√x from 0 to 1 converges, while its integral from 1 to ∞ diverges. Near 0 a small power converges, and toward ∞ a large one does.
Key terms
Improper integral
An integral over an infinite interval, or of a function that blows up, defined as a limit. If it has trouble on both sides of a point, each part must converge on its own, because opposite infinities don’t cancel.
p-integral
The integral from 1 to ∞ of 1/xpdx. It converges to 1/(p−1) when p>1 and diverges when p≤1. The integral from 0 to 1 of 1/xpdx behaves the other way and converges only when p<1.
Comparison test for integrals
A test for an improper integral of a function that is never negative. If 0≤f(x)≤g(x) and the integral of g converges, the integral of f converges too. If the integral of f diverges, the integral of g diverges as well.
Convergence
Settling on a finite value in a limit. A sequence converges when its terms approach a number, and a series converges when its partial sums do. An improper integral converges when the limit that defines it is a finite number. Numbers that look stable are a hint, not a proof.
Divergence
Not approaching a finite value. A divergent sequence, series or improper integral may grow without bound or keep oscillating, so divergence doesn’t always mean heading to +∞.
Vertical asymptote
A vertical line x=a that the graph approaches as the function’s values grow without bound near a, often where a denominator is zero. The graph is not joined across it.
Work through an example
Evaluate the integral of 1/x2 from 1 to ∞, or show that it diverges.