Algebra › Section C · Graphs and functions › Topic C.4
Graphing linear inequalities
An equation in two variables draws a line; an inequality paints a whole region. One boundary line, one test point and one decision about solid or dashed turn the inequality into a picture of every solution at once.
From lines to regions
The graph of an equation like \(y = 2x + 1\) is a thin curve of points: exactly the pairs that make it true. The graph of an inequality like \(y \le 2x + 1\) is far bigger — every pair \((x, y)\) with \(y\) at most \(2x + 1\) qualifies, and those points fill an entire region on one side of the line. That region is called a half-plane. Where an equation asks "which points balance exactly?", an inequality asks "which points qualify at all?" — and in applications, qualifying is usually the real question: staying under a budget, meeting a minimum, fitting within a limit.
Testing solutions
A solution of an inequality in two variables is an ordered pair that makes it true, and testing one is a single substitution. For \(y > x + 1\): the pair \((3, 5)\) gives \(5 > 4\), true, so it is a solution; \((2, 3)\) gives \(3 > 3\), false, so it is not; \((5, 3)\) gives \(3 > 6\), false as well. There are infinitely many solutions, so listing them is hopeless — but testing a couple of points builds the intuition that solutions come in blocks, which is exactly what the graph will show.
The boundary line
The boundary line of an inequality is the graph of the related equation, replacing the inequality sign with an equals sign: the boundary of \(y \le 2x + 1\) is \(y = 2x + 1\), drawn with the intercept-and-slope or two-point methods of earlier topics. The boundary is the frontier where the two sides of the question meet: points on it make the two sides equal, points on one side make the left side smaller, points on the other side make it larger. That is why solutions of a linear inequality fill one entire side of its boundary line and never scatter across both.
Solid or dashed
The inequality sign decides how the boundary itself is drawn. With \(\le\) or \(\ge\), the pairs on the line do satisfy the inequality — equal counts as "at most" or "at least" — so the boundary is drawn solid and belongs to the graph. With strict \(<\) or \(>\), points on the line give equality, which fails the strict test, so the boundary is drawn dashed: shown as a guide, but excluded from the solutions. Getting this backwards is the classic silent error, because the shading looks identical either way and only the line style records the difference.
The test point method
To graph a linear inequality, follow three steps. First, draw the boundary line, solid for \(\le\) and \(\ge\), dashed for \(<\) and \(>\). Second, test one point that is not on the line — the origin \((0, 0)\) is the easiest choice, since substitution is almost instant. Third, shade the side the test point came from if it satisfies the inequality, and the other side if it fails. If the boundary passes through the origin, borrow a nearby point instead, such as \((1, 0)\) or \((0, 1)\). The test point is the truth-teller: whichever side owns a true point owns all its neighbours.
Worked example: a strict inequality
Graph \(2x + y < 4\). The boundary is \(2x + y = 4\), with intercepts \((2, 0)\) and \((0, 4)\); draw it dashed, since equality is excluded. Test the origin: \(2(0) + 0 = 0 < 4\), true, so shade the origin side of the line. Reading answers off the picture: \((0, 0)\) and \((1, 1)\) lie inside the shading and satisfy the inequality, while \((3, 1)\) gives \(7 < 4\), false, and lies outside. Every point of the shaded half-plane, and no point of the dashed boundary, is a solution.
Worked example: a florist's budget
A florist can spend at most $120 on an order of roses at $6 each and tulips at $4 each. With \(r\) roses and \(t\) tulips, the budget says \(6r + 4t \le 120\). The boundary \(6r + 4t = 120\) has intercepts \((20, 0)\) — all roses — and \((0, 30)\) — all tulips — and is drawn solid, because spending exactly $120 is allowed. The origin test gives \(0 \le 120\), true, so the affordable orders are the shaded region near the origin: 10 roses and 10 tulips cost \(60 + 40 = 100\) dollars and qualify; 20 roses and 10 tulips cost $160 and lie outside. Constraints in business and science are inequalities almost by definition.
Reading an inequality from a graph
The process reverses cleanly. Given a shaded region, find its straight edge and write the boundary equation through two visible points. Then ask two questions. Which side is shaded? Test a point clearly inside the shading to find which way the inequality points. Does the boundary belong to the region? A solid edge means \(\le\) or \(\ge\); a dashed edge means \(<\) or \(>\). Combining the three facts — boundary line, direction, edge style — pins the inequality down. It is the same information a graphing problem uses, read in the opposite order.
Common mistakes to avoid
First, shading by guesswork instead of testing a point — the test takes five seconds and settles the question. Second, drawing the boundary solid for a strict inequality or dashed for \(\le\): the sign type, not the shading, decides the line style. Third, testing a point on the boundary itself; the answer is always "equal", which tells you nothing about either side. Fourth, choosing the origin as a test point when the line passes through it. Fifth, forgetting that the whole shaded half-plane is the answer, not just the boundary or a few plotted points.
Key takeaways
A linear inequality in two variables has a half-plane of solutions: every ordered pair making it true. Draw the boundary line from the related equation — solid when the inequality is \(\le\) or \(\ge\), dashed when it is strict — then test one off-line point, usually the origin, and shade the side that matches its verdict. Reverse the process to read an inequality from a graph: boundary equation, solid-or-dashed, then which side. Applications translate limits into inequalities naturally, as in \(6r + 4t \le 120\), where the region collects every affordable choice.
Flashcards
Flashcard
Its graph is a half-plane
Test your understanding
Question 1 of 5
Which ordered pair is a solution of y > x + 1?
Question 2 of 5
How should the boundary line of y ≥ 3x - 2 be drawn?
Question 3 of 5
When graphing x + y > 2, the test point (0, 0) gives 0 > 2, which is false. Where is the solution region?
Question 4 of 5
A florist can spend at most $120 on roses at $6 each and tulips at $4 each. Which inequality models the order?
Question 5 of 5
A shaded region has boundary line x + y = 5, a dashed edge, and the origin inside the shading. Which inequality is it?
