Algebra 1 · Grade 9
Graphing Linear Inequalities in Two Variables
Quick answer
An equation in two variables draws a line. An inequality keeps everything on one side of that line, so the solution set is a half-plane rather than a curve. Draw the boundary — solid if the inequality allows equality, dashed if not — then test one point off the line to decide which side to shade.
What you'll learn
- Graph a linear inequality as a half-plane
- Decide whether the boundary is solid or dashed
- Graph a system of inequalities as the overlap of half-planes
From a line to a region
A linear equation in two variables draws a line, and that line is the picture of every solution.
Change the equals sign to an inequality and far more points qualify:
Now works, since . So does and . None of them sits on the line.
The solutions fill a half-plane — everything on one side of the line, plus the line itself.
- y = x + 1
Why one side and not the other
Pick any . The line gives one particular , namely . Every above that is greater, and every below is smaller.
So holds for the point on the line and everything vertically above it. Do that for every and the solutions sweep out the whole region above the line.
Below the line, is smaller than , so the inequality fails at every point. There is no mixing: the line separates the plane into a side where the inequality always holds and a side where it never does.
That is why shading a region is a complete answer rather than a rough one.
Solid or dashed
The boundary itself is a separate question from the shading.
| Sign | Boundary | Reason |
|---|---|---|
| or | solid | points on the line satisfy the inequality |
| or | dashed | points on the line give equality, which is excluded |
For , the point gives , which is false. The line is not part of the solution, and the dashes say so.
- y = x + 1
The test point
Rather than reasoning about which side is “above”, test a point.
- Draw the boundary line.
- Pick any point not on the line.
- Substitute it into the inequality.
- True means shade that point’s side. False means shade the other side.
is the point to use whenever the line misses the origin, because substituting zeros is a single glance.
Shade .
Test :
So shade the side containing the origin, with a dashed boundary since the sign is strict.
The test point works in any form. Reading the sign directly only works once is alone on the left, and rearranging is where sign errors creep in — dividing by a negative flips the sign.
Systems of inequalities
A system asks for points satisfying every inequality at once. Shade each half-plane, and the solution is where they overlap.
Each condition removes half the plane. What survives both is a wedge.
- y = -x + 6
- y = x - 2
Every corner of the overlap is an intersection of two boundary lines, which is why solving systems of equations is the tool for finding them. Here the two lines meet where , giving and the corner .
An overlap can also be empty. Two parallel lines shaded away from each other share nothing, and the system has no solutions.
Worked examples
Common mistakes
Practice problems
-
Is the boundary of solid or dashed?
Answer
Dashed
Full solution
A strict inequality excludes the line.
-
Is the boundary of solid or dashed?
Answer
Solid
Full solution
allows equality, so points on the line are solutions.
-
Is a solution of ?
Answer
Yes
Full solution
is true.
-
Is a solution of ?
Answer
No
Full solution
, and is false.
-
Graph . What does the boundary look like?
Answer
A dashed horizontal line at , shaded below
Full solution
Strict, so dashed. Smaller is below.
-
Which side of holds the solutions?
Answer
The side containing the origin
Full solution
is true.
-
What shape is the solution set of a single linear inequality?
Answer
A half-plane
Full solution
The boundary line splits the plane, and one side satisfies the inequality.
-
Where do and overlap?
Hint
Both conditions must hold at the same point.
Answer
A horizontal strip between and , both boundaries solid
Full solution
The first shades everything at or below .
The second shades everything at or above .
A point in both has between and , which is the strip between the two lines.
-
Can a system of two linear inequalities have no solutions?
Answer
Yes
Full solution
Take and .
The boundaries are parallel, and the two half-planes are shaded away from each other.
Nothing lies in both, so the system has no solutions.
-
Asked to graph , Jonah shades above the line because the sign is . Find his error.
Hint
Test the point .
Answer
The solutions are below the line. He applied a rule that needs alone and positive.
Full solution
The “greater means above” reading only applies once the inequality is in the form with a positive .
Here carries a minus sign. Dividing by flips the inequality:
becomes .
So the solutions lie below the line , the opposite of what Jonah shaded.
A test point settles it without any rearranging. Take , which is above the line: is false, so that side is not the solution set.
Frequently asked questions
Why is the solution a whole region?
An equation is satisfied only on the line. An inequality is satisfied by everything on one side of it, which is a half-plane.
When is the boundary dashed?
When the inequality is strict, using < or >. Points on the line do not satisfy it, so the line is drawn dashed to show it is excluded.
How do I decide which side to shade?
Test a point that is not on the line — (0, 0) whenever the line misses the origin. If it satisfies the inequality, shade its side.
What is the solution of a system of inequalities?
The overlap of the half-planes. A point must satisfy every inequality, so it must lie in every shaded region at once.
Does the inequality sign always tell me to shade above?
Only once y is alone on the left. Test a point instead — it works whatever form the inequality is written in.
Standards alignment
This lesson covers the following Common Core State Standards for Mathematics.
- CCSS.MATH.CONTENT.HSA.REI.D.12Reasoning with Equations and InequalitiesGraph the solutions to a linear inequality in two variables as a half-plane (excluding the boundary in the case of a strict inequality), and graph the solution set to a system of linear inequalities in two variables as the intersection of the corresponding half-planes.