Previously, we found out that unbounded regions can, in fact, have finite area! So, a natural next step would be to try and calculate that area. This leads us into the notion of improper integrals.
There are two different kinds of improper integrals: in this section, we deal with integrals in which the integrand is undefined at one or both of the limits of integration. Geometrically, this involves regions that are unbounded vertically.
Let's start with an example, and calculate the integral
∫122−x1dx.
We might be tempted to solve this the ``usual'' way:
∫122−x1dx=−22−x12=−2(2−2−2−1)=2.
But wait, there's something subtly wrong with what we just did! Do you see what that could be?
Let's first graph the function in the integrand:
x=2
x
y
From this picture, we can clearly see that the function ``explodes'' to infinity at x=2, and is thus discontinuous at x=2. So, this means that we can't directly compute the integral as we just did! So, let's try to see whether we can solve for the integral another way.
In this example, we know that the integrand is continuous for all t<2, which means that the new integral
I(t)=∫1t2−x1dx
is well-defined. So, we can think of the value of the original integral
∫122−x1dx
as the value that I(t) approaches as t→2 from the left. In other words, we can say that
∫122−x1dx=t→2−lim∫1t2−x1dx.
Now, we can finally solve the problem formally:
∫122−x1dx=t→2−lim∫1t2−x1dx=t→2−lim−2(2−x)1t=t→2−lim−2(2−t−2−1)=t→2−lim(2−22−t)=2.
So, the area of the unbounded region shown above has area 2.
We can generalize what we just did by stating the following:
If f(x) is continuous on [a,b) and not on x=b, then ∫abf(x)dx=t→b−lim∫atf(x)dx. Similarly, if f(x) is continuous on (a,b] and not on x=a, then ∫abf(x)dx=t→a+lim∫tbf(x)dx. For both cases, the equality holds only if the limit exists and is finite. In that case, we say that the integral converges; otherwise, we say that it diverges.
If f(x) is continuous on [a,b] except at x=c, where a<c<b, then ∫abf(x)dx=∫acf(x)dx+∫cbf(x)dx, as long as both integrals on the right side converge. If either diverge, then so does the integral on the left.
If f(x) is continuous on (a,b) but not at x=a and x=b, then for any c between a and b we have ∫abf(x)dx=∫acf(x)dx+∫cbf(x)dx, as long as both integrals on the right converge. If either diverge, then so does the integral on the left.
Now that we have an idea of how to deal with integrals that are discontinuous at a point, let's try a few more examples:
First, let's calculate the integral
∫01x21dx.
Since x21 is discontinuous at x=0 but continuous for all t>0, we have
∫01x21dx=t→0+lim∫t1x21dx=t→0+lim−x1t1=t→0+lim−(11−t1)=t→0+lim(t1−1)=∞.
What does that mean? Well, let's graph the integrand:
x
y
Since the value of the integral is infinity, the area of this unbounded region is not finite! This shows you that not all unbounded regions have infinite area, but some still do!
Now, you try!
Evaluate the integral
∫−22x1dx.
If we look at the function y=x1, we see that this is continuous on [−2,2] except at x=0. So, we have to split the integral into the following:
∫−22x1dx=∫−20x1dx+∫02x1dx.
Let's try to solve the right-most integral:
∫02x1dx=t→0+lim∫t2x1dx=t→0+limlnxt2=t→0+lim(ln2−lnt)=∞.
Since this integral diverges, so does the original integral.
Try one more problem!
Evaluate the integral
∫02πsec2xdx.
Since ysec2x is undefined at x=2π, we can write the integral as the following:
∫02πsec2xdx=t→2π−lim∫0tsec2xdx=t→2π−limtanx0t=t→2π−lim(tant−tan0)=t→2π−limtant=∞.
So again, the integral diverges.