A levels Mathematics · Pure: calculus and numerical methods
Stationary points and optimisation
1Stationary points
A stationary point is where the gradient is zero: $\dfrac{dy}{dx} = 0$.
There are three kinds:
- a local maximum: the gradient goes from positive to negative;
- a local minimum: the gradient goes from negative to positive;
- a point of inflection (stationary): the gradient has the same sign on both sides.
The gradient is + then − around the maximum, and − then + around the minimum. Both tangents are horizontal.
To find them: differentiate, set $\dfrac{dy}{dx} = 0$, solve for $x$, then find $y$.
Check yourself
What is true at every stationary point?
Show the answer
dy/dx = 0
The tangent is horizontal.
2Finding stationary points
A cubic
- Find the stationary points of $y = x^3 - 3x^2 - 9x + 5$.
- $\dfrac{dy}{dx} = 3x^2 - 6x - 9 = 3(x - 3)(x + 1)$.
- $\dfrac{dy}{dx} = 0$ when $x = -1$ or $x = 3$.
- $x = -1$: $y = -1 - 3 + 9 + 5 = 10$, so $(-1, 10)$.
- $x = 3$: $y = 27 - 27 - 27 + 5 = -22$, so $(3, -22)$.
An exponential
- Find the stationary point of $y = xe^{-x}$.
- $\dfrac{dy}{dx} = e^{-x} - xe^{-x} = e^{-x}(1 - x)$.
- $e^{-x}$ is never zero, so $x = 1$ and $y = e^{-1}$.
Check yourself
Why is eˣ = 0 never a solution?
Show the answer
eˣ is always positive
The exponential never reaches zero.
3Classifying stationary points
Second derivative test: at a stationary point,
- $\dfrac{d^2y}{dx^2} < 0$: maximum;
- $\dfrac{d^2y}{dx^2} > 0$: minimum;
- $\dfrac{d^2y}{dx^2} = 0$: the test fails, so check the gradient either side.
Classifying the cubic
- For $y = x^3 - 3x^2 - 9x + 5$: $\dfrac{d^2y}{dx^2} = 6x - 6$.
- At $x = -1$: $-12 < 0$, so $(-1, 10)$ is a maximum.
- At $x = 3$: $12 > 0$, so $(3, -22)$ is a minimum.
When the test fails
- $y = x^4$: $\dfrac{dy}{dx} = 4x^3 = 0$ at $x = 0$, and $\dfrac{d^2y}{dx^2} = 0$ there.
- Check either side: $x = -0.1$ gives gradient $< 0$; $x = 0.1$ gives gradient $> 0$.
- So $(0, 0)$ is a minimum, even though the second derivative is zero.
Check yourself
At a stationary point d²y/dx² = −5. What kind of point is it?
Show the answer
A maximum
A negative second derivative means the curve bends downwards.
4Concavity and inflection
The second derivative describes the shape of the curve:
- $f''(x) > 0$: convex (curves upwards, like a cup);
- $f''(x) < 0$: concave (curves downwards, like a cap).
A point of inflection is where the curve changes between concave and convex: $f''(x) = 0$ and changes sign. It need not be a stationary point.
Finding an inflection
- $f(x) = x^3 - 6x^2 + 4$. $f''(x) = 6x - 12$.
- $f''(x) = 0$ at $x = 2$.
- $f''(1.9) < 0$ and $f''(2.1) > 0$: the sign changes, so $(2, -12)$ is a point of inflection.
Check yourself
What does f''(x) > 0 mean for the shape of the curve?
Show the answer
It is convex
The gradient is increasing.
5Optimisation
Optimisation means finding the largest or smallest value of a quantity.
- Write the quantity in terms of one variable (use a constraint to eliminate others).
- Differentiate and set the derivative to zero.
- Check it is a maximum or minimum.
- Answer the question in context.
An open box
- Squares of side $x$ cm are cut from the corners of a 30 cm by 30 cm sheet, which is folded into an open box. Find the maximum volume.
- $V = x(30 - 2x)^2 = 4x^3 - 120x^2 + 900x$.
- $\dfrac{dV}{dx} = 12x^2 - 240x + 900 = 12(x - 5)(x - 15) = 0$.
- $x = 15$ gives no box, so $x = 5$.
- $\dfrac{d^2V}{dx^2} = 24x - 240 = -120 < 0$ at $x = 5$: a maximum.
- $V = 5 \times 20^2 = 2000$ cm³.
Check yourself
In optimisation, what must you do before differentiating?
Show the answer
Write the quantity in terms of one variable
Use the constraint to remove extra variables.
6More optimisation
A cylinder with fixed volume
- A closed cylinder has volume $500$ cm³. Find the radius that minimises its surface area.
- Constraint: $\pi r^2h = 500$, so $h = \dfrac{500}{\pi r^2}$.
- $A = 2\pi r^2 + 2\pi rh = 2\pi r^2 + \dfrac{1000}{r}$.
- $\dfrac{dA}{dr} = 4\pi r - \dfrac{1000}{r^2} = 0$, so $r^3 = \dfrac{250}{\pi}$, $r = 4.30$ cm.
- $\dfrac{d^2A}{dr^2} = 4\pi + \dfrac{2000}{r^3} > 0$: a minimum.
- $A \approx 349$ cm².
Notice that at the optimum, $h = \dfrac{500}{\pi(4.30)^2} \approx 8.60 = 2r$: the height equals the diameter.
Check yourself
A quantity has dA/dr = 0 and d²A/dr² > 0. What is it?
Show the answer
A minimum
Positive second derivative: minimum.
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