Chain Rule

Reading

Practice problems

Notes

The Chain Rule

The chain rule tells us how to differentiate the composite of two functions:

Composite function \[(f \circ g)(x) = f(g(x))\]

We evaluate the composite function on an \(x\) by applying the inner function first, followed by the outer function.

\[(f(g(x)))' = f'(g(x))g'(x)\] “Derivative of the outer, applied to the inner, times the derivative of the inner”

Examples:

Alternative formulation:

If \(u=g(x)\), and \(y=f(u)\), we can view \(y=f(g(x))\) as a function of \(x\). Then: \[\frac{dy}{dx} = \frac{dy}{du}\cdot\frac{du}{dx}\]

Special case of chain rule:

General Power Rule \[\frac{d}{dx}g(x)^n = n g(x)^{n-1}g'(x)\]