Master the chain rule the easy way, with plain English intuition, the inside and outside trick, worked examples and an auto marked practice test. VCE Maths Methods Units 3 and 4.
Learn
Russian dolls are the secret to this whole topic. A function tucked neatly inside
another function is called a composite function, and the chain rule is how you
differentiate it without unpacking the dolls one painful layer at a time. Once you can
spot the function hiding inside, differentiating something like (3x+1)5 takes a few
seconds instead of expanding a fifth power by hand. This is one of the most heavily
tested ideas in the whole course, so it pays to nail it.
What a composite function really is
Some functions are built by stacking one operation on top of another. Take
(3x+1)5. To work it out for a number you first do 3x+1, and then you raise
that result to the power of five. Two steps, one inside the other. The inside
function is the part you do first, here 3x+1. The outside function is what
you do to that result, here the fifth power.
Spotting these two layers is ninety per cent of the battle. Ask yourself the simple
question, what would I type first on a calculator. That part is the inside.
The chain rule formula
Here is the whole idea in one line. We give the inside function a name, u, so we can
talk about the two layers separately.
dxdy=dudy×dxdu
Read it as a chain of rates. The rate of y against x equals the rate of y against
the inside, multiplied by the rate of the inside against x. The clever part is that
the du symbols look like they cancel, which is a handy way to remember the formula.
The composite y = (3x+1)^5: the inside 3x+1 fixes where the curve crosses zero, at x = -1/3, while the outside fifth power makes it flat near there and very steep away from it.
How to actually do it
The idea is the hard part. The method is a short recipe you repeat every time.
Name the inside function u, and write y in terms of u.
Find dudy by differentiating the outside layer.
Find dxdu by differentiating the inside layer.
Multiply the two results, then substitute the inside back in for u.
For a power of a bracket the shortcut is quick to see. To differentiate
(something)n you bring the power down, drop the power by one, and then
multiply by the derivative of the something:
dxd[g(x)]n=n[g(x)]n−1⋅g′(x)
The trap that catches the most students in real exams is leaving off that final
factor g′(x). Examiner reports note again and again that students omit the inside
derivative, the part that sits in front of the bracket. The inside derivative is not
optional. A second common slip is dropping the power by the wrong amount, so always
reduce the power by exactly one.
Roots are just powers in disguise
A root is nothing new. Before you differentiate, rewrite every root as a power. A
square root is a power of one half, so 2x+7 becomes (2x+7)1/2, and a
fraction like (3x+2)21 becomes (3x+2)−2. Once the root or fraction is
written as a power, the same four step recipe handles it. Watch the negative signs
carefully when the power is negative, because that is where careless errors creep in.
Lock it in with active recall
Cover the answer and say each one out loud before you flip. Rate yourself honestly — the cards you find hard come back sooner, the ones you know are spaced further out.
Active recall
Answer from memory first, then flip. Rate yourself and each card returns on a spaced schedule (1 → 3 → 7 → 16 days).
Write the chain rule in Leibniz form.
dxdy=dudy×dxdu — the rate of y against x is the rate against the inside times the rate of the inside against x.
How do you differentiate a power of a function, y=(f(x))n?
dxdy=n(f(x))n−1f′(x) — bring the power down, drop it by one, then multiply by the inside derivative.
When do you reach for the chain rule?
Whenever you differentiate a composite — a function tucked inside another, such as a bracket to a power, a root, or e to the power of something other than just x.
What is the single most common chain rule mistake?
Forgetting to multiply by the derivative of the inside. After differentiating the outside, you must multiply by g′(x).
How do you differentiate a square root like 2x+7?
Rewrite it as (2x+7)1/2, then apply the chain rule: 21(2x+7)−1/2⋅2=2x+71.
Recall · Product and Quotient Rules
Differentiate a producty=u(x)v(x).
dxdy=u′v+uv′. Many exam questions combine this with the chain rule, e.g. sin(x)e2x needs the chain rule on e2x.
Recall · Derivatives of Exponential and Logarithmic Functions
Differentiate y=loge(f(x)).
dxdy=f(x)f′(x) — the chain rule again: f(x)1 from the log, times the inside derivative f′(x).
See this recipe in action in the Worked Examples tab, then test yourself in
Try It.
Worked examples
Worked Example 1A natural logarithm, from a real exam
Let f(x)=loge(x3−3x+2). Find f′(3).
1
The outside is the natural log and the inside is the cubic. Differentiating loge(u) gives u1, then multiply by the derivative of the inside.
f′(x)=x3−3x+21⋅(3x2−3)=x3−3x+23x2−3
2
Substitute x=3 into the derivative.
f′(3)=27−9+23(9)−3=2024
3
Simplify. The examiner report flags omitting the numerator, the inside derivative, as the common error.
f′(3)=56
Answer
f′(3)=56
VCAA 2024 Mathematical Methods Exam 1, Q1b
Worked Example 2A root, then a gradient, from a real exam
Let f(x)=6x+1+5. Find the gradient of the tangent to y=f(x) at x=8.
1
Write the root as a power first. The constant +5 differentiates to zero.
f(x)=6(x+1)1/2+5
2
Apply the chain rule to the power. The inside is x+1, whose derivative is 1.
f′(x)=6⋅21(x+1)−1/2=x+13
3
The gradient of the tangent at x=8 is the value of f′(8).
f′(8)=93=33=1
Answer
f′(8)=1
VCAA 2025 Mathematical Methods Exam 1, Q1b
Worked Example 3A power of a linear expression
Differentiate y=(3x+1)5.
1
Spot the inside and the outside. The inside is u=3x+1, the outside is the fifth power.
y=u5,u=3x+1
2
Differentiate each piece on its own.
dudy=5u4,dxdu=3
3
Multiply them together, then put the inside back in.
dxdy=5u4⋅3=15(3x+1)4
Answer
dxdy=15(3x+1)4
Worked Example 4A power of a polynomial
Differentiate y=(x2−4x)3.
1
The inside is u=x2−4x, the outside is the cube.
y=u3,u=x2−4x
2
Differentiate the outside and the inside separately.
dudy=3u2,dxdu=2x−4
3
Multiply, then substitute u=x2−4x back in. Keep the inner factor.
dxdy=3(x2−4x)2(2x−4)
Answer
dxdy=3(x2−4x)2(2x−4)
Worked Example 5A square root
Differentiate y=2x+7.
1
A root is a power. Rewrite the root as a power of one half first.
y=(2x+7)1/2
2
Let u=2x+7, so the outside is the power 21.
dudy=21u−1/2,dxdu=2
3
Multiply and tidy. The 21 and the 2 cancel.
dxdy=21(2x+7)−1/2⋅2=2x+71
Answer
dxdy=2x+71
Practice questions
Practice test
Try it yourself
9 questions, 12 marks
Choose your answers, then submit to see your score and the full worked solutions.
Multiple choice is marked for you, just like Exam 2 Section A.
Q1.A differentiable function f satisfies f(4)=25 and f′(4)=15. The gradient of the tangent to y=f(x) at x=4 is:
1mark
Need a hint?
Write y=(f(x))1/2 and use the chain rule. You will need both f(4) and f′(4).
Show worked solution
Writing y=(f(x))1/2 and applying the chain rule,
dxdy=21(f(x))−1/2⋅f′(x)=2f(x)f′(x).
At x=4 this is 22515=1015=23. The common
error is dropping the f′(x) factor that the chain rule brings down.
VCAA 2024 Mathematical Methods Exam 2, Section A Q16
Q2.Consider h(x)=aloge(bx), where a,b∈R∖{0}. Given that the derivative h′(x) has range (0,∞), which of the following must be true?
1mark
Need a hint?
Differentiate with the chain rule and watch what happens to b.
Show worked solution
By the chain rule, h′(x)=a⋅bxb=xa, so b cancels.
The domain needs bx>0, so x shares the sign of b. For xa to have
range (0,∞), a must share the sign of x, and therefore of b, giving
ab>0. The key insight is that the chain rule makes b vanish from the derivative.
VCAA 2025 Mathematical Methods Exam 2, Section A Q16
Q3.Let f(x)=sin(x)e2x. Find f′(4π).
2marks
Work this on paper. The worked solution appears once you submit.
Show worked solution
This needs the product rule, with the chain rule on e2x (derivative 2e2x):
f′(x)=cos(x)e2x+sin(x)⋅2e2x=e2x(cosx+2sinx).
At x=4π, cos4π=sin4π=21 and e2⋅π/4=eπ/2, so
f′(4π)=eπ/2(21+22)=23eπ/2=232eπ/2.
VCAA 2023 Mathematical Methods Exam 1, Q1b
Q4.The derivative of y=(5x−2)4 is:
1mark
Need a hint?
Let u=5x−2. Differentiate the outside u4 and the inside 5x−2 separately, then multiply them.
Show worked solution
The inside is u=5x−2 with dxdu=5, and the outside gives dudy=4u3. Multiplying, dxdy=4(5x−2)3⋅5=20(5x−2)3. Option D, 4(5x−2)3, forgets to multiply by the inner derivative, which is the single most common slip.
Q5.The derivative of y=(x2+3)6 is:
1mark
Show worked solution
Here u=x2+3 so dxdu=2x, and dudy=6u5. Multiplying gives 6(x2+3)5⋅2x=12x(x2+3)5. Option A forgets the dxdu=2x factor entirely. Option B leaves the power at 6 instead of dropping it to 5.
Q6.If f(x)=4x−3, then f′(x) is:
1mark
Show worked solution
Write f(x)=(4x−3)1/2. Then f′(x)=21(4x−3)−1/2⋅4=4x−32. Option B is the result of forgetting to multiply by the inner derivative 4. Brackets and the inner factor are exactly where marks are lost.
Q7.For y=(2x−1)3, the value of dxdy when x=1 is:
1mark
Show worked solution
dxdy=3(2x−1)2⋅2=6(2x−1)2. At x=1, 2x−1=1, so dxdy=6⋅12=6. Option C, 3, comes from omitting the inner derivative 2 before substituting.
Q8.The derivative of y=(3x+2)21 is:
1mark
Show worked solution
Rewrite as y=(3x+2)−2. Then dxdy=−2(3x+2)−3⋅3=(3x+2)3−6. Option C drops the inner derivative 3. Option B loses the negative sign that comes from the negative power.
Q9.Let f(x)=(x2−6x)4. Find f′(x) and the value of f′(3). Show every step.
3marks
Work this on paper. The worked solution appears once you submit.
Show worked solution
Let u=x2−6x, so f(x)=u4.
Then dudf=4u3 and dxdu=2x−6, so by the chain rule
f′(x)=4(x2−6x)3(2x−6).
At x=3: x2−6x=9−18=−9 and 2x−6=0, so
f′(3)=4(−9)3⋅0=0.
Frequently asked questions
When do I use the chain rule?
Whenever you differentiate a function tucked inside another function, a composite function, such as a bracket raised to a power, a root, or e to the power of something other than just x.
What is the most common chain rule mistake?
Forgetting to multiply by the derivative of the inside. After differentiating the outside, you must multiply by the derivative of whatever was inside.
How do I differentiate a square root using the chain rule?
Rewrite the root as a power of one half, then apply the chain rule. For example, the square root of (2x + 7) becomes (2x + 7) to the power one half, and differentiating gives one over the square root of (2x + 7).