Stationary points and optimisation

Once you can find gradients, you can find where a curve turns, where it rises or falls, and the equations of its tangents and normals. This makes differentiation a powerful tool for optimisation: finding the biggest area, the cheapest design or the shortest distance.

Key facts

  • Stationary points: solve dy/dx = 0.
  • (d^2y)/(dx^2) > 0 gives a minimum and < 0 gives a maximum. If it is 0, check the sign of dy/dx on either side.
  • f is increasing where f′(x) > 0 and decreasing where f′(x) < 0.
  • A point of inflection is where the curve changes concavity. There f″(x) changes sign.
  • Tangent: y − y₁ = m(x − x₁). The normal has gradient −1/m.
  • Optimisation: use the constraint to write the quantity in terms of ONE variable. Differentiate and set it to 0. Check it is the max or min you want.

Worked examples

Example 1

Find and classify the stationary points of y = x^3 − 3x^2 − 9x + 5.

  1. Differentiate and factorise. dy/dx = 3x^2 − 6x − 9 = 3(x − 3)(x + 1)
  2. The stationary points are at x = −1 and x = 3. There y = 10 and y = −22.
  3. Second derivative: (d^2y)/(dx^2) = 6x − 6
  4. At x = −1 it is −12, so this is a maximum. At x = 3 it is 12, so this is a minimum.

Answer: Maximum (−1, 10); minimum (3, −22)

Example 2

Find the equation of the normal to y = x^2 − 4x + 1 at x = 3.

  1. Find the point: it is (3, −2). y = 9 − 12 + 1 = −2
  2. Tangent gradient: dy/dx = 2x − 4 = 2
  3. The normal gradient is −1/2.
  4. Equation: y + 2 = −1/2(x − 3) ⇒ y = −x/2 − 1/2

Answer: y = −x/2 − 1/2 (or x + 2y + 1 = 0)

Example 3

An open box with a square base must hold 32,000 cm³. Find the dimensions that use the least card.

  1. Let the base be x by x and the height h. Use the volume to find h. x^2h = 32,000 ⇒ h = 32000/(x^2)
  2. Area of card (no lid): A = x^2 + 4xh = x^2 + 128000/x
  3. Differentiate and set to 0. dA/dx = 2x − 128000/(x^2) = 0 ⇒ x^3 = 64,000, x = 40
  4. Then h = 32,000 ÷ 1,600 = 20. The area is A = 1,600 + 3,200 = 4,800
  5. Check it is a minimum. A″ = 2 + 256000/(x^3) > 0

Answer: base 40 cm × 40 cm, height 20 cm (4,800 cm² of card)

Example 4

Find the stationary point of y = x² − 6x + 5.

  1. Differentiate. dy/dx = 2x − 6
  2. Solve 2x − 6 = 0. x = 3
  3. Find y. 9 − 18 + 5 = −4

Answer: (3, −4)