Why the Chain Rule Matters for Exponential and Logarithmic Functions
The basic derivative rules for exponential and logarithmic functions are simple: and . The difficulty begins when the exponent or logarithm contains something more complicated than just .
For example, is not simply an exponential function whose exponent is . The exponent itself is another function of . Likewise, contains a logarithm applied to the inner function .
Whenever one function is applied to another function, you should immediately think: chain rule.
The Core Chain Rule Formulas
If the outside function is and the inside function is , then:
For the natural exponential function, the chain rule gives:
For the natural logarithm, the chain rule gives:
These two formulas are worth knowing cold. The structure is very similar: differentiate the outside function, keep the inside intact, then multiply by the derivative of the inside.
Exponentials: The Most Important Pattern
Start with the basic derivative:
Now replace with a function . The chain rule gives:
Notice something important: when differentiating , the exponential expression stays exactly the same. The only new factor is , which comes from differentiating the exponent.
Worked Examples: Exponential Functions
Differentiate .
Differentiate .
Exponential Functions with Bases Other Than
The derivative of is:
When the exponent is itself a function, apply the chain rule:
There are now two factors in the derivative: the original exponential expression, the constant , and the derivative of the exponent.
Differentiate .
Logarithms: The Other Major Pattern
The basic derivative of the natural logarithm is:
If the input to the logarithm is itself a function, the chain rule adds the derivative of that inside function:
The most important pattern to recognize is therefore: one over the inside, multiplied by the derivative of the inside.
Differentiate .
Differentiate .
Logarithms with Bases Other Than
For logarithms with an arbitrary base , the derivative is:
If the argument is a function , apply the chain rule:
Differentiate .
A Useful AP Calculus Shortcut
On AP Calculus questions, you will often encounter an expression that looks intimidating but follows a familiar pattern. Train yourself to recognize these forms immediately:
The visual structure matters more than the specific numbers. Once you see an exponential or logarithm wrapped around another function, identify the inside function and multiply by its derivative.
Combining the Chain Rule with Other Derivative Rules
The chain rule rarely appears by itself on harder AP Calculus problems. You may need to combine it with the product rule, quotient rule, or another chain rule.
Differentiate .
Differentiate .
Nested Chain Rules
Sometimes the inside function contains another exponential or logarithmic function. In that situation, the chain rule can be applied more than once.
Differentiate .
Common Mistakes
A common error is writing for the derivative of . The exponential stays the same, but the chain rule requires multiplication by the derivative of the exponent.
The derivative of is not merely when is a function. The correct result is .
Expressions such as and may look similar, but they are different types of functions. For , the exponent is a variable expression and the derivative keeps the exponential function intact.
For a general exponential function , the derivative is not simply . You must include the factor .
Remember the pattern: . The derivative of the inside function belongs in the numerator.
Practice Problems
Differentiate .
Show answer
Differentiate .
Show answer
Differentiate .
Show answer
Differentiate .
Show answer
Differentiate .
Show answer
Differentiate .
Show answer
The Pattern to Remember
If you remember only one thing from this tutorial, remember the structure rather than memorizing dozens of separate examples:
For an exponential:
For a natural logarithm:
The chain rule is simply the mechanism that carries the derivative of the inside function through to the final answer.
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.
Get the Calc Pass App
Scan to download and practice on the go, with instant scoring.
Vol. 1: 1,114 Questions
The complete practice question bank, organized by AB & BC topic.
View on Amazon