Improper integral An improper integral of the first kind. The integral may need to be defined on an unbounded domain. An improper Riemann integral of the second kind. The integral may fail to exist because of a vertical asymptote in the function.

In mathematical analysis, an improper integral is the limit of a definite integral as an endpoint of the interval(s) of integration approaches either a specified real number, $\infty$ , $-\infty$ , or in some instances as both endpoints approach limits. Such an integral is often written symbolically just like a standard definite integral, in some cases with infinity as a limit of integration.

Specifically, an improper integral is a limit of the form:

$\lim _\int _^f(x)\,dx,\qquad \lim _\int _^f(x)\,dx,$ or

$\lim _}\int _^f(x)\,dx,\quad \lim _}\int _^f(x)\,dx,$ in which one takes a limit in one or the other (or sometimes both) endpoints (Apostol 1967, §10.23).

By abuse of notation, improper integrals are often written symbolically just like standard definite integrals, perhaps with infinity among the limits of integration. When the definite integral exists (in the sense of either the Riemann integral or the more advanced Lebesgue integral), this ambiguity is resolved as both the proper and improper integral will coincide in value.

Often one is able to compute values for improper integrals, even when the function is not integrable in the conventional sense (as a Riemann integral, for instance) because of a singularity in the function or because one of the bounds of integration is infinite.

Examples

The original definition of the Riemann integral does not apply to a function such as $1/}$ on the interval [1, ∞), because in this case the domain of integration is unbounded. However, the Riemann integral can often be extended by continuity, by defining the improper integral instead as a limit

$\int _^{\infty }{\frac }}\,dx=\lim _\int _^{\frac }}\,dx=\lim _\left(-{\frac }+{\frac }\right)=1.$ The narrow definition of the Riemann integral also does not cover the function $1/{\sqrt }$ on the interval [0, 1]. The problem here is that the integrand is unbounded in the domain of integration (the definition requires that both the domain of integration and the integrand be bounded). However, the improper integral does exist if understood as the limit

$\int _^{\frac {\sqrt }}\,dx=\lim _}\int _^{\frac {\sqrt }}\,dx=\lim _}(2-2{\sqrt })=2.$  The improper integral
$\int _^{\infty }{\frac {(x+1){\sqrt }}}=\pi$ has unbounded intervals for both domain and range.

Sometimes integrals may have two singularities where they are improper. Consider, for example, the function 1/((x + 1)x) integrated from 0 to (shown right). At the lower bound, as x goes to 0 the function goes to , and the upper bound is itself , though the function goes to 0. Thus this is a doubly improper integral. Integrated, say, from 1 to 3, an ordinary Riemann sum suffices to produce a result of π/6. To integrate from 1 to , a Riemann sum is not possible. However, any finite upper bound, say t (with t > 1), gives a well-defined result, 2 arctan(t) − π/2. This has a finite limit as t goes to infinity, namely π/2. Similarly, the integral from 1/3 to 1 allows a Riemann sum as well, coincidentally again producing π/6. Replacing 1/3 by an arbitrary positive value s (with s < 1) is equally safe, giving π/2 − 2 arctan(s). This, too, has a finite limit as s goes to zero, namely π/2. Combining the limits of the two fragments, the result of this improper integral is

${\begin\int _^{\infty }{\frac {(x+1){\sqrt }}}&{}=\lim _}\int _^{\frac {(x+1){\sqrt }}}+\lim _\int _^{\frac {(x+1){\sqrt }}}\\&{}=\lim _}\left({\frac {\pi }}-2\arctan {\sqrt }\right)+\lim _\left(2\arctan {\sqrt }-{\frac {\pi }}\right)\\&{}={\frac {\pi }}+\left(\pi -{\frac {\pi }}\right)\\&{}=\pi .\end}$ This process does not guarantee success; a limit might fail to exist, or might be infinite. For example, over the bounded interval from 0 to 1 the integral of 1/x does not converge; and over the unbounded interval from 1 to the integral of 1/x does not converge. The improper integral
$\int _{-1}^{\frac {\sqrt[]}}}=6$ converges, since both left and right limits exist, though the integrand is unbounded near an interior point.

It might also happen that an integrand is unbounded near an interior point, in which case the integral must be split at that point. For the integral as a whole to converge, the limit integrals on both sides must exist and must be bounded. For example:

${\begin\int _{-1}^{\frac {\sqrt[]}}}&{}=\lim _\int _{-1}^{-s}{\frac {\sqrt[]}}}+\lim _\int _^{\frac {\sqrt[]}}}\\&{}=\lim _3(1-{\sqrt[]})+\lim _3(1-{\sqrt[]})\\&{}=3+3\\&{}=6.\end}$ But the similar integral

$\int _{-1}^{\frac }$ cannot be assigned a value in this way, as the integrals above and below zero do not independently converge. (However, see Cauchy principal value.)

Convergence of the integral

An improper integral converges if the limit defining it exists. Thus for example one says that the improper integral

$\lim _\int _^f(x)\,dx$ exists and is equal to L if the integrals under the limit exist for all sufficiently large t, and the value of the limit is equal to L.

