Tutorials › Calculus I › The Chain Rule for Natural Exponentials

Exponential and Logarithmic Derivatives · Tutorial 527 of 1495

The Chain Rule for Natural Exponentials

Use the chain rule to differentiate natural exponentials with differentiable exponents, and check each factor and condition carefully.

Intermediate 8 min read

What You'll Learn

  • State the derivative rule for the natural exponential of a differentiable function.
  • Identify the outer function and inner function in a composite exponential.
  • Explain why the derivative includes the derivative of the exponent.
  • Apply the rule to polynomial and trigonometric exponents.
  • Evaluate composite-exponential derivatives at specified inputs.
  • Diagnose the missing-chain-factor error and correct it.

From the Basic Exponential to a Composite Exponential

The derivative of \(e^x\) is \(e^x\). This special property makes natural exponentials convenient to differentiate, but it does not mean that every expression involving \(e\) has derivative equal to itself. If the exponent is a function of \(x\), its rate of change must also be included.

For example, in \(e^{x^2}\), the exponent changes at a rate of \(2x\). The derivative therefore involves both the original exponential and the derivative of its exponent. This is an application of the chain rule: differentiate the outer function, then multiply by the derivative of the inner function.

The central rule: If \(u\) is differentiable at \(x\), then the derivative of \(e^{u(x)}\) is \(e^{u(x)}u'(x)\). The factor \(u'(x)\) accounts for how quickly the exponent changes.

The Rule and Its Conditions

Let \(I\) be an open interval, let \(u:I\to\mathbb{R}\) be differentiable, and define \(f:I\to\mathbb{R}\) by \(f(x)=e^{u(x)}\). Since the exponential function is differentiable at every real number, the chain rule applies at every \(x\in I\).

$$ \frac{d}{dx}\left(e^{u(x)}\right)=e^{u(x)}u'(x). $$

The result is local as well: it is enough for \(u\) to be differentiable at a particular point \(a\) to conclude that the composite is differentiable there and that \(f'(a)=e^{u(a)}u'(a)\). The exponent must have a real value in a neighborhood of the point under consideration, so the real-valued natural exponential is defined. In the usual real-variable setting, a differentiable real-valued \(u\) on an open interval meets this condition.

