2.7 Improper integrals
In statistics, it is very common to encounter integrals that look like this:
This expression is a little confusing because if the integration region is infinite, then our earlier definition of the integral no longer works. What the expression means is that we’re taking the limit of the definite integrals (all of which are well-defined) as the region gets larger and larger:
For example,
(if you don’t follow this derivation, see here and here). Since (see here), we have
Integrals with an infinite bound (either upper or lower) are known as improper integrals. There are two other kinds of improper integrals.
Both bounds are infinite: One might expect that would be defined as the limit of as . But you’d be wrong! The actual definition is:
provided that both improper integrals exist. To see why, suppose we wanted to calculate . This integral does not exist, even though . The problem with saying that equals 0 is that it depends entirely on how fast the upper and lower bounds are going to infinity. For example, . Without more information on exactly how fast the upper and lower bounds are going to infinity, could equal anything.
Unbounded functions: For technical reasons, we also run into problems when is unbounded. Suppose we’re interested in integrating , for example. At , is undefined. Even if we were to define it, wouldn’t be continuous or monotone no matter what we chose, which causes problems with integration. As you might guess, however, we can extend our definition of the integral to include 0 as a lower bound by taking the limit as the bound goes to zero (if the limit exists):
Note that in this case, if we failed to realize that was not bounded over the integration region and blindly plugged in 0 anyway, it wouldn’t make a difference – we’d get the same answer. However, this is not always true and if you ever run into a situation where this arises, it’s important to know the proper definition.