Graphical solution of linear programsEdexcel A-Level Further Maths: Revision notes
Section 1
The feasible region
With two variables each constraint is a half-plane bounded by a straight line. Draw the line (for example passes through and ), decide which side satisfies the inequality by testing a point such as , and shade out the unwanted side. What is left, inside all constraints and in the first quadrant (), is the feasible region. Its corners are vertices, found as intersections of boundary lines. Solve two equations simultaneously: for and the vertex is . Axis-vertices come from setting or .
Shading the wrong side. Test in each inequality, unless the line passes through it.
Label each line with its equation and check each vertex satisfies the other constraints.
Section 2
The objective line method
For the objective line has gradient and all points on it give the same . Draw one such line (choose to make the intercepts easy, for example ) and slide it parallel across the feasible region.
- To maximise, move the line away from the origin; the optimum is the last vertex it touches.
- To minimise, move it towards the origin; the optimum is the first vertex it touches (when the region lies away from the origin). Read off the vertex, then substitute to find the optimal value. In the cleaning-company example the optimum is with .
Drawing the objective line with the wrong gradient. has gradient , not .
Section 3
The vertex method
The optimum of a linear objective over a feasible region always occurs at a vertex. Find the coordinates of every vertex, evaluate the objective at each, and pick the largest (maximise) or smallest (minimise). Example: vertices , , , give , so the maximum is 34. If the objective line is parallel to a boundary edge, two vertices tie and every point on that edge is optimal (maximise with vertices and both giving 10).
Check every vertex: the vertex method is only reliable if none is missed.
Section 4
Integer solutions
Sometimes the variables must be whole numbers (vehicles, boxes). The optimal vertex is often not whole, and rounding is unsafe: the rounded point may be infeasible or not optimal. Method: find the non-integer optimum first, then list whole-number feasible points close to it, calculate the objective at each, and compare. If the objective has whole-number coefficients, a whole-number point gives a whole-number value, which gives a neat bound. Example: maximise subject to , . The optimum is with . is infeasible and gives only 18. But is feasible with , and as is a whole number, 19 is the maximum.
Rounding the vertex and stopping. Always check feasibility and compare nearby whole-number points.
Section 5
Minimising and worked example
To minimise cost with and : the vertices are , and , with , and . The minimum is at . With whole kilograms, is a whole number , so . The point is feasible ( and ) and gives , so it is optimal.
State the answer in context with units, for example 'minimum cost £29 using 3 kg of X and 5 kg of Y'.
That's the notes covered.
Carry on to the next subtopic.
Exam questions on Graphical solution of linear programs
- A cleaning company makes litres of cleaner A and litres of cleaner B each hour. The constraints are and , with and . The profit in pounds is . The quantities do not need to be whole numbers.Find the maximum profit.2 marks
- A zoo buys kg of feed X and kg of feed Y each week. The requirements are (total mass) and (protein units), with and . The weekly cost in pounds is , which the zoo wishes to minimise. Unless stated otherwise, feed can be bought in any quantity.The zoo can now only buy whole numbers of kilograms of each feed. Find the minimum cost and the quantities that give it.2 marks
- A joiner makes shelves and stools each week. The wood constraint is and the time constraint is , with and . Each shelf gives £3 profit and each stool gives £2 profit, so the weekly profit is pounds.Use the vertex method to find the maximum profit if shelves and stools did not need to be whole numbers.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).