5.7 Optimisation

5.7 Optimisation

IB Maths: Applications and Interpretation HL: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • Optimisation finds the greatest or least value of a quantity in a context.
  • Write the quantity as a function of one variable, using the constraint.
  • State the domain, find where the derivative is zero, then check it is a maximum or minimum.
  • Compare with the ends of the domain and reject solutions outside it.
  • Answer in context with units: give the value asked for, not just xx.

The optimisation process

Write the quantity in one variable, state the domain, find where the derivative is zero, check the type, and answer in context.

Optimisation means finding the maximum or minimum of a quantity. Use the constraint to eliminate extra variables. Lengths and amounts cannot be negative, which sets the domain.

Check the stationary point is a maximum or minimum (sign of the gradient, or the GDC graph) and compare with the ends of the domain. At SL, optimisation is not set on kinematics.

  1. 1

    One variable

    Use the constraint

  2. 2

    Domain

    From the context

  3. 3

    Derivative zero

    By hand or GDC

  4. 4

    Check

    Max or min, and the ends

  5. 5

    Answer

    In context, with units

The optimisation method

Why must you state the domain?

Profit and cost

Set the derivative of the model to zero, check the type, then substitute back to get the value asked for.

Profit is revenue minus cost, P=R−CP=R-C. Give money with the currency (USD, AED) to a sensible accuracy.

For a cost 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. It is a minimum because the gradient changes from negative to positive.

510152025303540−400−200200400600xy(20, 500)P(x)
Profit P(x) = −2x² + 80x − 300 peaks at 500 when 20 items are sold

Worked example

A profit model is P(x)=−2x2+80x−300P(x)=-2x^2+80x-300, with xx items sold. Find the maximum profit.

For P(x)=−2x2+80x−300P(x)=-2x^2+80x-300, is the maximum profit 2020?

Area with fixed perimeter

The fixed perimeter links length and width, so the area can be written in one variable.

If a rectangle has perimeter 6060 m and width xx, the length is 30−x30-x, so A=x(30−x)A=x(30-x). The domain is 0<x<300<x<30 because both sides are positive.

5101520253050100150200250xy(15, 225)A(x)
A(x) = 30x − x² is greatest at x = 15, a square

Worked example

A rectangle has perimeter 60 m and width xx. Find the greatest area.

A rectangle has perimeter 40 m. Which dimensions give the greatest area?

Volume for a given surface area

Use the fixed surface area to write hh in terms of rr, then substitute into the volume formula.

For a closed cylinder of surface area 600600 cm2^2, 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^2h=300r-\pi r^3.

For an open box from a 3030 cm square card with squares of side xx cut from the corners, V=x(30−2x)2V=x(30-2x)^2 is greatest at x=5x=5, giving 20002000 cm3^3.

1234567820040060080010001200xy≈ (5.64, 1130)V(r)
V(r) = 300r − πr³ peaks at r ≈ 5.64 cm

Worked example

A closed cylinder has surface area 600600 cm2^2. Find the greatest volume.

What must you do before differentiating the volume?

Checking the answer

Reject stationary points outside the domain, and compare with the ends of the domain.

For V′(x)=12(x−5)(x−15)=0V'(x)=12(x-5)(x-15)=0 on 0<x<150<x<15, the solution x=15x=15 is on the boundary and gives V=0V=0, so reject it.

If a factory must produce 15≤x≤3015\le x\le30 tonnes and CC is increasing from x=12x=12, the least cost is at x=15x=15, not at the stationary point.

On a GDC, use the maximum or minimum function and write down the graph used; the yy-coordinate is the optimum value.

246810121416−5005001000150020002500xy(5, 2000)(15, 0)V(x)
V(x) = x(30 − 2x)² on 0 < x < 15: the maximum is at x = 5; x = 15 gives volume 0

A stationary point is at x=12x=12 but the domain is 15≤x≤3015\le x\le30. What should you do?

Try an exam question

A farmer uses 100 m of fencing to make a rectangular pen against a straight wall. The wall forms one side, so fencing is needed for three sides only. The width of the pen is xx m. (a) Show that the area is A=100x−2x2A=100x-2x^2. (b) Find the greatest possible area.

[5 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