Q38: Maximise graphically, or optimise over given corner points
(a) Solve the following linear programming problem (L.P.P) graphically.
Maximize
subject to constraints ;
OR
(b) The corner points of the feasible region determined by the system of linear constraints are as shown below:
Answer each of the following:
(i) Let be the objective function. Find the maximum and minimum value of Z and also the corresponding points at which the maximum and minimum value occurs.
(ii) Let , where be the objective function. Find the condition on and so that the maximum value of occurs at B(4,10) and C(6,8). Also mention the number of optimal solutions in this case.
(a)
Draw the lines (graph below):
(1) through and ;
(2) through and ;
(3) through and .
Why?
Each constraint is a region whose edge is a straight line, so first draw the edge: change the inequality sign to .
Two points fix a line. Put , then : for (1), gives and gives . Line (2) passes through O, so take a second point with : .
Test O(0, 0) in the first and third inequalities:
Line (2) passes through O, so test : is true.
Why?
A line splits the plane into two sides, and an inequality holds on one whole side. Put any point not on the line into the inequality: if it is true there, the region is that point's side; if false, it is the other side.
Watch out: a test point must not lie on the line. O is on line (2), so another point is needed there.
is the side of (1) away from O; is the side of (2) containing ; is the side of (3) containing O. With , the feasible region is ABCD (shaded). It is bounded.
Why?
The feasible region is the part of the first quadrant () that satisfies all three constraints at once: above line (1), on the left of line (2) and below line (3). Its edge on the left is the y-axis. It is enclosed on every side, so it is bounded.
C is where (2) meets (3). Putting in ,
D is where (2) meets (1). Putting in ,
Why?
A corner of the region is where two of its edge lines cross, so solve their equations together. Line (2) says , which makes the substitution easy: , and .
A and B are on the y-axis . From (1), , so A is . From (3), , so B is .
Why?
Put in each line:
Check that each corner obeys every constraint. For example, C(50, 100): , and .
Value of at each corner:
Why?
Corner point method: when the feasible region is bounded, Z has a maximum and a minimum on it, and each occurs at a corner point. So we only need Z at the four corners:
Maximum at , .
Why?
The largest value in the table is 400, at B. Watch out: use the objective function printed in the question, .
(b)
(i)
Why?
The region in the figure is bounded, so the corner point method applies. Put each corner into :
and at O. The largest value is the maximum and the smallest (the most negative) is the minimum.
Maximum at ; minimum at .
(ii) The maximum value of Z occurs at both B(4, 10) and C(6, 8), so
Why?
At B, ; at C, . If the maximum is reached at both corners, the two values must be equal. Then subtract from both sides.
With , takes the values at O, A, B, C, D, E, so at B and C is the maximum.
Why?
With , . Add the coordinates of each corner:
Equal values at B and C are not enough on their own; that value must also be the largest. With , is bigger than every other value, so it is the maximum.
When two corners give the same maximum, every point of the edge joining them gives it too. A segment has infinitely many points, so there are infinitely many optimal solutions.
The condition is , and the number of optimal solutions is infinite (every point of the segment BC).
For part (a) the official marking scheme maximises instead of the printed , and gives 250 at . Its corner points are the same as here.
Chapter 12, Linear Programming: LPP: graphical method; corner points from a graph.
Question type: (a) A "" rule; (b) Both maximum and minimum, and a tie along an edge
How to spot it: click to see
(a) Type 2. A "" rule: shade away from the origin
Spot it: a rule like , often with "Minimise ". The region no longer touches the origin.
Here: fails at , so shade away from the origin; passes through the origin, so test instead. The region ABCD is bounded, so the largest value, 400 at , is the maximum.
(b) Type 3. Both maximum and minimum, and a tie along an edge
Spot it: "Minimise and maximise ". Often one rule, like , is a line through the origin.
Here: (i) One table of at the six corners gives the maximum 12 at E and the minimum at A. (ii) A maximum at both B and C means , so , and every point of BC is optimal: infinitely many solutions.
Tell us if something on this page is wrong or unclear. Send feedback on this question →
Linear Programming in past papers: question 27 of 27 · see them all