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.

exdx=ex+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=xdudx=1dx=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.

exdx=eu(du)=eudu=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.

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

The general pattern

ekxdx=1kekx+C\int e^{kx}\,dx = \frac{1}{k}e^{kx} + C for any nonzero kk. With k=1k = -1 the reciprocal 11\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 exe^{-x}.

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

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

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

Common mistakes

  • Forgetting the negative and writing ex+Ce^{-x} + C, which differentiates to ex-e^{-x}, the wrong sign.
  • Applying the power rule. The variable is in the exponent, not the base, so this is not ex+1x+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?

0exdx=[ex]0=0(1)=1\int_0^{\infty} e^{-x}\,dx = \left[-e^{-x}\right]_0^{\infty} = 0 - (-1) = 1. As xx \to \infty, ex0e^{-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 11=1\frac{1}{-1} = -1 becomes the leading minus in ex+C-e^{-x} + C.

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

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