Tutorials › AP Calculus › Substitution in Exponential Integrals

Antiderivatives and Substitution · Tutorial 499 of 999

Substitution in Exponential Integrals

Use substitution to integrate exponential expressions whose inner function and derivative appear together, including cases that require a constant-factor adjustment.

Intermediate 9 min read

What You'll Learn

  • Recognize when an exponential integrand contains the derivative of its exponent
  • Apply substitution to expressions with base e
  • Adjust constant factors when the derivative is present only up to a multiple
  • Integrate exponential functions with a positive base other than e
  • Check an antiderivative by differentiating it
  • Identify when the exponential substitution pattern does not directly apply

Why Substitution Works Well with Exponentials

The derivative of a composite exponential has a predictable form: differentiate the exponential, then multiply by the derivative of its exponent. This means that an integral containing both an exponential expression and the derivative of its exponent can often be recognized as a reverse chain rule.

For example, differentiating \(e^{x^2}\) gives \(2x e^{x^2}\). Therefore, an integral containing \(2x e^{x^2}\) has exactly the ingredients needed to reverse that differentiation. Substitution provides a systematic way to identify the relationship rather than relying on pattern recognition alone.

Key idea: If the integrand contains an exponential function of an inner expression and also contains the derivative of that inner expression, substitute for the inner expression. If the derivative appears multiplied by a constant, account for that constant.

The Exponential Substitution Rule

