The chain rule handles a function inside another. When two functions are multiplied or divided, you need two more rules. The product rule and the quotient rule are not printed in the exam, so learn them by heart, then practise the part that earns most marks: tidying and factorising the answer so you can use it.
If \(y = uv\), then \(\dfrac{dy}{dx} = u\dfrac{dv}{dx} + v\dfrac{du}{dx}\). If \(y = \dfrac{u}{v}\), then \(\dfrac{dy}{dx} = \dfrac{v\dfrac{du}{dx} - u\dfrac{dv}{dx}}{v^{2}}\). Use the chain rule for each of \(u'\) and \(v'\) when they need it. Then take out common factors: a factorised derivative shows the form the question asks for and tells you at once where \(\dfrac{dy}{dx} = 0\).
Fig. 1: Why the product rule has two terms. A rectangle of sides u and v has area uv. When x changes a little, u grows by Δu and v by Δv, so the area gains a strip vΔu (teal), a strip uΔv (blue) and a tiny corner ΔuΔv (orange). Divide by Δx and let Δx tend to zero: the corner vanishes, leaving d(uv)/dx = u dv/dx + v du/dx. It is never just du/dx times dv/dx
Section 01
The product rule: two terms, not one.
When \(y\) is one function multiplied by another, call them \(u\) and \(v\). The derivative is NOT \(u' \times v'\): Fig. 1 shows the change in \(uv\) comes from two strips, one for each function changing while the other stays put. So keep one function, differentiate the other, then swap and add. Set your work out the same way every time: write \(u\), \(u'\), \(v\) and \(v'\) first, using the chain rule from the last lesson wherever a bracket or \(e^{kx}\) appears.
\[\frac{dy}{dx} = x^{2}\cdot\frac{1}{x} + \ln x\cdot 2x = x + 2x\ln x = x(1 + 2\ln x)\]
At \(x = e\), \(\ln e = 1\): gradient \(= e(1 + 2) = 3e\).
Answer: \(3e\)
Your turn
Differentiate \(y = x\cos x\).
\(u = x\), \(u' = 1\); \(v = \cos x\), \(v' = -\sin x\). So \(\dfrac{dy}{dx} = -x\sin x + \cos x = \cos x - x\sin x\).
Examiner trap
Multiplying the two derivatives is the classic error: for \(x^{2}e^{3x}\) it gives \(2x \times 3e^{3x} = 6xe^{3x}\), which is wrong. The second classic error is dropping the chain rule inside \(v\): the derivative of \(e^{3x}\) is \(3e^{3x}\), not \(e^{3x}\), and the derivative of \(\sin 2x\) is \(2\cos 2x\).
Section 02
The quotient rule: bottom first.
For \(y = \dfrac{u}{v}\), the numerator is a difference, so here the order DOES matter. A good way to remember it: start with the bottom, \(v\), times the derivative of the top, then subtract the top times the derivative of the bottom, and divide everything by the bottom squared. Leave \(v^{2}\) as a square, do not expand it; it often cancels with a factor in the numerator.
Writing \(u v' - v u'\) on top puts the terms the wrong way round and gives the negative of the answer: for \(\dfrac{\ln x}{x}\) it gives \(\dfrac{\ln x - 1}{x^{2}}\). Also, \(\dfrac{u'}{v'}\) is not the derivative of \(\dfrac{u}{v}\): differentiating the top and bottom separately is never allowed.
Stage 1 · Learn
Check your understanding
Four quick checks. Each correct answer earns XP and records this skill on your profile.
Quick check+10 XP
Differentiate \(y = x^{3}e^{x}\).
Quick check+10 XP
Find \(\dfrac{dy}{dx}\) for \(y = \dfrac{x}{x + 1}\).
Quick check+10 XP
Differentiate \(y = x\sin 2x\).
Quick check+10 XP
For \(y = xe^{-2x}\), \(\dfrac{dy}{dx} = e^{-2x}(1 - 2x)\). Where is the stationary point?
Section 03
Simplify, factorise, then use it.
Exam questions rarely stop at 'differentiate'. They ask you to show that \(\dfrac{dy}{dx}\) has a given form, such as \(\dfrac{ax + b}{\sqrt{2x + 1}}\), and then 'hence' find the stationary point, where \(\dfrac{dy}{dx} = 0\). Two habits make this easy. First, combine terms over a common denominator: a term with \((2x + 1)^{-\frac{1}{2}}\) and a term with \((2x + 1)^{\frac{1}{2}}\) combine by multiplying the second by \(\dfrac{\sqrt{2x + 1}}{\sqrt{2x + 1}}\). Second, take out every common factor, because a fraction is zero only when its numerator is zero, and a product is zero only when one factor is.
A fraction is zero when its numerator is zero (and the denominator is not).
\(e^{kx}\) is never zero, so it can be ignored when you solve \(\dfrac{dy}{dx} = 0\).
Do not divide by \(x\) or by a bracket: set each factor equal to zero, or you lose solutions.
Find \(y\) too: a stationary point needs both coordinates, from the ORIGINAL equation.
Worked example Show that, then hence
The curve \(y = x\sqrt{2x + 1}\) is defined for \(x \ge -\tfrac{1}{2}\). (a) Show that \(\dfrac{dy}{dx} = \dfrac{3x + 1}{\sqrt{2x + 1}}\). (b) Hence find the exact coordinates of the stationary point.
Find the coordinates of the stationary points of \(y = x^{2}e^{-x}\).
\(\dfrac{dy}{dx} = 2xe^{-x} - x^{2}e^{-x} = xe^{-x}(2 - x)\). \(e^{-x} \ne 0\), so \(x = 0\) or \(x = 2\): the points are \((0, 0)\) and \((2, 4e^{-2})\).
Examiner trap
In \(xe^{-x}(2 - x) = 0\), dividing both sides by \(x\) throws away the solution \(x = 0\); set each factor to zero instead. And never set the DENOMINATOR to zero: in Example 2, \(x = \tfrac{3}{2}\) makes \(\dfrac{dy}{dx}\) undefined, not zero, because the curve is not defined there.
Stage 2 · Exam
Exam-style questions
Unlocks once the four checks above are done. Worth more XP, written to IGCSE Additional Mathematics Paper 1 and Paper 2 standard.
Finish the four checks above to unlock the exam questions
Exam style+20 XP
Find \(\dfrac{dy}{dx}\) for \(y = \dfrac{\ln x}{x^{2}}\), simplifying your answer.
Exam style+20 XP
Given that \(y = (x - 1)\sqrt{4x + 1}\), it can be shown that \(\dfrac{dy}{dx} = \dfrac{ax + b}{\sqrt{4x + 1}}\). Find \(a\) and \(b\).
Exam style+20 XP
Find the coordinates of the stationary points of \(y = \dfrac{x}{x^{2} + 4}\).
Exam style+20 XP
Find the \(x\)-coordinates of the stationary points of \(y = x^{2}(3 - x)^{4}\).
Skill unlocked
Products and quotients differentiated, factorised and used.
This skill is now recorded on your profile. Keep the chain going.