Chain Rule - Complete Interactive Lesson
Part 1: Chain Rule Basics
🔗 The Chain Rule
Part 1 of 7 — Chain Rule Basics
Welcome to the Chain Rule — arguably the most important differentiation rule in calculus!
| Part | Topic |
|---|---|
| 1 | Chain Rule Basics |
| 2 | Nested Functions & Double Chain Rule |
| 3 | Implicit Differentiation |
| 4 | Related Rates |
| 5 | Advanced Applications |
| 6 | Problem-Solving Workshop |
| 7 | Comprehensive Review |
Why Do We Need the Chain Rule?
So far, you can differentiate functions like , , or . But what about composite functions — functions inside other functions?
- — expanding this is painful
- — can't use basic trig rule directly
- — the exponent isn't just
The Chain Rule handles ALL of these.
The Chain Rule Formula
In words: differentiate the outer function (leaving the inner function untouched), then multiply by the derivative of the inner function.
Leibniz Notation
If where , then:
Key Fact: The Chain Rule is needed whenever you see a function INSIDE another function. It appears in most derivative problems on the AP exam.
Worked Examples — Step by Step
Example 1: Find
| Step | Work |
|---|---|
| Identify layers | Outer: , Inner: |
| Differentiate outer | |
| Differentiate inner | |
| Multiply |
Example 2: Find
| Step | Work |
|---|---|
| Identify layers | Outer: , Inner: |
| Differentiate outer | |
| Differentiate inner | |
| Multiply |
Example 3: Find
Rewrite:
| Step | Work |
|---|---|
| Outer derivative | |
| Inner derivative | |
| Chain Rule |
Example 4: Find
| Step | Work |
|---|---|
| Outer: | (unchanged) |
| Inner: | |
| Chain Rule |
AP Tip: The most common Chain Rule error is forgetting to multiply by the inner derivative. Always ask: "Did I multiply by the derivative of what's inside?"
Apply the Chain Rule 🎯
Chain Rule Pattern Reference
Key Concept: Every basic derivative rule has a "chain rule version" where you multiply by the inner derivative.
| Function | Without Chain Rule | With Chain Rule |
|---|---|---|
The "Stuff" Method (Quick Shorthand)
Replace the inner function with "stuff":
| Function | Derivative ("stuff" method) |
|---|---|
AP Tip: This shorthand method is how most students actually think about Chain Rule on the exam. Practice until it's automatic!
More Chain Rule Practice 🎯
Identify the Outer Function 🔍
For each composite function, select the correct outer function.
Chain Rule computation. ✍️
Key Takeaways — Part 1
| Function Type | Derivative Pattern |
|---|---|
The #1 Chain Rule mistake: Forgetting the inner derivative. ALWAYS multiply by !
Up Next: Part 2 — Nested Functions & the Double Chain Rule.
Part 2: Nested Functions & Double Chain Rule
🔗 Nested Functions & Double Chain Rule
Part 2 of 7 — Nested Functions
When the Chain Rule Applies Twice
Some functions have three or more layers. For example:
Here we have three layers:
- Outermost:
- Middle:
- Innermost:
The general formula for nested compositions:
Key Concept: Each layer contributes one factor. Count layers = count factors in the derivative.
Worked Examples — Layer-by-Layer
Example 1:
| Layer | Function | Derivative |
|---|---|---|
| Outer | ||
| Middle | ||
| Inner | ||
| Result |
Bonus: By the double-angle identity, .
Example 2:
| Layer | Function | Derivative |
|---|---|---|
| Outer | ||
| Middle | ||
| Inner | ||
| Result |
Example 3:
| Layer | Derivative |
|---|---|
| Result |
Example 4:
| Layer | Derivative |
|---|---|
| Result |
AP Tip: Students commonly write for — forgetting the factor of from the innermost layer. Always ask: "Is there another layer inside?"
Nested Chain Rule Practice 🎯
How Many Chain Rule Applications?
Key Fact: The number of chain rule applications = number of layers minus 1.
| Function | Layers | Chain Rule Applications |
|---|---|---|
| 1 | 0 | |
| 2 (sin, 5x) | 1 | |
| 3 (square, sin, 5x) | 2 | |
| 4 (exp, square, sin, 5x) | 3 |
Strategy: Peel from the Outside In
Common Nested Patterns on the AP Exam
| Pattern | Derivative |
|---|---|
Multi-Layer Problems 🎯
How many Chain Rule applications? 🔍
For each function, select how many times you must apply the Chain Rule.
Double Chain Rule computation. ✍️
Key Takeaways — Part 2
| Mistake | Correct Approach |
|---|---|
| Stop after first layer | Multiply ALL layer derivatives |
| Confuse order of layers | Work outside → in |
| Forget innermost derivative | Always check the innermost layer |
| Differentiate the inner function | Leave the inner function unchanged inside the outer derivative |
Up Next: Part 3 — Implicit Differentiation using the Chain Rule.
Part 3: Implicit Differentiation
🔗 Implicit Differentiation
Part 3 of 7 — Implicit Differentiation
What Is Implicit Differentiation?
Sometimes a relationship between and is not solved for . For example:
This is a circle. We cannot easily write as a single function of . But we can still find using the Chain Rule.
The Key Idea
Why? Because is implicitly a function of , so:
Key Concept: Implicit differentiation is just the Chain Rule applied to , treating as a function of .
Step-by-Step Method
| Step | Action |
|---|---|
| 1 | Differentiate every term with respect to |
| 2 | Apply Chain Rule to any term with (attach ) |
| 3 | Use Product/Quotient Rule when and are multiplied/divided |
| 4 | Collect all terms on one side |
| 5 | Factor out |
| 6 | Solve for |
Worked Example 1: Circle
Find for
| Step | Work |
|---|---|
| Differentiate both sides | |
| Isolate | |
| Solve |
Notice: the derivative depends on BOTH and . This is typical for implicit differentiation.
Worked Example 2: Folium of Descartes
Find for
| Step | Work |
|---|---|
| Differentiate | |
| Group terms | |
| Factor | |
| Solve |
AP Tip: Implicit differentiation appears frequently on the AP exam, especially when finding slopes of tangent lines to curves.
Practice Implicit Differentiation 🎯
Implicit Differentiation with Trig Functions
Example 3:
| Step | Work |
|---|---|
| Differentiate | |
| Solve |
Key Fact: This is exactly how we derive the formula . Since with , .
Tangent Line Applications
Example 4: Find the slope of the tangent line to at .
| Step | Work |
|---|---|
| Differentiate | |
| Collect | |
| Solve | |
| Plug in |
Which Rules Are Needed?
| Term | Rule(s) Required |
|---|---|
| terms | Power Rule only |
| terms | Power Rule + Chain Rule () |
| products | Product Rule + Chain Rule |
| , , etc. | Chain Rule applied to |
Implicit Differentiation Applications 🎯
Second Derivatives (Implicit)
On the AP exam, you may be asked to find implicitly.
Example: For , find .
We already found . Now differentiate again using quotient rule:
Substitute :
Since :
AP Tip: When finding , substitute the original expression AND use the original equation to simplify. This is a common free-response technique.
Which differentiation rule is needed? 🔍
For each term (when differentiating with respect to ), select the rule needed.
Implicit Differentiation computation. ✍️
Key Takeaways — Part 3
| Step | Action |
|---|---|
| 1 | Differentiate both sides w.r.t. |
| 2 | Chain Rule on every term |
| 3 | Product Rule when and multiply |
| 4 | Collect, factor, solve for |
Common Errors:
- Forgetting on terms
- Missing the product rule on terms
- Substituting values before differentiating
Up Next: Part 4 — Related Rates (using implicit differentiation with respect to time).
Part 4: Related Rates Intro
🔗 Related Rates
Part 4 of 7 — Related Rates
What Are Related Rates?
In related rates problems, two or more quantities are changing with respect to time (), and they are connected by an equation. We use implicit differentiation (with respect to ) to find how fast one quantity changes given information about the other.
Key Concept: Related Rates = Implicit Differentiation with respect to time instead of .
The Strategy
| Step | Action | Details |
|---|---|---|
| 1 | Draw a picture | Label ALL changing quantities with variables |
| 2 | Write an equation | Relate the variables (geometry formulas, Pythagorean theorem, etc.) |
| 3 | Differentiate w.r.t. | Every variable gets (implicit diff) |
| 4 | Substitute known values | Plug in AFTER differentiating, never before! |
| 5 | Solve for unknown rate | Algebra |
AP Tip (Critical): Never substitute values of quantities that change before differentiating (constants such as a ladder's length may be used anytime). This is the #1 related rates mistake.
Worked Example 1: Expanding Circle
A stone is dropped in a pond. The circular ripple expands so that its radius increases at ft/s. How fast is the area increasing when the radius is ft?
| Step | Work |
|---|---|
| Known | ft/s, ft |
| Find | |
| Equation | |
| Differentiate | |
| Substitute | ft/s |
Worked Example 2: Ladder Problem
A 13-ft ladder leans against a wall. The bottom slides away at 2 ft/s. How fast is the top sliding down when the bottom is 5 ft from the wall?
| Step | Work |
|---|---|
| Setup | |
| Known | ft/s, |
| Find | |
| Differentiate | |
| Substitute | |
| Solve | ft/s |
The negative sign means the top is sliding down at ft/s.
Worked Example 3: Conical Tank
Water drains from a conical tank (vertex down) at ft/min. The cone has radius 3 ft and height 6 ft. How fast is the water level dropping when the depth is 4 ft?
Similar triangles: , so .
| Step | Work |
|---|---|
| Volume | |
| Differentiate | |
| Substitute | |
| Solve | ft/min |
Solve These Related Rates Problems 🎯
Essential Geometry Formulas for Related Rates
| Shape | Formula | Differentiated |
|---|---|---|
| Circle area | ||
| Circle circumference | ||
| Sphere volume | ||
| Sphere surface area | ||
| Cone volume | Product rule needed | |
| Right triangle | ||
| Rectangle area |
Common Related Rates Mistakes
| Mistake | Why It's Wrong |
|---|---|
| Substituting values before differentiating | Turns variables into constants — derivative becomes 0 |
| Forgetting to use similar triangles | Eliminates a variable (e.g., replacing with ) |
| Missing the negative sign | Decreasing quantities have negative rates |
| Using wrong formula | Double-check: is it area, volume, or distance? |
Advanced Related Rates 🎯
Related Rates Setup 🔍
Match each scenario with the correct geometric relationship.
Related Rates computation. ✍️
Key Takeaways — Part 4
| Problem Type | Key Formula |
|---|---|
| Expanding/contracting circle | |
| Sliding ladder | |
| Filling/draining cone | + similar triangles |
| Balloon inflation | |
| Separating objects |
Remember: Differentiate FIRST, substitute AFTER!
Up Next: Part 5 — Advanced Chain Rule Applications (Exponential & Inverse Trig Chain Rule).
Part 5: Exponential & Inverse Trig Chain Rule
🔗 Advanced Chain Rule Applications
Part 5 of 7 — Exponential & Inverse Trig Chain Rule
Exponential and Logarithmic Functions with an Inside Function
The derivative rules for , and each pick up a factor of when the input is a function :
Key Concept: The outer function decides the formula; the inside function only contributes its derivative as a factor.
When to Use Each Technique
| Situation | Technique |
|---|---|
| (constant exponent) | Power Rule + Chain Rule |
| (constant base) | |
Worked Example 1:
| Step | Work |
|---|---|
| Outer function | with |
| Outer derivative | |
| Times inner derivative |
Worked Example 2:
| Step | Work |
|---|---|
| Outer function | with |
| Inner derivative | (chain rule again, since the angle is ) |
| Combine |
AP Tip: Two layers of chain rule are common here: the outer or exponential, then a trig function, then its angle. Work from the outside in and write one factor per layer.
Exponential & Log Chain Rule 🎯
Chain Rule with Inverse Trig Functions
The inverse trig derivatives all require the Chain Rule when the argument is a composite:
| Function | Derivative (with Chain Rule) |
|---|---|
Key Fact: On the AP exam, is the most commonly tested inverse trig function. Know its derivative cold.
Worked Examples
Example 3:
Example 4:
Example 5:
Inverse Trig Derivatives 🎯
Match the derivative technique 🔍
For each function, select the best approach.
Inverse trig computation. ✍️
Key Takeaways — Part 5
| Technique | When to Use | Formula |
|---|---|---|
| Log Rule + Chain Rule | ||
| Inverse Trig + Chain Rule | , , etc. | Standard formulas × |
| Exponential (, ) | Constant base | , |
Up Next: Part 6 — Problem-Solving Workshop with mixed Chain Rule problems.
Part 6: Mixed Chain Rule Problems
🔗 Problem-Solving Workshop
Part 6 of 7 — Mixed Chain Rule Problems
Decision Framework
Every derivative problem begins with the same question: What is the outermost operation?
| Outermost Operation | Primary Rule | Then Apply |
|---|---|---|
| Sum/difference | Sum Rule | Chain Rule to each term |
| Product | Product Rule | Chain Rule inside each factor |
| Quotient | Quotient Rule | Chain Rule inside each part |
| Composition | Chain Rule directly | Continue peeling layers |
Key Strategy: Work from the OUTSIDE IN. The outermost operation determines which rule to start with.
Combining Chain Rule with Other Rules
Example 1: Product + Chain
Example 2: Quotient + Chain
Example 3: Chain on
Important: (Shortcut)
AP Tip: Sometimes rewriting as and using Product Rule is easier than Quotient Rule.
AP-Style Problems — Set 1 🎯
Table-Based Chain Rule Problems
On the AP exam, you may be given a table of values and asked to compute a composite function's derivative.
Key Fact: If , then . You need: from the table, then at that value, then .
| 1 | 3 | 2 | 4 | |
| 2 | 5 | 1 | 1 | |
| 3 | 6 | 3 | 2 |
Example: Find where .
Example: Find where .
But is not in the table — insufficient information!
AP Tip: Always check that the required values are in the table before computing. If gives a value not in the table, you can't find .
Table-Based & Mixed Problems 🎯
Use the table from the previous section.
Subtle Distinctions
These look similar but have very different derivatives:
| Function | Derivative | Rule Used |
|---|---|---|
| Chain Rule (or expand) | ||
| Constant Multiple | ||
| Exponential | ||
| Power Rule | ||
| Constant |
Key Principle: Know the difference between a constant exponent (Power Rule) and a constant base (Exponential Rule).
Identify the correct derivative 🔍
Match each function to its derivative.
Table-based Chain Rule computation. ✍️
Workshop Complete!
| Skill | Practiced |
|---|---|
| Product Rule + Chain Rule | |
| Quotient Rule + Chain Rule | |
| Chain on logarithms | |
| Table-based derivatives | |
| Subtle distinctions | vs vs |
Up Next: Part 7 — Comprehensive Review & Final Assessment.
Part 7: Chain Rule Review
🔗 Chain Rule — Comprehensive Review
Part 7 of 7 — Review & Final Assessment
Complete Chain Rule Summary
| Scenario | Technique | Key Formula |
|---|---|---|
| Basic composition | Chain Rule | |
| Nested (3+ layers) | Repeated Chain Rule | Multiply ALL layer derivatives |
| Implicit ( as fn of ) | Implicit Differentiation | Attach to every term |
| Rates changing w.r.t. time | Related Rates | Differentiate w.r.t. |
| , | Inverse Trig + Chain | Standard formula |
AP Exam Frequency
Key Fact: The Chain Rule appears in most derivative problems on the AP exam. It is embedded in:
- All implicit differentiation problems
- All related rates problems
- Most trig, exponential, and logarithmic derivatives
Quick Reference — All Chain Rule Patterns
| Function | Derivative |
|---|---|
Common Errors to Avoid
| Error | Example | Correct |
|---|---|---|
| Forgetting inner derivative | ||
| Confusing constant vs variable exponent | Treating like | vs |
| Missing Product Rule | ||
| Forgetting in implicit | instead of | Always attach |
| Substituting before differentiating | In related rates | Always differentiate first |
Comprehensive Assessment — Part A 🎯
No hints — test your mastery.
Comprehensive Assessment — Part B 🎯
Final Matching 🔍
Select the correct derivative.
Final Challenge ✍️
Chain Rule — Complete! ✅
| Topic | Mastered |
|---|---|
| Basic Chain Rule | |
| Nested Functions | Multiply all layer derivatives |
| Implicit Differentiation | Attach to terms |
| Related Rates | Differentiate w.r.t. |
| Inverse Trig + Chain | Standard formulas |
| Table-Based Problems | Look up , then |
The Chain Rule is the single most important differentiation technique. You are now ready to tackle any derivative problem on the AP exam!