Guides / Integrals

Improper integrals: replace infinity with a limit, and check for blow-ups inside

An integral is improper when a limit is infinite or the integrand blows up somewhere on the interval. You can't plug ∞ into an antiderivative, and you can't integrate straight across a vertical asymptote. Both are handled the same way: stop just short of the trouble, integrate, and take a limit.

Short answer

Infinite limit: ∫a∞ f(x) dx = limb→∞ ∫ab f(x) dx. Blow-up at an endpoint: stop at a + ε and let ε → 0+. Blow-up inside the interval, or both ends infinite: split into pieces, one problem per piece, and take each limit separately. The integral converges if every limit is a finite number and diverges if any one isn't. The benchmark is the p-test: ∫1∞ dx/xp converges only for p > 1, and ∫01 dx/xp only for p < 1.

Why it works

The fundamental theorem, F(b) − F(a), needs a finite interval and an integrand that is continuous on all of it. An improper integral breaks one of those, so it is defined as a limit of ordinary integrals that don't. Integrate from 1 to b, which is a normal definite integral for every b, and then ask what happens as b grows.

An infinitely long region can still have a finite area, if it gets thin fast enough. 1/x2 shrinks fast enough and the area under it from 1 to ∞ is exactly 1. 1/x shrinks too, but too slowly, and its area grows without limit. Near 0 it's the other way round: a small power such as 1/√x blows up slowly enough to leave a finite area.

Example 1: an infinite upper limit

Evaluate ∫0∞ e−2x dx.

  1. limb→∞ ∫0b e−2x dxReplace ∞ with b. Now it's an ordinary integral.
  2. = limb→∞ [−½e−2x]0b = limb→∞ (½ − ½e−2b)The antiderivative of e−2x is −½e−2x.
  3. = ½e−2b → 0 as b → ∞. The limit is finite, so the integral converges.

Example 2: one that diverges

Does ∫1∞ 1√x dx converge?

  1. ∫1b x−1/2 dx = [2√x]1b = 2√b − 2The power rule, with b in place of ∞.
  2. 2√b − 2 → ∞, so the integral divergesThis is p = ½ in the p-test, and ½ isn't greater than 1. The integrand goes to 0, but not fast enough.

Example 3: the integrand blows up at an endpoint

Evaluate ∫08 x−1/3 dx.

  1. limε→0+ ∫ε8 x−1/3 dxx−1/3 = 1/∛x is infinite at x = 0, so start just to the right of 0.
  2. = limε→0+ [32x2/3]ε8 = limε→0+ (6 − 32ε2/3)82/3 = 4, and 32 · 4 = 6.
  3. = 6It converges: this is p = ⅓ near 0, and ⅓ is less than 1.

Example 4: a blow-up in the middle

Evaluate ∫03 1(x − 1)2/3 dx.

  1. ∫03 = ∫01 + ∫13The denominator is 0 at x = 1, inside the interval. Split there; each piece is improper at one end.
  2. An antiderivative is 3∛(x − 1)The power rule on (x − 1)−2/3. It is continuous at x = 1, so both one-sided limits exist.
  3. ∫01 = 0 − 3∛(−1) = 3, ∫13 = 3∛2 − 0 = 3∛2Each piece converges on its own.
  4. 3 + 3∛2 ≈ 6.780Both pieces are finite, so the whole integral converges to their sum.

Common mistakes, and the exact line they happen on

1. Integrating straight through a vertical asymptote

Evaluate ∫02 1(x − 1)2 dx.

  1. An antiderivative of 1/(x − 1)2 is −1/(x − 1)Right so far.
  2. [−1x − 1]02 = −1 − 1 = −2This is the mistake. The integrand is positive everywhere, so a negative answer is impossible. It blows up at x = 1, inside [0, 2], so the integral has to be split there. The right piece is ∫ from 1 + ε to 2, which equals 1/ε − 1 and goes to ∞: the integral diverges. Example 4 looked the same and converged; only splitting tells you which you have.

2. Deciding it converges because the integrand goes to 0

Does ∫1∞ 1x dx converge?

  1. 1x → 0 as x → ∞, so the area is finiteThis is the mistake. If the integrand doesn't go to 0 the integral certainly diverges, but going to 0 isn't enough. ∫ from 1 to b of 1/x is ln b, which is about 6.908 at b = 1000 and keeps growing without limit. The integral diverges; 1/x is the borderline case p = 1.

3. Taking a symmetric limit when both ends are infinite

Evaluate ∫−∞∞ x dx.

  1. ∫−bb x dx = 0 for every bTrue: x is odd, so the two sides cancel.
  2. So ∫−∞∞ x dx = limb→∞ 0 = 0This is the mistake. Both ends have to go to infinity separately. Split at 0: ∫ from 0 to b of x is b²/2, which goes to ∞, so the integral diverges. Cutting off at −b and 2b instead gives 3b²/2, not 0. When different ways of approaching infinity give different answers, none of them is the value.

Practice

  1. Evaluate ∫1∞ 1x4 dx.

    Show answer

    lim (13 − 13b3) = 13. It converges, as p = 4 > 1 says it should.

  2. Evaluate ∫0∞ e−x/3 dx.

    Show answer

    [−3e−x/3]0b = 3 − 3e−b/3 → 3.

  3. Evaluate ∫04 1√x dx.

    Show answer

    Improper at 0: [2√x]ε4 = 4 − 2√ε → 4.

  4. Does ∫01 1x3 dx converge?

    Show answer

    No. ∫ε1 x−3 dx = 12ε2 − 12 → ∞. Near 0 the p-test needs p < 1, and here p = 3.

  5. Evaluate ∫2∞ 1x(ln x)2 dx.

    Show answer

    Let u = ln x, du = dx/x: [−1ln x]2b → 1ln 2 ≈ 1.443.