Kim’s Math NotesCourse index

Evaluating Improper Integrals

How can an endless area be finite, and how do I write the limit?

Stop short of the trouble (an infinite end, a wall at an end or inside) and take a limit; keep the limit on every line and say converges or diverges.

The limit dropped, infinity plugged in

Common mistake [−xe−x−e−x]0∞=−∞e∞−⋯

Correction limb→∞ on every line, plug in b, take the limit last.

Stop at b, then let b run

One over x squared is x to the negative two. We can't integrate forever, so stop at b. The shaded area runs from one to b. Now the antiderivative, step by step. Power rule: add one to the power, and divide by the new power.

x to the negative one, over negative one, is negative one over x. From one to b, that's negative one over b, plus one. So the area up to b is one minus one over b. Now let b run off to infinity.

Watch this part of the concept lesson

Read the rest of this scene

One over b goes to zero, so the limit is one. That's a number, so it converges: an endless region, with area exactly one. Now a curve that looks almost the same, one over x. Up to b, the area is natural log of b, since natural log of one is zero. Here's natural log of x.

Send b to the right, and natural log of b keeps climbing, with no ceiling. No number at the end means it diverges. The two formulas look alike, so you can't tell by eye. Only the limit decides.

Three kinds of trouble: an end

Trouble number one is an infinite end, like the one we just did. For that, stop at b, and take the limit as b goes to infinity. Number two: a wall at an end, where the function shoots up. Stop short of the wall. For one over root x from zero to one, the wall is at zero: the curve shoots up there.

So stop at a, and let a slide down to zero from the right.

Watch this part of the concept lesson

Read the rest of this scene

From a to one, the integral of x to the negative one half is two root x, from a to one. That's two minus two root a. Now let the lower end slide to zero, and that goes to two. That's a number, so it converges. Careful: there may be no infinity sign at all.

Before you integrate, check where the bottom is zero.

Three kinds of trouble: a wall inside

Number three, the sneaky one: a wall inside the interval. Split the integral right at the wall, and handle each side on its own. One over x squared from negative one to one has a wall at zero, with the curve above the axis on both sides. Split it there, with a limit on each side: b comes to zero from the left, and a comes to zero from the right. Both pieces must converge.

Take the right piece. Negative one over x, from a to one, is one over a, minus one. As a goes to zero from the right, that blows up. One piece diverges, so the whole integral diverges. Plug in the ends without splitting, and you get negative two.

Watch this part of the concept lesson

Read the rest of this scene

That's wrong: the curve is above the axis. Symmetric doesn't save it, either. One over x from negative one to one looks like it should be zero, but each side alone diverges, so the whole thing diverges. So for every kind of trouble, it's the same move. Stop short, then take a limit.

p-integrals: know them cold

Now a family worth knowing by heart: one over x to the p, from one to infinity. For p not equal to one, it's the limit of b to the one minus p, minus one, over one minus p. When p is bigger than one, the power is negative, so b to that power goes to zero. Zero minus one, over one minus p, is one over p minus one. It converges. When p is one or less, it grows without bound, so it diverges.

Flip it: the same curve from zero to one, with the wall at zero.

Watch this part of the concept lesson

Read the rest of this scene

Now it's the other way around. When p is less than one, it converges, to one over one minus p. When p is one or more, it diverges. And p equals one diverges both ways. Out to infinity, and down at zero.

Check with what we found. One over x squared, p is two, gives one. One over root x, p is one half, gives two. More forms show up all the time. Take e to the negative a x, from zero to infinity: negative one over a, e to the negative a x, from zero to b, goes to one over a.

When a is positive, it always converges. Next, one over one plus x squared. Its antiderivative is arctangent, and arctangent of b levels off at pi over two. Both ends infinite? Split at zero, and give each side its own limit.

Each side is pi over two, so the whole area is pi, a finite number. And one warning before we move on. On a free-response question, the p facts only check your answer. You still write the limit and the antiderivative.

Example 1: the limit, every line

Example one, free response style, and an AP favorite. Evaluate the integral from zero to infinity of x e to the negative x, or show that it diverges. Here's the plan for this one, the way the exam wants it. First stop at b, keep the limit on every line, and use parts inside. This line earns the point.

The integral to infinity is the limit, as b goes to infinity, of the integral from zero to b.

Watch this part of the concept lesson

Read the rest of this scene

For the antiderivative, use parts: u is x, and d v is e to the negative x d x. So d u is d x, and v is negative e to the negative x. HI minus DI gives negative x e to the negative x, minus e to the negative x. The limit stays in front. Plug in the ends.

At b: negative b over e to the b, minus one over e to the b. At zero: negative one. Subtracting that gives plus one. One limit is left to handle. b over e to the b is infinity over infinity, so use L'Hôpital.

Now differentiate the top and the bottom. The top becomes one, and the bottom stays e to the b. One over e to the b goes to zero. So it's zero, minus zero, plus one. The integral converges to one.

In the workbook, you'll find the integral from zero to infinity of x e to the negative x squared. It needs substitution, not parts, and it has its own solution video.

Common mistake: dropping the limit

Here's how the limit point gets lost on the exam. Watch the notation. Here's how it goes wrong. The limit is written once, then dropped on the next line, and infinity gets plugged straight into the antiderivative, as if it were a number. Here's the fix, and it costs you nothing.

Write the limit, as b goes to infinity, on every line.

Watch this part of the concept lesson

Read the rest of this scene

Plug in b, not infinity, and take the limit only at the very end. Never do arithmetic with infinity.

