Lesson 8 of 8 · 22 min

Building optimisation models

Turn a worded problem into a function of one variable using a constraint, state its feasible domain, then optimise it and justify the answer.

What you will be able to do

  • Draw a diagram, name the variables, and write the quantity to be optimised.
  • Use a constraint to write that quantity in terms of a single variable, and state the feasible domain.
  • Optimise the model, justify the nature of the optimum, and answer in context.

Often nobody hands you the function. You are told about a box, a fence, a can or a pipeline, and you must build the model yourself. This is the part of optimisation that earns most of the marks in complex unfamiliar questions, and the part that needs the most care.

Building an optimisation model

  1. Draw and label a diagram

    Name every length or quantity that can change.

  2. Write the quantity to be optimised

    For example, V=V = length × width × height. It may have two variables at first.

  3. Use the constraint

    A fixed perimeter, area, volume or amount of material links the variables. Use it to eliminate all but one.

  4. State the feasible domain

    Every length must be positive. This often gives an interval like 0<x<120 < x < 12.

  5. Optimise and justify

    Differentiate, solve, reject values outside the domain, and use the second derivative test.

  6. Answer in context

    Give the optimal dimensions and the optimal value, with units.

Cut a square of side xx cm from each corner of a 24 cm square sheet, then fold up the sides to make an open box.

Worked example

The largest open box from a square sheet

  • Complex familiar
  • Technology free

An open box is made from a 24 cm by 24 cm square of cardboard by cutting a square of side xx cm from each corner and folding up the sides.

(a) Show that the volume of the box is V=4x3−96x2+576xV = 4x^3 - 96x^2 + 576x cm³.

(b) Determine the maximum volume, and the value of xx that gives it.

5 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Volume = base area × height, in terms of xx.

  2. Domain: every dimension positive.

  3. Solve V′(x)=0V'(x) = 0, reject values outside the domain, justify with V′′V''.

  4. Answer with the volume and the dimensions.

Watch out for

  • Using 24−x24 - x for the base: a square comes off both ends of each edge.

  • Keeping x=12x = 12, which gives a box with no base.

In the box problem above, what is the feasible domain of xx?

Choose one answer

Constraints do the work. In the box problem the sheet size fixed everything. More often there are two variables and a separate condition, such as a fixed length of fencing or a fixed volume, that links them.

A farmer has 120 m of fencing to make a rectangular paddock beside a straight river. The river forms one side, so no fence is needed there. The two sides perpendicular to the river are each xx m long. Determine the maximum area of the paddock.

in m 2

Trigonometric models appear when an angle can vary. The variable is then the angle, in radians, and the domain is an interval of angles.

Worked example

The best angle for a rain gutter

  • Complex unfamiliar
  • Technology free

A rain gutter is made from a strip of metal 30 cm wide by bending up 10 cm on each side. The base is 10 cm wide and each side makes an angle θ\theta with the horizontal, where 0<θ<2π30 < \theta < \frac{2\pi}{3}, so the cross-section is a trapezium with positive top width.

(a) Show that the area of the cross-section is A=100sin⁡(θ)(1+cos⁡(θ))A = 100\sin(\theta)\left(1 + \cos(\theta)\right) cm².

(b) Determine the angle that lets the gutter carry the most water, and the maximum cross-sectional area.

7 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Use trigonometry to write the lengths in terms of the angle.

  2. Differentiate, then use sin⁡2(θ)+cos⁡2(θ)=1\sin^2(\theta) + \cos^2(\theta) = 1 to get a quadratic in cos⁡(θ)\cos(\theta).

  3. Keep solutions in the domain and justify with the second derivative.

Watch out for

  • Working in degrees. Calculus with trigonometric functions needs radians.

  • Assuming the best angle is π2\frac{\pi}{2} (vertical sides). Sloping the sides outwards widens the top, which helps until θ=π3\theta = \frac{\pi}{3}.

Some problems need technology to finish. Minimising the metal in a can gives an equation like r3=250πr^3 = \frac{250}{\pi}; the method is the same, but you finish with a calculator in Paper 2.

Worked example

The can that uses the least metal

  • Complex unfamiliar
  • Technology active

A closed cylindrical can must hold 500 cm³. Determine the radius and height that use the least metal, and the minimum surface area, to two decimal places. What do you notice about the shape of the can?

6 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Write the quantity to minimise and the constraint.

  2. Use the constraint to eliminate hh.

  3. Solve S′(r)=0S'(r) = 0, justify with S′′(r)>0S''(r) > 0, and evaluate.

Watch out for

  • Forgetting one of the two ends in a closed can (or including a lid on an open one).

  • Rounding rr early: use the stored value to find hh and SS.

Common mistake

Keeping two variables

You cannot differentiate A=xyA = xy with respect to xx while yy is also changing. Use the constraint to replace yy first, so the model has only one variable.

Exam tip

Show that, then use it

Many exam questions say "Show that the area is A=100sin⁡(θ)(1+cos⁡(θ))A = 100\sin(\theta)(1 + \cos(\theta))" and then ask you to optimise it. Show every step of the set-up. If you cannot, still use the given model for the later parts: those marks are separate.

Summary

  • Diagram, variables, quantity to optimise, constraint, one-variable model, domain.

  • The feasible domain comes from every length (or angle) having to make sense.

  • Reject solutions of f′(x)=0f'(x) = 0 that are outside the domain, with a reason.

  • Justify with the second derivative test, and check endpoints when the domain is closed.

  • Give the optimal dimensions and the optimal value, with units, in a sentence.

Finished the lesson?

Try the 2 quick checks above and the lesson completes itself, or mark it complete now.

Lesson 8 of 80% read

Save your progress with a free account