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:

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

How to Apply It Every Time

Here is a dead-simple workflow. Use it until it becomes automatic.

  1. Spot the nesting. Is there a function inside another function?
  2. Name the layers. Write down: outer = ?, inner = ?
  3. Differentiate the outer. Leave the inner function completely untouched inside.
  4. Differentiate the inner. Ignore the outer function now.
  5. 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.