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.
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.
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.
Standard chain-rule results
These come up constantly and are worth knowing by sight:
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:
Common errors
Why it matters
The chain rule unlocks differentiation of exponential and logarithmic models, which dominate Topic 4, and it is essential for 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.
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.
2024 SACE Stage 21 marksConsider the function f(x) = ln(x + 3) where x > -3. Determine f'(x).Show worked answer β
This is a chain rule (composite log) derivative. The inner function is u = x + 3 with u' = 1.
Using d/dx ln(g(x)) = g'(x) / g(x):
f'(x) = 1 / (x + 3).
The single mark is for the correct derivative. A common slip is to write 1/x and forget the +3 in the denominator that the chain rule carries through.
2023 SACE Stage 22 marksFind dy/dx for y = (4x - 7)^11. 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 u = 4x - 7 with u' = 4.
With d/dx [g(x)]^n = n [g(x)]^(n-1) g'(x):
dy/dx = 11 (4x - 7)^10 (4) = 44 (4x - 7)^10.
Marks: one for bringing the power down to give 11(4x - 7)^10, and one for multiplying by the derivative of the inside, g'(x) = 4. Stopping at 11(4x - 7)^10 (forgetting the inside derivative) is the most common error and loses a mark.