A linear program has an algebra of variables and inequalities, but its soul is geometric. Draw the feasible region and the objective, and the answer almost leaps off the page — and, better, you see why the answer is where it is. That geometric picture is not a teaching aid you outgrow; it is the exact reason the simplex method works the way it does. Understand the shape, and you understand the algorithm.
We continue with the tables-and-chairs workshop:
Each constraint is a half-plane; their intersection is the feasible region. Because every constraint is
a straight cut, the region is flat-sided — a polygon in two dimensions, a
polytope in general. Crucially it is
Fix a profit level
Maximising profit is therefore a single physical picture: push the line as far as it will go in the profit-increasing direction while it still touches the feasible region. Drag the slider and watch the objective line sweep upward. The last point it touches before leaving the region for good is the optimum — and notice where it lands.
The line leaves the region for the last time exactly at the corner
That was no accident. It is the central fact of linear programming, and it is worth stating precisely.
With only four corners we can simply enumerate them and read off the winner:
| Vertex | Meaning | Profit |
|---|---|---|
| make nothing | £0 | |
| all tables | £800 | |
| all chairs | £900 | |
| both binding | £1000 ⟵ best |
The theorem hands us a strategy and an algorithm in one breath. If an optimum always lives at a vertex, we need only ever look at vertices — never the interior. Enumerating all of them is hopeless in high dimensions (their number explodes), but we do not have to. Because the region is convex, any vertex that beats all its neighbouring vertices beats every vertex, and is the global optimum.
That is precisely what
Usually the sliding line's last contact is a single sharp corner. But if the objective happens to be exactly parallel to one of the binding edges, the line makes contact with that whole edge at once as it leaves — and every point along that edge is optimal, an infinity of production plans all earning the same top profit. This is alternative optima, and it does not break the theorem: at least one vertex is still optimal (in fact both ends of the edge are), so "check the corners" still finds the best value. Far from a nuisance, alternative optima are a gift to a manager — you get to pick, among equally profitable plans, the one that is easiest to run.
The fundamental theorem opens with an "if": if the LP has an optimal solution. Two things can spoil that. If the feasible region stretches to infinity in a profit-increasing direction, the sliding line never leaves it — the LP is unbounded and there is no maximum to sit at a corner. If the constraints contradict each other, the region is empty — the LP is infeasible and there are no corners at all. A well-posed model boxes the region in on the profitable side and leaves it non-empty; only then is "the answer is at a vertex" a promise you can collect on.