Graphing Linear Inequalities
A linear inequality like doesn't have a line of solutions — it has a whole region of them. Every point on one side of the line makes the inequality true, so the graph is a shaded half of the coordinate plane.
Graphing one takes exactly three decisions: draw the boundary line, decide if it's solid or dashed, and decide which side to shade. Each decision reads straight off the inequality symbol.
Solid or dashed boundary
The boundary line is the graph of the matching equation — for , that's the line , drawn with its slope and -intercept as usual.
Strict symbols and mean points on the line itself are not solutions, so draw it dashed. The symbols and include equal, so points on the line are solutions — draw it solid.
This is the same idea as open versus closed circles on a number line, stretched into two dimensions: dashed is the open circle, solid is the closed one.
Which side to shade
With the inequality solved for , the symbol tells you directly: or shades above the line (larger -values), and or shades below (smaller -values).
Here's finished: the boundary is dashed because is strict, and the shading sits below the line because is less than the expression.
Check with a test point
Not sure about the shading, or the inequality isn't solved for ? Test a point. Pick any point not on the boundary — is the easiest whenever the line misses the origin — and substitute it into the inequality.
If the statement comes out true, shade the side containing your test point. If it comes out false, shade the other side. For , testing gives , which is true — so the origin's side gets the shading.
Worked examples
Example 1: dashed line, shade below
Graph .
Answer: Dashed line , shaded below
Example 2: solid line, shade above
Graph .
Answer: Solid line , shaded above
Example 3: decide with a test point
Is a solution to ? Which side gets shaded?
Answer: is not a solution; shade the side away from the origin
Try one yourself
Common questions
How do I know if the boundary line is solid or dashed?
Look only at the symbol. and include equal, so points on the line count — solid. and are strict, so the line's points don't count — dashed.
What if the inequality isn't solved for ?
You have two options: rearrange it into -form first (and remember dividing by a negative flips the symbol), or skip the rearranging and use a test point — substitute a point like and shade based on whether the result is true.
Why can't I always use as the test point?
The test point can't sit on the boundary line. If the line passes through the origin — like — then is on the boundary and tells you nothing. Pick another easy point, like or .
Is a point on a dashed boundary a solution?
No. Dashed means the boundary is excluded — those points make the two sides exactly equal, and a strict inequality demands strictly less or strictly greater. Only a solid boundary's points are solutions.
Want the video version?
Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.