Resources For Teachers For Tutors For Students & Parents AI New Books Pricing
Year 11 (2026) Maths Advanced (2026) Introduction to Differentiation

Chain Rule

20 practice questions 3 video lessons Theory + worked examples
Practice 20 questions
Practice questions

Every question with a fully worked solution.

Start practising
Watch 3 video(s)
  • Chain Rule - Video - Chain Rule Watch
  • Chain Rule - Video - Composite functions and the chain rule Watch
  • Chain Rule - Video - The chain rule the fast way Watch
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

The chain rule differentiates a composite function (a function of a function): \(\dfrac{dy}{dx}=\dfrac{dy}{du}\times\dfrac{du}{dx}\). This Year 11 Mathematics Advanced page covers powers of a function such as \((2x+5)^{3}\), square roots and reciprocals written as powers, the function form \(h'(x)=f'\big(g(x)\big)\,g'(x)\), and using the derivative to find gradients, unknown constants and equations of tangents.

A composite function is a function of a function, such as \(y=(3x+2)^{4}\). An inner function \(u=3x+2\) is worked out first, then an outer function \(y=u^{4}\) is applied to it. In function notation, \(h(x)=f\big(g(x)\big)\) with inner function \(g\) and outer function \(f\).

The chain rule differentiates a composite function: differentiate the outer function, leaving the inside unchanged, then multiply by the derivative of the inside. If \(x\) changes, \(u\) changes \(\dfrac{du}{dx}\) times as fast, and \(y\) changes \(\dfrac{dy}{du}\) times as fast as \(u\), so the two rates multiply.

The most common case is a power of a function, \(\big(g(x)\big)^{n}\). Roots and reciprocals become powers first: \(\sqrt{3x+4}=(3x+4)^{\frac{1}{2}}\) and \(\dfrac{1}{(2x+3)^{3}}=(2x+3)^{-3}\). The chain rule then gives the derivative straight away, without expanding any brackets.

Once you have the derivative you can use it like any other: substitute a value of \(x\) to find a gradient, find an unknown constant, or find the equation of a tangent.

The chain rule as two machinesx goes into the inner function u = 3x + 2, and u goes into the outer function y = u to the power 4. The inner rate du/dx is 3 and the outer rate dy/du is 4u cubed. Multiplying the two rates gives dy/dx = 12(3x + 2) cubed. x inner u = 3x + 2 u outer y = u4 y du/dx = 3 dy/du = 4u3 dy/dx = 4u3 × 3 = 12(3x + 2)3
A composite function is one function fed into another. The chain rule multiplies the two rates: \(\dfrac{dy}{dx}=\dfrac{dy}{du}\times\dfrac{du}{dx}\).
Tangents to y = square root of (20 minus x squared)The upper semicircle y = square root of (20 minus x squared). The tangent at (2, 4) has gradient minus one half; the tangent at the top of the curve, on the y-axis, is horizontal with gradient 0. x y O −4 −2 2 4 2 4 6 (2, 4) gradient −½ gradient 0 y = √(20 − x²)
For \(y=\sqrt{20-x^{2}}\), the chain rule gives \(\dfrac{dy}{dx}=\dfrac{-x}{\sqrt{20-x^{2}}}\): zero at \(x=0\), negative for \(x>0\) and \(-\dfrac{1}{2}\) at \((2,4)\).

The chain rule (with \(y\) a function of \(u\), and \(u\) a function of \(x\)):

\[\dfrac{dy}{dx}=\dfrac{dy}{du}\times\dfrac{du}{dx}\]
d y by d x equals d y by d u times d u by d x

In function notation, for \(h(x)=f\big(g(x)\big)\):

\[h'(x)=f'\big(g(x)\big)\,g'(x)\]
h prime of x equals f prime of g of x times g prime of x

Power of a function (the form used most often):

\[\dfrac{d}{dx}\Big[\big(g(x)\big)^{n}\Big]=n\big(g(x)\big)^{n-1}\times g'(x)\]
the derivative of g of x to the power n equals n times g of x to the power n minus 1 times g prime of x
FunctionWrite asDerivative
\((5x-2)^{4}\)already a power\(4(5x-2)^{3}\times5=20(5x-2)^{3}\)
\(\sqrt{g(x)}\)\(\big(g(x)\big)^{\frac{1}{2}}\)\(\dfrac{1}{2}\big(g(x)\big)^{-\frac{1}{2}}\times g'(x)=\dfrac{g'(x)}{2\sqrt{g(x)}}\)
\(\dfrac{1}{\big(g(x)\big)^{n}}\)\(\big(g(x)\big)^{-n}\)\(-n\big(g(x)\big)^{-n-1}\times g'(x)\)
\(\dfrac{1}{\sqrt{g(x)}}\)\(\big(g(x)\big)^{-\frac{1}{2}}\)\(-\dfrac{1}{2}\big(g(x)\big)^{-\frac{3}{2}}\times g'(x)\)
Setting out with \(u\). When a question says “use \(\dfrac{dy}{dx}=\dfrac{dy}{du}\times\dfrac{du}{dx}\)”, write “Let \(u=\ldots\)”, find \(\dfrac{du}{dx}\) and \(\dfrac{dy}{du}\) separately, multiply them, then replace \(u\) with the expression in \(x\). The final answer must not contain \(u\).
Tangents. The gradient of the tangent at \(x=a\) is the value of the derivative at \(a\). With the point \((x_1,y_1)\) on the curve, the tangent is \(y-y_1=m(x-x_1)\), often rearranged to general form \(ax+by+c=0\).

How to differentiate with the chain rule

  1. Rewrite roots and reciprocals as powers: \(\sqrt{\ \ }\) becomes the power \(\dfrac{1}{2}\) and \(\dfrac{1}{(\ \ )^{n}}\) becomes the power \(-n\).
  2. Identify the inner function (inside the bracket) and the outer function (the power).
  3. Differentiate the outside: bring the power down and subtract \(1\) from it, keeping the bracket exactly as it is.
  4. Multiply by the derivative of the inside.
  5. Simplify: multiply the numbers together and write negative or fractional powers back as fractions and roots, as the question does.

Using the derivative

  1. Gradient at a point: differentiate first, then substitute the value of \(x\) into \(f'(x)\).
  2. Unknown constant: substitute into \(f'(x)\), set it equal to the given gradient and solve. Check any condition such as \(k>0\).
  3. Tangent: find \(y_1\) from the original function and \(m\) from the derivative, then use \(y-y_1=m(x-x_1)\).
  4. Point with a given gradient: set the derivative equal to the gradient and solve for \(x\). If you square both sides, test each answer in the original equation, because squaring can create answers with the wrong sign.
Example 1 — Function notation
Let \(f(x)=x^{4}\) and \(g(x)=1-3x\). Given \(h(x)=f\big(g(x)\big)\), use \(h'(x)=f'\big(g(x)\big)\,g'(x)\) to find \(h'(1)\).
Solution

Find \(f'\) and \(g'\), then apply the chain rule.

\(f'(x)\)\(=\)\(4x^{3}\)
\(g'(x)\)\(=\)\(-3\)
\(h'(x)\)\(=\)\(f'\big(g(x)\big)\,g'(x)\)
\(\)\(=\)\(4(1-3x)^{3}\times(-3)\)
\(\)\(=\)\(-12(1-3x)^{3}\)
h prime of x equals 4 times (1 minus 3x) cubed times minus 3, which is minus 12 times (1 minus 3x) cubed
\(h'(1)\)\(=\)\(-12(1-3)^{3}\)
\(\)\(=\)\(-12\times(-8)\)
\(\)\(=\)\(96\)
h prime of 1 equals minus 12 times minus 8 equals 96

\(\therefore h'(1)=\boldsymbol{96}\)

Example 2 — Reciprocal of a root
Given \(f(x)=\dfrac{1}{\sqrt{2x+5}}\), find \(f'(x)\) and hence \(f'(2)\).
Solution

Write as a power, then use the chain rule. The inside \(2x+5\) has derivative \(2\).

\(f(x)\)\(=\)\((2x+5)^{-\frac{1}{2}}\)
\(f'(x)\)\(=\)\(-\dfrac{1}{2}(2x+5)^{-\frac{3}{2}}\times2\)
\(\)\(=\)\(-(2x+5)^{-\frac{3}{2}}\)
\(\)\(=\)\(-\dfrac{1}{(2x+5)\sqrt{2x+5}}\)
f prime of x equals minus one half times (2x plus 5) to the power minus three halves times 2, which is minus 1 over (2x plus 5) root (2x plus 5)
\(f'(2)\)\(=\)\(-\dfrac{1}{9\sqrt{9}}\)
\(\)\(=\)\(-\dfrac{1}{27}\)
f prime of 2 equals minus 1 over 27

\(\therefore f'(2)=\boldsymbol{-\dfrac{1}{27}}\)

Subtracting \(1\) from \(-\dfrac{1}{2}\) gives \(-\dfrac{3}{2}\), and \((2x+5)^{\frac{3}{2}}=(2x+5)\sqrt{2x+5}\).

Example 3 — Using dy/du × du/dx
Use the chain rule \(\dfrac{dy}{dx}=\dfrac{dy}{du}\times\dfrac{du}{dx}\) to differentiate \(y=\dfrac{4}{(x^{2}+3)^{2}}\).
Solution

Let \(u=x^{2}+3\), so \(y=\dfrac{4}{u^{2}}=4u^{-2}\).

\(\dfrac{du}{dx}\)\(=\)\(2x\)
\(\dfrac{dy}{du}\)\(=\)\(-8u^{-3}=-\dfrac{8}{u^{3}}\)
\(\dfrac{dy}{dx}\)\(=\)\(\dfrac{dy}{du}\times\dfrac{du}{dx}\)
\(\)\(=\)\(-\dfrac{8}{u^{3}}\times2x\)
\(\)\(=\)\(-\dfrac{16x}{u^{3}}\)
d y by d x equals minus 8 over u cubed times 2x, which is minus 16x over u cubed

Replace \(u\) with \(x^{2}+3\):

\(\therefore \dfrac{dy}{dx}=\boldsymbol{\dfrac{-16x}{(x^{2}+3)^{3}}}\)

Example 4 — Equation of a tangent
Find the equation of the tangent to the curve \(y=\sqrt{x^{2}+9}\) at the point \((4,5)\). Give your answer in general form.
Solution

Write as a power and use the chain rule. The inside \(x^{2}+9\) has derivative \(2x\).

\(y\)\(=\)\((x^{2}+9)^{\frac{1}{2}}\)
\(\dfrac{dy}{dx}\)\(=\)\(\dfrac{1}{2}(x^{2}+9)^{-\frac{1}{2}}\times2x\)
\(\)\(=\)\(\dfrac{x}{\sqrt{x^{2}+9}}\)
d y by d x equals one half times (x squared plus 9) to the power minus one half times 2x, which is x over root (x squared plus 9)

At \(x=4\):

\(\dfrac{dy}{dx}\)\(=\)\(\dfrac{4}{\sqrt{16+9}}=\dfrac{4}{5}\)
\(y-5\)\(=\)\(\dfrac{4}{5}(x-4)\)
\(5y-25\)\(=\)\(4x-16\)
y minus 5 equals four fifths of (x minus 4), so 5y minus 25 equals 4x minus 16

\(\therefore\) the equation of the tangent is \(\boldsymbol{4x-5y+9=0}\)

Tangent to y = square root of (x squared plus 9) at (4, 5)The curve y = square root of (x squared plus 9) with its tangent at the point (4, 5). The tangent has gradient 4 over 5 and equation 4x minus 5y plus 9 = 0. x y O 2 4 6 2 4 6 8 (4, 5) y = √(x² + 9) tangent

Common pitfalls

Multiply by the derivative of the inside. \(\dfrac{d}{dx}(3x+1)^{5}\) is \(5(3x+1)^{4}\times3=15(3x+1)^{4}\), not \(5(3x+1)^{4}\). The extra factor is easy to forget when the inside is linear.
Keep the inside unchanged. The bracket stays exactly as it was; only its power changes. Write \(4(x^{2}+1)^{3}\times2x\), not \(4(2x)^{3}\).
Take care with negative and fractional powers. Subtracting \(1\) from \(-\dfrac{1}{2}\) gives \(-\dfrac{3}{2}\), and from \(-3\) gives \(-4\). Watch the signs when the inside has a negative derivative: for \((2-x)^{-\frac{1}{2}}\) you multiply by \(-1\).
Give the answer in terms of \(x\). With the \(u\) method, \(\dfrac{dy}{dx}=-\dfrac{16x}{u^{3}}\) is not finished. Replace \(u\) with the expression in \(x\).
Check answers after squaring. Solving \(\dfrac{-x}{\sqrt{a-x^{2}}}=m\) by squaring gives two values of \(x\), but only one has the right sign. Substitute each back into the derivative before you accept it.

Frequently asked questions

What is the chain rule in differentiation?

The chain rule differentiates a function of a function: \(\dfrac{dy}{dx}=\dfrac{dy}{du}\times\dfrac{du}{dx}\). Differentiate the outer function, keep the inside unchanged, then multiply by the derivative of the inside.

How do you know when to use the chain rule?

Use it whenever something more than plain \(x\) is raised to a power or sits under a root, such as \((2x+5)^{3}\), \(\sqrt{16-x^{2}}\) or \(\dfrac{1}{(x^{2}+1)^{2}}\).

How do you differentiate a square root using the chain rule?

Write \(\sqrt{g(x)}\) as \(\big(g(x)\big)^{\frac{1}{2}}\). Its derivative is \(\dfrac{1}{2}\big(g(x)\big)^{-\frac{1}{2}}\times g'(x)\), which simplifies to \(\dfrac{g'(x)}{2\sqrt{g(x)}}\). For example, \(\sqrt{3x+1}\) has derivative \(\dfrac{3}{2\sqrt{3x+1}}\).

How do you differentiate 1 over a bracket squared?

Write it with a negative power, then use the chain rule: \(\dfrac{1}{(4x-1)^{2}}=(4x-1)^{-2}\), so the derivative is \(-2(4x-1)^{-3}\times4=\dfrac{-8}{(4x-1)^{3}}\).

Is f'(g(x))g'(x) the same as dy/du × du/dx?

Yes. With \(u=g(x)\) and \(y=f(u)\), \(\dfrac{dy}{du}=f'\big(g(x)\big)\) and \(\dfrac{du}{dx}=g'(x)\). They are the same rule written in two notations.

Do you have to expand the brackets before differentiating?

No. Expanding \((2x^{2}+1)^{4}\) is slow and error-prone. The chain rule gives \(4(2x^{2}+1)^{3}\times4x=16x(2x^{2}+1)^{3}\) in one line, already factorised.