It is also possible for an improper integral to diverge to infinity. In that case, one may assign the value of ∞ (or -∞) to the integral. For instance

$\lim _\int _^{\frac }\,dx=\infty .$ However, other improper integrals may simply diverge in no particular direction, such as

$\lim _\int _^x\sin(x)\,dx,$ which does not exist, even as an extended real number. This is called divergence by oscillation.

A limitation of the technique of improper integration is that the limit must be taken with respect to one endpoint at a time. Thus, for instance, an improper integral of the form

$\int _{-\infty }^{\infty }f(x)\,dx$ can be defined by taking two separate limits; to wit

$\int _{-\infty }^{\infty }f(x)\,dx=\lim _\lim _\int _^f(x)\,dx$ provided the double limit is finite. It can also be defined as a pair of distinct improper integrals of the first kind:

$\lim _\int _^f(x)\,dx+\lim _\int _^f(x)\,dx$ where c is any convenient point at which to start the integration. This definition also applies when one of these integrals is infinite, or both if they have the same sign.

An example of an improper integrals where both endpoints are infinite is the Gaussian integral $\int _{-\infty }^{\infty }e^{-x^}\,dx={\sqrt {\pi }}$ . An example which evaluates to infinity is $\int _{-\infty }^{\infty }e^\,dx$ . But one cannot even define other integrals of this kind unambiguously, such as $\int _{-\infty }^{\infty }x\,dx$ , since the double limit is infinite and the two-integral method

$\lim _\int _^x\,dx+\lim _\int _^x\,dx$ yields $\infty -\infty$ . In this case, one can however define an improper integral in the sense of Cauchy principal value:

$\operatorname \int _{-\infty }^{\infty }x\,dx=\lim _\int _{-b}^x\,dx=0.$ The questions one must address in determining an improper integral are:

• Does the limit exist?
• Can the limit be computed?

The first question is an issue of mathematical analysis. The second one can be addressed by calculus techniques, but also in some cases by contour integration, Fourier transforms and other more advanced methods.

Types of integrals

There is more than one theory of integration. From the point of view of calculus, the Riemann integral theory is usually assumed as the default theory. In using improper integrals, it can matter which integration theory is in play.

• For the Riemann integral (or the Darboux integral, which is equivalent to it), improper integration is necessary both for unbounded intervals (since one cannot divide the interval into finitely many subintervals of finite length) and for unbounded functions with finite integral (since, supposing it is unbounded above, then the upper integral will be infinite, but the lower integral will be finite).
• The Lebesgue integral deals differently with unbounded domains and unbounded functions, so that often an integral which only exists as an improper Riemann integral will exist as a (proper) Lebesgue integral, such as $\int _^{\infty }{\frac }}\,dx$ . On the other hand, there are also integrals that have an improper Riemann integral but do not have a (proper) Lebesgue integral, such as $\int _^{\infty }{\frac {\sin x}}\,dx$ . The Lebesgue theory does not see this as a deficiency: from the point of view of measure theory, $\int _^{\infty }{\frac {\sin x}}\,dx=\infty -\infty$ and cannot be defined satisfactorily. In some situations, however, it may be convenient to employ improper Lebesgue integrals as is the case, for instance, when defining the Cauchy principal value. The Lebesgue integral is more or less essential in the theoretical treatment of the Fourier transform, with pervasive use of integrals over the whole real line.
• For the Henstock–Kurzweil integral, improper integration is not necessary, and this is seen as a strength of the theory: it encompasses all Lebesgue integrable and improper Riemann integrable functions.

Improper Riemann integrals and Lebesgue integrals

In some cases, the integral

$\int _^f(x)\,dx$ can be defined as an integral (a Lebesgue integral, for instance) without reference to the limit

$\lim _}\int _^f(x)\,dx$ but cannot otherwise be conveniently computed. This often happens when the function f being integrated from a to c has a vertical asymptote at c, or if c = ∞ (see Figures 1 and 2). In such cases, the improper Riemann integral allows one to calculate the Lebesgue integral of the function. Specifically, the following theorem holds (Apostol 1974, Theorem 10.33):

• If a function f is Riemann integrable on [a,b] for every b ≥ a, and the partial integrals
$\int _^|f(x)|\,dx$ are bounded as b → ∞, then the improper Riemann integrals
$\int _^{\infty }f(x)\,dx,\quad {\mbox}\int _^{\infty }|f(x)|\,dx$ both exist. Furthermore, f is Lebesgue integrable on [a, ∞), and its Lebesgue integral is equal to its improper Riemann integral.

For example, the integral

$\int _^{\infty }{\frac }}$ can be interpreted alternatively as the improper integral

$\lim _\int _^{\frac }}=\lim _\arctan ={\frac {\pi }},$ or it may be interpreted instead as a Lebesgue integral over the set (0, ∞). Since both of these kinds of integral agree, one is free to choose the first method to calculate the value of the integral, even if one ultimately wishes to regard it as a Lebesgue integral. Thus improper integrals are clearly useful tools for obtaining the actual values of integrals.