Let \(g\) be differentiable on an interval. The chain rule gives \(\frac{d}{dx}e^{g(x)}=e^{g(x)}g'(x)\). Reversing this derivative gives the basic integration rule.

Theorem: If \(g\) is differentiable on an interval, then \(\int e^{g(x)}g'(x)\,dx=e^{g(x)}+C\), where \(C\) is an arbitrary constant. More generally, if \(k\) is a constant, then \(\int k e^{g(x)}g'(x)\,dx=k e^{g(x)}+C\).

The factor \(g'(x)\) is essential: it is what accounts for the chain rule when the proposed antiderivative is differentiated. If the integrand contains a constant multiple \(c g'(x)\), the constant simply passes through: \(\int e^{g(x)}c g'(x)\,dx=c\,e^{g(x)}+C\). A compensating factor is needed in the opposite situation, when \(g'(x)=c\,h(x)\) for a nonzero constant \(c\) and the integrand contains only \(h(x)\): then \(\int e^{g(x)}h(x)\,dx=\frac{1}{c}e^{g(x)}+C\).

This adjustment follows because the derivative of \(\frac{1}{c}e^{g(x)}\) is \(\frac{1}{c}e^{g(x)}g'(x)=\frac{1}{c}e^{g(x)}\,c\,h(x)=e^{g(x)}h(x)\). In practice, it is safer to write the substitution explicitly and solve for the differential.

Constant-factor rule: If \(u=g(x)\) and the integrand contains \(e^{g(x)}g'(x)\), use \(du=g'(x)\,dx\). If it contains \(e^{g(x)}c g'(x)\), the constant \(c\) passes through and the antiderivative is \(c\,e^{g(x)}+C\). If it contains \(e^{g(x)}h(x)\) where \(g'(x)=c\,h(x)\), then \(h(x)\,dx=\frac{1}{c}\,du\), so the antiderivative has a factor of \(\frac{1}{c}\).

Deriving the Rule from Substitution

The rule is a direct consequence of substitution and the antiderivative of \(e^u\). The derivation also shows why matching the inner derivative matters.

1
Choose the inner expression.
Set \(u=g(x)\), so that \(du=g'(x)\,dx\).
2
Replace the matching factors.
The product \(e^{g(x)}g'(x)\,dx\) becomes \(e^u\,du\).
3
Integrate in the new variable.
Since \(\int e^u\,du=e^u+C\), the integral becomes \(e^u+C\).
4
Return to the original variable.
Substitute \(g(x)\) for \(u\), obtaining \(e^{g(x)}+C\).

Thus the substitution does not create a new integration formula. It converts a composite expression into the familiar exponential antiderivative, provided the differential factor matches.

Worked Examples with Base \(e\)

Worked Example: A Polynomial Exponent with Its Derivative

Evaluate \(\int 6x e^{3x^2-4}\,dx\).

The inner expression is \(3x^2-4\), whose derivative is \(6x\). Set \(u=3x^2-4\). Then \(du=6x\,dx\).

Substitute both the exponential and the matching differential:

$$ \begin{aligned} \int 6x e^{3x^2-4}\,dx &=\int e^u\,du\\ &=e^u+C\\ &=e^{3x^2-4}+C. \end{aligned} $$

Check by differentiation: \(\frac{d}{dx}e^{3x^2-4}=e^{3x^2-4}(6x)=6x e^{3x^2-4}\), which is the integrand. Therefore the antiderivative is correct.

Worked Example: Adjusting for a Missing Constant Factor

Evaluate \(\int 4x e^{2x^2+1}\,dx\).

Let \(u=2x^2+1\). Then \(du=4x\,dx\). The differential in the integral matches exactly, so no extra factor is required:

$$ \begin{aligned} \int 4x e^{2x^2+1}\,dx &=\int e^u\,du\\ &=e^u+C\\ &=e^{2x^2+1}+C. \end{aligned} $$

Check: \(\frac{d}{dx}e^{2x^2+1}=e^{2x^2+1}(4x)=4x e^{2x^2+1}\).

Now compare with \(\int 2x e^{2x^2+1}\,dx\). The same inner expression has derivative \(4x\), but the integral contains only \(2x\). Since \(du=4x\,dx\), it follows that \(2x\,dx=\frac{1}{2}du\). Thus

$$ \begin{aligned} \int 2x e^{2x^2+1}\,dx &=\frac{1}{2}\int e^u\,du\\ &=\frac{1}{2}e^u+C\\ &=\frac{1}{2}e^{2x^2+1}+C. \end{aligned} $$

Check: \(\frac{d}{dx}\left(\frac{1}{2}e^{2x^2+1}\right)=\frac{1}{2}e^{2x^2+1}(4x)=2x e^{2x^2+1}\), as required.

Exponentials with a Base Other Than \(e\)

For a positive constant base \(a\ne 1\), the derivative rule is \(\frac{d}{du}a^u=a^u\ln a\). The extra factor \(\ln a\) must be included when integrating. Consequently, \(\int a^u\,du=\frac{a^u}{\ln a}+C\). This gives a substitution rule for a composite exponent as well.

Theorem: If \(a>0\), \(a\ne1\), and \(g\) is differentiable, then \(\int a^{g(x)}g'(x)\,dx=\frac{a^{g(x)}}{\ln a}+C\). If the integrand contains a constant multiple \(c g'(x)\), the result is multiplied by \(c\): \(\int a^{g(x)}c g'(x)\,dx=\frac{c\,a^{g(x)}}{\ln a}+C\). If instead \(g'(x)=c\,h(x)\) and the integrand contains only \(h(x)\), the result is multiplied by \(\frac{1}{c}\).

Worked Example: Integrating a Composite Exponential with Base 5

Evaluate \(\int 5^{2x+3}\,dx\).

The exponent is \(2x+3\), with derivative \(2\), while the integrand has no visible factor of \(2\). Set \(u=2x+3\). Then \(du=2\,dx\), so \(dx=\frac{1}{2}du\). Substitute:

$$ \begin{aligned} \int 5^{2x+3}\,dx &=\frac{1}{2}\int 5^u\,du\\ &=\frac{1}{2}\cdot\frac{5^u}{\ln 5}+C\\ &=\frac{5^{2x+3}}{2\ln 5}+C. \end{aligned} $$

Check by differentiation:

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

The factor \(\ln 5\) from differentiating the exponential cancels with the denominator, and the factor \(2\) from the exponent cancels with the other denominator.

Worked Example: Separating Two Constant Adjustments

Worked Example: A Constant Outside and a Scaled Inner Derivative

Evaluate \(\int 12e^{4x-1}\,dx\).

Let \(u=4x-1\), so \(du=4\,dx\) and \(dx=\frac{1}{4}du\). Keeping the outside coefficient \(12\) visible,

$$ \begin{aligned} \int 12e^{4x-1}\,dx &=12\int e^u\left(\frac{1}{4}\,du\right)\\ &=3\int e^u\,du\\ &=3e^u+C\\ &=3e^{4x-1}+C. \end{aligned} $$

Check: \(\frac{d}{dx}\left(3e^{4x-1}\right)=3e^{4x-1}(4)=12e^{4x-1}\). The original coefficient and the derivative of the exponent combine to give the required factor.

Recognizing the Pattern and Its Limits

A practical way to inspect an exponential integral is to identify the exponent first, then differentiate it. Compare that derivative with the factors multiplying the exponential. The match may be exact or may differ by a constant.

Integrand structureWhat to notice
\(e^{g(x)}g'(x)\)The derivative of the exponent is present exactly.
\(e^{g(x)}c g'(x)\), with constant \(c\ne0\)Use \(g'(x)\,dx=du\); the constant \(c\) multiplies the result.
\(e^{g(x)}h(x)\), where \(g'(x)=c\,h(x)\) with constant \(c\ne0\)Use \(h(x)\,dx=\frac{1}{c}du\), so divide by \(c\).
\(a^{g(x)}g'(x)\), where \(a>0\) and \(a\ne1\)Use the antiderivative factor \(\frac{1}{\ln a}\).
An exponential with no matching derivative factorThis substitution pattern does not directly apply as written.

For instance, in \(\int e^{x^2}\,dx\), choosing \(u=x^2\) gives \(du=2x\,dx\), but the integral has no factor of \(x\). The substitution therefore does not turn the integral into a constant multiple of \(\int e^u\,du\). This does not justify inserting a missing factor; it means this particular direct pattern is unavailable.

Common Mistake: Multiplying by the Derivative Instead of Adjusting for It

A frequent error is to notice the derivative of the exponent and multiply by it again, even though the integral already contains a different factor. For example, consider \(\int 2x e^{2x^2+1}\,dx\). The exponent’s derivative is \(4x\), so the integrand contains half of that derivative.

A wrong calculation might say, “The exponent differentiates to \(4x\), so the answer is \(4e^{2x^2+1}\).” But differentiating that proposed answer gives \(\frac{d}{dx}(4e^{2x^2+1})=16x e^{2x^2+1}\), not \(2x e^{2x^2+1}\). The coefficient is incorrect.

The correct substitution is \(u=2x^2+1\), \(du=4x\,dx\), and therefore \(2x\,dx=\frac{1}{2}du\). It follows that \(\int 2x e^{2x^2+1}\,dx=\frac{1}{2}e^{2x^2+1}+C\). Differentiating this result gives \(2x e^{2x^2+1}\), exactly the original integrand.

Check the coefficient: After substituting, solve explicitly for the differential that appears in the integral. Do not add or remove a factor by inspection. Differentiating the final answer is a reliable way to verify the coefficient.

Summary

For exponential substitution, the exponent is the natural choice for the new variable. If \(u=g(x)\), then \(du=g'(x)\,dx\), so the integral simplifies when the integrand contains that derivative, possibly up to a constant factor. For base \(e\), the antiderivative of \(e^u\) is \(e^u\); for base \(a>0\), \(a\ne1\), the antiderivative is \(\frac{a^u}{\ln a}\).

The central check is always the chain rule in reverse: differentiate the proposed antiderivative and confirm that every coefficient and exponential factor reproduces the original integrand.

Check Your Understanding

For each question, identify the inner expression and account for any constant factor. Check each proposed antiderivative by differentiation.

  1. Evaluate \(\int 8x e^{4x^2-2}\,dx\).
  2. Evaluate \(\int 3x^2 e^{x^3+5}\,dx\).
  3. Evaluate \(\int e^{6x-1}\,dx\).
  4. Evaluate \(\int 2^{3x+2}\,dx\), stating the role of \(\ln 2\).
  5. Why does the direct exponential substitution pattern not immediately evaluate \(\int e^{x^2}\,dx\)?

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