How do we differentiate a function that is composed of one function inside another?
The chain rule differentiates composite functions by multiplying the derivative of the outer function by the derivative of the inner function.
How to differentiate composite functions with the chain rule, including the outside-times-inside method and how it combines with the product and quotient rules, with worked SACE-style examples.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
Jump to a section
What this dot point is asking
A composite function is a "function of a function" - one expression nested inside another, like , or . The chain rule tells you how to differentiate these, and it is the single most-used differentiation rule in SACE Stage 2 Mathematical Methods because it sits inside almost every calculus question in Topics 1, 3 and 4.
The rule
If and , then
Equivalently, for ,
The intuition: differentiate the outside function treating the inside as a single block, then multiply by the derivative of the inside. The Leibniz form makes this look like cancelling fractions, which is a useful memory aid even though and are not literally fractions.
Standard chain-rule results
These come up constantly and are worth knowing by sight:
Each of these is just the chain rule applied to a known derivative. If you can spot the inner function and write down , every one of these follows mechanically.
Combining with other rules
In practice the chain rule rarely appears alone. Watch for it inside products and quotients.
For , use the product rule with and , where comes from the chain rule:
For a quotient such as , the numerator needs the chain rule to differentiate to , after which the quotient rule assembles the result. The chain rule is the inner gear that the product and quotient rules turn.
A nested chain
Sometimes there are three layers, for example . Work from the outside in: the derivative of is times the derivative of ; the derivative of is . Multiplying gives
Each layer contributes one factor; you simply keep multiplying by the derivative of the next inner function until you reach .
Common errors
Why it matters
The chain rule unlocks differentiation of exponential and logarithmic models, which dominate Topic 4, and it is essential for the optimisation problems where a quantity is expressed through an intermediate variable. Combined with the product and quotient rules, it lets you differentiate essentially any function you will meet in Stage 2, and it reappears in reverse as integration by substitution in the calculus you meet later. Examiners reward clear identification of the inner function and the explicit factor, so always show that step.
Exam-style practice questions
Practice questions written in the style of SACE Board exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
SACE 20241 marksCalculator-free. Consider the function where . Determine .Show worked answer →
This is a chain-rule (composite log) derivative. The inner function is with .
Using :
The single mark is for the correct derivative. A common slip is to write and forget the in the denominator that the chain rule carries through.
SACE 20232 marksCalculator-free. Find for . There is no need to simplify your answer.Show worked answer →
Use the chain rule on a power of a function. The inner function is with .
With :
Marks: one for bringing the power down to give , and one for multiplying by the derivative of the inside, . Stopping at (forgetting the inside derivative) is the most common error and loses a mark.
SACE 20223 marksCalculator-assumed. A curve has equation . (a) Find . (b) Find the exact gradient of the curve at .Show worked answer →
(a) The inner function is with . The derivative of is , so
(b) Substitute : the exponent becomes , so
Marks: one for the chain-rule structure , one for , and one for the exact substitution giving . Leaving the answer as a decimal when "exact" is asked loses the final mark.
