๐Ÿ“ˆ Differentiation Overview

A Level Maths Year 2 ยท Overview of the whole topic

Level 3 · Ages 17–18
1 The Big Idea

In Year 1 you could differentiate sums of powers of $x$. That is enough for polynomials, but almost nothing in the real world is a polynomial. Year 2 differentiation (DfE content area G) gives you the tools to differentiate any function you can write down: exponentials, logarithms, trigonometric functions, and every combination of them.

The whole topic rests on two things: a short list of standard derivatives, and three rules for combining them โ€” chain (functions inside functions), product (functions multiplied) and quotient (functions divided). Once you have those, implicit and parametric differentiation and connected rates of change are all the chain rule in disguise.
What is new compared with Year 1
$\mathrm{e}^{kx}$, $a^{kx}$, $\ln x$, $\sin kx$, $\cos kx$, $\tan kx$ · chain, product and quotient rules
Implicit and parametric curves · concavity and points of inflection · connected rates of change
Radians, always. Every trigonometric derivative on these pages assumes $x$ is in radians. And keep exact values ($\ln 2$, $\tfrac{\pi}{4}$, $\mathrm{e}^{-1}$) unless a question asks for decimals.
2 The Language You Need
WordMeaningExample
Composite functionA function of a function โ€” needs the chain rule.$\sin(x^2)$, $(3x - 1)^5$
Product / quotientTwo functions multiplied / divided.$x^2\mathrm{e}^x$, $\dfrac{\ln x}{x}$
Parametric$x$ and $y$ both given in terms of a parameter $t$.$x = t^2$, $y = 2t$
ImplicitAn equation in $x$ and $y$ not solved for $y$.$x^2 + xy + y^2 = 7$
Convex$\mathrm{f}''(x) \geqslant 0$: the curve bends upwards.$y = \mathrm{e}^x$
Concave$\mathrm{f}''(x) \leqslant 0$: the curve bends downwards.$y = \ln x$
Point of inflectionWhere the curve changes between concave and convex.$(0, 0)$ on $y = x^3$
Rate of changeA derivative with respect to time.$\dfrac{\mathrm{d}V}{\mathrm{d}t}$
3 The Core Techniques
1 โ€” Standard derivatives
$\mathrm{e}^{kx} \to k\mathrm{e}^{kx}$   $a^{kx} \to ka^{kx}\ln a$   $\ln x \to \dfrac1x$   $\sin kx \to k\cos kx$   $\cos kx \to -k\sin kx$   $\tan kx \to k\sec^2 kx$
2 โ€” The chain rule
$\dfrac{\mathrm{d}y}{\mathrm{d}x} = \dfrac{\mathrm{d}y}{\mathrm{d}u} \times \dfrac{\mathrm{d}u}{\mathrm{d}x}$    and    $\dfrac{\mathrm{d}y}{\mathrm{d}x} = 1 \Big/ \dfrac{\mathrm{d}x}{\mathrm{d}y}$
3 โ€” Product and quotient rules
$(uv)' = uv' + vu'$     $\left(\dfrac{u}{v}\right)' = \dfrac{vu' - uv'}{v^2}$
4 โ€” Parametric and implicit
$\dfrac{\mathrm{d}y}{\mathrm{d}x} = \dfrac{\mathrm{d}y/\mathrm{d}t}{\mathrm{d}x/\mathrm{d}t}$     $\dfrac{\mathrm{d}}{\mathrm{d}x}\big(\mathrm{f}(y)\big) = \mathrm{f}'(y)\dfrac{\mathrm{d}y}{\mathrm{d}x}$
5 โ€” Second derivative and rates
$\mathrm{f}'' > 0$ convex, $\mathrm{f}'' < 0$ concave, sign change of $\mathrm{f}''$ = inflection    $\dfrac{\mathrm{d}V}{\mathrm{d}t} = \dfrac{\mathrm{d}V}{\mathrm{d}r}\dfrac{\mathrm{d}r}{\mathrm{d}t}$
Worked Example โ€” Several techniques in one question

$y = x^2\ln x$, $x > 0$. Find the exact coordinates of the stationary point, determine its nature, and find where the curve is convex.

