5.7 Optimisation

5.7 Optimisation

IB Maths: Applications and Interpretation SL: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • Optimisation means finding the greatest or least value of a quantity in a real situation.
  • Write the quantity as a function of one variable, using the constraint to remove the others.
  • State the domain from the context, then solve f′(x)=0f'(x)=0 by hand or on the GDC.
  • Check the stationary point is a maximum or minimum, and compare with the end points of the domain.
  • Answer in context, with units, and give the optimum value as well as the xx at which it occurs.

The optimisation method

Every problem follows the same five steps, whatever the context.

Choose a variable and write the quantity to optimise as a function of one variable. A given constraint such as a fixed perimeter lets you eliminate the others.

State the domain from the context: lengths and amounts cannot be negative.

At SL, optimisation questions are not set on kinematics (velocity and acceleration).

  1. 1

    Write the function

    one variable, using the constraint

  2. 2

    State the domain

    from the context

  3. 3

    Find f′(x) = 0

    by hand or on the GDC

  4. 4

    Check the type

    and compare with the ends of the domain

  5. 5

    Answer in context

    with units

The optimisation method

Which step comes before finding where the derivative is zero?

Maximising profit, minimising cost

Differentiate the model, set the gradient to zero, then substitute back to find the greatest profit or least cost.

Profit is revenue minus cost: P=R−CP = R - C.

For P(x)=−2x2+80x−300P(x) = -2x^2 + 80x - 300, P′(x)=−4x+80=0P'(x) = -4x + 80 = 0 gives x=20x = 20. The gradient changes from positive to negative, so this is a maximum, and P(20)=500P(20) = 500.

For C(x)=2x2−48x+500C(x) = 2x^2 - 48x + 500, C′(x)=4x−48=0C'(x) = 4x - 48 = 0 gives x=12x = 12 and C(12)=212C(12) = 212. The gradient changes from negative to positive, so it is a minimum.

Give money with the currency (USD, AED) and a sensible accuracy.

510152025303540−300−200−100100200300400500xymaximum (20, 500)P(x)
Profit P(x) = −2x² + 80x − 300 reaches its maximum at x = 20

For C(x) = 2x² − 48x + 500, what is the minimum cost?

Fixed perimeter, greatest area

With a fixed perimeter, a rectangle has its greatest area when it is a square.

A rectangle has a perimeter of 60 m and width xx. The length is 30−x30 - x, so:

A=x(30−x)=30x−x2A = x(30 - x) = 30x - x^2

A′(x)=30−2x=0A'(x) = 30 - 2x = 0 gives x=15x = 15 and A=225A = 225 m². The best rectangle is a square.

The domain is 0<x<300 < x < 30, because both sides must be positive.

5101520253050100150200250xymaximum (15, 225)A = 30x − x²
Area of a rectangle with perimeter 60 m, against width x

A rectangle has a perimeter of 80 m. What is the greatest area?

Volume for a given surface area

Use the fixed quantity to eliminate one variable, then differentiate the volume.

A closed cylinder with surface area 600 cm² has 2πr2+2πrh=6002\pi r^2 + 2\pi rh = 600, so h=300−πr2πrh = \dfrac{300 - \pi r^2}{\pi r}.

Then V=πr2h=300r−πr3V = \pi r^2 h = 300r - \pi r^3, and dVdr=300−3πr2=0\dfrac{dV}{dr} = 300 - 3\pi r^2 = 0 gives r=5.64r = 5.64 cm.

Test the gradient either side: V′(5)=64.4>0V'(5) = 64.4 > 0 and V′(6)=−39.3<0V'(6) = -39.3 < 0, so it is a maximum, with V=1130V = 1130 cm³ and h=11.3h = 11.3 cm.

12345678920040060080010001200xymaximum (5.64, 1128)V(r)
Cylinder volume V = 300r − πr³ against radius r (cm)

Worked example

An open box is made from a 30 cm square card by cutting squares of side xx from the corners. Find xx for the greatest volume.

What is the first step for the cylinder problem?

Using the GDC

Graph the model, read the turning point, then evaluate the function there.

Graph the model on your GDC with a window that matches the domain.

Use the maximum or minimum function to read the turning point, or graph f′(x)f'(x) and find where it crosses the xx-axis.

Either way gives the stationary value of xx. Then evaluate the function to find the optimum value.

Examination questions often say “use your GDC”, so write down the equation or graph you used. Give answers exact or to 3 significant figures.

  1. 1

    Graph the model

    use a window that matches the domain

  2. 2

    Find the turning point

    the maximum or minimum function, or the zero of f′

  3. 3

    Evaluate

    find the optimum value of the function

  4. 4

    Record

    write down the equation or graph used, answer to 3 s.f.

Optimising with the GDC

You graph f′(x) on your GDC. What does a zero of f′ give?

Check and interpret

Reject solutions outside the domain, compare with the end points, then say what the answer means.

Reject solutions outside the domain. For V′(x)=12(x−5)(x−15)=0V'(x) = 12(x - 5)(x - 15) = 0 on 0<x<150 < x < 15, x=15x = 15 is rejected.

Compare with the end points. If a factory must produce between 15 and 30 tonnes and CC is increasing from x=12x = 12, the least cost is at x=15x = 15, not at the stationary point.

Finally interpret: “the garden has a maximum area of 225 m² when it is a 15 m square”.

−20246810121416180515

V′(x) = 0 at x = 5 and x = 15, and the domain is 0 < x < 15. Which value do you use?

Try an exam question

The profit, PP AED, from selling xx items is P(x)=−2x2+80x−300P(x) = -2x^2 + 80x - 300 for x≥0x \ge 0. Find the number of items that gives the maximum profit, and the maximum profit.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find an expression for the area AA of the garden in terms of xx.

1 mark, marked against the mark scheme

Revision notes