Year 1 differentiation handled sums of powers. Real functions are built by composing (one function inside another), multiplying and dividing simpler ones. Each operation has its own rule.
In words: differentiate the outside (leaving the inside alone), then multiply by the derivative of the inside.
Differentiate $y = (3x^2 - 1)^5$.
Differentiate (a) $\sqrt{1 + 4x}$ (b) $\mathrm{e}^{x^2}$ (c) $\ln(x^2 + 1)$ (d) $\sin^3 x$.
$y = x^2\mathrm{e}^{3x}$. Find $\dfrac{\mathrm{d}y}{\mathrm{d}x}$ in factorised form, and the $x$-coordinates of the stationary points.
Differentiate $y = x^3\ln x$.
Differentiate $y = \dfrac{2x + 1}{x - 3}$ and explain why the curve has no stationary points.
Show that $\dfrac{\mathrm{d}}{\mathrm{d}x}(\tan x) = \sec^2 x$.
The same method gives the derivatives of the reciprocal trigonometric functions (they are in the formula booklet):
| $y$ | $\sec x$ | $\operatorname{cosec} x$ | $\cot x$ |
|---|---|---|---|
| $\dfrac{\mathrm{d}y}{\mathrm{d}x}$ | $\sec x\tan x$ | $-\operatorname{cosec} x\cot x$ | $-\operatorname{cosec}^2 x$ |
Differentiate $y = \dfrac{\mathrm{e}^{2x}}{x}$ and find the exact stationary point.
A curve has equation $x = y^3 + y$. Find the gradient at the point $(2, 1)$.
Chain
$\dfrac{\mathrm{d}y}{\mathrm{d}x} = \dfrac{\mathrm{d}y}{\mathrm{d}u}\cdot\dfrac{\mathrm{d}u}{\mathrm{d}x}$: outside, then times inside's derivative.
Product
$(uv)' = uv' + vu'$
Quotient
$\left(\dfrac uv\right)' = \dfrac{vu' - uv'}{v^2}$
$\mathrm{e}^{\mathrm{f}(x)}$
$\to \mathrm{f}'(x)\mathrm{e}^{\mathrm{f}(x)}$
$\ln\mathrm{f}(x)$
$\to \dfrac{\mathrm{f}'(x)}{\mathrm{f}(x)}$
Reciprocal
$\dfrac{\mathrm{d}y}{\mathrm{d}x} = 1 \Big/ \dfrac{\mathrm{d}x}{\mathrm{d}y}$
$\tan x$
$\sec^2 x$; $\;\sec x \to \sec x\tan x$
Tidy up
Factorise; exponentials are never zero.
Differentiate $y = (2x - 5)^6$.
▶ Show solution
$\dfrac{\mathrm{d}y}{\mathrm{d}x} = 6(2x - 5)^5 \times 2 = 12(2x - 5)^5$.
Differentiate (a) $\mathrm{e}^{\sin x}$ (b) $\ln(\cos x)$.
▶ Show solution
(a) $\cos x\,\mathrm{e}^{\sin x}$.
(b) $\dfrac{-\sin x}{\cos x} = -\tan x$.
Differentiate $y = x^2\sin x$.
▶ Show solution
$u = x^2$, $v = \sin x$: $\dfrac{\mathrm{d}y}{\mathrm{d}x} = x^2\cos x + 2x\sin x$.
Differentiate $y = \dfrac{x}{x^2 + 1}$ and find the stationary points.
▶ Show solution
$\dfrac{\mathrm{d}y}{\mathrm{d}x} = \dfrac{(x^2 + 1)(1) - x(2x)}{(x^2 + 1)^2} = \dfrac{1 - x^2}{(x^2 + 1)^2}$.
Zero when $x = \pm1$: stationary points $\left(1, \tfrac12\right)$ and $\left(-1, -\tfrac12\right)$.
Show that $\dfrac{\mathrm{d}}{\mathrm{d}x}(\sec x) = \sec x\tan x$.
▶ Show solution
$\sec x = (\cos x)^{-1}$. By the chain rule: $-1(\cos x)^{-2} \times (-\sin x) = \dfrac{\sin x}{\cos^2 x}$.
$= \dfrac{1}{\cos x}\cdot\dfrac{\sin x}{\cos x} = \sec x\tan x$. $\blacksquare$
A curve has equation $x = y^2 - 4y$. Find $\dfrac{\mathrm{d}y}{\mathrm{d}x}$ at the point where $y = 3$.
▶ Show solution
When $y = 3$, $x = 9 - 12 = -3$: the point $(-3, 3)$.
$\dfrac{\mathrm{d}x}{\mathrm{d}y} = 2y - 4 = 2$, so $\dfrac{\mathrm{d}y}{\mathrm{d}x} = \dfrac12$.
Find the exact coordinates of the stationary point of $y = x\mathrm{e}^{-2x}$ and determine its nature.
▶ Show solution
$\dfrac{\mathrm{d}y}{\mathrm{d}x} = x(-2\mathrm{e}^{-2x}) + \mathrm{e}^{-2x} = \mathrm{e}^{-2x}(1 - 2x)$. Zero at $x = \tfrac12$, $y = \tfrac12\mathrm{e}^{-1} = \dfrac{1}{2\mathrm{e}}$.
For $x$ slightly less than $\tfrac12$, $1 - 2x > 0$ (increasing); slightly more, $1 - 2x < 0$ (decreasing). So $\left(\tfrac12, \tfrac{1}{2\mathrm{e}}\right)$ is a maximum.
$\mathrm{f}(x) = \dfrac{\ln x}{x}$, $x > 0$. Find the exact maximum value of $\mathrm{f}(x)$.
▶ Show solution
$\mathrm{f}'(x) = \dfrac{x \cdot \frac1x - \ln x \cdot 1}{x^2} = \dfrac{1 - \ln x}{x^2}$.
Zero when $\ln x = 1$, i.e. $x = \mathrm{e}$. $\mathrm{f}'(x) > 0$ for $x < \mathrm{e}$ and $< 0$ for $x > \mathrm{e}$, so this is a maximum.
Maximum value $\mathrm{f}(\mathrm{e}) = \dfrac{1}{\mathrm{e}}$.
Differentiate $y = \sqrt{x}\,(x + 2)^3$, giving your answer as a single fraction.
▶ Show solution
Product rule with $u = x^{1/2}$, $v = (x + 2)^3$: $u' = \dfrac{1}{2\sqrt x}$, $v' = 3(x + 2)^2$.
$\dfrac{\mathrm{d}y}{\mathrm{d}x} = 3\sqrt{x}(x + 2)^2 + \dfrac{(x + 2)^3}{2\sqrt x} = \dfrac{6x(x + 2)^2 + (x + 2)^3}{2\sqrt x}$
$= \dfrac{(x + 2)^2(6x + x + 2)}{2\sqrt x} = \dfrac{(x + 2)^2(7x + 2)}{2\sqrt x}$.
$\mathrm{f}(x) = \dfrac{\sin x}{2 + \cos x}$, $\;0 \leqslant x \leqslant 2\pi$.
(a) Show that $\mathrm{f}'(x) = \dfrac{1 + 2\cos x}{(2 + \cos x)^2}$.
(b) Find the exact coordinates of the stationary points.
(c) Find the equation of the tangent at $x = \dfrac{\pi}{2}$.
▶ Show solution
(a) $u = \sin x$, $v = 2 + \cos x$, $u' = \cos x$, $v' = -\sin x$:
$\mathrm{f}'(x) = \dfrac{(2 + \cos x)\cos x + \sin^2 x}{(2 + \cos x)^2} = \dfrac{2\cos x + \cos^2 x + \sin^2 x}{(2 + \cos x)^2} = \dfrac{1 + 2\cos x}{(2 + \cos x)^2}$.
(b) $\cos x = -\tfrac12 \Rightarrow x = \dfrac{2\pi}{3}$ or $\dfrac{4\pi}{3}$.
$\mathrm{f}\!\left(\tfrac{2\pi}{3}\right) = \dfrac{\sqrt3/2}{3/2} = \dfrac{\sqrt3}{3}$ and $\mathrm{f}\!\left(\tfrac{4\pi}{3}\right) = -\dfrac{\sqrt3}{3}$.
Stationary points $\left(\tfrac{2\pi}{3}, \tfrac{\sqrt3}{3}\right)$ (maximum) and $\left(\tfrac{4\pi}{3}, -\tfrac{\sqrt3}{3}\right)$ (minimum).
(c) $\mathrm{f}\!\left(\tfrac{\pi}{2}\right) = \tfrac12$, $\mathrm{f}'\!\left(\tfrac{\pi}{2}\right) = \dfrac{1}{4}$.
$y - \tfrac12 = \tfrac14\left(x - \tfrac{\pi}{2}\right)$, i.e. $y = \tfrac14 x + \tfrac12 - \tfrac{\pi}{8}$.