The Chain Rule
Master the chain rule for Queensland Year 11 Mathematical Methods (QCAA). It differentiates a composite function — a function inside another function — by differentiating the outer part and then multiplying by the derivative of the inside.
You will learn to spot the inner and outer functions, differentiate powers of polynomials, handle roots and reciprocals by rewriting them first, and give the derivative in simplest and factorised form.
Every question with a fully worked solution.
- The Chain Rule - Video - The chain rule Watch
Theory
In Year 11 Mathematical Methods (QCAA, Unit 2), the chain rule differentiates a composite function: if \(y=f(u)\) and \(u=g(x)\) then \(\dfrac{dy}{dx}=\dfrac{dy}{du}\times\dfrac{du}{dx}\). This page applies it to powers of polynomials such as \((ax+b)^{n}\) and \((\text{polynomial})^{n}\) — including reciprocal and root forms once they are rewritten as powers.
A composite function is a function of a function: an inner function \(u=g(x)\) sitting inside an outer function \(y=f(u)\). For example \(y=(3x+2)^{4}\) has inner \(u=3x+2\) and outer \(y=u^{4}\).
The chain rule says the derivative is the outer derivative times the inner derivative: \(\dfrac{dy}{dx}=\dfrac{dy}{du}\times\dfrac{du}{dx}\). You differentiate the outer power (leaving the inner bracket untouched), then multiply by the derivative of the inside.
Reciprocal and root composites are handled by rewriting first: \(\dfrac{1}{(\ldots)^{n}}=(\ldots)^{-n}\) and \(\sqrt{\ldots}=(\ldots)^{1/2}\), then apply the chain rule as usual.
The chain rule, with \(y=f(u)\) and \(u=g(x)\):
For a bracket raised to a power, this becomes the useful shortcut:
How to use the chain rule
- Name the inside: let \(u=g(x)\) be the inner function, so \(y=u^{n}\). Rewrite any root or reciprocal as a power first.
- Differentiate each part: \(\dfrac{dy}{du}=n\,u^{n-1}\) and \(\dfrac{du}{dx}=g'(x)\).
- Multiply and back-substitute: \(\dfrac{dy}{dx}=n\,u^{n-1}\cdot g'(x)\), then replace \(u\) with \(g(x)\) and tidy.
Name the inside and outside:
| \(u\) | \(=\) | \(3x+2\) |
| \(y\) | \(=\) | \(u^{4}\) |
Differentiate each part:
| \(\dfrac{dy}{du}\) | \(=\) | \(4u^{3}\) |
| \(\dfrac{du}{dx}\) | \(=\) | \(3\) |
Multiply (outer \(\times\) inner) and back-substitute:
| \(\dfrac{dy}{dx}\) | \(=\) | \(4u^{3}\times 3\) |
| \(=\) | \(12u^{3}\) | |
| \(=\) | \(12(3x+2)^{3}\) |
\(\dfrac{dy}{dx}=12(3x+2)^{3}\).
Name the inside and outside:
| \(u\) | \(=\) | \(x^{2}-5\) |
| \(y\) | \(=\) | \(u^{3}\) |
Differentiate each part:
| \(\dfrac{dy}{du}\) | \(=\) | \(3u^{2}\) |
| \(\dfrac{du}{dx}\) | \(=\) | \(2x\) |
Multiply and back-substitute:
| \(\dfrac{dy}{dx}\) | \(=\) | \(3u^{2}\times 2x\) |
| \(=\) | \(6x\,u^{2}\) | |
| \(=\) | \(6x(x^{2}-5)^{2}\) |
\(\dfrac{dy}{dx}=6x(x^{2}-5)^{2}\).
Rewrite with a negative power, then name the inside:
| \(y\) | \(=\) | \((2x-1)^{-2}\) |
| \(u\) | \(=\) | \(2x-1\) |
Differentiate each part:
| \(\dfrac{dy}{du}\) | \(=\) | \(-2u^{-3}\) |
| \(\dfrac{du}{dx}\) | \(=\) | \(2\) |
Multiply, back-substitute and tidy:
| \(\dfrac{dy}{dx}\) | \(=\) | \(-2u^{-3}\times 2\) |
| \(=\) | \(-4(2x-1)^{-3}\) | |
| \(=\) | \(-\dfrac{4}{(2x-1)^{3}}\) |
\(\dfrac{dy}{dx}=-\dfrac{4}{(2x-1)^{3}}\).
Rewrite the root as a power and name the inside:
| \(y\) | \(=\) | \((x^{2}+9)^{1/2}\) |
| \(u\) | \(=\) | \(x^{2}+9\) |
Differentiate each part:
| \(\dfrac{dy}{du}\) | \(=\) | \(\tfrac12 u^{-1/2}\) |
| \(\dfrac{du}{dx}\) | \(=\) | \(2x\) |
Multiply, back-substitute and tidy:
| \(\dfrac{dy}{dx}\) | \(=\) | \(\tfrac12 u^{-1/2}\times 2x\) |
| \(=\) | \(\dfrac{x}{\sqrt{x^{2}+9}}\) |
Evaluate at \(x=4\) (where \(\sqrt{16+9}=5\)):
| \(\left.\dfrac{dy}{dx}\right|_{x=4}\) | \(=\) | \(\dfrac{4}{\sqrt{25}}\) |
| \(=\) | \(\dfrac{4}{5}\) |
\(\dfrac{dy}{dx}=\dfrac{x}{\sqrt{x^{2}+9}}\), and at \(x=4\) the gradient is \(\dfrac{4}{5}\).
Common pitfalls
Frequently asked questions
What is the chain rule?
If \(y=f(u)\) and \(u=g(x)\), then \(\dfrac{dy}{dx}=\dfrac{dy}{du}\times\dfrac{du}{dx}\): differentiate the outer function and multiply by the derivative of the inner function.
How do you differentiate a bracket raised to a power?
Use \(\dfrac{d}{dx}\big(g(x)\big)^{n}=n\big(g(x)\big)^{n-1}\cdot g'(x)\): reduce the power by one and multiply by the derivative of the inside.
Why is my chain-rule answer wrong by a constant factor?
You have almost certainly left out the inner derivative \(g'(x)\). For \((3x+2)^{4}\) that missing factor is the \(\times 3\).
How do you use the chain rule on a square root?
Rewrite \(\sqrt{g(x)}\) as \((g(x))^{1/2}\), then differentiate: \(\tfrac12(g(x))^{-1/2}\cdot g'(x)\).
What are the inner and outer functions?
The inner function is the expression inside the bracket, \(u=g(x)\); the outer function is what is done to it, here raising to a power, \(y=u^{n}\).