โ‘ Product rule: $\dfrac{\mathrm{d}y}{\mathrm{d}x} = x^2 \cdot \dfrac1x + 2x\ln x = x(1 + 2\ln x)$.
โ‘ก$x > 0$, so stationary when $\ln x = -\tfrac12$, i.e. $x = \mathrm{e}^{-1/2}$. Then $y = \mathrm{e}^{-1}\left(-\tfrac12\right) = -\dfrac{1}{2\mathrm{e}}$.
โ‘ขDifferentiate $x + 2x\ln x$: $\dfrac{\mathrm{d}^2y}{\mathrm{d}x^2} = 1 + 2\ln x + 2 = 3 + 2\ln x$.
โ‘ฃAt $x = \mathrm{e}^{-1/2}$: $3 + 2\left(-\tfrac12\right) = 2 > 0$, so a minimum at $\left(\mathrm{e}^{-1/2}, -\tfrac{1}{2\mathrm{e}}\right)$.
โ‘คConvex when $3 + 2\ln x > 0 \Rightarrow x > \mathrm{e}^{-3/2}$; there is a point of inflection at $x = \mathrm{e}^{-3/2}$.
One question, four ideas: the derivative of $\ln x$, the product rule, solving a log equation, and concavity. Expect topics to be mixed like this.
4 The Differentiation Subtopics

Each part of DfE content area G covered in Year 2, and the page that covers it. The Year 1 basics are in A Level Maths Year 1 ยท Differentiation.

5 Common Mistakes to Avoid
Forgetting the inside derivative. $\dfrac{\mathrm{d}}{\mathrm{d}x}\sin 3x = 3\cos 3x$, not $\cos 3x$. $\dfrac{\mathrm{d}}{\mathrm{d}x}\mathrm{e}^{x^2} = 2x\mathrm{e}^{x^2}$, not $\mathrm{e}^{x^2}$.
Differentiating a product term by term. $\dfrac{\mathrm{d}}{\mathrm{d}x}(x^2\sin x) \neq 2x\cos x$. Use the product rule.
Getting the quotient rule backwards. It is $vu' - uv'$ on top. Swapping the order flips the sign of the answer.
Treating $a^x$ like $x^n$. $\dfrac{\mathrm{d}}{\mathrm{d}x}2^x = 2^x\ln 2$, not $x \cdot 2^{x-1}$.
Missing the $\frac{\mathrm{d}y}{\mathrm{d}x}$ in implicit differentiation, especially on $xy$ terms, which need the product rule.
Assuming $\mathrm{f}''(x) = 0$ means a point of inflection. You must show that $\mathrm{f}''$ changes sign.
6 Quick Reference

Exponentials

$\mathrm{e}^{kx} \to k\mathrm{e}^{kx}$; $a^x \to a^x\ln a$

Logs

