Lemmara logoLemmaraFree lesson

The Chain Rule

Differentiate a function inside a function: powers of brackets, roots, e, sin and cos of an expression, and (0606/4037) ln and tan of an expression.

In the exam for IGCSE Additional Maths 0606, Edexcel Further Pure Maths 4PM1 · 4 real past-paper questions below

اقرأ هذا الدرس مشروحاً بالعربي ←

A function inside a function

Look at . You could expand the bracket, but that is five brackets multiplied out. There is a faster way.

This curve is built in two stages. First x goes into the bracket: . Then the bracket is raised to the power 5: . One function sits inside another.

Example

Think of gears. If gear A turns 5 times for each turn of gear B, and gear B turns 3 times for each turn of gear C, then A turns 5 × 3 = 15 times for each turn of C. The rates multiply.

Formula

  • — the inside part, for example 3x + 1.

  • — the gradient of the outside, treating u as the letter.

  • — the gradient of the inside.

Rule

Learn it. 0606 and 4037 give no calculus formulas. 4PM1 lists it as with the formulas to learn.

Worked example

  1. 1

    Find for .

  2. 2

    — Name the inside and differentiate it.

  3. 3

    — Differentiate the outside with the power rule.

  4. 4

    — Multiply the two gradients.

  5. 5

    — Put the inside back in place of u.

Key idea

Differentiate the outside and leave the inside alone. Then multiply by the derivative of the inside.

Powers and roots of a bracket

With practice you skip writing u. For any bracket raised to a power, use this shortcut:

Formula

  • — the expression inside the bracket. It stays the same.

  • — the power. Any rational number, so roots and fractions work too.

  • — the derivative of the inside. Never forget it.

Worked example

  1. 1

    . Find and the gradient at .

  2. 2

    — Write the root as the power one half.

  3. 3

    — Outside: bring down 1/2 and take 1 off. Inside: gives 8x.

  4. 4

    — Tidy: half of 8x is 4x, and the power −1/2 puts the root on the bottom.

  5. 5

    — Substitute. 25 has an exact root, so no calculator is needed.

Worked example

  1. 1

    . Find .

  2. 2

    — Bring the bracket to the top. Its power becomes negative.

  3. 3

    — Bring down −3, take 1 off to get −4, then times 2 for the inside.

  4. 4

    — Multiply the numbers: 6 × (−3) × 2 = −36.

Common mistake

Forgetting to multiply by the inside's derivative. is , not . Mark schemes give a separate mark for this factor.

Common mistake

Changing the inside. The bracket keeps in the answer. Only the power changes.

Key idea

Power down, power minus one, bracket unchanged, times the inside's derivative.

e, sin and cos of an expression

The same idea works for every standard function. Use the standard rule on the outside, then multiply by the derivative of the inside.

Formula

  • — the power. It stays the same; its derivative comes in front.

Formula

  • — the angle, in radians. It stays the same inside the cos.

Formula

  • — the angle. Remember the minus from cos.

Worked example

  1. 1

    . Find the gradient at .

  2. 2

    — The power stays. Its derivative, 2x − 3, comes in front.

  3. 3

    — Substitute x = 3.

  4. 4

    — e to the power 0 is 1.

A power of a trig function hides a chain too. means : the outside is the cube, and the inside is .

Worked example

  1. 1

    . Find .

  2. 2

    — Rewrite so you can see the outside and the inside.

  3. 3

    — Outside: the power rule. Inside: sin 2x gives 2 cos 2x.

  4. 4

    — Multiply the numbers and tidy.

Common mistake

Differentiating the angle and stopping. is , not . The angle inside stays .

Key idea

The inside always stays the same. Its derivative is the extra factor at the front.

ln and tan of an expression (0606/4037)

Rule

This step is for 0606 and 4037 only. 4PM1 does not ask you to differentiate ln or tan.

For ln, the outside rule is “1 over”. So the inside goes on the bottom and its derivative goes on top.

Formula

  • — the expression inside the ln. It must be positive.

  • — its derivative, on top.

Formula

  • — the angle, in radians.

Worked example

  1. 1

    . Find the gradient at .

  2. 2

    — Inside on the bottom, its derivative on top.

  3. 3

    — Substitute. Leave it as a fraction.

Worked example

  1. 1

    . Find .

  2. 2

    — The inside, 3x, gives 3.

  3. 3

    — Log law first: the root is the power 1/2, and it comes to the front.

  4. 4

    — Derivative of the inside over the inside.

  5. 5

    — Put the terms together.

Common mistake

Writing . That forgets the inside's derivative, 2x, on top.

Common mistake

Splitting a sum inside ln. is not . Log laws split products, not sums.

Key idea

ln of anything: derivative of the inside over the inside.

Using it: exact answers and dy/dx = 0

Exams often ask you to find , then use it: find an exact gradient, or solve . Factorise the derivative, then ask which factor can be zero.

Worked example

  1. 1

    . Solve for .

  2. 2

    — Outside: the power rule. Inside: cos 2x gives −2 sin 2x.

  3. 3

    — Tidy into factors.

  4. 4

    — Cos is never below −1, so this bracket is never 0.

  5. 5

    — So the only way to get 0 is from this factor.

  6. 6

    — Double the range. Sin is 0 at 0, π and 2π, and only π is inside.

  7. 7

    — Halve to get x.

Marks usually go: one for the outside part, one for the inside's derivative, then marks for solving. So write the unsimplified line first, then tidy.

Common mistake

Dividing by a factor without checking it. A factor like or is never 0, so say so; a factor like can be 0, so solve it.

Key idea

Find the derivative, factorise it, then set each factor that can be zero equal to zero.

Which method? Read the question

Spot the inside first. If there is no inside, you do not need the chain rule.

You seeYou do
A bracket to a power, or a root of a bracketPower rule on the bracket, like , times the inside's derivative
Bring it up as a negative power first
or or
Rewrite as ; the outside is the power
(0606 / 4037); use log laws first
(0606 / 4037)

Key idea

Today's AI systems learn with the chain rule. To train a neural network, a computer works out how each setting affects the final error, link by link through the network. This method, called backpropagation, is the chain rule used millions of times.

Common mistake

Using the chain rule on two functions multiplied together, like . That is a product: see the product rule lesson.

Key idea

Outside first, inside unchanged, then times the derivative of the inside.

Practise the chain rule now

Interactive visual aids, then real past-paper questions marked on your working like the exam. Free to start.

Practise free on Lemmara

Real past-paper questions on the chain rule

Each with a full worked solution.

Lemmara is an independent study tool, not affiliated with or endorsed by Cambridge International Education or Pearson Edexcel. The lessons and worked examples are Lemmara’s own.