A levels Mathematics · Pure: calculus and numerical methods
Chain, product and quotient rules
1Derivatives to know
Beyond the power rule, you need these standard derivatives ($x$ in radians for trigonometry):
- $\dfrac{d}{dx}(e^{kx}) = ke^{kx}$
- $\dfrac{d}{dx}(\ln x) = \dfrac{1}{x}$
- $\dfrac{d}{dx}(\sin kx) = k\cos kx$
- $\dfrac{d}{dx}(\cos kx) = -k\sin kx$
- $\dfrac{d}{dx}(\tan kx) = k\sec^2 kx$
- $\dfrac{d}{dx}(a^x) = a^x\ln a$
The derivatives of $\sin x$ and $\cos x$ can be proved from first principles using the small angle approximations $\sin h \approx h$ and $\cos h \approx 1 - \frac{h^2}{2}$.
Check yourself
What is the derivative of cos 3x?
Show the answer
−3 sin 3x
The derivative of cos is −sin, times the inner coefficient.
2The chain rule
The chain rule differentiates a function of a function:
$$\frac{dy}{dx} = \frac{dy}{du} \times \frac{du}{dx}$$
In words: differentiate the outside, keep the inside the same, then multiply by the derivative of the inside.
A power of a bracket
- $y = (3x^2 + 1)^5$. Let $u = 3x^2 + 1$, so $y = u^5$.
- $\dfrac{dy}{du} = 5u^4$ and $\dfrac{du}{dx} = 6x$.
- $\dfrac{dy}{dx} = 5(3x^2 + 1)^4 \times 6x = 30x(3x^2 + 1)^4$.
Exponential and log
- $y = e^{x^2}$: $\dfrac{dy}{dx} = 2xe^{x^2}$.
- $y = \ln(5x - 2)$: $\dfrac{dy}{dx} = \dfrac{5}{5x - 2}$.
A useful pattern: $\dfrac{d}{dx}\ln f(x) = \dfrac{f'(x)}{f(x)}$.
Check yourself
What is the derivative of (2x − 1)⁴?
Show the answer
8(2x − 1)³
4(2x − 1)³ × 2.
3The product rule
To differentiate a product $y = uv$, where $u$ and $v$ are both functions of $x$:
$$\frac{dy}{dx} = u\frac{dv}{dx} + v\frac{du}{dx}$$
Polynomial times exponential
- $y = x^3e^{2x}$. Let $u = x^3$, $v = e^{2x}$.
- $u' = 3x^2$, $v' = 2e^{2x}$.
- $\dfrac{dy}{dx} = x^3 \cdot 2e^{2x} + e^{2x} \cdot 3x^2 = x^2e^{2x}(2x + 3)$.
Polynomial times trig
- $y = x\sin x$.
- $\dfrac{dy}{dx} = x\cos x + \sin x$.
Factorise your answer where possible: it makes finding stationary points much easier.
Check yourself
What is the derivative of x eˣ?
Show the answer
eˣ(x + 1)
u'v + uv' = eˣ + x eˣ.
4The quotient rule
To differentiate a quotient $y = \dfrac{u}{v}$:
$$\frac{dy}{dx} = \frac{v\dfrac{du}{dx} - u\dfrac{dv}{dx}}{v^2}$$
The order matters: the minus sign means swapping the terms changes the answer's sign.
A rational function
- $y = \dfrac{2x}{x^2 + 1}$. $u = 2x$, $v = x^2 + 1$.
- $u' = 2$, $v' = 2x$.
- $\dfrac{dy}{dx} = \dfrac{2(x^2 + 1) - 2x \cdot 2x}{(x^2 + 1)^2} = \dfrac{2 - 2x^2}{(x^2 + 1)^2}$.
Proving the derivative of tan x
- $\tan x = \dfrac{\sin x}{\cos x}$.
- $\dfrac{d}{dx}\tan x = \dfrac{\cos x \cos x - \sin x(-\sin x)}{\cos^2 x} = \dfrac{1}{\cos^2 x} = \sec^2 x$.
Check yourself
In the quotient rule, what goes in the denominator?
Show the answer
v²
The bottom function, squared.
5Combining the rules
Many functions need more than one rule. Decide the main structure first.
Product with a chain inside
- $y = x^2\sqrt{4x + 1} = x^2(4x + 1)^{1/2}$.
- $u = x^2$, $u' = 2x$; $v = (4x + 1)^{1/2}$, $v' = \frac{1}{2}(4x + 1)^{-1/2} \times 4 = 2(4x + 1)^{-1/2}$.
- $\dfrac{dy}{dx} = 2x^2(4x + 1)^{-1/2} + 2x(4x + 1)^{1/2}$.
- Factor out $2x(4x + 1)^{-1/2}$: $\dfrac{dy}{dx} = \dfrac{2x(5x + 1)}{\sqrt{4x + 1}}$.
Chain inside a trig function
- $y = \sin^3 x = (\sin x)^3$.
- $\dfrac{dy}{dx} = 3\sin^2 x \cos x$.
Check yourself
Which rule is needed first for y = x² sin(3x)?
Show the answer
The product rule
It is a product; the chain rule is needed for sin 3x inside.
6Rates of change
The chain rule links connected rates of change:
$$\frac{dV}{dt} = \frac{dV}{dr} \times \frac{dr}{dt}$$
An inflating balloon
- A spherical balloon's radius grows at 0.2 cm/s. Find how fast its volume grows when $r = 5$ cm.
- $V = \frac{4}{3}\pi r^3$, so $\dfrac{dV}{dr} = 4\pi r^2 = 100\pi$ when $r = 5$.
- $\dfrac{dV}{dt} = 100\pi \times 0.2 = 20\pi \approx 62.8$ cm³/s.
The relation $\dfrac{dx}{dy} = \dfrac{1}{dy/dx}$ also comes from the chain rule. For example, if $x = y^3 + y$, then $\dfrac{dy}{dx} = \dfrac{1}{3y^2 + 1}$.
Check yourself
If dy/dx = 4, what is dx/dy?
Show the answer
1/4
dx/dy = 1/(dy/dx).
Now test yourself
This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.
Practise in Impera