1 exam-style question plus unlimited generated ones on this topic, at up to four difficulty levels, with full mark schemes. Notes and Full packs are open to everyone. Practice needs a free account.
Or take a quick quiz: 11 questions on this subtopic in A level Maths (Edexcel), marked as you tap.
The chain rule for composite functions, the product rule and the quotient rule, and using \(\dfrac{\mathrm{d}y}{\mathrm{d}x} = 1 \div \dfrac{\mathrm{d}x}{\mathrm{d}y}\) when \(x\) is given in terms of \(y\). Questions often combine these with stationary points, tangents or 'show that' algebra, and can include the derivatives of sec, cosec and cot.
\(\sec x \to \sec x\tan x\);\(\operatorname{cosec} x \to -\operatorname{cosec} x\cot x\); \(\cot x \to -\operatorname{cosec}^2 x\)
Notes
The chain rule
diagram
If \(y\) is a function of \(u\) and \(u\) is a function of \(x\), then \(\dfrac{\mathrm{d}y}{\mathrm{d}x} = \dfrac{\mathrm{d}y}{\mathrm{d}u} \times \dfrac{\mathrm{d}u}{\mathrm{d}x}\)
A small change in \(x\) changes \(u\), which changes \(y\): the rates multiply.
In practice: differentiate the outside function (leaving the inside alone), then multiply by the derivative of the inside.
\(\sin^2 x\) means \((\sin x)^2\), so its derivative is \(2\sin x\cos x\)
Product and quotient rules
Product rule: if \(y = uv\), then \(\dfrac{\mathrm{d}y}{\mathrm{d}x} = u\dfrac{\mathrm{d}v}{\mathrm{d}x} + v\dfrac{\mathrm{d}u}{\mathrm{d}x}\)
Quotient rule: if \(y = \dfrac{u}{v}\), then \(\dfrac{\mathrm{d}y}{\mathrm{d}x} = \dfrac{v\dfrac{\mathrm{d}u}{\mathrm{d}x} - u\dfrac{\mathrm{d}v}{\mathrm{d}x}}{v^2}\). It is in the formula booklet; the order of the top matters.
Write down \(u\),\(v\), \(u'\) and \(v'\) before you substitute.
Factorise the result, taking out common factors such as \(\mathrm{e}^{2x}\) or \((x + 1)^3\); you need this to solve \(\dfrac{\mathrm{d}y}{\mathrm{d}x} = 0\)
When \(x\) is given in terms of \(y\)
Find \(\dfrac{\mathrm{d}x}{\mathrm{d}y}\), then use \(\dfrac{\mathrm{d}y}{\mathrm{d}x} = \dfrac{1}{\mathrm{d}x/\mathrm{d}y}\)
E.g. \(x = y^2 + 3y\) gives \(\dfrac{\mathrm{d}x}{\mathrm{d}y} = 2y + 3\), so \(\dfrac{\mathrm{d}y}{\mathrm{d}x} = \dfrac{1}{2y + 3}\)
To give the answer in terms of \(x\), use an identity, e.g. \(\sec^2 y = 1 + \tan^2 y\)
sec, cosec and cot
Using the chain rule or the quotient rule: \(\dfrac{\mathrm{d}}{\mathrm{d}x}(\sec x) = \sec x\tan x\), \(\dfrac{\mathrm{d}}{\mathrm{d}x}(\operatorname{cosec} x) = -\operatorname{cosec} x\cot x\) and \(\dfrac{\mathrm{d}}{\mathrm{d}x}(\cot x) = -\operatorname{cosec}^2 x\)
These, with their \(kx\) versions, are in the formula booklet, but you may be asked to prove them.
How to answer each type of question
M = method mark, A = answer mark, B = a mark on its own.
Differentiate using the chain rule
2 to 4 marksGrade C
Identify the inside function and the outside function.
Differentiate the outside, keeping the inside unchanged.
Multiply by the derivative of the inside and simplify.
Example. Differentiate with respect to \(x\): (a) \(\sqrt{1 + 2x^2}\) (b) \(\ln(\cos x)\), \(0 \lt x \lt \dfrac{\pi}{2}\)
Solve \(\dfrac{\mathrm{d}y}{\mathrm{d}x} = 0\), using the fact that an exponential is never 0.
Example. The curve \(C\) has equation \(y = x^2\mathrm{e}^{-2x}\). (a) Find \(\dfrac{\mathrm{d}y}{\mathrm{d}x}\), giving your answer in a fully factorised form. (b) Hence find the exact coordinates of the stationary points of \(C\)
(b) \(\mathrm{e}^{-2x} \neq 0\), so \(x = 0\) or \(x = 1\)
M1
\((0, 0)\) and \((1, \mathrm{e}^{-2})\)
A1
Quotient rule: show that, then use it
4 to 5 marksGrade B
Write \(u\),\(v\), \(u'\) and \(v'\)
Substitute into \(\dfrac{vu' - uv'}{v^2}\), keeping the order of the top.
Cancel common factors to reach the given answer.
Set the numerator equal to 0 to find stationary points.
Example. The curve \(C\) has equation \(y = \dfrac{\ln x}{x^2}\),\(x > 0\). (a) Show that \(\dfrac{\mathrm{d}y}{\mathrm{d}x} = \dfrac{1 - 2\ln x}{x^3}\). (b) Find the exact coordinates of the stationary point of \(C\)
Use the product rule\[\frac{\mathrm{d}}{\mathrm{d}x}(uv) = u\frac{\mathrm{d}v}{\mathrm{d}x} + v\frac{\mathrm{d}u}{\mathrm{d}x}\]
Grade B
Use the quotient rule\(\dfrac{\mathrm{d}}{\mathrm{d}x}\left(\dfrac{u}{v}\right) = \dfrac{v\dfrac{\mathrm{d}u}{\mathrm{d}x} - u\dfrac{\mathrm{d}v}{\mathrm{d}x}}{v^2}\) (given in the formula booklet).
Grade B
Use \(\dfrac{\mathrm{d}y}{\mathrm{d}x}=1\div\dfrac{\mathrm{d}x}{\mathrm{d}y}\)When \(x\) is given in terms of \(y\), differentiate with respect to \(y\) and take the reciprocal.
Grade A
Prove the derivatives of sec, cosec and cotWrite e.g. \(\sec x = (\cos x)^{-1}\) and use the chain rule or the quotient rule.
Grade A
Combine rules and factorise to find stationary pointsFactorise answers like \(2x(1 - x)\mathrm{e}^{-2x}\) so that \(\dfrac{\mathrm{d}y}{\mathrm{d}x} = 0\) is easy to solve.
Sample questions
Written for this site in the style of Edexcel exam questions. They are not taken from real past papers.
Question 1Easy4 marks
Find \(\frac{\mathrm{d}y}{\mathrm{d}x}\) in each of the following cases.
M1 for a derivative of the form \((\alpha x + \beta)\mathrm{e}^{x^{2} - 4x}\)
A1 for \(\frac{\mathrm{d}y}{\mathrm{d}x} = (2x - 4)\mathrm{e}^{x^{2} - 4x}\)
Worked solution: By the chain rule, \(\frac{\mathrm{d}y}{\mathrm{d}x} = \mathrm{e}^{x^{2} - 4x} \times \frac{\mathrm{d}}{\mathrm{d}x}\left(x^{2} - 4x\right) = (2x - 4)\mathrm{e}^{x^{2} - 4x}\).
(b)Answer: \(\left(2, \mathrm{e}^{-4}\right)\)
M1 for setting their \(\frac{\mathrm{d}y}{\mathrm{d}x} = 0\) and using \(\mathrm{e}^{x^{2} - 4x} \gt 0\) (or \(\ne 0\))
A1 for \(x = 2\)
A1 for \(\left(2, \mathrm{e}^{-4}\right)\)
Worked solution: \(\mathrm{e}^{x^{2} - 4x} \gt 0\) for all \(x\), so \(\frac{\mathrm{d}y}{\mathrm{d}x} = 0\) only when \(2x - 4 = 0\), i.e. \(x = 2\). Then \(y = \mathrm{e}^{4 - 8} = \mathrm{e}^{-4}\).
(c)Answer: Minimum
M1 for \(\frac{\mathrm{d}^{2}y}{\mathrm{d}x^{2}} = \left(2 + (2x - 4)^{2}\right)\mathrm{e}^{x^{2} - 4x}\) considered at their \(x\), or a sign test on \(\frac{\mathrm{d}y}{\mathrm{d}x}\)
A1 for \(\frac{\mathrm{d}^{2}y}{\mathrm{d}x^{2}} = 2\mathrm{e}^{-4} \gt 0\), so a minimum
Worked solution: \(\frac{\mathrm{d}^{2}y}{\mathrm{d}x^{2}} = 2\mathrm{e}^{x^{2} - 4x} + (2x - 4)^{2}\mathrm{e}^{x^{2} - 4x}\). At \(x = 2\) this is \(2\mathrm{e}^{-4} \gt 0\), so the stationary point is a minimum.
Question 3Hard9 marks
The curve \(C\) has equation \(y = \mathrm{e}^{x}\sin x\).
(a) Show that \[\frac{\mathrm{d}^2y}{\mathrm{d}x^2} - 2\frac{\mathrm{d}y}{\mathrm{d}x} + 2y = 0\]
[4]
(b) Find the \(x\)-coordinates of the stationary points of \(C\) for \(0 \le x \le 2\pi\).
[2]
(c) Use the result of part (a) to determine the nature of each stationary point, without differentiating again.
[3]
Show the answer and mark scheme
(a)Answer:\(y' = \mathrm{e}^x(\sin x + \cos x)\),\(y'' = 2\mathrm{e}^x\cos x\); \(2\mathrm{e}^x\cos x - 2\mathrm{e}^x(\sin x + \cos x) + 2\mathrm{e}^x\sin x = 0\)
M1 for using the product rule: \(\frac{\mathrm{d}y}{\mathrm{d}x} = \mathrm{e}^x\sin x + \mathrm{e}^x\cos x\)
M1 for differentiating again with the product rule
A1 for \(\frac{\mathrm{d}^2y}{\mathrm{d}x^2} = 2\mathrm{e}^x\cos x\)
A1* for substituting and simplifying to 0
Worked solution:\(\dfrac{\mathrm{d}y}{\mathrm{d}x} = \mathrm{e}^x\sin x + \mathrm{e}^x\cos x = \mathrm{e}^x(\sin x + \cos x)\). \(\dfrac{\mathrm{d}^2y}{\mathrm{d}x^2} = \mathrm{e}^x(\sin x + \cos x) + \mathrm{e}^x(\cos x - \sin x) = 2\mathrm{e}^x\cos x\). So \(\dfrac{\mathrm{d}^2y}{\mathrm{d}x^2} - 2\dfrac{\mathrm{d}y}{\mathrm{d}x} + 2y = 2\mathrm{e}^x\cos x - 2\mathrm{e}^x\sin x - 2\mathrm{e}^x\cos x + 2\mathrm{e}^x\sin x = 0\).
(b)Answer: \(x = \frac{3\pi}{4}\) and \(x = \frac{7\pi}{4}\)
M1 for \(\mathrm{e}^x(\sin x + \cos x) = 0 \Rightarrow \tan x = -1\) (with \(\mathrm{e}^x \ne 0\))
A1 for \(\frac{3\pi}{4}\) and \(\frac{7\pi}{4}\) only
Worked solution:\(\mathrm{e}^x \gt 0\), so \(\sin x + \cos x = 0\), i.e. \(\tan x = -1\): \(x = \frac{3\pi}{4}\) or \(x = \frac{7\pi}{4}\).
(c)Answer: At a stationary point \(\frac{\mathrm{d}^2y}{\mathrm{d}x^2} = -2y\). At \(x = \frac{3\pi}{4}\),\(y \gt 0\), so a maximum; at \(x = \frac{7\pi}{4}\),\(y \lt 0\), so a minimum.
M1 for \(\frac{\mathrm{d}y}{\mathrm{d}x} = 0 \Rightarrow \frac{\mathrm{d}^2y}{\mathrm{d}x^2} = -2y\)
M1 for finding the sign of \(y\) at each point: \(y = \mathrm{e}^{\frac{3\pi}{4}} \times \frac{\sqrt{2}}{2} \gt 0\) and \(y = -\mathrm{e}^{\frac{7\pi}{4}} \times \frac{\sqrt{2}}{2} \lt 0\)
A1 for maximum at \(x = \frac{3\pi}{4}\), minimum at \(x = \frac{7\pi}{4}\)
Worked solution: At a stationary point \(\frac{\mathrm{d}y}{\mathrm{d}x} = 0\), so part (a) gives \(\frac{\mathrm{d}^2y}{\mathrm{d}x^2} = -2y\). At \(x = \frac{3\pi}{4}\):\(\sin x = \frac{\sqrt{2}}{2} \gt 0\), so \(y \gt 0\),\(\frac{\mathrm{d}^2y}{\mathrm{d}x^2} \lt 0\): a maximum. At \(x = \frac{7\pi}{4}\):\(\sin x = -\frac{\sqrt{2}}{2}\), so \(y \lt 0\),\(\frac{\mathrm{d}^2y}{\mathrm{d}x^2} \gt 0\): a minimum.