Improper integrals

As we have seen so far, the definite integral \(\int_{a}^{b}f(x)dx\) is defined for the (continuous) function \(f(x)\) on a bounded closed interval \([a,b]\). It is not defined on semi-open intervals such as \((a, b]\) or \([a,b)\), or on unbounded intervals such as \([a,\infty)\) or \((-\infty, \infty)\).



Nevertheless, we may extend the definition of definite integrals to deal with such cases. For example, the function \(f(x)\) on \([a, b)\) is not defined on \(x = b\), but if the left limit \(\lim_{t\to b-0}\int_a^tf(x)dx\) exists, we may define it as \(\int_a^bf(x)dx\). Such an extended notion of the integral is called the improper integral.

Integration on semi-open intervals

For the continuous function \(f(x)\) on the semi-open interval \([a, b)\), if the limit
\[\lim_{t\to b - 0}\int_a^tf(x)dx = \lim_{\varepsilon\to +0}\int_a^{b - \varepsilon}f(x)dx\]
exists, we say that the improper integral \(\int_a^bf(x)dx\) converges.

Similarly, for the continuous function \(f(x)\) on \([a, \infty)\), the limit
\[\lim_{t\to\infty}\int_a^tf(x)dx\]
exists, we say that the improper integral \(\int_a^{\infty}f(x)dx\) converges.

We define the improper integrals in the same manner for continuous functions on \((a,b]\) or on \((-\infty, b]\) as
\[ \begin{eqnarray} \int_a^bf(x)dx &=& \lim_{\varepsilon \to +0}\int_{a + \varepsilon}^bf(x)dx,\\ \int_{-\infty}^bf(x)dx &=& \lim_{t \to -\infty}\int_{t}^bf(x)dx, \end{eqnarray} \]
respectively.

Example. {eg:sqrt1x} The function \(f(x) = \frac{1}{\sqrt{1 - x}}\) is not defined at \(x =1\) so \(\int_0^1\frac{dx}{\sqrt{1 - x}}\) is an improper integral. 
\[\int_0^{1-\varepsilon}\frac{dx}{\sqrt{1 -x}} = \int_0^{1-\varepsilon}(1-x)^{-\frac{1}{2}}dx =\left[-2\sqrt{1-x}\right]_0^{1-\varepsilon} = -2\sqrt{\varepsilon} + 2.\]
Therefore,
\[\int_0^1\frac{dx}{\sqrt{1-x}} = \lim_{\varepsilon \to +0}\int_0^{1-\varepsilon}\frac{dx}{\sqrt{1-x}} = 2.\]

Example
\[\int_0^{\infty}e^{-x}dx = \lim_{t\to\infty}\int_0^{t}e^{-x}dx=\lim_{t\to\infty}\left[-e^{-x}\right]_0^{t} =\lim_{t\to\infty}(-e^{-t} + 1) = 1.\]

Example
\[\int_0^1\frac{dx}{x} = \lim_{\varepsilon \to +0}\int_{\varepsilon}^1\frac{dx}{x}= \lim_{\varepsilon \to +0}\left[\log x\right]_{\varepsilon}^{1}  = \lim_{\varepsilon \to +0}(-\log \varepsilon) = \infty.\]□

