Graphing Inequalities on a Number Line
An equation like has one answer, so its graph is one dot. An inequality like has infinitely many answers — every number bigger than — so its graph is a whole stretch of the number line.
Two choices tell the whole story: what kind of circle to draw at the boundary number, and which direction to shade. Get those two right and every one of these graphs is easy.
Open or closed circle
The circle sits at the boundary number and answers one question: is that number itself included? An open circle means not included — used with the strict symbols and . A closed, filled-in circle means included — used with and .
So gets an open circle at , because itself is not a solution. gets a closed circle at , because is a solution.
Which way to shade
Shade toward the numbers that make the inequality true. For , the solutions are bigger than , and bigger numbers live to the right — so the ray points right. For , shade left from .
Here is : a closed circle at , with the shading running right toward the larger numbers.
When the variable is on the right
looks backwards, but it graphs like any other inequality once you read it toward the variable: it says is less than or equal to . That's the same as — closed circle at , shade left.
A quick way to keep it straight: the symbol always opens toward the bigger side. If the open side faces away from the variable, the variable holds the smaller values.
Worked examples
Example 1: a strict inequality
Graph on a number line.
Answer: Open circle at , ray pointing right
Example 2: less than or equal to
Graph on a number line.
Answer: Closed circle at , ray pointing left
Example 3: reading a graph
A number line shows a closed circle at with shading to the right. Which inequality does it represent?
Answer:
Try one yourself
Common questions
When is the circle open and when is it closed?
Open for the strict symbols and , closed for and . The circle is only about whether the boundary number itself counts as a solution.
How do I remember which way to shade?
Test an easy number. For , try : is true? Yes — and is to the right of , so shade right. One test number settles the direction every time.
What if the inequality is written like ?
Read it toward the variable: says is greater than . Graph it as — open circle at , shade right.
Why does the shading end in an arrow?
The arrow means the solutions keep going forever in that direction. There is no largest number greater than , so the graph of can't stop — the arrow says so.
Want the video version?
Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.