Example
Differentiate the outer function and multiply by the inner derivative.
highlighted = computed this step
Step 1 — Set up
Start with a composite function.
f(x)=sin(x2)
Step 2 — Identify inner function
Identify the inner function.
u=x2
Step 3 — Differentiate outer
Differentiate the outer sine function.
dudsinu=cos(x2)
Step 4 — Differentiate inner
Differentiate the inner function.
u′=2x
Step 5 — Multiply the factors
Multiply outer derivative by inner derivative.
f′(x)=cos(x2)⋅2x
chain-rule
If f(x) = outer(inner(x)), then f'(x) = outer'(inner(x))·inner'(x). Differentiate the outer function evaluated at the inner, then multiply by the inner's derivative.