Example. {eg:power} Let \(a, b, k\in \mathbb{R}\) such that \(a < b\). Then
\[ \int_a^b(b-x)^kdx = \int_a^b(x-a)^kdx = \left\{ \begin{array}{cc} \frac{(b-a)^{k+1}}{k+1} & (k > -1),\\ \text{diverges} & (k \leq -1). \end{array}\right.\]
Let's prove this.
\[ \int_a^{b-\varepsilon}(b-x)^kdx = \left\{ \begin{array}{cc} \left[-\frac{(b-x)^{k+1}}{k+1}\right]_a^{b-\varepsilon} & (k \neq -1),\\ \left[-\log(b-x)\right]_a^{b-\varepsilon} & (k = -1). \end{array}\right.\]
If \(k \neq -1\), the given equation is
\[ -\frac{\varepsilon^{k+1}}{k+1} + \frac{(b-a)^{k+1}}{k+1} \to \left\{ \begin{array}{cc} \frac{(b-a)^{k+1}}{k+1} & (k + 1 > 0),\\ -\infty & (k+1 < 0) \end{array}\right.\]
as \(\varepsilon \to +0\).

If \(k = -1\), the given equation is
\[- \log(\varepsilon) +\log(b-a) \to \infty ~ (\varepsilon \to +0).\]
The case for \(\int_a^b(x-a)^kdx\) is similarly proved. □

Integration on open intervals

Suppose \(f(x)\) is a continuous function on \((a,b)\). Pick an arbitrary \(c\in (a,b)\). If both of the improper integrals \(\int_a^cf(x)dx\) on \((a,c]\) and \(\int_c^bf(x)dx\) on \([c, b)\) exist, we can define the improper integral on \((a,b)\) as
\[\int_a^bf(x)dx = \int_a^cf(x)dx + \int_c^bf(x)dx.\]
Similarly, we can define the integral of the continuous function \(f(x)\) on \((-\infty, \infty)\) as
\[\int_{-\infty}^{\infty}f(x)dx = \int_{-\infty}^{c}f(x)dx + \int_c^{\infty}f(x)dx.\]
Example. The function \(f(x) = \frac{1}{\sqrt{ 1 - x^2}}\) is undefined at \(x=\pm 1\) so \(\int_{-1}^{1}\frac{dx}{\sqrt{1 - x^2}}\) is an improper integral.
\[ \begin{eqnarray*} \int_{-1}^{1}\frac{dx}{\sqrt{1 - x^2}} &=& \lim_{\varepsilon \to +0}\int_{-1+\varepsilon}^{0}\frac{dx}{\sqrt{1 - x^2}} + \lim_{\varepsilon' \to +0}\int_{0}^{1 -\varepsilon'}\frac{dx}{\sqrt{1 - x^2}}\\ &=& \left[\arcsin x\right]_{-1+\varepsilon}^{0}+\left[\arcsin x\right]_0^{1-\varepsilon'}\\ &=& -\arcsin({-1+\varepsilon}) + \arcsin({1-\varepsilon'})\\ &\to& -\left(-\frac{\pi}{2}\right) + \frac{\pi}{2} = \pi. \end{eqnarray*} \]
Remark. Computing improper integrals as
\[ \begin{eqnarray} \int_a^bf(x)dx &=& \lim_{\varepsilon\to +0}\int_{a+\varepsilon}^{b-\varepsilon}f(x)dx,\\ \int_{-\infty}^{\infty}f(x)dx &=& \lim_{t\to\infty}\int_{-t}^{t}f(x)dx, \end{eqnarray}\]
is wrong

Consider \(\int_{-\infty}^{\infty}xdx\).
\[ \begin{eqnarray} \int_{-\infty}^{0}xdx &=& \left[\frac{1}{2}x^2\right]_{-\infty}^{0} = -\infty,\\ \int_{0}^{\infty}xdx &=& \left[\frac{1}{2}x^2\right]_{0}^{\infty} = \infty \end{eqnarray} \]
so the improper integral does not converge. However
\[\lim_{t\to\infty}\int_{-t}^{t}xdx = \lim_{t\to\infty}\left[\frac{1}{2}x^2\right]_{-t}^{t} = 0.\]
Note that \(\infty - \infty\) is undefined and hence, is not equal to 0. □

A function that is continuous except finitely many points on an interval

Suppose that \(f(x)\) is a function on \([a,b]\) that is continuous except finitely many points in \([a,b]\). Let \(a_1, a_2, \cdots, a_n\) be those discontinuous points such that \(a < a_1 < a_2 < \cdots < a_n < b\). If the \(n+1\) improper integrals 
\[\int_a^{a_1}f(x)dx, \int_{a_1}^{a_2}f(x)dx, \cdots, \int_{a_n}^{b}f(x)dx\]
all converge, then we say that the improper integral \(\int_a^bf(x)dx\) converges and define
\[\int_{a}^{b}f(x)dx = \int_a^{a_1}f(x)dx + \int_{a_1}^{a_2}f(x)dx + \cdots + \int_{a_n}^{b}f(x)dx.\]

Example. The function  \(f(x) = \frac{1}{\sqrt{|x|}}\) is not defined at \(x = 0\) so, for example, \(\int_{-1}^{1}\frac{dx}{\sqrt{|x|}}\) is an improper integral (otherwise \(f(x)\) is continuous).  As \(\varepsilon, \varepsilon' \to +0\),
\[ \begin{eqnarray*} \int_{-1}^{-\varepsilon}\frac{dx}{\sqrt{|x|}} + \int_{\varepsilon'}^{1}\frac{dx}{\sqrt{|x|}} &=& \int_{-1}^{-\varepsilon}\frac{dx}{\sqrt{-x}} + \int_{\varepsilon'}^{1}\frac{dx}{\sqrt{x}}\\ &=& \left[-2\sqrt{-x}\right]_{-1}^{-\varepsilon} + \left[2\sqrt{x}\right]_{\varepsilon'}^{1}\\ &=& -2\sqrt{\varepsilon} + 2 +2 -2\sqrt{\varepsilon'}\\ &\to& 4. \end{eqnarray*}\]
Hence this improper integral converges and \(\int_{-1}^{1}\frac{dx}{\sqrt{|x|}} =4\). □

Convergence criteria of improper integrals

In many cases, computing the value of improper integrals is very difficult, if not impossible. Yet, we may be able to decide whether an improper integral converges or not.

Theorem

Let \(f(x)\) and \(g(x)\) be continuous functions on the interval \((a, b]\) such that the following two conditions are satisfied:
  1. For all \(x\in (a,b]\), \(|f(x)| \leq g(x)\).
  2. The improper integral \(\int_a^bg(x)dx\) converges.
Then the improper integral \(\int_a^bf(x)dx\) converges.
Remark. The function \(g(x)\) in this theorem is called a dominating function of \(f(x)\). □
Proof. Let \(F(t) = \int_t^bf(x)dx\) and \(G(t) = \int_t^bg(x)dx\). By the condition 2, the limit \(\lim_{t\to a+0}G(t)\) exists. By the Cauchy criterion, for any \(\varepsilon > 0\), there exists a \(\delta > 0\) such that if \(t,s\in(a, a+\delta]\) then \(|G(t) - G(s)| < \varepsilon\). Then
\[ \begin{eqnarray*} |F(t) - F(s)| &=&\left|\int_t^sf(x)dx\right|\\ &\leq&\int_t^s|f(x)|dx\\ &\leq&\int_t^sg(x)dx\\ &=& G(t) - G(s) < \varepsilon. \end{eqnarray*} \]
Thus, again by the Cauchy criterion, the limit \(\lim_{t\to a+0}F(t)\) exists.  In other words, the improper integral \(\int_a^bf(x)dx\) converges. ■

See also: For the Cauchy criterion of convergence of a function, see More on the limit of functions. □

Example. Let \(f(x) = \frac{\sin x}{\sqrt{1-x}}\) and \(g(x) = \frac{1}{\sqrt{1-x}}\) defined on \([0, 1)\). We can see (why?)
\[\left|\frac{\sin x}{\sqrt{1-x}}\right| \leq \frac{1}{\sqrt{1-x}}\]
for all \(x\in [0,1)\). Therefore \(g(x)\) is a dominating function of \(f(x)\). Furthermore, we have seen in a previous example (Example {eg:sqrt1x}) that
\[\int_0^1\frac{dx}{\sqrt{1-x}} = 2.\]
Therefore the improper integral \(\int_0^1\frac{\sin x}{\sqrt{1-x}}dx\) converges. □

Corollary

Let \(f(x)\) and \(g(x)\) be continuous functions on \((a,b]\). The improper integral \(\int_a^bf(x)dx\) converges if the following three conditions are satisfied.
  1. For all \(x\in (a,b]\), \(g(x) > 0\).
  2. \(\frac{f(x)}{g(x)}\) is bounded on \((a, b]\).
  3. The improper integral \(\int_a^bg(x)dx\) converges.
Proof. Since \(\frac{f(x)}{g(x)}\) is bounded on \((a,b]\), there exists some \(M\in\mathbb{R}\) such that, for all \(x\in (a,b]\),
\[\left|\frac{f(x)}{g(x)}\right| = \frac{|f(x)|}{g(x)} \leq M.\]
Hence \(|f(x)| \leq Mg(x)\) holds and \(Mg(x)\) is a dominating function of \(f(x)\). Therefore \(\int_a^bf(x)dx\) converges. ■

Example. Let \(f(x)\) be a continuous function on \((a,b]\). If there exists a real number \(k<1\) such that \(f(x)(x-a)^k\) is bounded on \((a,b]\), then the improper integral \(\int_a^bf(x)dx\) converges. In fact, if we define \(g(x) = (x - a)^{-k}\), since \(-k > -1\), the improper integral \(\int_a^bg(x)dx\) converges (c.f., Example {eg:power}). Therefore, by the above corollary, \(\int_a^bf(x)dx\) converges. □

Comments

Popular posts from this blog

Open sets and closed sets in \(\mathbb{R}^n\)

Euclidean spaces

Newton's method