$\ln x \to \tfrac1x$; $\ln\mathrm{f}(x) \to \tfrac{\mathrm{f}'(x)}{\mathrm{f}(x)}$

Trig

$\sin \to \cos$, $\cos \to -\sin$, $\tan \to \sec^2$ (times $k$)

Chain

Outside derivative ร— inside derivative.

Product

$uv' + vu'$

Quotient

$\dfrac{vu' - uv'}{v^2}$

Parametric

$\dot y / \dot x$

Implicit

Differentiate $y$-terms, then multiply by $\frac{\mathrm{d}y}{\mathrm{d}x}$.

Inflection

$\mathrm{f}'' = 0$ and changes sign.

7 Practice Questions

Ten questions drawing on the whole Differentiation topic. Work each one through before opening the solution.

Question 1

Differentiate $y = \mathrm{e}^{5x} + 3\ln x - 2\sin x$.

โ–ถ Show solution

$\dfrac{\mathrm{d}y}{\mathrm{d}x} = 5\mathrm{e}^{5x} + \dfrac{3}{x} - 2\cos x$.

Question 2

Differentiate $y = (x^2 + 3)^4$.

โ–ถ Show solution

Chain rule: $4(x^2 + 3)^3 \times 2x = 8x(x^2 + 3)^3$.

Question 3

Differentiate $y = x\cos x$.

โ–ถ Show solution

Product rule: $x(-\sin x) + \cos x \cdot 1 = \cos x - x\sin x$.

Question 4

Show that the derivative of $y = \dfrac{\mathrm{e}^x}{x + 1}$ is $\dfrac{x\mathrm{e}^x}{(x + 1)^2}$.

โ–ถ Show solution

Quotient rule: $\dfrac{(x + 1)\mathrm{e}^x - \mathrm{e}^x \cdot 1}{(x + 1)^2} = \dfrac{\mathrm{e}^x(x + 1 - 1)}{(x + 1)^2} = \dfrac{x\mathrm{e}^x}{(x + 1)^2}$.

Question 5

A curve has parametric equations $x = t^2 + 1$, $y = 4t$. Find $\dfrac{\mathrm{d}y}{\mathrm{d}x}$ in terms of $t$ and the gradient at $(5, 8)$.

โ–ถ Show solution

$\dfrac{\mathrm{d}y}{\mathrm{d}x} = \dfrac{4}{2t} = \dfrac{2}{t}$.

$y = 8 \Rightarrow t = 2$ (check $x = 5$ โœ“), so the gradient is $1$.

Question 6

Find the gradient of the curve $x^2 + xy + y^2 = 7$ at the point $(1, 2)$.

โ–ถ Show solution

$2x + x\dfrac{\mathrm{d}y}{\mathrm{d}x} + y + 2y\dfrac{\mathrm{d}y}{\mathrm{d}x} = 0 \Rightarrow \dfrac{\mathrm{d}y}{\mathrm{d}x} = -\dfrac{2x + y}{x + 2y}$.

At $(1, 2)$: $-\dfrac{4}{5}$.

Question 7

Find the point of inflection on $y = x^3 - 3x^2 + 2x$, showing that it is a point of inflection.

โ–ถ Show solution

$y'' = 6x - 6 = 0 \Rightarrow x = 1$; $y''$ is negative for $x < 1$ and positive for $x > 1$, so it changes sign.

$y = 1 - 3 + 2 = 0$: point of inflection $(1, 0)$.

Question 8

The radius of a spherical balloon increases at $0.5$ cm s$^{-1}$. Find the rate of increase of its volume when $r = 2$ cm, in terms of $\pi$.

โ–ถ Show solution

$\dfrac{\mathrm{d}V}{\mathrm{d}r} = 4\pi r^2 = 16\pi$. $\;\dfrac{\mathrm{d}V}{\mathrm{d}t} = 16\pi \times 0.5 = 8\pi$ cm$^3$ s$^{-1}$.

Question 9

Prove from first principles, using small angle approximations, that $\dfrac{\mathrm{d}}{\mathrm{d}x}(\cos x) = -\sin x$.

โ–ถ Show solution

$\dfrac{\cos(x + h) - \cos x}{h} = \dfrac{\cos x\cos h - \sin x\sin h - \cos x}{h}$.

With $\cos h \approx 1 - \tfrac12 h^2$ and $\sin h \approx h$: $\approx \dfrac{-\tfrac12 h^2\cos x - h\sin x}{h} = -\tfrac12 h\cos x - \sin x$.

As $h \to 0$ this tends to $-\sin x$. $\blacksquare$

Question 10

$\mathrm{f}(x) = \mathrm{e}^{-x}\sin x$, $\;0 \leqslant x \leqslant \pi$.

(a) Show that $\mathrm{f}'(x) = \mathrm{e}^{-x}(\cos x - \sin x)$.
(b) Find the exact coordinates of the stationary point.
(c) Show that $\mathrm{f}''(x) = -2\mathrm{e}^{-x}\cos x$, and hence determine the nature of the stationary point.
(d) Find the exact coordinates of the point of inflection.

โ–ถ Show solution

(a) Product rule: $\mathrm{e}^{-x}\cos x + \sin x \cdot (-\mathrm{e}^{-x}) = \mathrm{e}^{-x}(\cos x - \sin x)$.

(b) $\mathrm{e}^{-x} > 0$, so $\cos x = \sin x \Rightarrow \tan x = 1 \Rightarrow x = \dfrac{\pi}{4}$. $\;\mathrm{f}\!\left(\tfrac{\pi}{4}\right) = \dfrac{\sqrt2}{2}\mathrm{e}^{-\pi/4}$ ($\approx 0.322$).

(c) $\mathrm{f}''(x) = -\mathrm{e}^{-x}(\cos x - \sin x) + \mathrm{e}^{-x}(-\sin x - \cos x) = -2\mathrm{e}^{-x}\cos x$.

At $x = \tfrac{\pi}{4}$: $-2\mathrm{e}^{-\pi/4} \cdot \tfrac{\sqrt2}{2} < 0$, so a maximum.

(d) $\mathrm{f}''(x) = 0$ when $\cos x = 0$, so $x = \dfrac{\pi}{2}$; $\cos x$ changes sign there, so it is a point of inflection: $\left(\dfrac{\pi}{2}, \mathrm{e}^{-\pi/2}\right)$.

Differentiation Overview · A Level Maths Year 2 · Created with MathJax