Improper Integral Calculator

Type a function and limits, using inf for infinity, to test convergence.

Use x. Type powers with ^, and functions with brackets: sin(x), e^(2x), ln(x), sqrt(x).

A number such as 0 or 1/2, pi, e, inf or -inf.

A number larger than the lower limit, pi, e, inf or -inf.

Try

Result

You entered∫0∞e−x dx\int_{0}^{\infty} e^{-x}\,dx

∫0∞e−x dx=1\displaystyle \int_{0}^{\infty} e^{-x}\,dx = 1
Show the work
  1. Improper integral

    The integral ∫0∞e−x dx\int_{0}^{\infty} e^{-x}\,dx is improper — a limit is infinite — so it is written as a limit of proper integrals and the limit is taken at the end.

    lim⁡b→∞∫0be−x dx\lim_{b \to \infty} \int_{0}^{b} e^{-x}\,dx
  2. u-substitution

    The inside function −x-x is linear, so let u=−xu = -x. Then du=−1 dxdu = -1\,dx, which supplies the factor −1-1.

    Using ∫f(ax+b) dx=1a∫f(u) du\int f(ax + b)\,dx = \frac{1}{a}\int f(u)\,du

    u=−xdu=−1 dx\begin{gathered} u = -x \\ du = -1\,dx \end{gathered}
  3. Exponential rule

    The integral in u is a basic integral from the table.

    Using ∫ex dx=ex+C\int e^x\,dx = e^x + C

    ∫e−x dx=−1∫eu du=−1(eu)=−e−x\begin{aligned} \int e^{-x}\,dx &= -1\int e^{u}\,du \\ &= -1\left(e^{u}\right) \\ &= -e^{-x} \end{aligned}
  4. The limit

    Substitute the limits into F(x)=−e−xF(x) = -e^{-x}, taking each limit by the limit rules, and subtract.

    (0)−(−1)=1\left(0\right) - \left(-1\right) = 1
  5. Result

    The integral converges to this value.

    ∫0∞e−x dx=1\int_{0}^{\infty} e^{-x}\,dx = 1

Worked examples