MathClario
← Back to High school
High schoolCalculus●●●○○· 6 min
⛓️

Chain rule derivative: never get lost

$(f \circ g)' = f'(g) \times g'$. The mnemonic: « differentiate outside, keep inside, multiply by the derivative of inside ».

The formula

If u(x)=f(g(x))u(x) = f\bigl(g(x)\bigr), then:

u(x)=f(g(x))×g(x)u'(x) = f'\bigl(g(x)\bigr) \times g'(x)

In English: derivative of the outer function evaluated at the inner function, times the derivative of the inner.

The mnemonic that always works

When you see f(g(x))f(g(x)), switch to « onion » mode: two layers to peel.

Differentiate the outer, keep the inner, multiply by the derivative of the inner.

A step-by-step example

Differentiate u(x)=(3x+2)5u(x) = (3x + 2)^5.

Chain rule, step by step

Étape 1 / ?

Step 1 — Identify the layers

Outer: raise to power 5. Inner: 3x + 2.

So f(y) = y⁵ and g(x) = 3x + 2.

Step 2 — Differentiate outer, keep inner

f’(y) = 5y⁴, so f’(g(x)) = 5·(3x + 2)⁴.

We don’t touch the inner, keep it as is.

Step 3 — Multiply by the inner’s derivative

g’(x) = 3.

So: u’(x) = 5·(3x + 2)⁴ · 3 = 15·(3x + 2)⁴.

Three quick examples

(sin(2x))=cos(2x)×2=2cos(2x)\bigl(\sin(2x)\bigr)' = \cos(2x) \times 2 = 2\cos(2x) (outer: sin. Inner: 2x, derivative = 2.)

(ex2)=ex2×2x\bigl(e^{x^2}\bigr)' = e^{x^2} \times 2x (outer: exp. Inner: x², derivative = 2x.)

(x2+1)=12x2+1×2x=xx2+1\bigl(\sqrt{x^2 + 1}\bigr)' = \dfrac{1}{2\sqrt{x^2 + 1}} \times 2x = \dfrac{x}{\sqrt{x^2 + 1}} (outer: sqrt. Inner: x² + 1, derivative = 2x.)

The classic mistake

Forgetting to multiply by the inner’s derivative. (sin(2x))=cos(2x)\bigl(\sin(2x)\bigr)' = \cos(2x) is wrong — missing the factor 2.

Quick test: if the inner isn’t just xx, you need the factor.

?Your turn

What is the derivative of f(x) = (x² + 1)³?

?Your turn

Derivative of f(x) = cos(3x + 1)?

#derivative#chain rule#calculus

You might also like