12.2 The Graphical Method: Bounded Feasible Regions
A feasible region holds infinitely many plans, but the best one is always waiting at a corner. Slide the line Z = k across the region to see why, then solve any bounded problem by listing its corner points and comparing a handful of numbers.
In Section 12.1 the workshop's possible weekly plans filled a quadrilateral: every point of it, fractional points included, is a feasible solution. The owner wants the one with the largest profit $Z=600x+300y$. Trying points at random โ $(5,5)$ earns โน4,500, $(9,2)$ earns โน6,000 โ never tells us when to stop. And unlike the optimisation problems of Section 6.4, calculus cannot help: the derivative of a linear function is a constant, never zero, so there are no stationary points to look for.
The way out is geometric. The plans that earn exactly $k$ rupees lie on a straight line, and for different $k$ these lines are parallel. Pushing the line outwards raises the profit, and the last point of the region that the line touches is the best plan โ and it is always a corner. Two theorems make this precise, and they turn every LPP with a bounded feasible region into a short calculation: find the corner points, evaluate $Z$ at each, pick the largest or smallest. This is the corner point method.
Optimal Solutions and the Iso-Profit Line
For a fixed number $k$, the plans with $Z=k$ are the points of the line $ax+by=k$. In a profit problem it is called an iso-profit line (โisoโ means equal), in a cost problem an iso-cost line. Two facts about these lines do all the work:
- They are parallel. Every line $ax+by=k$ has slope $-\tfrac ab$ (or is vertical when $b=0$), whatever $k$ is. Changing $k$ only slides the line.
- Increasing $k$ slides the line in the direction of the arrow $(a,b)$. Moving a point $(x,y)$ to $(x+ta,\ y+tb)$ changes $Z$ by $a(ta)+b(tb)=t(a^2+b^2)$, which is positive for $t\gt0$. For $Z=600x+300y$ that direction is up and to the right โ away from the origin.
So to maximise $Z$, slide the iso-profit line in the direction of $(a,b)$ for as long as it still meets the feasible region; the last points it touches are the optimal solutions. To minimise, slide the other way.
| corner | $O(0,0)$ | $A(10,0)$ | $B(8,6)$ | $C(0,10)$ |
|---|---|---|---|---|
| $Z=600x+300y$ | $0$ | $6000$ | $6600$ (max) | $3000$ |
The Corner Point Theorems
The feasible region of an LPP is an intersection of half-planes, so it is convex: with any two of its points it contains the whole segment joining them (Exercise IV.3 of Section 12.1). A bounded feasible region with some area is therefore a convex polygon. The key to everything is how a linear function behaves along a segment.
Lemma (a linear function along a segment). If $P(x_1,y_1)$ and $Q(x_2,y_2)$ are two points and $X=\big((1-t)x_1+tx_2,\ (1-t)y_1+ty_2\big)$ with $0\le t\le1$ is a point of the segment $PQ$, then $$Z(X)=(1-t)\,Z(P)+t\,Z(Q).$$ Proof. Expand: $a\big((1-t)x_1+tx_2\big)+b\big((1-t)y_1+ty_2\big)$ $=(1-t)(ax_1+by_1)+t(ax_2+by_2)$. $\square$ So as $X$ moves from $P$ to $Q$, $Z$ changes steadily from $Z(P)$ to $Z(Q)$; it always lies between these two values and is largest (and smallest) at an end of the segment.
Why Theorem 12.3 is true. Let $M$ and $m$ be the largest and smallest values of $Z$ at the (finitely many) corners. Take any point $X$ of $R$ and draw the vertical line through it. Because $R$ is a bounded convex polygon, this line meets the boundary of $R$ in two points $U$ and $V$ (possibly equal), and $X$ lies on the segment $UV$. By the lemma, $Z(X)$ lies between $Z(U)$ and $Z(V)$. Each of $U$ and $V$ lies on an edge of $R$, which is a segment between two corners, so by the lemma again $Z(U)$ and $Z(V)$ lie between corner values โ between $m$ and $M$. Hence $m\le Z(X)\le M$ for every $X$ in $R$. Since $M$ and $m$ are actually reached at corners, they are the maximum and the minimum. $\square$ Theorem 12.2 โ which also covers unbounded regions โ is accepted here on the same picture: an optimum, if there is one, is where the sliding objective line leaves the region, and it leaves through a corner (or along an edge, whose ends are corners). Section 12.3 deals with unbounded regions, where an optimum may fail to exist.
- Draw the feasible region of all the constraints, non-negative constraints included (Section 12.1).
- Find every corner point. Corners on the axes come from intercepts. Other corners come from solving the equations of two boundary lines together. If you are unsure which lines meet at a corner, solve every pair and keep only the points that satisfy all the constraints.
- Evaluate $Z$ at each corner and set the values out in a table.
- Read off the answer. If the region is bounded, the largest value is the maximum and the smallest is the minimum (Theorem 12.3). If it is unbounded, use the test of Section 12.3 before you claim either.
- Answer the question asked โ the optimal plan and the optimal value, in words and with units.
| corner | $(0,0)$ | $(5,0)$ | $(4,3)$ | $(0,5)$ |
|---|---|---|---|---|
| $Z=3x+4y$ | $0$ | $15$ | $24$ | $20$ |
| corner | $(4,0)$ | $(4,2)$ | $(0,6)$ | $(0,2)$ |
|---|---|---|---|---|
| $Z=2x+3y$ | $8$ | $14$ | $18$ (max) | $6$ (min) |
| corner | $(0,0)$ | $(7,0)$ | $(6,2)$ | $(3,5)$ | $(0,6)$ |
|---|---|---|---|---|---|
| $Z_1=x+2y$ | $0$ | $7$ | $10$ | $13$ | $12$ |
| $Z_2=3x+2y$ | $0$ | $21$ | $22$ | $19$ | $12$ |
Ties, Multiple Optimal Solutions and Applications
What if two corners give the same best value? On the slider this happens when the objective line is parallel to an edge of the region: at the end of its slide it lies along the whole edge.
Proof. Every point $X$ of $PQ$ is feasible, because $R$ is convex. By the lemma, $Z(X)=(1-t)Z(P)+tZ(Q)$ $=(1-t)M+tM=M$. $\square$ In particular, an LPP can never have exactly two optimal solutions: it has none, one, or infinitely many.
| corner | $(0,0)$ | $(5,0)$ | $(4,2)$ | $(0,6)$ |
|---|---|---|---|---|
| $Z=6x+3y$ | $0$ | $30$ | $30$ | $18$ |
| corner | $(10,0)$ | $(50,0)$ | $(20,30)$ | $(10,15)$ |
|---|---|---|---|---|
| $Z=0.08x+0.1y$ | $0.8$ | $4$ | $4.6$ | $2.3$ |
1. Missing a corner. Count edges: a region bounded by $n$ edges has $n$ corners. If your table has fewer, look again โ often a corner on an axis has been forgotten.
2. Keeping an infeasible intersection. Two boundary lines always cross somewhere (unless parallel), but the crossing need not be in the region. Test every candidate against every constraint (Example 4).
3. Putting the origin in the table when it is not feasible (Example 3).
4. Evaluating $Z$ at the intercepts of the objective line. The line $Z=k$ is a tool for picturing; the numbers that matter are the values of $Z$ at the corners of the region.
5. Stating only the value. โMaximum $=6600$โ is half an answer. Say where: โ8 tables and 6 chairs, profit โน6,600โ.
6. Reporting one point when there is a tie. If two corners share the best value, say that every point of the segment between them is optimal.
Exercises
- 1 $Z=5x+2y$ subject to $2x+y\le8$, $x+2y\le10$.
- 2 $Z=x+3y$ subject to the constraints of part 1.
- 3 $Z=3x+2y$ subject to $x+y\le6$, $x\le4$.
- 4 $Z=4x+3y$ subject to $x+2y\le10$, $x-y\le1$.
- 5 $Z=x+y$ subject to $2x+y\le10$, $x+3y\le15$.
- 6 $Z=10x+7y$ subject to $x+y\le10$, $x\le6$, $y\le8$.
- 7 $Z=2x+5y$ on the region of Example 4.
- 1 Find the minimum and maximum of $Z=3x+5y$ subject to $x+y\ge2$, $x\le3$, $y\le3$.
- 2 Find the minimum and maximum of $Z=x-2y$ on the region of part 1.
- 3 Find the minimum and maximum of $Z=5x+y$ on the region of Example 3.
- 4 Find the minimum and maximum of $Z=4x+6y$ subject to $x+2y\ge8$, $3x+2y\le30$.
- 5 The corner points of a bounded feasible region are $(0,2)$, $(3,0)$, $(6,0)$, $(6,8)$ and $(0,5)$. Find the maximum and minimum of $Z=4x+6y$.
- 6 For which values of $k$ does $Z=x+ky$ attain its maximum over the workshop region (Example 1) at the corner $(8,6)$?
- 7 Find the minimum and maximum of $Z=-x+y$ subject to $x+2y\le10$, $x-y\le1$.
- 1 The home bakery: maximise $Z=500x+400y$ subject to $2x+y\le40$, $x+y\le25$, $x,y\ge0$.
- 2 The tailoring unit: maximise $Z=250x+200y$ subject to $x+y\le40$, $3x+2y\le100$, $y\ge10$, $x\ge0$.
- 3 Asha's revision: maximise $Z=6x+5y$ subject to $x+y\le10$, $x\ge4$, $x-2y\le0$, $y\ge0$. Give the times in hours and minutes.
- 4 The family's savings: maximise $Z=0.07x+0.09y$ (โน thousand) subject to $x+y\le100$, $x\ge20$, $y\le40$, $y\ge0$.
- 5 The school bags of Exam corner E5 (Section 12.1), but with a profit of โน150 on each type B bag: maximise $Z=100x+150y$ subject to $2x+3y\le120$, $x+y\le50$, $x,y\ge0$. How many whole-number plans are optimal?
- 6 The canteen of Exam corner E6 (Section 12.1) makes a profit of โน15 per roll and โน10 per sandwich. Find the most profitable morning plan.
- 1 Give an example from this section in which an optimal value is attained at a point that is not a corner. Does this contradict Theorem 12.2?
- 2 The feasible region $R$ is bounded and contains the origin, and $Z=ax+by$ with $a\gt0$, $b\gt0$. Explain why the minimum of $Z$ on $R$ is $0$.
- 3 Use the lemma of this section to show that if $Z(P)=5$ and $Z(Q)=11$, then $Z=9$ at the point of $PQ$ that is two-thirds of the way from $P$ to $Q$.
- 4 A student claims: โMy LPP has exactly two optimal solutions, $(2,3)$ and $(4,1)$.โ Explain why this is impossible, and name a third optimal solution.
- 5 A bounded feasible region has corners $O(0,0)$, $A(5,0)$, $B(4,3)$, $C(0,4)$, and $Z=px+qy$ with $p,q\gt0$. Find the condition on $p$ and $q$ for the maximum to occur at both $A$ and $B$.
How this is examined: the graphical method is the heart of the chapter's Board questions. 1-mark items give a corner table or a region and ask for an optimal value; the 3- and 5-mark questions ask you to draw the region, label every corner, tabulate $Z$ and state the optimal plan โ marks are given for each of these steps, so show them all.
E1. Board ยท 1 mark The corner points of the feasible region of an LPP are $(0,0)$, $(5,0)$, $(3,4)$ and $(0,5)$. The maximum value of $Z=3x+2y$ is (A) $15$ (B) $17$ (C) $10$ (D) $19$
E2. Board ยท 1 mark The feasible region of an LPP is the rectangle with corners $(1,1)$, $(3,1)$, $(3,4)$, $(1,4)$. The maximum and minimum values of $Z=4x-y$ are (A) $11$ and $0$ (B) $11$ and $3$ (C) $8$ and $0$ (D) $12$ and $0$
E3. Board ยท 1 mark AssertionโReason. For the LPP โmaximise $Z=6x+3y$ subject to $2x+y\le10$, $x+y\le6$, $x,y\ge0$โ: Assertion (A): the maximum of $Z$ is attained at infinitely many points. Reason (R): if the maximum of $Z$ is attained at two points of the feasible region, it is attained at every point of the segment joining them. (A) Both A and R are true and R is the correct explanation of A (B) Both A and R are true but R is not the correct explanation of A (C) A is true but R is false (D) A is false but R is true
E4. Board ยท 3 marks Solve graphically: maximise $Z=5x+4y$ subject to $x+2y\le16$, $3x+2y\le24$, $x\ge0$, $y\ge0$.
E5. Board ยท 5 marks Solve graphically: find the minimum and maximum of $Z=3x+2y$ subject to $x+y\ge5$, $x+2y\le14$, $2x+y\le16$, $x\ge0$, $y\ge0$.
| corner | $(5,0)$ | $(8,0)$ | $(6,4)$ | $(0,7)$ | $(0,5)$ |
|---|---|---|---|---|---|
| $Z=3x+2y$ | $15$ | $24$ | $26$ | $14$ | $10$ |
E6. Board ยท Case study A farmer has at most 20 hectares for wheat and mustard. Each hectare of wheat needs 4 units of irrigation water and each hectare of mustard 2 units; 60 units are available for the season. The expected profit is โน30,000 per hectare of wheat and โน20,000 per hectare of mustard (illustrative figures). Let $x$ and $y$ hectares be sown. (i) Formulate the LPP and find the corner points of the feasible region. (2 marks) (ii) Find the most profitable plan and the profit. (1 mark) (iii) If the water available rises to 80 units, which constraint becomes redundant, and what is the new best plan? (1 mark)
Research question. How sensitive is the best plan to the numbers in the model? If a price or a resource changes a little, does the optimal corner change โ and when does it suddenly jump to another corner?
Why it matters. Prices of wheat, petrol or cotton change every week, and the hours a workshop has depend on who turns up. Planners in industry and agriculture do not just solve one LPP: they ask how far the data can move before the answer changes. This โsensitivity analysisโ is what makes an LP model useful rather than merely precise.
What to do.
- Take the workshop problem (Example 1). In a spreadsheet, list the four corners in rows and compute $Z=px+300y$ at each for a profit per table $p$ from โน100 to โน1,200 in steps of โน50, using
MAXto find the best corner for each $p$. - Record the values of $p$ at which the best corner changes. Check them by hand: a change happens exactly when the iso-profit line is parallel to an edge of the region (compare Exercise II.6).
- Now keep $p=600$ and change the bench-hours from 20 to 40. Recompute the crossing corner each time (solve the two equations in the spreadsheet) and plot the maximum profit against the bench-hours. Is the graph a straight line, a curve, or straight pieces?
- Do the same for your own LPP from the Section 12.1 mini project, if you made one.
Tools: Spreadsheet (MAX, INDEX/MATCH, simple formulas); graph paper or the slider in Interactive 1 to check.
Hand in: Your table of best corners against $p$, the graph of maximum profit against bench-hours, and a paragraph of advice to the workshop owner: โif the price of a table rises above โฆ , then โฆโ.
Going further. Find out about the simplex method, the algebraic procedure that moves from corner to corner of a feasible region in many dimensions, and why it is still used by airlines and power companies.
๐งช Self-check quiz
Q1. A bounded feasible region has corners $(0,0)$, $(6,0)$, $(4,3)$, $(0,5)$. The maximum of $Z=2x+3y$ is
Q2. The iso-profit lines of $Z=3x+2y$ all have slope
Q3. If the feasible region of an LPP is bounded and non-empty, then $Z=ax+by$
Q4. On a feasible region, $Z$ has maximum value $12$ at both $(2,4)$ and $(4,2)$. Then
Q5. For the constraints $x+y\le8$, $x+3y\le18$, $2x+y\le14$, $x,y\ge0$, which crossing point of two boundary lines is not a corner of the feasible region?