To use the formula, identify \(u(x)\), keep the entire exponent in the exponential factor, and multiply by \(u'(x)\). The derivative of \(u\) is not a replacement for the exponential factor; both factors are needed.

Why the Exponent’s Derivative Appears

The chain rule explains the multiplication in the formula. The outer function is \(g(y)=e^y\), and the inner function is \(u(x)\). The derivative of the outer function at \(y\) is \(g'(y)=e^y\). Substituting \(y=u(x)\) gives \(g'(u(x))=e^{u(x)}\), and the chain rule multiplies this by \(u'(x)\).

Here is the same reasoning from the definition of derivative. Fix a point \(a\) where \(u\) is differentiable, and write \(\Delta u=u(a+h)-u(a)\). Differentiability of \(u\) gives \(\Delta u=u'(a)h+o(h)\) as \(h\to0\). Differentiability of the exponential at \(u(a)\), together with \((e^y)'=e^y\), gives

$$ e^{u(a)+\Delta u}-e^{u(a)} =e^{u(a)}\Delta u+o(\Delta u). $$

Because \(\Delta u=u'(a)h+o(h)\), we have \(\Delta u=O(h)\). Thus the remainder \(o(\Delta u)\) is also \(o(h)\). Substituting the expression for \(\Delta u\) yields

$$ e^{u(a+h)}-e^{u(a)} =e^{u(a)}u'(a)h+o(h). $$

Divide by \(h\ne0\) and take the limit as \(h\to0\). The term \(o(h)/h\) tends to zero, so

$$ \lim_{h\to0}\frac{e^{u(a+h)}-e^{u(a)}}{h} =e^{u(a)}u'(a). $$

This proves the stated derivative formula at \(a\). It also shows why the exponent’s rate of change must appear: a small change in \(x\) first changes \(u(x)\), and the exponential responds to that change.

Worked Examples

Worked Example: A Polynomial Exponent

Differentiate \(f(x)=e^{x^2+1}\), then find \(f'(1)\).

Set \(u(x)=x^2+1\). Differentiate the exponent: \(u'(x)=2x\). Apply the rule to the whole exponent:

$$ f'(x)=e^{x^2+1}(2x)=2x e^{x^2+1}. $$

At \(x=1\), the exponent is \(1^2+1=2\), and the exponent’s derivative is \(2(1)=2\). Therefore

$$ f'(1)=e^2\cdot 2=2e^2. $$

Check: the outer derivative contributes \(e^{x^2+1}\), and the inner derivative contributes \(2x\). Evaluating those two factors at \(1\) gives \(e^2\) and \(2\), whose product is \(2e^2\), as found.

Worked Example: A Trigonometric Exponent

Differentiate \(g(x)=e^{\sin x}\), then find \(g'\left(\frac{\pi}{6}\right)\). The sine derivative formula is applied with angles measured in radians.

Here \(u(x)=\sin x\), so \(u'(x)=\cos x\). The chain rule gives

$$ g'(x)=e^{\sin x}\cos x. $$

At \(x=\frac{\pi}{6}\), \(\sin\left(\frac{\pi}{6}\right)=\frac12\) and \(\cos\left(\frac{\pi}{6}\right)=\frac{\sqrt{3}}{2}\). Substituting both values gives

$$ g'\left(\frac{\pi}{6}\right) =e^{1/2}\cdot\frac{\sqrt{3}}{2} =\frac{\sqrt{3}}{2}e^{1/2}. $$

Check: the exponential factor at this input is \(e^{1/2}\), and the rate of change of the exponent is \(\sqrt{3}/2\). Their product is the derivative value above.

Worked Example: A Cubic Polynomial Exponent

Differentiate \(h(x)=e^{x^3-2x}\), then find \(h'(2)\).

Let \(u(x)=x^3-2x\). Differentiating term by term gives \(u'(x)=3x^2-2\). Therefore

$$ h'(x)=e^{x^3-2x}(3x^2-2). $$

At \(x=2\), evaluate the exponent and its derivative separately:

$$ u(2)=2^3-2(2)=8-4=4, $$ $$ u'(2)=3(2^2)-2=3(4)-2=12-2=10. $$

Hence

$$ h'(2)=e^4\cdot10=10e^4. $$

Check: substituting \(x=2\) into the derivative formula gives \(e^{2^3-2(2)}(3(2^2)-2)=e^4(10)=10e^4\), agreeing with the separate evaluation.

A Reliable Procedure

For a derivative of the form \(e^{u(x)}\), use the following steps. The important point is to treat the exponent as a complete inner function rather than as a decorative part of the notation.

1
Name the inner function.
Write \(u(x)\) for the complete exponent, including all its terms and operations.
2
Differentiate the exponent.
Find \(u'(x)\) using the appropriate differentiation rules.
3
Keep the exponential factor.
Write \(e^{u(x)}\) unchanged, then multiply it by \(u'(x)\).
4
Evaluate only after differentiating.
If a derivative value is required, substitute the input into both factors and simplify their product.

Common Mistake: Omitting the Chain Factor

A frequent error is to use the fact that the derivative of \(e^x\) is \(e^x\), but overlook that the exponent is not simply \(x\). For \(q(x)=e^{3x^2}\), the incorrect calculation is

$$ \text{Incorrect:}\qquad q'(x)=e^{3x^2}. $$

This calculation differentiates the outer exponential but does not account for the changing exponent. The inner function is \(u(x)=3x^2\), and its derivative is \(u'(x)=6x\). The corrected calculation is

$$ q'(x)=e^{3x^2}(6x)=6x e^{3x^2}. $$

For a concrete check at \(x=1\), the incorrect expression gives \(e^3\), whereas the rule gives \(6e^3\). The factor \(6\) is required because the exponent’s rate of change at \(1\) is \(6\). Omitting it gives the wrong rate.

A related notation error is to write \(e^{u'(x)}\). That changes the exponent rather than multiplying by its derivative. The correct structure is \(e^{u(x)}u'(x)\): the original exponent stays inside \(e^{(\cdot)}\), and its derivative is a separate factor.

When the Rule Is Useful

Natural exponentials of functions occur whenever a quantity depends exponentially on a changing input. The chain rule lets us compute the instantaneous rate of change without treating the exponent as constant. Its two factors have distinct roles: \(e^{u(x)}\) records the current exponential value, while \(u'(x)\) records how rapidly the exponent changes.

This distinction is also useful for checking an answer. If \(u'(x)=0\) at a point, the composite derivative there must be zero, because the exponent has zero instantaneous rate of change. If \(u'(x)\) is negative, then \(e^{u(x)}\) remains positive, so the derivative is negative. These conclusions follow directly from the product \(e^{u(x)}u'(x)\).

Before accepting a result, check three things: the exponent in the exponential is unchanged, the derivative of the entire exponent is present, and that derivative is multiplied rather than placed in the exponent. Also verify that the exponent is differentiable at the point where the formula is being used.

Check Your Understanding

For each question, identify the exponent and its derivative before simplifying.

  1. Differentiate \(f(x)=e^{x^4}\).
  2. Differentiate \(g(x)=e^{\cos x}\).
  3. For \(p(x)=e^{2x^3-x}\), find \(p'(1)\).
  4. If \(r(x)=e^{u(x)}\), with \(u\) differentiable and \(u'(a)=0\), what is \(r'(a)\)? Explain using the rule.
  5. A student claims that the derivative of \(e^{5x^2+1}\) is \(e^{5x^2+1}\). Identify the missing factor and give the corrected derivative.

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): 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