AP Calculus AB and BC

Integral of e^(-x): Answer, Proof, and Steps

The integral of e^(-x) is -e^(-x) + C. The exponent -x has slope -1, so you divide by that inner coefficient, which makes the sign negative. Differentiating -e^(-x) gives -e^(-x) times -1 = e^(-x), which confirms the answer.

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

Dividing by the inner coefficient

The integrand is a composite: the natural exponential wrapped around −x-x. A u-substitution on the inside function handles it.

u=−x⟹dudx=−1⟹dx=−duu = -x \quad\Longrightarrow\quad \frac{du}{dx} = -1 \quad\Longrightarrow\quad dx = -du

Replace the exponent and the differential, then pull the constant outside the integral.

∫e−x dx=∫eu⋅(−du)=−∫eu du=−eu+C\int e^{-x}\,dx = \int e^{u}\cdot(-du) = -\int e^{u}\,du = -e^{u} + C

Substituting u=−xu = -x back gives the answer in the original variable.

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

The general pattern

∫ekx dx=1kekx+C\int e^{kx}\,dx = \frac{1}{k}e^{kx} + C for any nonzero kk. With k=−1k = -1 the reciprocal 1−1\frac{1}{-1} is the leading minus.

Why the sign flips

Differentiating the answer shows where the minus earns its place. The chain rule attaches a factor of −1-1 to the derivative of e−xe^{-x}.

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

So e−xe^{-x} by itself differentiates to the negative of itself. The leading minus on the antiderivative cancels that stray sign.

ddx(−e−x)=−(−e−x)=e−x\frac{d}{dx}\left(-e^{-x}\right) = -\left(-e^{-x}\right) = e^{-x}

Common mistakes

  • Forgetting the negative and writing e−x+Ce^{-x} + C, which differentiates to −e−x-e^{-x}, the wrong sign.
  • Applying the power rule. The variable is in the exponent, not the base, so this is not e−x+1−x+1\frac{e^{-x+1}}{-x+1}.
  • Dividing by xx instead of the coefficient −1-1. Only the constant slope of the exponent, here −1-1, sets the factor.

Every answer on this page is machine checked

An automated test differentiates the antiderivative above and confirms it returns the integrand. A wrong sign or a missing factor fails the build, so it cannot reach you.

Frequently asked questions

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

∫0∞e−x dx=[−e−x]0∞=0−(−1)=1\int_0^{\infty} e^{-x}\,dx = \left[-e^{-x}\right]_0^{\infty} = 0 - (-1) = 1. As x→∞x \to \infty, e−x→0e^{-x} \to 0, so the improper integral converges to 11.

Why is the integral of e^(-x) negative?

Because the exponent −x-x has slope −1-1, and integrating divides by that slope. The factor 1−1=−1\frac{1}{-1} = -1 becomes the leading minus in −e−x+C-e^{-x} + C.

How does the integral of e^(-x) compare to its derivative?

They match: the derivative of e−xe^{-x} is −e−x-e^{-x}, and the antiderivative is −e−x+C-e^{-x} + C. The inner slope of −1-1 makes the function reproduce itself with a sign each time.