Chain Rule (AA HL)
The chain rule differentiates a composite function, where one function is applied inside another. Write as with , and then . It also covers applying the rule twice and combining it with the standard derivatives of , , and . It's part of the broader Differentiation topic.
12 questions on this sub-topic.
Syllabus
| Code | Syllabus content |
|---|---|
| SL5.6 | Derivative of , , , and . Differentiation of a sum and a multiple of these functions. The chain rule for composite functions. The product and quotient rules. |
Official IB source: Mathematics: analysis and approaches subject brief (PDF, ibo.org).
Skills practised on this page:
- Differentiate x^n, sinx, cosx, e^x and lnx, including sums and constant multiples of these functions.
- Differentiate a composite function using the chain rule.
The formula
The chain rule itself is in the formula booklet - the skill is spotting the inner function and remembering to differentiate it too.
Chain rule
Differentiate the outer function, leave the inner function alone, then multiply by the derivative of the inner function.
In the formula bookletSpotting composite functions
If you could write the expression as with a simpler expression in - like in , or in - you're looking at a composite function and need the chain rule. Some expressions, like , need it applied twice.
Not in the formula booklet - recognition strategyNeed the full syllabus wording and formula-booklet reference table? See Differentiation.
Key terms
What is a composite function?
A composite function applies one function to the output of another, written . Here is the inner function and is the outer function.
e.g. In , the inner function is and the outer function is sine.
How do you identify the inner and outer functions?
Think about the order in which you would evaluate the expression. The part you work out first is the inner function.
e.g. For , you work out first, so that is the inner function and raising to the power is the outer function.
What patterns come from the chain rule?
Differentiating the outer function and multiplying by the inner derivative gives patterns such as and . For a logarithm, .
e.g. .
How do you apply the chain rule twice?
When a function has three layers, differentiate the outermost layer, then the next layer, then the innermost layer, and multiply all the results.
e.g. For , .
Worked examples
Differentiate
Worked solution
M1
A1
Differentiate
Worked solution
Chain rule (twice): let M1
A1
A1
Show that is a solution of .
Worked solution
M1
, so it satisfies the equation. A1 AG
(a) Find .
(b) Differentiate
Worked solution
(a) is a composite, so chain rule: differentiate the sine and multiply by the derivative of the inner . M1
A1
(b) Inner , derivative ; the derivative of carries a minus sign. M1
A1
Common mistakes
- Forgetting to multiply by the inner derivative. Differentiating as instead of drops the "multiply by the derivative of the inner function" step - always check for a function inside a function.
- Stopping after one application when two are needed. An expression like is a function of a function of a function - differentiate the outer square, then the sine, then the inside it, multiplying by each inner derivative in turn.
- Confusing the chain rule with the product rule. is one function raised to a power (chain rule), not two different functions multiplied together (product rule) - check whether you have one composite expression or two separate factors before choosing a method.
Quick questions
What is the chain rule?
. Differentiate the outer function, leave the inner function alone, then multiply by the derivative of the inner function.
How do I know when to use the chain rule?
Whenever you're differentiating a composite function - a function inside another function, like , , or . If substituting for the inner part would simplify the expression, you need the chain rule.
Why do I multiply by the derivative of the inner function?
The output depends on through the inner function. A small change in changes the inner function at rate , which in turn changes at rate , and the two rates multiply.
How do I differentiate e to the power 3x squared minus 1?
The outer function is with , so .
How do I differentiate a square root of a linear expression?
Write it as a power, then use the chain rule. For , .
Ready to practise properly?
12 chain-rule questions, marked instantly like the real exam.
Need a calculator refresher? See Using your GDC on the full Differentiation page.