In other cases, however, a Lebesgue integral between finite endpoints may not even be defined, because the integrals of the positive and negative parts of f are both infinite, but the improper Riemann integral may still exist. Such cases are "properly improper" integrals, i.e. their values cannot be defined except as such limits. For example,

$\int _^{\infty }{\frac {\sin(x)}}\,dx$ cannot be interpreted as a Lebesgue integral, since

$\int _^{\infty }\left|{\frac {\sin(x)}}\right|\,dx=\infty .$ But $f(x)={\frac {\sin(x)}}$ is nevertheless integrable between any two finite endpoints, and its integral between 0 and ∞ is usually understood as the limit of the integral:

$\int _^{\infty }{\frac {\sin(x)}}\,dx=\lim _\int _^{\frac {\sin(x)}}\,dx={\frac {\pi }}.$ Singularities

One can speak of the singularities of an improper integral, meaning those points of the extended real number line at which limits are used.

Cauchy principal value

Consider the difference in values of two limits:

$\lim _}\left(\int _{-1}^{-a}{\frac }+\int _^{\frac }\right)=0,$ $\lim _}\left(\int _{-1}^{-a}{\frac }+\int _^{\frac }\right)=-\ln 2.$ The former is the Cauchy principal value of the otherwise ill-defined expression

$\int _{-1}^{\frac }{\ }\left({\mbox}\ {\mbox}\ -\infty +\infty \right).$ Similarly, we have

$\lim _\int _{-a}^{\frac +1}}=0,$ but

$\lim _\int _{-2a}^{\frac +1}}=-\ln 4.$ The former is the principal value of the otherwise ill-defined expression

$\int _{-\infty }^{\infty }{\frac +1}}{\ }\left({\mbox}\ {\mbox}\ -\infty +\infty \right).$ All of the above limits are cases of the indeterminate form ∞ − ∞.

These pathologies do not affect "Lebesgue-integrable" functions, that is, functions the integrals of whose absolute values are finite.

Summability

An improper integral may diverge in the sense that the limit defining it may not exist. In this case, there are more sophisticated definitions of the limit which can produce a convergent value for the improper integral. These are called summability methods.

One summability method, popular in Fourier analysis, is that of Cesàro summation. The integral

$\int _^{\infty }f(x)\,dx$ is Cesàro summable (C, α) if

$\lim _{\lambda \to \infty }\int _^{\lambda }\left(1-{\frac {\lambda }}\right)^{\alpha }f(x)\,dx$ exists and is finite (Titchmarsh 1948, §1.15). The value of this limit, should it exist, is the (C, α) sum of the integral.

An integral is (C, 0) summable precisely when it exists as an improper integral. However, there are integrals which are (C, α) summable for α > 0 which fail to converge as improper integrals (in the sense of Riemann or Lebesgue). One example is the integral

$\int _^{\infty }\sin x\,dx$ which fails to exist as an improper integral, but is (C,α) summable for every α > 0. This is an integral version of Grandi's series.

Multivariable improper integrals

The improper integral can also be defined for functions of several variables. The definition is slightly different, depending on whether one requires integrating over an unbounded domain, such as $\mathbb ^$ , or is integrating a function with singularities, like $f(x,y)=\log(x^+y^)$ .

Improper integrals over arbitrary domains

If $f:\mathbb ^\to \mathbb$ is a non-negative function that is Riemann integrable over every compact cube of the form $[-a,a]^$ , for $a>0$ , then the improper integral of f over $\mathbb ^$ is defined to be the limit

$\lim _\int _{[-a,a]^}f,$ provided it exists.

A function on an arbitrary domain A in $\mathbb ^$ is extended to a function ${\tilde }$ on $\mathbb ^$ by zero outside of A:

${\tilde }(x)={\beginf(x)&x\in A\\0&x\not \in A\end}$ The Riemann integral of a function over a bounded domain A is then defined as the integral of the extended function ${\tilde }$ over a cube $[-a,a]^$ containing A:

$\int _f=\int _{[-a,a]^}{\tilde }.$ More generally, if A is unbounded, then the improper Riemann integral over an arbitrary domain in $\mathbb ^$ is defined as the limit:

$\int _f=\lim _\int _}f=\lim _\int _{[-a,a]^}{\tilde }.$ Improper integrals with singularities

If f is a non-negative function which is unbounded in a domain A, then the improper integral of f is defined by truncating f at some cutoff M, integrating the resulting function, and then taking the limit as M tends to infinity. That is for $M>0$ , set $f_=\min\$ . Then define

$\int _f=\lim _\int _f_$ provided this limit exists.

Functions with both positive and negative values

These definitions apply for functions that are non-negative. A more general function f can be decomposed as a difference of its positive part $f_{+}=\max\$ and negative part $f_{-}=\max\{-f,0\}$ , so

$f=f_{+}-f_{-}$ with $f_{+}$ and $f_{-}$ both non-negative functions. The function f has an improper Riemann integral if each of $f_{+}$ and $f_{-}$ has one, in which case the value of that improper integral is defined by

$\int _f=\int _f_{+}-\int _f_{-}.$ In order to exist in this sense, the improper integral necessarily converges absolutely, since

$\int _|f|=\int _f_{+}+\int _f_{-}.$ 