Differentiation
P3 Topic 4, spec point by spec point (Differentiation). Each spec point has the method, worked examples written the way the mark scheme wants them, how the marks go and the mistakes that cost the most marks.
Spec4.1Differentiating eᵏˣ, ln kx, sin kx, cos kx and tan kx
Differentiate \(e^{kx}\), \(\ln kx\), \(\sin kx\), \(\cos kx\), \(\tan kx\) and their sums and differences.
The standard results
| \(y\) | \(\dfrac{dy}{dx}\) |
|---|---|
| \(e^{kx}\) | \(ke^{kx}\) |
| \(\ln kx\) | \(\dfrac1x\) |
| \(\sin kx\) | \(k\cos kx\) |
| \(\cos kx\) | \(-k\sin kx\) |
| \(\tan kx\) | \(k\sec^2 kx\) |
| \(a^x\) | \(a^x\ln a\) |
Angles must be in radians for the trig results.
Why \(\ln kx\) gives \(\frac1x\) with no \(k\): \(\ln kx = \ln k + \ln x\), and \(\ln k\) is a constant.
Why the \(k\) appears elsewhere: \(\sin 3x\) goes through its cycle 3 times faster, so it is 3 times steeper. (This is the chain rule, 4.2.)
Rates of change in models
\(\frac{dV}{dt}\) is how fast \(V\) changes. A negative value means \(V\) is decreasing: "find the rate of decrease" wants the size, with units such as pounds per year.
rate of change in a model
\(V = 18000e^{-0.2t} + 4000e^{-0.1t} + 1000\). Find the rate at which \(V\) is decreasing when \(t = 10\).
\(\dfrac{dV}{dt} = -3600e^{-0.2t} - 400e^{-0.1t}\). At \(t = 10\): \(-3600e^{-2} - 400e^{-1} = -634\).
\(V\) is decreasing at £634 per year.
an exact gradient
Find the gradient of \(y = 5\cos 2x - 12\sin 2x\) at \(x = \frac{\pi}{3}\).
\(\dfrac{dy}{dx} = -10\sin 2x - 24\cos 2x\). At \(x = \frac{\pi}{3}\): \(-10\cdot\frac{\sqrt3}{2} - 24\cdot\left(-\frac12\right) = 12 - 5\sqrt3\).
- M1 for the correct form (\(Ae^{-0.2t} + Be^{-0.1t}\), or \(p\sin 2x + q\cos 2x\)), dM1 for substituting, A1 for the value (WMA13A Jan 2026 Q6b, WMA13A Jun 2025 Q5a).
- When calculator-only answers are not accepted, the derivative must be seen (WMA13 Oct 2023 Q4c).
Often asked as: rate of change in an exponential model; gradient of a trig curve at a point; tangents and normals.
\(\frac{d}{dx}\cos x = \sin x\) (it is \(-\sin x\)).
\(\frac{d}{dx}e^{3x} = e^{3x}\) (forgetting the 3).
Degrees mode on the calculator.
Spec4.2The chain, product and quotient rules
Differentiate composite functions, products and quotients, including \(\sec x\), \(\operatorname{cosec} x\) and \(\cot x\).
Chain rule: a function of a function
If \(y\) depends on \(u\) and \(u\) depends on \(x\):
\[\frac{dy}{dx} = \frac{dy}{du} \times \frac{du}{dx}\]
In practice: differentiate the outside (leaving the inside alone), then multiply by the derivative of the inside.
- \((3x^2 + 1)^5 \to 5(3x^2 + 1)^4 \times 6x\)
- \(\cos(x^2) \to -\sin(x^2) \times 2x\)
- \(\tan^2 2x = (\tan 2x)^2 \to 2\tan 2x \times 2\sec^2 2x\)
- \(\sqrt{4x + 7} \to \frac12(4x + 7)^{-\frac12} \times 4\)
Product rule
\[y = uv \;\Rightarrow\; \frac{dy}{dx} = u\frac{dv}{dx} + v\frac{du}{dx}\]
Quotient rule
\[y = \frac{u}{v} \;\Rightarrow\; \frac{dy}{dx} = \frac{v\frac{du}{dx} - u\frac{dv}{dx}}{v^2}\]
The minus sign makes the order matter: "bottom times derivative of top, minus top times derivative of bottom". (It's in the formula booklet.)
Sec, cosec, cot
Write them as \((\cos x)^{-1}\) etc. and use the chain rule:
\[\frac{d}{dx}\sec x = \sec x\tan x \qquad \frac{d}{dx}\operatorname{cosec} x = -\operatorname{cosec} x\cot x \qquad \frac{d}{dx}\cot x = -\operatorname{cosec}^2 x\]
Simplify by factorising
After the product or quotient rule, take out common factors. It makes "\(= 0\)" easy to solve and gets "show that" forms.
product rule and a stationary point
Find the \(x\)-coordinate of the stationary point of \(y = (2x + 5)e^{3x}\).
\(\dfrac{dy}{dx} = 2e^{3x} + 3(2x + 5)e^{3x} = e^{3x}(6x + 17)\).
\(e^{3x} > 0\) always, so \(6x + 17 = 0\): \(x = -\frac{17}{6}\).
quotient rule and an increasing interval
Find where \(y = \dfrac{4x + 1}{(x + 3)^2}\) is increasing.
\(\dfrac{dy}{dx} = \dfrac{4(x + 3)^2 - (4x + 1)\cdot 2(x + 3)}{(x + 3)^4} = \dfrac{4(x + 3) - 2(4x + 1)}{(x + 3)^3} = \dfrac{10 - 4x}{(x + 3)^3}\).
Increasing where this is positive: top and bottom have the same sign. Both positive: \(-3 < x < \frac52\). Both negative is impossible.
So \(-3 < x < \frac52\).
a show-that with a root
Show that \(f(x) = x^3\sqrt{4x + 7}\) has \(f'(x) = \dfrac{kx^2(2x + 3)}{\sqrt{4x + 7}}\) and find \(k\).
\(f'(x) = 3x^2(4x + 7)^{\frac12} + x^3 \cdot 2(4x + 7)^{-\frac12} = \dfrac{3x^2(4x + 7) + 2x^3}{\sqrt{4x + 7}} = \dfrac{14x^3 + 21x^2}{\sqrt{4x + 7}} = \dfrac{7x^2(2x + 3)}{\sqrt{4x + 7}}\). So \(k = 7\).
- M1 for the correct structure of the rule (\(Ae^{3x} + B(2x + 5)e^{3x}\)), A1 for the correct derivative, dM1 for setting to 0 and cancelling \(e^{3x}\) (taking logs is M0), A1 for the answer with no extra from \(e^{3x} = 0\) (WMA13 Jan 2022 Q1).
- Quotient rule: M1 for the form \(\frac{a(x + 3)^2 - b(4x + 1)(x + 3)}{(x + 3)^4}\), A1 correct, M1 for solving numerator \(= 0\) (WMA13 Jan 2025 Q3).
Often asked as: stationary points of products and quotients; increasing intervals; "show that \(f'(x) = \ldots\)"; reduction formula derivatives in FP3 use the same skills (WFM03A Jun 2026 Q8a).
Quotient rule numerator the wrong way round.
Forgetting the chain rule factor inside a product.
Writing \(e^{3x} = 0\) as a solution.
Spec4.3Using dy/dx = 1 ÷ (dx/dy)
Use \(\dfrac{dy}{dx} = \dfrac{1}{\;\frac{dx}{dy}\;}\), for example to find \(\frac{dy}{dx}\) when \(x = \sin 3y\).
The idea
If \(x\) is given in terms of \(y\), differentiate with respect to \(y\) and flip. It works because gradients of inverse relationships are reciprocals (rise over run becomes run over rise).
Then use an identity to write the answer in terms of \(x\) if asked.
x in terms of y
\(x = \sin 3y\). Find \(\frac{dy}{dx}\) in terms of \(x\).
\(\dfrac{dx}{dy} = 3\cos 3y\), so \(\dfrac{dy}{dx} = \dfrac{1}{3\cos 3y}\).
\(\cos 3y = \sqrt{1 - \sin^2 3y} = \sqrt{1 - x^2}\) (taking the positive root for the principal values), so \(\dfrac{dy}{dx} = \dfrac{1}{3\sqrt{1 - x^2}}\).
dx/dy in terms of y
\(y = 8\tan 2x\). Show that \(\dfrac{dx}{dy} = \dfrac{A}{B + y^2}\).
\(\dfrac{dy}{dx} = 16\sec^2 2x = 16(1 + \tan^2 2x) = 16\left(1 + \dfrac{y^2}{64}\right) = \dfrac{64 + y^2}{4}\).
So \(\dfrac{dx}{dy} = \dfrac{4}{64 + y^2}\): \(A = 4\), \(B = 64\).
- M1 for differentiating (keeping the inside angle), dM1 for using an identity to get to the other variable, ddM1 for a single fraction, A1 for the result (WMA13A Jan 2026 Q4).
- Finding a point from a gradient: M1 for setting \(\frac{dy}{dx}\) to the value, A1 and dM1 to get both coordinates (WMA13 Jan 2025 Q10c).
Often asked as: \(x = 3\cos 2y\) or \(x = \sin^2 4y\); show \(\frac{dy}{dx}\) has a given form in \(x\) (WMA13 Oct 2023 Q10); then the tangent or normal at a point.
Forgetting the chain-rule factor (3 in \(\sin 3y\)).
Leaving the answer in \(y\) when \(x\) is asked for.
Spec4.4Exponential growth and decay
Use exponential models of growth and decay, interpret the constants, consider behaviour for large \(t\), and comment on the model.
The idea
If something changes at a rate proportional to its size (\(\frac{dN}{dt} = kN\)), it follows \(N = Ae^{kt}\). \(k > 0\) is growth, \(k < 0\) is decay.
Models often add a constant: \(\theta = 21 + Ae^{-kt}\) (cooling to room temperature 21°C).
Reading a model
- Initial value: put \(t = 0\), using \(e^0 = 1\).
- Long-term value: let \(t \to \infty\). Decay terms vanish.
- Rate of change: differentiate.
- Finding constants: substitute known pairs and solve with logs.
- Criticism: growth models predict unlimited growth, which can't continue; check whether predictions are realistic.
cooling
\(\theta = 21 + Ae^{-kt}\). When \(t = 0\), \(\theta = 75\); when \(t = 5\), \(\theta = 50\). Find \(A\), \(k\), the long-term temperature and the rate of cooling at \(t = 5\).
\(t = 0\): \(75 = 21 + A \Rightarrow A = 54\).
\(t = 5\): \(29 = 54e^{-5k} \Rightarrow k = \frac15\ln\frac{54}{29} = 0.124\).
Long term: \(e^{-kt} \to 0\), so \(\theta \to 21°\)C.
\(\frac{d\theta}{dt} = -54ke^{-kt}\). At \(t = 5\), \(54e^{-5k} = 29\), so \(\frac{d\theta}{dt} = -29k = -3.61\): cooling at \(3.61\)°C per minute.
- B1 for the constant from \(t = 0\) (WMA13 Oct 2023 Q4a, WMA13A Jun 2026 Q8a); M1 A1 when "show all stages" is required (WMA13 Jun 2025 Q6a).
- Later parts: M1 for setting up the equation and using logs, A1 for the value, and B1 for a sensible comment about the model's limitation.
Often asked as: heart rate, car value, cooling, populations, sales; state \(A\), find \(k\), find \(T\), find a rate, comment on long-term behaviour.
Forgetting \(e^0 = 1\), or writing \(e^0 = 0\).
Giving the rate with the wrong sign when "rate of decrease" is asked.