Applied Mathematics VIII: Linear Programming, Formulation and the Graphical Method
2. The Graphical Method, Feasible and Infeasible Regions
For two variables, draw each constraint as a half-plane: draw the line obtained by changing the sign to =, then test the origin (or another point) to see which side satisfies the inequality. The feasible region is the part common to all half-planes and to the first quadrant. It may be bounded (it fits inside some circle) or unbounded (it extends without limit), and it may be empty, in which case the problem is infeasible and has no solution. The corner-point theorem says that an optimum, if it exists, occurs at a corner point (vertex) of the feasible region. So: find all the corner points, compute Z at each, and read off the best.
Worked example 1 (manufacturing). The corner points of the region of 3x + 2y ≤ 24, x + 2y ≤ 12, x, y ≥ 0 are found by solving pairs of boundary lines and keeping the feasible ones: (0, 0): 0; (0, 6): 240; (6, 3): 420; (8, 0): 400 (the Z values listed beside each point for Z = 50x + 40y). The region is bounded, so the maximum is ₹420 at (6, 3): 6 tables and 3 chairs. A second route, an independent solver, gave the same value. Worked example 2 (diet). For the diet problem the corner points and the values of Z = 4x + 3y are (0, 8): 24; (3, 2): 18; (9, 0): 36. The region is unbounded (it extends towards large x and y) but Z has positive coefficients, so a minimum exists: ₹18 at (3, 2), that is 3 units of A and 2 of B. Worked example 3 (transportation). Corner points and costs: (5, 35): 165; (30, 10): 190; (30, 35): 290; the least cost is ₹165 at (5, 35), sending 5 units from A and 35 from B.
- Draw 3x + 2y = 24 and x + 2y = 12Test the origin for each side
- Feasible region: bounded
- Corners (0, 0), (0, 6), (6, 3), (8, 0)
- Z = 0, 240, 420, 400
- Maximum ₹420 at (6, 3)6 tables and 3 chairs
For two variables, draw each constraint as a half-plane: draw the line obtained by changing the sign to =, then test the origin (or another point) to see which side satisfies the…
3. Multiple Optima, Unbounded and Infeasible Problems
Multiple optimal solutions. Maximise Z = 3x + 6y subject to x + 2y ≤ 10, x ≤ 8, y ≤ 4, x, y ≥ 0. The corner points and values are (0, 0): 0; (0, 4): 24; (2, 4): 30; (8, 0): 24; (8, 1): 30. The largest value 30 occurs at both (2, 4) and (8, 1), because the line Z = 30 is parallel to the edge x + 2y = 10. Every point of that edge, such as the midpoint (5, 5/2), gives the same Z, so there are infinitely many optimal solutions. Unbounded problem. Maximise Z = x + y subject to x + y ≥ 3, x + 2y ≥ 4, x, y ≥ 0. The region extends without limit and Z grows with it, so no maximum exists even though the region is not empty (the minimum of such a Z does exist). Infeasible problem. x + y ≤ 4 together with x + y ≥ 6 can never hold, so the feasible region is empty and the problem has no solution.
| Situation | Outcome |
|---|---|
| Bounded region | Maximum and minimum both exist, at corner points |
| Unbounded region, minimise with positive coefficients | A minimum exists at a corner point |
| Unbounded region, maximise with positive coefficients | No maximum |
| Two adjacent corners give the same optimum | Infinitely many optimal solutions along the edge |
| No point satisfies all constraints | Infeasible: the region is empty |
Multiple optimal solutions. Maximise Z = 3x + 6y subject to x + 2y ≤ 10, x ≤ 8, y ≤ 4, x, y ≥ 0. The corner points and values are (0, 0): 0; (0, 4): 24; (2, 4): 30; (8, 0): 24; (8, 1): 30.…
4. Further Worked Problems and the Minimum-on-an-Unbounded-Region Test
Worked example 4 (maximise). A workshop earns ₹5 on each unit of product P and ₹7 on each unit of Q. Machine time allows x + y ≤ 10 and labour allows x + 2y ≤ 16, with x, y ≥ 0. Maximise Z = 5x + 7y. The boundary lines meet the axes at (10, 0) and (0, 8) and each other where x + y = 10 and x + 2y = 16, so y = 6 and x = 4. The corner points and the values of Z are (0, 0): 0; (10, 0): 50; (4, 6): 62; (0, 8): 56. The region is bounded, so the maximum is ₹62 at (4, 6). As a check, a search over every whole-number pair inside the region also gives 62 at (4, 6). Worked example 5 (minimise). Minimise Z = 2x + 5y subject to x + y ≥ 4, x + 3y ≥ 6, x, y ≥ 0. The corner points are (0, 4): 20; (3, 1): 11; (6, 0): 12, where (3, 1) comes from y = 1 and x = 3. The least of these is 11.
Worked example 4 (maximise). A workshop earns ₹5 on each unit of product P and ₹7 on each unit of Q. Machine time allows x + y ≤ 10 and labour allows x + 2y ≤ 16, with x, y ≥ 0. Maximise Z…
Key takeaways
- An LPP has decision variables, a linear objective function Z = ax + by, linear constraints and non-negativity restrictions x, y ≥ 0.
- "At most" gives ≤ (manufacturing, a maximum); "at least" gives ≥ (diet, a minimum).
- The optimum, if it exists, is at a corner point of the feasible region; compute Z at every corner and compare.
- A bounded region always has a maximum and a minimum; on an unbounded region a maximum of Z with positive coefficients may not exist.
- Equal optimal values at two adjacent corners mean infinitely many optima along that edge; an empty region means the problem is infeasible.
Practice questions (24)
Attempt each one before opening the answer. Every explanation names the tempting wrong option as well as the right one, because that is where marks are lost.
In a linear programming problem, the linear function whose value is to be maximised or minimised is called
Show answer
Answer: D — the objective function
The objective function states the profit or cost to optimise; constraints and restrictions limit the choices.A point that satisfies every constraint of a linear programming problem is called a
Show answer
Answer: B — feasible solution
Satisfying all constraints is exactly what makes a solution feasible; it need not be optimal.A shop needs at least 40 units from two warehouses A and B, sending x and y units. The constraint is
Show answer
Answer: A — x + y ≥ 40
"At least" is a minimum requirement, so ≥; the total sent is the sum x + y, not the product.
Show the other 21 questions
For the manufacturing problem Z = 50x + 40y, 3x + 2y ≤ 24, x + 2y ≤ 12, x, y ≥ 0, the corner points include
Show answer
Answer: C — (6, 3)
The two boundary lines meet at (6, 3), which satisfies both; (12, 0) breaks 3x + 2y ≤ 24, and (0, 12) and (5, 5) break x + 2y ≤ 12.The maximum value of Z = 50x + 40y in that problem is
Show answer
Answer: B — ₹420
Z at the corner points is (0, 0): 0; (0, 6): 240; (6, 3): 420; (8, 0): 400; the largest is 420.If a feasible region is empty, the linear programming problem is
Show answer
Answer: D — infeasible, with no solution
With no point satisfying all constraints there is nothing to optimise.For the diet problem Z = 4x + 3y, 2x + y ≥ 8, x + 3y ≥ 9, the minimum value of Z is
Show answer
Answer: A — ₹18
The corner points and Z values are (0, 8): 24; (3, 2): 18; (9, 0): 36. The region is unbounded, but Z has positive coefficients, so the smallest corner value 18 is the minimum.Z = 3x + 6y has the same maximum 30 at two adjacent corner points of a feasible region. The problem has
Show answer
Answer: C — infinitely many optimal solutions
Z is linear, so it keeps the value 30 along the whole edge joining the two corners; every point of the edge is optimal.The restrictions x ≥ 0 and y ≥ 0 in a linear programming problem are called
Show answer
Answer: B — non-negativity restrictions
x, y ≥ 0 say quantities cannot be negative, so they are non-negativity restrictions. The objective function is the tempting wrong option because it is the other thing written with x and y, but it is the quantity being optimised.Maximise Z = 5x + 7y subject to x + y ≤ 10, x + 2y ≤ 16, x, y ≥ 0. The maximum value is
Show answer
Answer: C — ₹62
The corner points (0, 0), (10, 0), (4, 6) and (0, 8) give 0, 50, 62 and 56, so the maximum is 62 at (4, 6). The value 70 is the tempting wrong option from putting all 10 units into Q, which breaks the labour limit x + 2y ≤ 16.Minimise Z = 2x + 5y subject to x + y ≥ 4, x + 3y ≥ 6, x, y ≥ 0. The minimum value and the point are
Show answer
Answer: A — 11 at (3, 1)
The corner points (0, 4), (3, 1) and (6, 0) give 20, 11 and 12, and the open half-plane test confirms 11. The origin gives 0 but is infeasible because it violates x + y ≥ 4, which makes it the tempting wrong option.In the problem Z = 5x + 7y, x + y ≤ 10, x + 2y ≤ 16, the corner point (4, 6) is found by
Show answer
Answer: A — solving x + y = 10 and x + 2y = 16 together
Subtracting the equations gives y = 6 and then x = 4. Averaging (10, 0) and (0, 8) gives (5, 4), which lies inside the region and is not a corner, so it is the tempting wrong option.Each unit of A needs 2 hours and each unit of B needs 3 hours of machine time, and at most 60 hours are available. With x units of A and y of B, the constraint is
Show answer
Answer: D — 2x + 3y ≤ 60
Time used is 2x + 3y, and "at most 60" means it cannot exceed 60, so 2x + 3y ≤ 60. 3x + 2y ≤ 60 is the tempting wrong option, which swaps the hours of the two products; ≥ would mean "at least".The feasible region has corner points (0, 0), (4, 0) and (0, 3). The maximum of Z = 2x + 5y over it is
Show answer
Answer: A — 15
Z at the corners is 0, 8 and 15, so the maximum is 15 at (0, 3). 8 is the tempting wrong option, the value at (4, 0), where the larger coefficient 5 is not used; 23 adds the values 8 and 15, which is not any corner value.Which point is a feasible solution of x + y ≤ 5, x − y ≥ 1, x ≥ 0, y ≥ 0?
Show answer
Answer: B — (3, 1)
For (3, 1): 3 + 1 = 4 ≤ 5 and 3 − 1 = 2 ≥ 1, so it is feasible. (2, 2) is the tempting wrong option because 2 + 2 = 4 ≤ 5, but 2 − 2 = 0 is below 1; (1, 1) fails x − y ≥ 1 and (5, 1) fails x + y ≤ 5.Maximise Z = 4x + 3y subject to 2x + y ≤ 10, x + 3y ≤ 15, x, y ≥ 0. The maximum value of Z is
Show answer
Answer: C — 24
The lines meet at (3, 4), and the corners (0, 0), (5, 0), (3, 4), (0, 5) give Z = 0, 20, 24, 15. 20 is the tempting wrong option, the value on the x-axis at (5, 0); 26 would need a point such as (5, 2), which breaks 2x + y ≤ 10.Minimise Z = 5x + 4y subject to x + y ≥ 6, 2x + y ≥ 8, x, y ≥ 0. The minimum value of Z is
Show answer
Answer: D — 26
The corners are (6, 0), (2, 4) and (0, 8) with Z = 30, 26, 32, and no point of the region has Z < 26. 30 is the tempting wrong option, the value at the x-axis corner (6, 0); 24 at (0, 6) is not feasible because 2(0) + 6 = 6 < 8.Food P costs ₹4 a unit and food Q costs ₹3 a unit. P gives 3 and Q gives 1 unit of vitamin A (need at least 12); P gives 1 and Q gives 2 units of vitamin B (need at least 9). The minimum cost is
Show answer
Answer: A — ₹21
Minimise 4x + 3y subject to 3x + y ≥ 12, x + 2y ≥ 9: the corners are (9, 0), (3, 3), (0, 12) with costs 36, 21, 36, so the minimum is ₹21 at (3, 3). ₹36 is the tempting wrong option, the cost at either axis corner, where only one food is bought.The region x + y ≤ 6, x ≤ 4, y ≤ 5, x, y ≥ 0 has how many corner points?
Show answer
Answer: B — 5
The corners are (0, 0), (4, 0), (4, 2), (1, 5) and (0, 5), five in all. 4 is the tempting wrong option, from missing that the line x + y = 6 cuts both x = 4 and y = 5, at (4, 2) and (1, 5), so the corner (4, 5) is replaced by two vertices.Maximise Z = x + 2y subject to x + y ≤ 6, y ≤ 4, x, y ≥ 0. The maximum value of Z is
Show answer
Answer: C — 10
The corners are (0, 0), (6, 0), (2, 4), (0, 4) with Z = 0, 6, 10, 8, so the maximum is 10 at (2, 4). 12 is the tempting wrong option, the value at (0, 6), which is not feasible because it breaks y ≤ 4.The iso-cost line 4x + 6y = 24 cuts the x-axis and the y-axis at
Show answer
Answer: D — (6, 0) and (0, 4)
Putting y = 0 gives x = 24 ÷ 4 = 6, and putting x = 0 gives y = 24 ÷ 6 = 4. (4, 0) and (0, 6) is the tempting wrong option, which pairs each coefficient with the wrong axis.Minimise Z = 3x + 2y subject to x + y ≥ 5, x + 2y ≥ 8, x, y ≥ 0. The minimum value of Z is
Show answer
Answer: A — 10
The corners are (8, 0), (2, 3) and (0, 5), with Z = 24, 12, 10. The region is unbounded, but 3x + 2y ≥ 2(x + y) ≥ 10 everywhere in it, so 10 at (0, 5) is the minimum. 12 is the tempting wrong option, the value at the interior corner (2, 3).Maximise Z = 10x + 8y subject to x + y ≤ 9, 2x + y ≤ 14, x + 3y ≤ 21, x, y ≥ 0. The maximum value of Z is
Show answer
Answer: B — 82
The corners are (0, 0), (7, 0), (5, 4), (3, 6), (0, 7) with Z = 0, 70, 82, 78, 56, so the maximum is 82 at (5, 4). 78 is the tempting wrong option, the value at (3, 6) where x + y = 9 meets x + 3y = 21; 80 would be a mid-edge value that is not a corner, and corners alone decide the maximum.A firm makes chairs (x) and tables (y), earning ₹30 and ₹50. A chair needs 2 hours of carpentry and 1 of finishing; a table needs 3 and 2. At most 120 carpentry and 70 finishing hours are available. The maximum profit is
Show answer
Answer: C — ₹1,900
Maximise 30x + 50y subject to 2x + 3y ≤ 120, x + 2y ≤ 70: the lines meet at (30, 20), and the corners (0, 0), (60, 0), (30, 20), (0, 35) give ₹0, 1,800, 1,900, 1,750. ₹1,800 is the tempting wrong option, making only the 60 chairs that carpentry allows, which is not the best mix.