Why the Best Answer to a Linear Programme Always Sits at a Corner
Solve two-variable linear programming problems graphically, identify bounded, unbounded and empty feasible regions, tell feasible from infeasible solutions, decide whether an optimum exists, and find the optimal solution.
How can a graph find the best plan?
When a linear programming problem has only two variables, every possible plan is a point on a graph. Shading the constraints shows all the allowed plans at once, and a remarkable fact makes the best one easy to find: it always sits at a corner of the shaded region.
This lesson covers the graphical method, feasible and infeasible regions, the existence of optimal solutions, and finding the optimum with up to three constraints.
This lesson covers the graphical method, feasible and infeasible regions, the existence of optimal solutions, and finding the optimum with up to three constraints.
How do you solve a two-variable linear programming problem graphically?
Draw each constraint's boundary line, shade the side that satisfies it, find the region common to all constraints, list the coordinates of its corner points, and evaluate the objective function at each corner to pick the maximum or minimum.
Corner point theorem. If an optimal value exists, it occurs at a corner point of the feasible region.
Worked example. Maximise subject to , , and .
- Corner points: , , and the intersection of with , which is
- Values of Z: 0, 12, 4 and
- Maximum at
An everyday example. A tiffin service choosing how many veg and non-veg meals to cook within limits on cooks and ingredients can plot its options and read the best plan off a corner.
The substance. The optimum can sit where only one resource is fully used — at all of the first resource is used, but not all of the second.
Corner point theorem. If an optimal value exists, it occurs at a corner point of the feasible region.
Worked example. Maximise subject to , , and .
- Corner points: , , and the intersection of with , which is
- Values of Z: 0, 12, 4 and
- Maximum at
An everyday example. A tiffin service choosing how many veg and non-veg meals to cook within limits on cooks and ingredients can plot its options and read the best plan off a corner.
The substance. The optimum can sit where only one resource is fully used — at all of the first resource is used, but not all of the second.
How do you identify bounded, unbounded and infeasible regions for a set of constraints?
The feasible region is the set of points satisfying every constraint; it is bounded if it can be enclosed within a circle and unbounded if it stretches without limit, points outside it form the infeasible region, and if no point satisfies all the constraints the feasible region is empty.
Types of region:
- Bounded — a closed polygon, as for with
- Unbounded — open in some direction, as for with
- Empty — contradictory constraints, as for with
Worked example. For , , and , the region lies above both lines and is unbounded. Its corner points are , and the intersection of the two lines, .
Checking points. gives , which fails , so it is infeasible; satisfies both constraints and is feasible.
An everyday example. A diet that must supply at least certain amounts of protein and iron has an unbounded feasible region — eating more always stays allowed, even though it costs more.
The substance. An unbounded region does not spoil every problem — a minimum can still exist even when no maximum does.
Types of region:
- Bounded — a closed polygon, as for with
- Unbounded — open in some direction, as for with
- Empty — contradictory constraints, as for with
Worked example. For , , and , the region lies above both lines and is unbounded. Its corner points are , and the intersection of the two lines, .
Checking points. gives , which fails , so it is infeasible; satisfies both constraints and is feasible.
An everyday example. A diet that must supply at least certain amounts of protein and iron has an unbounded feasible region — eating more always stays allowed, even though it costs more.
The substance. An unbounded region does not spoil every problem — a minimum can still exist even when no maximum does.
How do you tell feasible from infeasible solutions and decide whether an optimal solution exists?
A feasible solution is any point of the feasible region and an optimal feasible solution is one giving the best value of Z; for a bounded region an optimum always exists, but for an unbounded region you must check whether Z can keep improving, using the half-plane test.
The half-plane test. Let M be the largest corner value of . If the half-plane shares no point with the feasible region, M is the maximum; otherwise there is no maximum. The same test with and the smallest corner value decides a minimum.
Worked example. Minimise over the unbounded region above, with corners , and .
- , and
- The smallest corner value is 21, at
- The half-plane contains no feasible point, so 21 is the minimum
No maximum. In this region, grows without limit as x or y increases, so no maximum exists.
An everyday example. A hostel mess looking for the cheapest meal plan that meets nutrition targets has a minimum cost, even though it could always spend more.
The substance. Checking only the corners is not enough for an unbounded region — the half-plane test is what proves that an optimum exists.
The half-plane test. Let M be the largest corner value of . If the half-plane shares no point with the feasible region, M is the maximum; otherwise there is no maximum. The same test with and the smallest corner value decides a minimum.
Worked example. Minimise over the unbounded region above, with corners , and .
- , and
- The smallest corner value is 21, at
- The half-plane contains no feasible point, so 21 is the minimum
No maximum. In this region, grows without limit as x or y increases, so no maximum exists.
An everyday example. A hostel mess looking for the cheapest meal plan that meets nutrition targets has a minimum cost, even though it could always spend more.
The substance. Checking only the corners is not enough for an unbounded region — the half-plane test is what proves that an optimum exists.
How do you find the optimal feasible solution of a problem with up to three constraints?
Plot all the constraints with the non-negativity restrictions, find every corner of the feasible region by solving pairs of boundary equations, evaluate Z at each corner, and choose the best value — checking for unboundedness where needed.
Worked example. A carpenter earns ₹300 per chair and ₹500 per table. Maximise subject to (carpentry hours), (polishing hours), (orders) and .
- Corners: ; on ; , where the two resource lines meet; and on
- and
- and
- Maximum profit: ₹9600, from 12 chairs and 12 tables
An everyday example. A small garment unit in Ludhiana planning next week's output of shirts and trousers uses exactly this corner-by-corner comparison.
The substance. When two corners give the same best value, every point on the edge joining them is optimal — the problem then has infinitely many optimal solutions.
Worked example. A carpenter earns ₹300 per chair and ₹500 per table. Maximise subject to (carpentry hours), (polishing hours), (orders) and .
- Corners: ; on ; , where the two resource lines meet; and on
- and
- and
- Maximum profit: ₹9600, from 12 chairs and 12 tables
An everyday example. A small garment unit in Ludhiana planning next week's output of shirts and trousers uses exactly this corner-by-corner comparison.
The substance. When two corners give the same best value, every point on the edge joining them is optimal — the problem then has infinitely many optimal solutions.
Exam tip
What earns full marks on the graphical method?
Draw the graph to a clear scale, label every line with its equation, shade the feasible region, and list the corner points with their values of Z.
- Corner point theorem: an optimum occurs at a corner
- Solve pairs of boundary equations to find the corners
- Bounded region: an optimum always exists
- Unbounded region: confirm with the half-plane test
The trap. Missing a corner where a constraint line meets an axis. Check every intersection of the boundary lines with each other and with the axes.
- Corner point theorem: an optimum occurs at a corner
- Solve pairs of boundary equations to find the corners
- Bounded region: an optimum always exists
- Unbounded region: confirm with the half-plane test
The trap. Missing a corner where a constraint line meets an axis. Check every intersection of the boundary lines with each other and with the axes.
Did you know
Why is the best value of a linear objective always at a corner?
The lines for different values of k are all parallel. Increasing k slides the line steadily across the graph.
The largest k that still touches the feasible region is reached when the sliding line just grazes the region — and for a polygon, the last point it touches is a corner, or a whole edge if the line happens to be parallel to that edge.
The largest k that still touches the feasible region is reached when the sliding line just grazes the region — and for a polygon, the last point it touches is a corner, or a whole edge if the line happens to be parallel to that edge.
Exam relevance
Is the graphical method of linear programming tested in JEE Main?
Linear Programming is a Class 12 board chapter that is not part of the JEE Main mathematics syllabus, so its graphical method is not asked there directly.
Why it still helps for JEE. Shading regions defined by linear inequalities, finding intersection points of lines and reasoning with parallel lines are core skills in Straight Lines, a recurring JEE Main topic.
The trap that costs marks. Missing a corner point where a constraint meets an axis, which can hide the true optimum.
Why it still helps for JEE. Shading regions defined by linear inequalities, finding intersection points of lines and reasoning with parallel lines are core skills in Straight Lines, a recurring JEE Main topic.
The trap that costs marks. Missing a corner point where a constraint meets an axis, which can hide the true optimum.
Key takeaways
What must you be able to do from this lesson?
- Graphical method: plot the constraints, shade the common region, and evaluate Z at the corners
- Regions: bounded, unbounded or empty, with points outside the region infeasible
- Existence of an optimum: guaranteed for bounded regions; use the half-plane test for unbounded ones
- Optimal solution: the best corner value, or a whole edge when two corners tie
Can you find the maximum of subject to , and ?
- Regions: bounded, unbounded or empty, with points outside the region infeasible
- Existence of an optimum: guaranteed for bounded regions; use the half-plane test for unbounded ones
- Optimal solution: the best corner value, or a whole edge when two corners tie
Can you find the maximum of subject to , and ?