The Chain Rule: Complete Mastery Guide

The Chain Rule is arguably the most important derivative rule in calculus. Master it with our comprehensive guide featuring intuitive explanations, 20+ worked examples ranging from basic to advanced, proven shortcuts, and practice problems with detailed solutions.

🔥 Why the Chain Rule Matters

The Chain Rule appears in approximately 70% of all calculus problems. If you can't recognize and apply it fluently, you'll struggle with derivatives, integrals, optimization, and beyond. This is THE rule to master completely!

🔗 What is the Chain Rule?

The Chain Rule allows us to differentiate composite functions - functions that are "nested" inside other functions.

Recognizing Composite Functions

A composite function has the form f(g(x)), where one function is inside another function.

💡 Examples of Composite Functions
  • (x² + 1)⁵ → The function x² + 1 is raised to the 5th power
  • sin(3x) → The function 3x is inside the sine function
  • e^(x²) → The function x² is in the exponent
  • √(x³ - 2x) → The function x³ - 2x is inside the square root
❌ Common Misconception

d/dx[sin(3x)] = cos(3x) ← WRONG!

The correct answer is: 3cos(3x) (using Chain Rule)

💡 Quick Recognition Test

Ask yourself: "Is there a function INSIDE another function?" If yes, you need the Chain Rule!

📐 The Formula & Intuition

The Chain Rule Formula

d/dx[f(g(x))] = f'(g(x)) · g'(x)

In Words: "Derivative of the outer function (keeping the inside unchanged) TIMES the derivative of the inner function"

The Step-by-Step Process

🎯 Chain Rule in 3 Steps
1 Identify the "outside" and "inside" functions

Label them clearly: outer = f, inner = g

2 Differentiate the outside function (keep inside alone)

Find f'(g(x)) - pretend the inside is just a variable

3 Multiply by the derivative of the inside

Find g'(x) and multiply it by your result from Step 2

💡 Memory Aid: "Outside-Inside" Method

Think of it like unwrapping a gift: First unwrap the outside layer (differentiate outer function), then unwrap the inside layer (differentiate inner function).

🌱 Basic Chain Rule Examples

Let's start with simple examples to build confidence and muscle memory.

📝 Example 1: Power of a Polynomial EASY

Find: d/dx[(x² + 1)⁵]

1 Identify:
  • Outer function: ( )⁵ (something to the 5th power)
  • Inner function: x² + 1
2 Differentiate outer (keep inner):
  • f(u) = u⁵ → f'(u) = 5u⁴
  • f'(g(x)) = 5(x² + 1)⁴
3 Multiply by derivative of inner:
  • g(x) = x² + 1 → g'(x) = 2x
  • Final answer: 5(x² + 1)⁴ · 2x = 10x(x² + 1)⁴
📝 Example 2: Trig Function with Linear Inside EASY

Find: d/dx[sin(3x)]

1 Identify:
  • Outer: sin( )
  • Inner: 3x
2 Differentiate outer:
  • d/dx[sin(u)] = cos(u)
  • cos(3x)
3 Multiply by derivative of inner:
  • d/dx[3x] = 3
  • Final answer: 3cos(3x)
📝 Example 3: Exponential Function EASY

Find: d/dx[e^(5x)]

Solution: e^(5x) · 5 = 5e^(5x)

📝 Example 4: Square Root (Radical) EASY

Find: d/dx[√(x² + 4)]

Rewrite as (x² + 4)^(1/2)

Solution: (1/2)(x² + 4)^(-1/2) · 2x = x/√(x² + 4)

⚡ Intermediate Chain Rule Examples

📝 Example 5: Chain with Power Rule MEDIUM

Find: d/dx[(2x³ - 5x + 1)⁷]

Solution: 7(2x³ - 5x + 1)⁶ · (6x² - 5) = 7(6x² - 5)(2x³ - 5x + 1)⁶

📝 Example 6: Product Rule + Chain Rule MEDIUM

Find: d/dx[x² · sin(x³)]

Use Product Rule: (first · d/dx[second]) + (second · d/dx[first])

Solution: x² · 3x²cos(x³) + sin(x³) · 2x = 3x⁴cos(x³) + 2xsin(x³)

📝 Example 7: Double Chain Rule MEDIUM

Find: d/dx[sin²(3x)]

Three layers: ( )², sin( ), 3x

Solution: 2sin(3x) · cos(3x) · 3 = 6sin(3x)cos(3x)

📝 Example 8: Quotient + Chain MEDIUM

Find: d/dx[cos(2x)/(x² + 1)]

Solution: [−2sin(2x)(x² + 1) − cos(2x)(2x)] / (x² + 1)²

🚀 Advanced Chain Rule Applications

📝 Example 9: Triple Nested Chain HARD

Find: d/dx[e^(sin(x²))]

Three layers: e^( ), sin( ), x²

Solution: e^(sin(x²)) · cos(x²) · 2x = 2xe^(sin(x²))cos(x²)

📝 Example 10: Logarithmic Chain Rule HARD

Find: d/dx[ln(√(x² + 1))]

Simplify: ln(√(x² + 1)) = (1/2)ln(x² + 1)

Solution: (1/2) · [1/(x² + 1)] · 2x = x/(x² + 1)

📝 Example 11: Implicit Differentiation HARD

Find dy/dx: x² + y² = 25

Differentiate both sides (y is function of x, use Chain Rule on y²)

2x + 2y(dy/dx) = 0

Answer: dy/dx = -x/y

⚠️ Common Mistakes to Avoid

❌ Mistake #1: Forgetting to Multiply by Inner Derivative

Wrong: d/dx[sin(2x)] = cos(2x)

Right: d/dx[sin(2x)] = cos(2x) · 2 = 2cos(2x)

Why: You MUST multiply by the derivative of the inside (2x)!

❌ Mistake #2: Changing the Inside Function

Wrong: d/dx[(x² + 1)⁵] = 5(2x)⁴ · 2x

Right: d/dx[(x² + 1)⁵] = 5(x² + 1)⁴ · 2x

Why: When differentiating the outer, keep the inside EXACTLY as it was!

❌ Mistake #3: Using Power Rule on Exponentials

Wrong: d/dx[e^(x²)] = x² · e^(x²−1)

Right: d/dx[e^(x²)] = e^(x²) · 2x

Why: For e^(something), derivative is e^(something) times derivative of something!

❌ Mistake #4: Missing Nested Chains

Problem: d/dx[cos²(3x)]

Wrong: -2sin(3x) (missing one layer)

Right: 2cos(3x) · [-sin(3x)] · 3 = -6cos(3x)sin(3x)

Why: There are THREE layers: ( )², cos( ), and 3x

🎯 Practice Problems

Practice Set 1: Basic EASY
  1. d/dx[(5x − 2)⁴]
  2. d/dx[cos(4x)]
  3. d/dx[e^(−3x)]
  4. d/dx[√(2x + 5)]
✅ Solutions
  1. 20(5x − 2)³
  2. −4sin(4x)
  3. −3e^(−3x)
  4. 1/√(2x + 5)
Practice Set 2: Intermediate MEDIUM
  1. d/dx[(x³ + 2x)⁶]
  2. d/dx[x · e^(x²)]
  3. d/dx[sin(2x)/x]
  4. d/dx[ln(x² − 1)]
✅ Solutions
  1. 6(3x² + 2)(x³ + 2x)⁵
  2. e^(x²)(1 + 2x²)
  3. [2xcos(2x) − sin(2x)]/x²
  4. 2x/(x² − 1)
Practice Set 3: Advanced HARD
  1. d/dx[e^(2x)·sin(3x)]
  2. d/dx[√(sin(x²))]
  3. d/dx[ln(e^x + e^(−x))]
  4. d/dx[tan³(2x)]
✅ Solutions
  1. e^(2x)[2sin(3x) + 3cos(3x)]
  2. [xcos(x²)]/√(sin(x²))
  3. (e^x − e^(−x))/(e^x + e^(−x))
  4. 6tan²(2x)sec²(2x)

🚀 Practice with Our Calculator

Verify your chain rule solutions instantly with step-by-step explanations!

Try Chain Rule Calculator →

📚 Key Takeaways

Master the Chain Rule, Master Calculus!
  • Recognition: Look for functions inside functions
  • Process: Outer derivative × inner derivative
  • Practice: Do 20-30 problems to build muscle memory
  • Verification: Use our calculator to check your work