Tutorials › AP Calculus › Exponential Antiderivatives

Antiderivatives and Substitution · Tutorial 486 of 999

Exponential Antiderivatives

Derive and apply the antiderivative formulas for exponential functions, keeping track of the base and checking each answer by differentiation.

Intermediate 9 min read

What You'll Learn

  • Find the antiderivative of \(e^x\) and explain why no extra factor is needed.
  • Derive the base-dependent factor for \(a^x\) when \(a>0\) and \(a\ne1\).
  • Handle bases greater than one, between zero and one, and equal to one.
  • Verify exponential antiderivatives by differentiating them.
  • Identify and correct the error of multiplying by \(\ln a\) instead of dividing by it.

Why Exponential Antiderivatives Need Care

Exponential functions are unusual among familiar functions because their derivatives are proportional to the original function. That makes their antiderivatives closely related to themselves, but the proportionality factor matters.

For the natural exponential \(e^x\), the derivative is \(e^x\), so its antiderivative has the same form. For another positive base, such as \(5\), differentiation introduces a factor of \(\ln 5\). To reverse that derivative, an antiderivative must compensate by dividing by \(\ln 5\).

This distinction is useful whenever an exponential function describes a quantity whose rate of change is proportional to its current value. Finding an antiderivative recovers a function with that exponential rate, while differentiation provides a direct check that the factor is correct.

The Exponential Derivative Rule

For \(a>0\), the real exponential function with base \(a\) can be written as \(a^x=e^{x\ln a}\). By the chain rule and the derivative of \(e^x\),

$$ \frac{d}{dx}a^x = \frac{d}{dx}e^{x\ln a} = e^{x\ln a}\ln a = a^x\ln a. $$

Here \(a\) is a fixed positive number, so \(\ln a\) is constant with respect to \(x\). In the special case \(a=e\), \(\ln e=1\), and therefore \(\frac{d}{dx}e^x=e^x\).

Definition: An antiderivative of a function \(f\) on an interval is a function \(F\) whose derivative is \(f\) at every point of that interval. The notation \(\int f(x)\,dx\) represents the family of antiderivatives, including an arbitrary constant \(C\).

Deriving the Antiderivative Formula

Suppose \(a>0\) and \(a\ne1\). Since \(\ln a\ne0\), we can look for an antiderivative of \(a^x\) in the form \(K a^x\), where \(K\) is a constant. Differentiating gives

$$ \frac{d}{dx}(K a^x)=K a^x\ln a. $$

For this derivative to equal \(a^x\), the constant must satisfy \(K\ln a=1\). Thus \(K=1/\ln a\). The derivation also shows why dividing by the logarithm of the base is necessary.

$$ \int a^x\,dx=\frac{a^x}{\ln a}+C \qquad (a>0,\ a\ne1). $$

When the base is \(e\), its logarithm is one, so this formula reduces to the particularly simple result below.

$$ \int e^x\,dx=e^x+C. $$

The constant \(C\) appears because adding a constant to a function does not change its derivative. In fact, on an interval, any two antiderivatives of the same function differ by a constant: their difference has derivative zero, and the Mean Value Theorem implies that a function with zero derivative throughout an interval is constant there.

Theorem: For \(a>0\) with \(a\ne1\), every antiderivative of \(a^x\) on an interval is \(\frac{a^x}{\ln a}+C\). Every antiderivative of \(e^x\) is \(e^x+C\).

Worked Examples

Worked Example: Integrating the Natural Exponential

Find \(\int e^x\,dx\), then check the result.

The derivative of \(e^x\) is \(e^x\), so an antiderivative is

$$ \int e^x\,dx=e^x+C. $$

To check, differentiate the proposed antiderivative:

$$ \frac{d}{dx}(e^x+C)=e^x+0=e^x. $$

The derivative matches the integrand, so the result is correct. The constant \(C\) represents all possible vertical shifts of this antiderivative.

Worked Example: Integrating an Exponential with Base 5

Find \(\int 5^x\,dx\), then verify the base-dependent factor.

The base is positive and is not one, so use the formula with denominator \(\ln 5\):

$$ \int 5^x\,dx=\frac{5^x}{\ln 5}+C. $$

Differentiate the nonconstant part. Since \(\ln 5\) is a constant,

$$ \frac{d}{dx}\left(\frac{5^x}{\ln 5}+C\right) = \frac{1}{\ln 5}\frac{d}{dx}(5^x) = \frac{1}{\ln 5}(5^x\ln 5) = 5^x. $$

The factors \(\ln 5\) cancel, leaving exactly the original integrand. This confirms that the denominator is required.

Worked Example: A Base Between Zero and One

Find an antiderivative of \(6(1/3)^x\) and check it.

The base \(1/3\) is positive and not one, so the exponential formula applies. By the logarithm rule \(\ln(1/3)=-\ln 3\),

