Not all integrals we need to study are quite so nice.
An integral having either an infinite limit of integration or an unbounded integrand is called an improper integral.
Two examples are
The first has an infinite domain of integration and the integrand of the second tends to \(\infty\) as \(x\) approaches the left end of the domain of integration. We'll start with an example that illustrates the traps that you can fall into if you treat such integrals sloppily. Then we'll see how to treat them carefully.
Consider the integral
If we “do” this integral completely naively then we get
which is wrong 1 . In fact, the answer is ridiculous. The integrand \(\frac \gt 0\text\) so the integral has to be positive.
The flaw in the argument is that the fundamental theorem of calculus, which says that
is applicable only when \(F'(x)\) exists and equals \(f(x)\) for all \(a\le x\le b\text<.>\) In this case \(F'(x)=\frac\) does not exist for \(x=0\text<.>\) The given integral is improper. We'll see later that the correct answer is \(+\infty\text<.>\)
Let us put this example to one side for a moment and turn to the integral \(\int_a^\infty\frac>\text<.>\) In this case, the integrand is bounded but the domain of integration extends to \(+\infty\text<.>\) We can evaluate this integral by sneaking up on it. We compute it on a bounded domain of integration, like \(\int_a^R\frac>\text\) and then take the limit \(R\rightarrow\infty\text<.>\)
Let us put this into practice:
Solution:
To be more precise, we actually formally define an integral with an infinite domain as the limit of the integral with a finite domain as we take one or more of the limits of integration to infinity.
When the limit(s) exist, the integral is said to be convergent. Otherwise it is said to be divergent.
We must also be able to treat an integral like \(\int_0^1\frac>\) that has a finite domain of integration but whose integrand is unbounded near one limit of integration 2 Our approach is similar — we sneak up on the problem. We compute the integral on a smaller domain, such as \(\int_t^1\frac>\text\) with \(t \gt 0\text\) and then take the limit \(t\rightarrow 0+\text<.>\)
Solution:
Indeed, we define integrals with unbounded integrands via this process:
When the limit(s) exist, the integral is said to be convergent. Otherwise it is said to be divergent.
Notice that (c) is used when the integrand is unbounded at some point in the middle of the domain of integration, such as was the case in our original example
A quick computation shows that this integral diverges to \(+\infty\)
More generally, if an integral has more than one “source of impropriety” (for example an infinite domain of integration and an integrand with an unbounded integrand or multiple infinite discontinuities) then you split it up into a sum of integrals with a single “source of impropriety” in each. For the integral, as a whole, to converge every term in that sum has to converge.
Consider the integral
So, for example, take \(a=-1, b=1, c=3\text<.>\)
With the more formal definitions out of the way, we are now ready for some (important) examples.
Solution:
Solution:
Solution:
This is a pretty subtle example. Look at the sketch below:
This suggests that the signed area to the left of the \(y\)-axis should exactly cancel the area to the right of the \(y\)-axis making the value of the integral \(\int_^1\frac>\) exactly zero.
But both of the integrals
diverge so \(\int_^1\frac>\) diverges. Don't make the mistake of thinking that \(\infty-\infty=0\text<.>\) It is undefined. And it is undefined for good reason.
For example, we have just seen that the area to the right of the \(y\)-axis is
and that the area to the left of the \(y\)-axis is (substitute \(-7t\) for \(T\) above)
If \(\infty-\infty=0\text\) the following limit should be \(0\text<.>\)
This appears to give \(\infty-\infty=\log 7\text<.>\) Of course the number \(7\) was picked at random. You can make \(\infty-\infty\) be any number at all, by making a suitable replacement for \(7\text<.>\)
The careful computation of the integral of Example 1.12.2 is
Hence the integral diverges to \(+\infty\text<.>\)
The integral \(\int_<-\infty>^\infty\frac>\) converges and takes the value \(\pi\text<.>\)
For what values of \(p\) does \(\int_e^\infty\frac>
Solution:
The gamma function \(\Gamma(x)\) is defined by the improper integral
\[ \Gamma(t) = \int_0^\infty x^e^\, d \nonumber \]
We shall now compute \(\Gamma(n)\) for all natural numbers \(n\text<.>\)
It is very common to encounter integrals that are too complicated to evaluate explicitly. Numerical approximation schemes, evaluated by computer, are often used instead (see Section 1.11). You want to be sure that at least the integral converges before feeding it into a computer 4 . Fortunately it is usually possible to determine whether or not an improper integral converges even when you cannot evaluate it explicitly.
For pedagogical purposes, we are going to concentrate on the problem of determining whether or not an integral \(\int_a^\infty f(x)\, d\) converges, when \(f(x)\) has no singularities for \(x\ge a\text<.>\) Recall that the first step in analyzing any improper integral is to write it as a sum of integrals each of has only a single “source of impropriety” — either a domain of integration that extends to \(+\infty\text\) or a domain of integration that extends to \(-\infty\text\) or an integrand which is singular at one end of the domain of integration. So we are now going to consider only the first of these three possibilities. But the techniques that we are about to see have obvious analogues for the other two possibilities.
Now let's start. Imagine that we have an improper integral \(\int_a^\infty f(x)\, d\text\) that \(f(x)\) has no singularities for \(x\ge a\) and that \(f(x)\) is complicated enough that we cannot evaluate the integral explicitly 5 . The idea is find another improper integral \(\int_a^\infty g(x)\, d\)
So far, this is a pretty vague strategy. Here is a theorem which starts to make it more precise.
Let \(a\) be a real number. Let \(f\) and \(g\) be functions that are defined and continuous for all \(x\ge a\) and assume that \(g(x)\ge 0\) for all \(x\ge a\text<.>\)
We will not prove this theorem, but, hopefully, the following supporting arguments should at least appear reasonable to you. Consider the figure below:
We cannot evaluate the integral \(\int_1^\infty e^\, d\) explicitly 7 , however we would still like to understand if it is finite or not — does it converge or diverge?
Solution: We will use Theorem 1.12.17 to answer the question.
Solution:
Let \(a\) and \(c\) be real numbers with \(a \lt c\) and let the function \(f(x)\) be continuous for all \(x\ge a\text<.>\) Then the improper integral \(\int_a^\infty f(x)\ \, d\) converges if and only if the improper integral \(\int_c^\infty f(x)\ \, d\) converges.
By definition the improper integral \(\int_a^\infty f(x)\, d\) converges if and only if the limit
exists and is finite. (Remember that, in computing the limit, \(\int_a^c f(x)\, d\) is a finite constant independent of \(R\) and so can be pulled out of the limit.) But that is the case if and only if the limit \(\lim_
Does the integral \(\int_1^\infty\frac>\, d\) converge or diverge?
Solution:
Notice that in this last example we managed to show that the integral exists by finding an integrand that behaved the same way for large \(x\text<.>\) Our intuition then had to be bolstered with some careful inequalities to apply the comparison Theorem 1.12.17. It would be nice to avoid this last step and be able jump from the intuition to the conclusion without messing around with inequalities. Thankfully there is a variant of Theorem 1.12.17 that is often easier to apply and that also fits well with the sort of intuition that we developed to solve Example 1.12.21.
A key phrase in the previous paragraph is “behaves the same way for large \(x\)”. A good way to formalise this expression — “\(f(x)\) behaves like \(g(x)\) for large \(x\)” — is to require that the limit
Suppose that this is the case and call the limit \(L\ne 0\text<.>\) Then
These considerations lead to the following variant of Theorem 1.12.17.
Let \(-\infty \lt a \lt \infty\text<.>\) Let \(f\) and \(g\) be functions that are defined and continuous for all \(x\ge a\) and assume that \(g(x)\ge 0\) for all \(x\ge a\text<.>\)
Note that in (b) the limit must exist and be nonzero, while in (a) we only require that the limit exists (it can be zero).
Here is an example of how Theorem 1.12.22 is used.
Does the integral \(\displaystyle \int_1^\infty\frac+x^2>\, d\) converge or diverge?
Solution:
Notice that we are using \(A \ll B\) to mean that “\(A\) is much much smaller than \(B\)”. Similarly \(A\gg B\) means “\(A\) is much much bigger than \(B\)”. We don't really need to be too precise about its meaning beyond this in the present context.