Systems of Inequalities
Learning goals
- Shade the half-plane a test point satisfies
- Draw the boundary solid or dashed by the symbol
- Intersect the half-planes to get the feasible region
- Find the corners by solving the boundary-line systems
- Evaluate a linear objective at every corner
- Allow for an empty or unbounded region
A single inequality carves the plane in two
Start with one linear inequality in two variables, such as . Its solutions are all the pairs that make it true, and there are infinitely many of them. To see their shape, first draw the boundary line , the set where the two sides are exactly equal. That line does not solve the inequality (equality is not “less than”), but it is the fence between the pairs that do and the pairs that do not.
The key fact is that the line splits the plane into two sides, and each side is entirely solutions or entirely non-solutions, with no mixing. So you never test more than one point: check a single point off the line, and its verdict settles the whole side it belongs to. Here is why that works.
Why the solutions of fill one whole side of the line#
The boundary is the line . Take the common case first, and solve the boundary for :
At a given , this is the height of the line. A point sits above the line exactly when its own height beats the line’s height there, . Multiply both sides by the positive number ; from the lesson on linear inequalities, a positive multiplier keeps an inequality’s direction, so
So “above the line” is exactly the set where , and running the same steps with the inequality reversed shows “below the line” is exactly where . Every point of the plane is above, on, or below the line, so these three conditions partition the plane, and each strict inequality names one full side.
If instead , multiplying by reverses the direction (again from the linear inequalities lesson), so “above” becomes : the side attached to each symbol flips. That is precisely why you cannot read the shaded side straight off the symbol without watching the sign of . That direction flip is also why the safe method is to test an actual point. And if the boundary is the vertical line , which splits the plane into and ; there you solve for instead of .
In every case the boundary cuts the plane into two sides, one where and one where . Testing a single point off the line reveals which side is which.
That gives the whole procedure for graphing one inequality. Draw the boundary line. Make it solid when the inequality allows equality ( or ), because then the line’s own points are solutions. Make it dashed when the inequality does not ( or ), because then those points are excluded. Then pick a test point not on the line and substitute it. Shade the side the test point lands on if it makes the inequality true, or the other side if it makes it false. The origin is the easiest test point whenever the line does not pass through it.
Worked example 1 Graph the inequality
Begin with the boundary line . Two points fix it. Setting gives , so and the point ; setting gives , the point . The inequality is strict, so the boundary is drawn dashed: points on the line are not solutions.
Now choose which side to shade by testing one point off the line. The origin is not on this line, so use it:
Because satisfies the inequality, the whole side of the line containing the origin is solutions. Shade that side. The solution set is that entire open half-plane, with the dashed boundary excluded.
Check your understanding
Is the point a solution of , and should its boundary line be drawn solid or dashed?
Test the origin by substituting it into the inequality.
Since is false, is not a solution, so the origin lies on the side you do not shade. The symbol is , which counts the points on the line as solutions, so the boundary is solid; a strict would make it dashed.
Stacking inequalities: the feasible region
A system of inequalities asks for all of its conditions at once. A pair solves the system only when it solves every inequality, so it must lie in every one of the half-planes at the same time. The solution set is therefore the intersection of the half-planes: the region where all the shaded sides overlap. This is the two-variable echo of the “and” from one-variable inequalities, where joining conditions with “and” meant intersecting their solution sets. The overlap region has a name worth knowing, the feasible region, because in an applied problem it is exactly the set of choices that are actually allowed.
Here is a concrete system to graph. A workshop builds tables and bookshelves. Cutting a table takes hours and a bookshelf hour, with cutting hours available, so . Assembly takes hour for either piece, with assembly hours available, so . You cannot build a negative count of anything, which forces and . Those four inequalities are the system, and its solution set is every build plan that respects all of the limits together.
Worked example 2 Graph the system and find its corners
The four inequalities are
The two conditions and confine everything to the first quadrant. Within it, graph each slanted boundary and keep the side each inequality allows. Here holds below its line (test the origin: is true), and holds below its line as well. Keeping only the common overlap leaves the four-sided feasible region shown below.
Its corners are where two boundaries cross, and each corner is the solution of a two-equation system. The interesting corner is where cutting and assembly are both used to the full, where and meet. Subtract the second equation from the first to eliminate :
Then , giving the corner . The other three corners are read off directly: the origin , the point where meets the -axis, and where meets the -axis. So the feasible region is the quadrilateral with corners , , , and .
The same test runs in reverse, which is how you write a system from a picture. Given a shaded region, each boundary line supplies one inequality: write the line’s equation, then fix the direction by testing a point you know is inside the region. That interior point must satisfy the inequality, so choose the symbol that makes it true. Use or when the boundary is solid, and or when it is dashed. Doing this for every boundary rebuilds the whole system from the drawing.
Check your understanding
The two boundary lines and meet at a corner of a feasible region. What are its coordinates?
A corner is where two boundaries cross, so solve the two equations as a system. Adding them eliminates .
So , and then . The corner is . Finding a region's vertices is exactly the elimination you already use for systems of equations, run on the boundary lines.
Optimizing over the region: linear programming
A feasible region collects every allowed choice, but usually you want the best one. In the workshop, “best” means the most profit. Suppose each table earns a profit of dollars and each bookshelf dollars. Measuring profit in tens of dollars, the workshop wants to maximize the objective
over the feasible region. Maximizing or minimizing a linear objective over a region cut out by linear inequalities is called linear programming. When the region is a bounded polygon with corners, linear programming has a strikingly simple answer, that you need only check the corners.
Why a linear objective is optimized at a corner#
Fix the objective . For each number , the equation is a straight line, and because they all share the slope , the lines for different values of are parallel. They form a family sweeping across the plane, and moving to a larger shifts the line toward the upper right, the direction in which grows.
Maximizing over the feasible region means finding the largest for which the line still touches the region. Picture sliding the line in the increasing direction until it is about to leave: the last point it touches is where is greatest on the region.
The feasible region is convex, meaning the straight segment joining any two of its points stays entirely inside it. This holds because each inequality’s half-plane is convex, and the region is their intersection, so a segment lying inside every half-plane lies inside the region. On a convex polygon, the final contact of a sliding line is either a corner or an edge parallel to that line. In the edge case, its endpoints are corners. Either way a corner attains the maximum.
The same argument with the line sliding the other way puts a minimizer at a corner too, which gives the corner point principle. Stated carefully, the principle applies to a feasible region whose boundaries are solid and which has at least one corner. On such a region, wherever an optimum of a linear objective exists, at least one corner attains it. So to optimize over a bounded polygon of that kind, evaluate the objective at each corner and take the best value. The qualifiers earn their place. If the region is unbounded in the increasing direction, the slide never stops and no maximum exists. If a boundary is dashed, so the region is open, the objective can creep toward a best value it never actually reaches. And when the objective line is parallel to an edge, that whole edge is optimal, though its corners still attain the value. Whenever an optimum exists and the region has corners, a corner is among the points that attain it.
Worked example 3 Find the most profitable plan
The feasible region from the previous example has corners , , , and . By the corner point principle, the maximum of sits at one of them, so evaluate at all four:
The largest value is , at the corner . So the best plan builds tables and bookshelves, using all cutting hours and all assembly hours. That plan earns a profit of tens of dollars, that is dollars.
Notice that neither lopsided plan wins. Building as many tables as possible, , earns , and leaning hard on bookshelves, , earns . The optimum mixes the two products, which is exactly the kind of balance linear programming is built to find.
Check your understanding
A bounded feasible region has corners , , and . What is the minimum of on the region?
By the corner point principle, a linear objective on a bounded region reaches its minimum at a vertex, so evaluate at each corner.
The smallest value is , at the corner . There is no need to check any interior point; on a bounded region with corners, at least one vertex attains the optimum.
When the region is empty or unbounded
Not every system produces a tidy polygon. Two other outcomes carry straight over from the consistent-or-inconsistent vocabulary of the equation lessons, and both matter for optimization.
Worked example 4 A region can be empty or unbounded
Two quick cases show the range of possibilities.
First, an empty region. The system and asks for a sum that is at least and at most at the same time. No point can satisfy both, since a number cannot be and at once, so the two half-planes never overlap and the feasible region is empty, . This is the two-variable version of an inconsistent system: the constraints contradict one another and no choice can meet them all. There is nothing to optimize.
Second, an unbounded region. The system , , and keeps everything in the first quadrant that lies on or above the line , and that region runs outward forever toward the upper right. On it the objective can be made as large as you like. So the objective has no maximum, but it does have a minimum of , reached all along the edge , including the corners and . So on an unbounded region an optimum can fail to exist in one direction while still existing in the other. Whenever an optimum does exist on such a region, at least one corner attains it.