$$ \int 6\left(\frac13\right)^x\,dx = \frac{6(1/3)^x}{\ln(1/3)}+C = -\frac{6}{\ln 3}\left(\frac13\right)^x+C. $$

Now differentiate the proposed expression:

$$ \begin{aligned} \frac{d}{dx}\left[-\frac{6}{\ln 3}\left(\frac13\right)^x+C\right] &= -\frac{6}{\ln 3}\left(\frac13\right)^x\ln\left(\frac13\right)\\ &= -\frac{6}{\ln 3}\left(\frac13\right)^x(-\ln 3)\\ &= 6\left(\frac13\right)^x. \end{aligned} $$

The derivative equals the integrand. The negative coefficient in the antiderivative is correct because \(\ln(1/3)\) is negative.

Worked Example: The Exceptional Base 1

Find \(\int 1^x\,dx\). The general formula with denominator \(\ln a\) does not apply at \(a=1\), because \(\ln 1=0\).

Since \(1^x=1\) for every real \(x\), an antiderivative is

$$ \int 1^x\,dx=\int 1\,dx=x+C. $$

Check by differentiation:

$$ \frac{d}{dx}(x+C)=1=1^x. $$

Thus base one has a simple antiderivative, but it must be handled separately from the formula for \(a\ne1\).

Why the Formula Works for Every Allowed Base

The base-dependent formula can be verified directly, without guessing. For \(a>0\), \(a\ne1\), differentiate the proposed expression:

$$ \frac{d}{dx}\left(\frac{a^x}{\ln a}+C\right) = \frac{1}{\ln a}\frac{d}{dx}(a^x) = \frac{1}{\ln a}(a^x\ln a) = a^x. $$

This check establishes that the expression is an antiderivative. To see that it gives the full family, let \(F\) be any other antiderivative of \(a^x\) on the same interval. The difference between \(F\) and the displayed antiderivative has derivative

$$ \frac{d}{dx}\left(F(x)-\frac{a^x}{\ln a}\right) = a^x-a^x = 0. $$

A differentiable function with derivative zero on an interval is constant there, by the Mean Value Theorem. Hence \(F(x)-a^x/\ln a=C\) for some constant \(C\), which gives \(F(x)=a^x/\ln a+C\). The same reasoning applies to \(e^x\), whose derivative is itself.

A Common Mistake: Multiplying by \(\ln a\)

A frequent error is to place \(\ln a\) in the numerator and propose \(a^x\ln a\) as an antiderivative of \(a^x\). Differentiating that expression shows why the placement matters:

$$ \frac{d}{dx}(a^x\ln a) = (a^x\ln a)(\ln a) = a^x(\ln a)^2. $$

This generally is not \(a^x\). It equals \(a^x\) only when \((\ln a)^2=1\), which occurs for \(a=e\) or \(a=1/e\). For example, at base \(2\), the incorrect proposal gives

$$ \frac{d}{dx}(2^x\ln 2)=2^x(\ln 2)^2\ne 2^x, $$

because \((\ln 2)^2\ne1\). The corrected antiderivative is \(2^x/\ln 2+C\), and its derivative is

$$ \frac{d}{dx}\left(\frac{2^x}{\ln 2}+C\right) = \frac{2^x\ln 2}{\ln 2} = 2^x. $$

The exceptional bases do not change the general formula: for \(e\) and \(1/e\), dividing by \(\ln a\) still gives a valid antiderivative. The expression with \(\ln a\) in the numerator happens to work at those bases because its extra factor squares to one.

Choosing the Correct Case

Before applying an exponential antiderivative formula, identify the base. The cases can be summarized as follows:

IntegrandAntiderivativeCondition
\(e^x\)\(e^x+C\)Natural exponential
\(a^x\)\(\frac{a^x}{\ln a}+C\)\(a>0\), \(a\ne1\)
\(1^x=1\)\(x+C\)Base equals one

If an integrand is a constant multiple of one of these functions, that constant multiple remains in the answer. For example, differentiating \(k a^x/\ln a\), where \(k\) is constant and \(a>0\), \(a\ne1\), gives

$$ \frac{d}{dx}\left(\frac{k a^x}{\ln a}\right) = \frac{k}{\ln a}(a^x\ln a) = k a^x. $$

This is simply the same derivative check with the fixed coefficient carried through. For any proposed antiderivative, differentiating it and comparing the result with the original integrand is the most reliable way to catch a missing or misplaced factor.

Check Your Understanding

Use the derivative rule for \(a^x\) to solve each problem, and check your answer by differentiation.

  1. Find an antiderivative of \(e^x\).
  2. Find an antiderivative of \(7^x\). What factor involving the base is required?
  3. Find an antiderivative of \((1/5)^x\). Explain the sign of its coefficient.
  4. Why does the formula \(\frac{a^x}{\ln a}+C\) require \(a\ne1\), and what is an antiderivative when \(a=1\)?
  5. Differentiate \(a^x\ln a\). For which positive bases does this derivative equal \(a^x\)?

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon