Chain Rule- Complete Statement and Examples
📌 Chain Rule: Complete Statement and Examples
Most calculus students crash on the chain rule. Not because it's hard, but because textbooks bury it under symbolic garbage.
Here is the stripped-down truth: the chain rule is how you take the derivative of a function inside another function. Period.
If you can't do this, you can't do calculus. No exceptions.
What the Chain Rule Actually Is
When one function is stuffed inside another—like sin(x²) or e^(3x)—you can't just differentiate the outside and call it a day.
You have to peel it like an onion: outside first, then inside.
The derivative of the outer function gets multiplied by the derivative of the inner function. Miss that second part, and your answer is flat-out wrong.
The Formal Statement
Suppose y = f(u) and u = g(x). If both f and g are differentiable, then:
dy/dx = f'(g(x)) · g'(x)
Or in Leibniz notation, which makes the logic obvious:
dy/dx = (dy/du) · (du/dx)
Translation: the rate of change of y with respect to x equals the rate of change of y with respect to u, times the rate of change of u with respect to x.
That multiplication is the entire trick. Nothing more.
When You Need It
You don't need the chain rule for plain polynomials like 3x² + 5x. You do need it when you see:
- Trig functions with stuff inside: cos(5x), tan(x³)
- Exponentials with exponents that aren't just x: e^(7x), 2^(-x)
- Logarithms with complex arguments: ln(4x² + 1)
- Roots or powers of expressions: (3x + 2)^5, √(x² + 9)
- Any nested composition: sin(e^(2x))
If there's a function inside a function, the chain rule is mandatory. Pretending otherwise is how you lose points.
Step-by-Step Examples
Example 1: Simple Power with an Inner Function
Find the derivative of y = (3x + 2)^4.
Step 1: Spot the layers. The outer function is "something raised to the 4th power." The inner function is 3x + 2.
Step 2: Differentiate the outer layer with the inner stuff left alone. That gives 4(3x + 2)³.
Step 3: Differentiate the inner layer. The derivative of 3x + 2 is 3.
Step 4: Multiply them. y' = 4(3x + 2)³ · 3 = 12(3x + 2)³.
Done. Four steps. No magic.
Example 2: Trigonometric Composition
Find the derivative of y = sin(x³).
The outer function is sin(u). The inner function is u = x³.
Derivative of outer: cos(u) = cos(x³). Derivative of inner: 3x².
Multiply: y' = cos(x³) · 3x².
That's it. Stop here. Don't try to simplify cos(x³) further—you can't.
Example 3: Natural Logarithm
Find the derivative of y = ln(5x² + 3).
Outer: ln(u). Inner: u = 5x² + 3.
Derivative of outer: 1/u = 1/(5x² + 3). Derivative of inner: 10x.
Multiply: y' = 10x / (5x² + 3).
Example 4: Triple Decker
Find the derivative of y = e^(sin(2x)).
This has three layers. Work from the outside in.
Layer 1 (outermost): e^u. Derivative: e^u.
Layer 2: sin(v). Derivative: cos(v).
Layer 3 (innermost): 2x. Derivative: 2.
Chain them together: y' = e^(sin(2x)) · cos(2x) · 2.
Or rewritten: y' = 2e^(sin(2x))cos(2x).
Chain Rule vs. Product Rule: Don't Mix Them Up
Students constantly confuse when to use which. Here is the hard distinction:
| Feature | Chain Rule | Product Rule |
|---|---|---|
| What you see | One function inside another | Two functions multiplied together |
| Structure | f(g(x)) | f(x) · g(x) |
| Formula | f'(g(x)) · g'(x) | f'(x)g(x) + f(x)g'(x) |
| Example | sin(4x) | x² · e^x |
Sometimes both apply at once—like differentiating x² · sin(3x). Use the product rule first, then the chain rule on the sin(3x) piece. Tackle one rule at a time.
The Most Common Ways Students Screw This Up
- Forgetting to multiply by the inner derivative. This is the #1 error. You differentiate the outside, then you stop. Don't stop.
- Wrong identification of inner vs. outer. In (2x + 1)^5, the power is the outside, the binomial is the inside. Not the other way around.
- Overcomplicating simple problems. If the inner function is just x, you don't need the chain rule. Don't force it.
- Sign errors on the inner derivative. The derivative of -3x is -3. That negative sign matters.
How to Apply It Every Time
Here is a dead-simple workflow. Use it until it becomes automatic.
- Spot the nesting. Is there a function inside another function?
- Name the layers. Write down: outer = ?, inner = ?
- Differentiate the outer. Leave the inner function completely untouched inside.
- Differentiate the inner. Ignore the outer function now.
- Multiply the results. Simplify if possible, but don't invent algebra that isn't there.
Run this checklist on every problem. Eventually you won't need the checklist.
Real Talk: Why This Matters
Every advanced calculus topic—implicit differentiation, related rates, integration by substitution—leans on the chain rule. If your chain rule is shaky, the rest of the course becomes a nightmare.
Professors don't retest this in isolation. They assume you know it cold and bury it inside harder problems. If you freeze here, you freeze everywhere.
Get it right now. Drill it until it's boring.