Graphing Two-Variable Linear Inequalities
Swap the equals sign for an inequality symbol, and a line stops being a boundary you sit on and becomes an edge between two entire regions.
From one line to a whole region
You already know that y = mx + b graphs as a single straight line — every point on that line makes the equation true. A two-variable inequality like y > mx + b asks a looser question: which points make the left side bigger than the right side? The answer is no longer a line — it's an entire half-plane, everything on one side of the boundary line.
Picking a side with a test point
Once the boundary is drawn, half the plane satisfies the inequality and half doesn't — but which half? Pick any point that is clearly not on the line, usually the origin (0, 0) because it's easy to compute with, and substitute its coordinates into the original inequality. If the inequality comes out true, shade the side containing that test point; if false, shade the other side.
- Graph the boundary y = 2x − 1 (slope 2, y-intercept −1). Since the inequality is strict (<), draw it dashed.
- Test the origin (0, 0), which is not on the line: is 0 < 2(0) − 1, i.e. 0 < −1? That's false.
- Since the test point fails, shade the side of the line that does not contain (0, 0).
- Graph the boundary y = −x + 3. Since the inequality includes equality (≥), draw it solid.
- Test the origin: is 0 ≥ −(0) + 3, i.e. 0 ≥ 3? That's false, so shade the side away from the origin (above the line).
- Check (1, 1): is 1 ≥ −(1) + 3, i.e. 1 ≥ 2? That's false.
A real-world constraint
Two-variable inequalities show up naturally as budgets or limits. Suppose tickets for adults cost $5 and tickets for children cost $3, and a group has at most $60 to spend. If x is the number of adult tickets and y the number of child tickets, the constraint is 5x + 3y ≤ 60. Every point (x, y) in the shaded solution region, restricted to whole numbers of tickets that make sense, represents an affordable combination.
- Substitute x = 8 and y = 5 into the left side: 5(8) + 3(5) = 40 + 15.
- That totals 55.
- Compare to the budget: is 55 ≤ 60?
Check your understanding
- A two-variable linear inequality's solution set is an entire half-plane, not just a line.
- The boundary is graphed like y = mx + b, then drawn dashed for strict > or < and solid for ≥ or ≤.
- A test point not on the line — usually the origin — tells you which side to shade: true means shade that side.
- A point on a dashed boundary is never a solution; a point on a solid boundary always is.
- Real-world limits like budgets translate directly into inequalities such as 5x + 3y ≤ 60, with every point in the shaded region a feasible combination.