Formulating and graphical solution of LPsAQA A-Level Further Maths: Revision notes
Section 1
Formulating a linear programme
Linear programming finds the best value of a linear objective function subject to linear constraints. To formulate a problem: (1) define the decision variables, e.g. tables and chairs; (2) write the objective function to be maximised (profit) or minimised (cost), e.g. ; (3) write each constraint as an inequality using the same units on both sides, e.g. for 40 hours of carpentry when a table takes 4 hours and a chair takes 2; (4) include non-negativity constraints , . Phrases translate as follows: 'at most' is , 'at least' is , 'at least twice as many chairs as tables' is .
Swapping the coefficients, so that the hours per table appear against chairs. Check each constraint against the wording.
Section 2
Drawing the feasible region
For each constraint, draw its boundary line: find two points, often the axis intercepts, by setting then . For the intercepts are and . Test a point such as the origin to see which side satisfies the inequality, and shade the unwanted side so the feasible region is left clear. The feasible region is the set of points satisfying every constraint. Its corners are called vertices. A vertex is found either as an axis intercept or by solving two boundary equations simultaneously, for example and meet where and .
Label every line with its equation and shade the unwanted side, so the feasible region is clear and the examiner can follow it.
Section 3
The objective line method
Write the objective as . It is a line of gradient , and different values of give parallel lines. Draw one such line through the feasible region, then slide it parallel to itself. For a maximum, move it away from the origin until the last point of the feasible region it touches, which is an optimal vertex. For a minimum, move it towards the origin until the first point it touches. Example: has gradient . It lies between the gradients of and of , so the optimum is where those two lines meet, , giving .
Moving the objective line the wrong way. Maximise: away from the origin. Minimise: towards the origin.
Section 4
The vertex testing method
The optimal value of a linear objective over a feasible region always occurs at a vertex. So an alternative to the ruler method is to list every vertex, evaluate the objective function at each, and choose the greatest (maximise) or least (minimise). Example: for the vertices , , , give , , , , so the maximum is 22. For a minimum cost over , , with , the values are , , , so the minimum is 30 at . This method is reliable, and it also shows near-optimal vertices.
Do both when you can. The objective line shows why a vertex is best and the vertex values check your arithmetic.
Section 5
Solving and interpreting in context
Give the answer in the language of the problem, with units: say how many of each item to make, and the maximum profit or minimum cost. Adding or changing a constraint can move the optimum. Example: in a school shop with , , and profit , the optimum is with profit £170. Adding makes infeasible, and the new optimum is with profit £168. To check a point is feasible, substitute it into every constraint. A point such as in a feed problem requiring protein gives , so it fails.
Stopping at the coordinates. State the value of the objective function as well when the question asks for it.
That's the notes covered.
Carry on to the next subtopic.
Exam questions on Formulating and graphical solution of LPs
- A workshop makes tables and chairs each week. Each table needs 4 hours of carpentry and 2 hours of finishing. Each chair needs 2 hours of carpentry and 3 hours of finishing. There are 40 hours of carpentry and 30 hours of finishing available each week. The workshop must make at least twice as many chairs as tables. The profit is £50 per table and £30 per chair, and the workshop wants to maximise its weekly profit.Write down the objective function and explain why and must be included as constraints.2 marks
- A farmer mixes kg of feed and kg of feed for each day. Each kilogram of has 3 units of protein and 1 unit of fibre and costs £3. Each kilogram of has 2 units of protein and 2 units of fibre and costs £4. Each day the mixture must contain at least 24 units of protein and at least 12 units of fibre, and it must weigh at most 10 kg. The farmer wants to minimise the daily cost.Explain why a mixture of 5 kg of and 4 kg of is not allowed.2 marks
- Maximise subject to , , and .Find the coordinates of the vertices of the feasible region.3 marks
Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).