Maths › Differentiation › The product, quotient and chain rules
The product, quotient and chain rules
Year 12 differentiated by rewriting; that only stretches so far. Three rules finish the job properly: the chain rule for functions inside functions, the product rule for multiplied pairs, and the quotient rule for fractions, and between them they differentiate everything this course can write down.
Builds on Differentiating trig, exponentials and logs.
IN THIS TOPIC
- Differentiate composite functions with the chain rule.
- Differentiate products and quotients with their rules, laid out cleanly.
- Combine the rules on expressions like cos2 x and e3x/x.
WHAT YOU PROBABLY THINK
The derivative of a quotient is the quotient of the derivatives.
The chain rule
A function inside a function is a chain of machines, and rates through a chain multiply,
with u naming the inner function. In practice the rule reads: differentiate the outside leaving the inside alone, then multiply by the inside's derivative.
WORKED EXAMPLE
Outside first, then inside
Differentiate y = (3x2 + 1)5.
Set u = 3x2 + 1, so y = u5: dy/du = 5u4 and du/dx = 6x.
Multiply: dy/dx = 5u4 × 6x = 30x(3x2 + 1)4.
With practice the u stays silent, but on show-your-working questions naming it is the safest mark in calculus.
Products and quotients
When two functions multiply, the product rule shares the differentiation between them, (uv)' = u'v + uv'; when they divide, the quotient rule keeps the order strict,
and the minus sign in its numerator is why the opening lie fails: differentiating top and bottom separately gives a different, wrong answer, as one substitution shows on any example.
WORKED EXAMPLE
A spec-fluency pair
Differentiate y = 2x4 sin x, and then y = e3x/x.
Product rule: u = 2x4, v = sin x gives dy/dx = 8x3 sin x + 2x4 cos x.
Quotient rule: u = e3x, v = x gives (3e3x × x − e3x × 1)/x2 = e3x(3x − 1)/x2.
At x = 1 the quotient's true gradient is 2e3 ≈ 40.2, while the naive top-over-bottom fake gives 3e3 ≈ 60.3. One number, lie dead.
Factorising the quotient answer, e3x out front, is the presentation the mark scheme prints.
YOUR TURN
A square of a function
Differentiate y = cos2 x, giving the answer as a single trig term, before opening the working.
Show the working
Chain rule with u = cos x: y = u2, so dy/dx = 2u × u' = 2 cos x × (−sin x).
The double angle formula folds it: dy/dx = −sin 2x.
Squared trig functions are chains with the square outside, and their derivatives almost always tidy through a double angle.
TRY IT UNSEEN
Rules within rules
Differentiate y = tan2 2x.
Show the working
Two chains deep: y = u2 with u = tan 2x, and u' = 2 sec2 2x from the shelf.
dy/dx = 2u × u' = 2 tan 2x × 2 sec2 2x = 4 tan 2x sec2 2x.
Work outside-in, one layer per line, and the nesting never tangles; trying to do both layers at once is where the fours and twos get lost.
THE EXAM BIT
- Chain rule: outside differentiated with the inside untouched, times the inside's derivative; name u when marks are shown.
- Product rule symmetric, quotient rule ordered: u'v − uv', minus in the middle, all over v squared.
- Choose the rule from the expression's shape: composed, multiplied or divided, and say which you are using.
- Factorise derivative answers; e3x(3x − 1)/x2 earns what its expanded twin forfeits.
- For nested expressions apply one rule per line, outside-in, and carry every k.
CHECK YOURSELF
Differentiate y = x2 ln x, and find the gradient where x = e.
Show a hint
Product rule, and ln e is 1.
Show the answer
Product rule: dy/dx = 2x ln x + x2 × (1/x) = 2x ln x + x.
At x = e: 2e × 1 + e = 3e ≈ 8.15.
The x2/x collapse to x is the tidy-up this question exists to test.
Chains multiply rates, products share the differentiation, quotients keep strict order over v squared.
Pick the rule from the shape, name your u, and tidy the answer by factorising.
CHECK YOUR PROGRESS
Rate how confident you feel with each objective for this lesson. Ratings are saved in this browser, on this device only.
- Differentiate composite functions with the chain rule.
- Differentiate products and quotients with their rules, laid out cleanly.
- Combine the rules on expressions like cos2 x and e3x/x.
No animated video for this topic yet; these notes stand alone.