Example 2: where's the trouble?

Example two, A. P. style. Here are four integrals. Which one diverges? The plan: find the trouble in each one, then use the p facts. Start with A. It has an infinite end, and p is three, bigger than one.

Then B has a wall at zero, and p is one third, less than one.

Watch this part of the concept lesson

Read the rest of this scene

Both converge. C has an infinite end. The antiderivative of e to the negative x is negative e to the negative x, and from zero to b its limit is one. It converges. D has a wall at one, inside the interval.

It's the p equals two shape, just shifted to the wall at one, so each side diverges. Plugging in the ends would give negative two, and that's wrong, because the curve is above the axis. So the answer is D.

Example 3: partial fractions inside

Example three. Evaluate the integral from two to infinity of one over x squared minus one. The plan: the shortcut from partial fractions, keep the limit, and put the logs together before the limit. Stop at b. The bottom is x minus one, times x plus one, and the factors differ by two, so the shortcut gives one half, times one over x minus one, minus one over x plus one, with the limit in front. Integrate each piece into a natural log, then put the logs together into one log of a quotient, from two to b.

Plug in the ends: natural log of b minus one over b plus one, minus natural log of one third.

Watch this part of the concept lesson

Read the rest of this scene

Two separate logs would each run to infinity, and infinity minus infinity is arithmetic with infinity. In one log, b minus one over b plus one goes to one, and natural log of one is zero. So it's one half, times zero minus natural log of one third. Minus natural log of one third is natural log of three, so it's one half natural log of three. Now it's your turn.

Try the integral from three to infinity of one over x squared minus four. Same moves.

Worked examples

Example 1

Evaluate ∫0∞xe−xdx, or show that the integral diverges.
Hint

Stop at b; parts; beb→0 by L'Hôpital.

Answer and solution

Answer 1

  1. ∫0∞xe−xdx=limb→∞[−xe−x−e−x]0b
  2. =limb→∞(−beb−1eb+1)=1

Example 2

Which one diverges?
  1. ∫1∞x−3dx
  2. ∫08x−13dx
  3. ∫0∞e−xdx
  4. ∫021(x−1)2dx
Hint

Find the trouble in each, then the p facts.

Answer and solution

Answer D. ∫021(x−1)2dx

  1. (A) p=3>1; (B) wall at 0, p=13<1; (C) lim[−e−x]0b=1: all converge.
  2. (D) wall at 1 inside, p=2: diverges (not −2). Answer D.

Example 3

Evaluate ∫2∞dxx2−1.
Hint

Shortcut, one log, then the limit.

Answer and solution

Answer 12ln3

  1. 1(x−1)(x+1)=12(1x−1−1x+1)
  2. =limb→∞12[ln|x−1x+1|]2b=12(0−ln13)=12ln3

Workbook

Problem 1

Evaluate ∫0∞xe−x2dx, or show that the integral diverges.
Hint

Substitution, not parts: u=−x2.

Answer and solution

Answer 12

  1. ∫0∞xe−x2dx=limb→∞∫0bxe−x2dx
  2. u=−x2,du=−2xdx:∫xe−x2dx=−12e−x2
  3. =limb→∞(−12e−b2+12)=12

Common mistake Dropping the limit after the first line.

Watch the worked solution to Problem 1

Problem 2

Evaluate ∫3∞dxx2−4.
Hint

One log before the limit.

Answer and solution

Answer 14ln5

  1. 1(x−2)(x+2)=14(1x−2−1x+2)
  2. =limb→∞14[ln|x−2x+2|]3b=14(0−ln15)=14ln5

Common mistake Two separate logs, then infinity minus infinity.

Watch the worked solution to Problem 2

Problem 3

Evaluate ∫01lnxdx, or show that the integral diverges.
Hint

∫lnxdx=xlnx−x; alna→0 by L'Hôpital.

Answer and solution

Answer −1

  1. ∫01lnxdx=lima→0+[xlnx−x]a1=lima→0+(−1−alna+a)
  2. alna=lna1/a→1/a−1/a2=−a→0⇒−1

Common mistake Plugging in 0 to lnx.

Watch the worked solution to Problem 3

Problem 4

∫1∞1x2kdx converges exactly when
  1. k>0
  2. k>12
  3. k>1
  4. k≥1
Hint

Here p=2k.

Answer and solution

Answer B. k>12

  1. 1x2k=1xp with p=2k; out to infinity it converges when p>1.
  2. 2k>1, so k>12. Answer B.

Common mistake Using k>1 instead of 2k>1.

Watch the worked solution to Problem 4

Problem 5

Evaluate ∫03dx(x−1)23, or show that the integral diverges.
Hint

Split at x=1; near the wall p=23<1.

Answer and solution

Answer 3+323

  1. Wall at x=1, inside: split, a limit on each side.
  2. limb→1−[3(x−1)1/3]0b=0−(−3)=3
  3. lima→1+[3(x−1)1/3]a3=323−0
  4. Both converge: 3+323.

Common mistake Plugging in the ends without splitting at the wall.

Watch the worked solution to Problem 5

Problem 6

Evaluate ∫−∞∞dx4+x2.
Hint

∫dx4+x2=12arctanx2.

Answer and solution

Answer π2

  1. Both ends infinite: split at 0, one limit for each side.
  2. limb→∞[12arctanx2]0b=π4,and the left side also π4
  3. =π4+π4=π2

Common mistake One limit for both ends at once.

Watch the worked solution to Problem 6