Let be the inside function.
Differentiate each part separately.
Multiply.
Substitute back — this step is compulsory.
Topic 7 · Differentiation
The chain rule
9 practice questions
By the end of this lesson you can
- Recognise a composite function — a function of a function
- Differentiate using
- Apply the chain rule quickly, without writing out the substitution
- Combine it with the standard results for powers, exponentials, logs and trigonometry
Worth doing first: Differentiating powers of x, Differentiating eᵏˣ, ln x and aᵏˣ, Differentiating trigonometric functions
The idea
So far every function you have differentiated has been built by adding, subtracting or scaling simple pieces. The chain rule handles a different kind of construction: a function inside another function. is "raise to the power 5" applied to "". is "exponentiate" applied to "". These are composite functions, and they need their own rule.
The Leibniz form makes it look as though the simply cancels. That is not a proof, but it is a genuinely useful way to remember it, and it is why this notation is worth keeping.
The method, written out
- Let be the inside function — usually whatever sits in a bracket, under a root, or in an exponent.
- Write in terms of .
- Find and separately.
- Multiply them, then substitute back in terms of .
Substituting back is not optional. An answer left in terms of has not answered the question.
The shortcut
| Function | Outside derivative | Inside derivative | Answer |
|---|---|---|---|
Powers of trigonometric functions
is shorthand for — the cube is on the outside. So the outside function is "cube it", giving , and the inside derivative is . The answer is . Read the notation carefully: is a completely different function with a completely different derivative.
Worked examples
6 fully workedUsing the shortcut. Outside: power 4 comes down, bracket untouched.
Inside derivative:
Multiply them together.
Conventionally the simple factor goes in front, so write rather than leaving trailing at the end.
Rewrite the root as a power first.
Outside derivative:
Inside derivative is .
Tidy into a form with the root back in place.
The outside function is , which differentiates to itself — the exponent is untouched.
The inside is , whose derivative is .
Note this is not the same as or . The exponent stays as throughout.
The outside is , which differentiates to — again, the inside is unchanged.
Inside derivative:
This pattern — derivative of the inside, over the inside — comes up constantly. is worth knowing as a result in its own right.
Read it correctly: this means , so the outside function is the cube.
Outside derivative:
Inside derivative:
Practice
29 marks in totalType your answer and press Check. Any algebraically equivalent form is accepted — 3x^2 - 4x, -4x + 3x^2 and x(3x - 4) all count as the same answer. Use ^ for powers, sqrt(x) for roots, and brackets wherever you are unsure.