Optimisation problems

Optimisation problems

Spec 7.1 · Edexcel International A Level Maths: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • Optimisation finds the greatest or least value of a quantity such as area, volume or cost.
  • The same five steps every time: define, one variable, differentiate, classify, answer.
  • Use the constraint to eliminate one variable.
  • Prove the nature of the stationary point using d2ydx2\dfrac{\mathrm d^2y}{\mathrm dx^2}: negative is a maximum, positive a minimum.
  • Check the answer lies in the practical domain, and give units.

The optimisation method

Define the quantity, write it in one variable, differentiate, classify the stationary point, then answer in context.

An optimisation problem asks for the greatest or least value of a quantity. The quantity itself is the objective function.

  1. 1

    Define

    the quantity to optimise, e.g. A, S or P

  2. 2

    One variable

    use the information given to write it as a function of one variable

  3. 3

    Differentiate

    and solve dy/dx = 0

  4. 4

    Classify

    show whether the stationary point is a maximum or minimum

  5. 5

    Answer

    substitute back, then answer in context with units

The five steps of every optimisation problem.
  • d2ydx2<0\dfrac{\mathrm d^2y}{\mathrm dx^2}<0maximum
  • d2ydx2>0\dfrac{\mathrm d^2y}{\mathrm dx^2}>0minimum

Which step comes immediately after solving dydx=0\frac{dy}{dx}=0?

Forming the function

Use the constraint to eliminate a variable, such as a fixed volume or length of fencing.

Rewrite terms like 2000x\frac{2000}{x} as 2000x−12000x^{-1} before differentiating. A constraint links the variables.

510152025303540200400600800xymaximum (20, 800)A = 80x − 2x²
Fencing against a wall: A = x(80 − 2x) has its maximum at x = 20, where A = 800 m²

Fencing against a wall

Constraint:
Three sides total 8080 m
Eliminate:
Parallel side =80−2x=80-2x
Function to optimise:
A=x(80−2x)=80x−2x2A=x(80-2x)=80x-2x^2

Open box, square base

Constraint:
Volume 500500
Eliminate:
h=500x2h=\dfrac{500}{x^2}
Function to optimise:
S=x2+4xh=x2+2000xS=x^2+4xh=x^2+\dfrac{2000}{x}

A farmer has 60 m of fencing for three sides of a rectangle against a wall. The two sides perpendicular to the wall are each xx. Which expression gives the area?

Justifying a maximum or minimum

Use the second derivative: negative means a maximum, positive a minimum; if it is zero, check the gradient either side.

For A=80x−2x2A=80x-2x^2: dAdx=80−4x=0\frac{\mathrm dA}{\mathrm dx}=80-4x=0 gives x=20x=20 and d2Adx2=−4<0\frac{\mathrm d^2A}{\mathrm dx^2}=-4<0, so A=800A=800 m2^2 is a maximum.

When asked to "show that" a value is a minimum, show it explicitly: saying "it must be" earns nothing.

510152025303540200400600800xy(20, 800)A = 80x − 2x²
A = 80x − 2x² has its maximum value 800 m² at x = 20.
4681012141618202224100200300400500600700800xy(10, 300)S = x² + 2000/x
S = x² + 2000/x has its minimum value 300 at x = 10.

For S=x2+2000xS=x^2+\frac{2000}{x}, dSdx=2x−2000x2\frac{dS}{dx}=2x-\frac{2000}{x^2}. What is the stationary value of xx?

Domain and context

Check the stationary point is inside the practical domain, and answer what was asked with units.

The variable has a practical domain: cutting squares of side xx from a 1212 cm square card needs 0<x<60<x<6. Over a closed interval, also compare the end-points. Give the value of xx, the maximum value, or the number of items, with units and any rounding required.

12345620406080100120140xy(2, 128)V = x(12 − 2x)²
V = x(12 − 2x)² on the practical domain 0 < x < 6. The maximum volume is 128 cm³ at x = 2.

Worked example

Find the maximum volume of the open box and show that it is a maximum.

For the box made from a 12 cm square card, why is x=6x=6 not a possible solution?

Try an exam question

A farmer has 100100 m of fencing for three sides of a rectangular enclosure against a wall. The two sides perpendicular to the wall are each xx m. (a) Show that the area is A=100x−2x2A=100x-2x^2. (b) Find the value of xx that gives the maximum area, justify that it is a maximum, and find the maximum area.

[5 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find an expression for AA in terms of xx.

1 mark, marked against the mark scheme

Revision notes