impera Open Impera

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?

  • d²y/dx² = 0

  • y = 0

  • dy/dx = 0

  • x = 0

Show the answer

dy/dx = 0

The tangent is horizontal.

2Finding stationary points

Worked example

A cubic

  1. Find the stationary points of $y = x^3 - 3x^2 - 9x + 5$.
  2. $\dfrac{dy}{dx} = 3x^2 - 6x - 9 = 3(x - 3)(x + 1)$.
  3. $\dfrac{dy}{dx} = 0$ when $x = -1$ or $x = 3$.
  4. $x = -1$: $y = -1 - 3 + 9 + 5 = 10$, so $(-1, 10)$.
  5. $x = 3$: $y = 27 - 27 - 27 + 5 = -22$, so $(3, -22)$.
Worked example

An exponential

  1. Find the stationary point of $y = xe^{-x}$.
  2. $\dfrac{dy}{dx} = e^{-x} - xe^{-x} = e^{-x}(1 - x)$.
  3. $e^{-x}$ is never zero, so $x = 1$ and $y = e^{-1}$.
Check yourself

Why is eˣ = 0 never a solution?

  • eˣ is always positive

  • eˣ is always negative

  • It is undefined

  • eˣ equals 1 everywhere

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.
Worked example

Classifying the cubic

  1. For $y = x^3 - 3x^2 - 9x + 5$: $\dfrac{d^2y}{dx^2} = 6x - 6$.
  2. At $x = -1$: $-12 < 0$, so $(-1, 10)$ is a maximum.
  3. At $x = 3$: $12 > 0$, so $(3, -22)$ is a minimum.
Worked example

When the test fails

  1. $y = x^4$: $\dfrac{dy}{dx} = 4x^3 = 0$ at $x = 0$, and $\dfrac{d^2y}{dx^2} = 0$ there.
  2. Check either side: $x = -0.1$ gives gradient $< 0$; $x = 0.1$ gives gradient $> 0$.
  3. 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?

  • A maximum

  • A point of inflection

  • A minimum

  • Not enough information

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.

Worked example

Finding an inflection

  1. $f(x) = x^3 - 6x^2 + 4$. $f''(x) = 6x - 12$.
  2. $f''(x) = 0$ at $x = 2$.
  3. $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?

  • It is convex

  • It is decreasing

  • It is concave

  • It is a straight line

Show the answer

It is convex

The gradient is increasing.

5Optimisation

Optimisation means finding the largest or smallest value of a quantity.

  1. Write the quantity in terms of one variable (use a constraint to eliminate others).
  2. Differentiate and set the derivative to zero.
  3. Check it is a maximum or minimum.
  4. Answer the question in context.
Worked example

An open box

  1. 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.
  2. $V = x(30 - 2x)^2 = 4x^3 - 120x^2 + 900x$.
  3. $\dfrac{dV}{dx} = 12x^2 - 240x + 900 = 12(x - 5)(x - 15) = 0$.
  4. $x = 15$ gives no box, so $x = 5$.
  5. $\dfrac{d^2V}{dx^2} = 24x - 240 = -120 < 0$ at $x = 5$: a maximum.
  6. $V = 5 \times 20^2 = 2000$ cm³.
Check yourself

In optimisation, what must you do before differentiating?

  • Integrate the quantity first

  • Write the quantity in terms of one variable

  • Find the second derivative of it

  • Set the quantity equal to zero

Show the answer

Write the quantity in terms of one variable

Use the constraint to remove extra variables.

6More optimisation

Worked example

A cylinder with fixed volume

  1. A closed cylinder has volume $500$ cm³. Find the radius that minimises its surface area.
  2. Constraint: $\pi r^2h = 500$, so $h = \dfrac{500}{\pi r^2}$.
  3. $A = 2\pi r^2 + 2\pi rh = 2\pi r^2 + \dfrac{1000}{r}$.
  4. $\dfrac{dA}{dr} = 4\pi r - \dfrac{1000}{r^2} = 0$, so $r^3 = \dfrac{250}{\pi}$, $r = 4.30$ cm.
  5. $\dfrac{d^2A}{dr^2} = 4\pi + \dfrac{2000}{r^3} > 0$: a minimum.
  6. $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?

  • A root

  • A maximum

  • A minimum

  • An inflection

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