Evaluate the following integral:

NOTE: On this page, the exponential function f(x) = ex is denoted by f(x) = exp(x).

  1. Let
    and let

  2. Hence,
    and let

  3. Using the formula for integration by parts

    we get

  4. Now we can use integration by parts again to compute the following integral

  5. Let
    and let

  6. Hence,
    and let

  7. Finally we get

  8. We can now use the above result to finish solving the problem:

This page and the javascript used on this page was originally written by Marek Szapiel.