practicecalculus
Exponential and log integrals

Integral of e^(−x): Formula, Steps and Examples

The integral of e^(−x) is −e^(−x) + C. See the substitution, why the area from 0 to infinity is 1, a graph and examples like x e^(−x).

Exponential and log integrals Updated 3 min read

At a glance

\int e^{-x}\,dx = -e^{-x} + C
Antiderivative
-e^{-x} + C
From 0 to ∞
1
From 0 to 1
1 - \frac{1}{e} \approx 0.632
General form
\int e^{-kx}\,dx = -\frac{1}{k}e^{-kx} + C
Method
Substitution u = -x, du = -dx
On this page
  1. Graph of e⁻ˣ and its area
  2. How to integrate e⁻ˣ step by step
  3. Check by differentiating
  4. Definite and improper integrals
  5. Worked examples
  6. Common mistakes

The integral of e^{-x} is -e^{-x} + C. The only change from the integral of eˣ is the minus sign, which comes from the -1 in the exponent.

\int e^{-x}\,dx = -e^{-x} + C

Graph of e⁻ˣ and its area

y = e^(−x) with the area from 0 to 4 shaded
The shaded area is 1 - e^{-4} \approx 0.982. If you keep going to infinity, the area approaches exactly 1.

e^{-x} is exponential decay: it starts at 1 when x = 0 and loses the same fraction of its height over every unit step. That steady shrinking is what makes the infinite tail add up to a finite area.

How to integrate e⁻ˣ step by step

  1. Let u = -x. Then du = -dx, so dx = -du.
  2. Rewrite: \displaystyle\int e^{-x}\,dx = -\int e^u\,du.
  3. Integrate: -e^u + C.
  4. Substitute back: -e^{-x} + C.

This is the case k = -1 of the rule \int e^{kx}\,dx = \frac{1}{k}e^{kx} + C from the integral of e²ˣ page. For decay rates k > 0:

\int e^{-kx}\,dx = -\frac{1}{k}e^{-kx} + C

Check by differentiating

\frac{d}{dx}\left(-e^{-x}\right) = -e^{-x}\cdot(-1) = e^{-x}

The two minus signs cancel. See the derivative of e⁻ˣ.

Definite and improper integrals

From 0 to 1: \left[-e^{-x}\right]_0^1 = -e^{-1} + 1 = 1 - \frac{1}{e} \approx 0.632.

From 0 to ∞: this is an improper integral, so take a limit:

\int_0^\infty e^{-x}\,dx = \lim_{b\to\infty}\left(1 - e^{-b}\right) = 1

A decay rate k. \int_0^\infty e^{-kx}\,dx = \frac{1}{k} for k > 0. Multiplying by k gives \int_0^\infty ke^{-kx}\,dx = 1, the total probability of the exponential distribution used for waiting times.

Half-life check. \int_0^{\ln 2} e^{-x}\,dx = 1 - \frac{1}{2} = \frac{1}{2}. Half of the total area sits before x = \ln 2 \approx 0.693.

Worked examples

Example 1: a scaled exponent. \displaystyle\int e^{-x/3}\,dx = -3e^{-x/3} + C.

Example 2: x times e⁻ˣ. Use integration by parts with u = x and dv = e^{-x}\,dx, so du = dx and v = -e^{-x}:

\int xe^{-x}\,dx = -xe^{-x} + \int e^{-x}\,dx = -xe^{-x} - e^{-x} + C = -(x+1)e^{-x} + C

From 0 to \infty this equals 0 - (-1) = 1, because xe^{-x} \to 0 as x \to \infty.

Example 3: drug in the bloodstream. A drug leaves the body at a rate of 40e^{-0.5t} mg per hour. The amount removed in the first 4 hours is

\int_0^4 40e^{-0.5t}\,dt = -80\left(e^{-2} - 1\right) = 80\left(1 - e^{-2}\right) \approx 69.2 \text{ mg}

Example 4: hyperbolic functions. \cosh x = \frac{e^x + e^{-x}}{2}, so

\int\cosh x\,dx = \frac{e^x - e^{-x}}{2} + C = \sinh x + C

Common mistakes

  1. Dropping the minus sign. \int e^{-x}\,dx is not e^{-x} + C. Differentiate your answer: you should get +e^{-x}.
  2. Writing \frac{e^{-x+1}}{-x+1}. That is the power rule used on an exponential, which is never valid.
  3. Treating the improper integral as divergent. The interval is infinite, but the area is 1. Use a limit, do not stop at "infinity".
  4. Confusing e^{-x} with e^{-x^2}. The bell curve e^{-x^2} has no elementary antiderivative; see the integral of e^(x²).

For more on products like xe^{-x}, see the integral of x eˣ.

Practice it now

Integrating to infinity

Solve real problems on this topic with instant feedback, hints and a step-by-step walkthrough for every answer. Free, no sign-up needed to start.

Practice this lesson

Frequently asked questions

What is the integral of e^(−x)?

It is -e^{-x} + C.

What is the integral of e^(−x) from 0 to infinity?

It is 1. The antiderivative -e^{-x} goes from -1 at x = 0 to 0 as x \to \infty, so the integral is 0 - (-1) = 1.

What is the integral of x e^(−x)?

It is -(x+1)e^{-x} + C. Use parts with u = x and dv = e^{-x}\,dx. From 0 to \infty it equals 1.

Why is there a minus sign in the integral of e^(−x)?

Because the derivative of -e^{-x} is -e^{-x}\cdot(-1) = e^{-x}. Without the minus sign, the chain rule would leave you with -e^{-x}.

Written by the PracticeCalculus team

We build interactive calculus lessons and write every page to be clear and correct. Spotted something off? Tell us and we will fix it.