The chain rule is arguably the most important differentiation technique in calculus. While the power, product, and quotient rules handle simple functions, most real-world functions are compositions — a function inside another function. Every time you see , , or , the chain rule is required.
On the AP Calculus AB exam, the chain rule appears in nearly every differentiation problem, often combined with the product or quotient rule. It is also essential for related rates, implicit differentiation, and integration by substitution (which is the chain rule in reverse).
This guide will teach you to identify composite functions, apply the chain rule confidently, handle nested compositions, and combine the chain rule with other derivative rules.
Core Concepts
What Is a Composite Function?
A composite function is a function applied to another function. If , we call the inner function and the outer function.
Examples:
- : outer = , inner =
- : outer = , inner =
- : outer = , inner =
- : outer = , inner =
The Chain Rule Formula
If , then:
In words: derivative of the outer function (evaluated at the inner function) times the derivative of the inner function.
In Leibniz notation, if and :
This looks like the 's "cancel," which is a useful mnemonic (though not rigorous).
The Generalized Power Rule
The most common application of the chain rule is with powers:
where is any function of . For example:
Chain Rule with Trigonometric Functions
Every trig derivative gains a factor of the inner derivative:
Examples:
Chain Rule with Exponentials and Logarithms
Examples:
Nested Chain Rule (Multiple Layers)
Sometimes functions have more than two layers. Apply the chain rule from the outside in, multiplying each derivative:
Three layers: outer = , middle = , innermost = .
Chain Rule Combined with Product Rule
Many AP problems require both rules simultaneously. Differentiate the product using the product rule, and apply the chain rule whenever you differentiate a composite factor.
Example:
Product rule:
Chain Rule Combined with Quotient Rule
Example:
Quotient rule, with chain rule on :
Implicit Differentiation and the Chain Rule
Implicit differentiation is the chain rule applied to as a function of . Whenever you differentiate a term involving , multiply by :
This connection to implicit differentiation makes the chain rule essential for related rates problems.
Strategy Tips
Tip 1: Identify the Layers Before You Start
Before writing anything, pause and identify the outer and inner functions. For a triple composition like , list the layers: outer = , middle = , inner = .
Tip 2: Work from the Outside In
Always differentiate the outermost function first, keeping the inner function unchanged. Then multiply by the derivative of the inner function. For multiple layers, repeat.
Tip 3: Don't Forget the Inner Derivative
The most common chain rule error is forgetting to multiply by the derivative of the inner function. Every time you differentiate a composite, ask yourself: "Did I multiply by the inside derivative?"
Tip 4: Use Leibniz Notation for Complex Problems
If a problem is complicated, introduce a substitution: let , find and separately, then multiply. This breaks the problem into manageable steps.
Tip 5: Recognize Chain Rule in Reverse (for Integration)
Understanding the chain rule well prepares you for -substitution in integration. If , then .
Worked Example: Example 1
Differentiate .
Outer function: . Inner function: .
Worked Example: Example 2
Find if .
Three layers: outer = , middle = , inner = .
Worked Example: Example 3
Differentiate .
Rewrite: . Three layers: outer = , middle = , inner = .
Worked Example: Example 4
Find .
This requires both the product rule and chain rule.
Product rule: .
The second term needs the chain rule:
Factor out :
Worked Example: Example 5
Given , find .
Differentiate both sides with respect to :
The comes from applying the chain rule to (since is a function of ).
Solve for :
Practice Problems
Problem 1
Differentiate .
Answer:
Problem 2
Find .
Hint: Write as and apply the chain rule twice.
Answer:
Problem 3
Differentiate .
Answer:
Problem 4
Find .
Answer:
Problem 5
Differentiate using the quotient and chain rules.
Answer:
Want to check your answers and get step-by-step solutions?
Common Mistakes
- Forgetting the inner derivative entirely. This is the #1 chain rule error. For example, writing instead of . Always multiply by the derivative of the inner function.
- Stopping too early on multi-layer compositions. For , you need to apply the chain rule three times: power rule, then sine derivative, then the derivative of .
- Confusing with . The notation means , while means applied to . These have completely different derivatives.
- Incorrectly applying the chain rule inside a product. When you have a product like , use the product rule first. The chain rule only applies when differentiating the part.
- Sign errors with negative exponents inside the chain. When differentiating , the result is . Don't drop the negative or the inner derivative.
Frequently Asked Questions
How do I know when to use the chain rule?
Use the chain rule whenever you are differentiating a composite function — that is, whenever the "input" to a function is not just plain . If you see , where the expression isn't just , or , you need the chain rule.
Can I use the chain rule and product rule at the same time?
Absolutely, and you will do this frequently on the AP exam. Use the product rule for the overall structure, and apply the chain rule whenever you differentiate a composite factor.
What if there are three or more nested functions?
Apply the chain rule repeatedly, from the outside in. For , the derivative is . Each layer multiplies by the next derivative.
Is implicit differentiation just the chain rule?
Yes! When you differentiate with respect to and write , you are applying the chain rule with as the inner function. Understanding this connection makes implicit differentiation much more intuitive.
How does the chain rule connect to $u$-substitution in integration?
-substitution is the chain rule in reverse. Since , we can write . Recognizing this pattern is key to choosing good substitutions.
Key Takeaways
The chain rule is essential for composite functions. Any time a function is applied to something other than plain , you need the chain rule.
Derivative of outer times derivative of inner. This is the core pattern — practice it until it becomes automatic.
Work from outside in for nested functions. Differentiate the outermost layer first, leaving the inner function unchanged, then multiply by the inner derivative.
The chain rule combines with every other rule. Expect product + chain, quotient + chain, and multi-layer chains on the AP exam.
Forgetting the inner derivative is the most common error. Always ask: "Did I multiply by the derivative of what's inside?"
Implicit differentiation is the chain rule applied to . Every term gets a factor because is a function of .
