Half-Spaces and Hyperplanes
A single linear equation describes a flat boundary that divides space in two, and a single linear inequality describes one of the two sides together with that boundary. These are the pieces every feasible region is assembled from: the region is what survives when all the allowed sides are intersected.
Definition
For a nonzero vector
Formal statement
Assumptions and scope
The normal vector must be nonzero. If
the equation is either satisfied by every point, when , or by none, when ; in neither case is a boundary described, so is part of the definition rather than a technicality.A closed half-space contains its boundary hyperplane. The strict inequality
describes an open half-space, which excludes the boundary; linear programs are written with closed half-spaces, which is why an optimum can sit exactly on a constraint.Scaling a constraint does not move it, but negating it swaps the side. Multiplying
and by the same positive number describes the same half-space; multiplying by a negative number describes the other one, which is the mechanism behind rewriting as .The sign of
decides the side, and its magnitude does not. A point far from the boundary and a point just across it are on the same side; distance is a separate question from membership.
Forms this is expressed in
The same content in several forms. Each makes something visible that the others leave implicit, so moving between them is part of understanding the topic rather than a presentation choice.
geometric
One inequality drawn in the plane. The equation
The shaded side is not decided by the direction of the inequality sign but by testing a point: substitute it and see whether the arithmetic holds. The boundary belongs to the region whenever the inequality is weak, which is why an optimum is allowed to sit exactly on a constraint.
What the picture cannot do is generalise. The test is arithmetic and works in any number of variables; the drawing stops at three.
Worked material
Example
Deciding sides by arithmetic
Take the constraint
The point
The point
The point
Nothing in this procedure mentions the number of variables. For
Contrast
Hyperplanes in two dimensions and in higher dimensions
Two-variable problems are drawn on paper, so "constraint" and "line" come to feel like the same word. They are not.
In
In
In
The habit to avoid is calling every constraint "the line" and expecting to reason by sketching. Real programs have more variables than a page has dimensions, and the competence that survives the move is the evaluation, not the drawing.
Common errors
Common misconception
A linear constraint is a line, so a hyperplane is always one-dimensional and a feasible region is always a flat shape drawn on paper.
Related units
Connected
- The Feasible Region of a Linear Program (part of)
- Feasible Sets (related)