Graphing Inequalities on a Number Line
To graph an inequality on a number line, mark the boundary value with an open circle for strictly less than or greater than, and a closed circle for less than or equal to or greater than or equal to. Then, shade the line to the left for smaller values or to the right for greater values.
Number lines display real numbers in sequential order, making them the perfect tool for visualizing solution sets. An equation typically has a single solution, but an inequality usually represents a continuous range of numbers.
Graphing these solution sets forms the foundation for understanding how variables behave across different boundaries.
What does an inequality graph show?
An inequality graph shows every possible number that makes the mathematical statement true.
Because it is impossible to write out an infinite list of decimal and fractional solutions, drawing inequalities on a number line provides a complete and immediate visual summary of the valid range.
The graph uses three main components to communicate the solution:
- A designated boundary value where the solution set begins or ends.
- A specific circle type that shows whether the boundary value itself is included.
- A shaded directional arrow that points toward all the other valid numbers.
Choose an open or closed circle
The first step when creating an inequality graph is deciding which type of circle belongs at the boundary value. This depends entirely on the inequality symbol.
An open circle represents a strict boundary that is not included in the solution.
Use an open circle for strictly less than or strictly greater than relationships:
- means less than.
- means greater than.
A closed circle represents an inclusive boundary that is part of the solution.
Use a closed, filled-in circle for relationships that include equal to:
- means less than or equal to.
- means greater than or equal to.

Shade left or right
After placing the correct circle, draw a thickened line or an arrow extending in the direction of the valid numbers.
Number line inequalities shade to the left for lesser values. If the inequality uses or , draw the arrow pointing left toward the negative direction.
Conversely, shade to the right for greater values. If the inequality uses or , draw the arrow pointing right toward the positive direction.

When the variable is written on the left side of the expression, the inequality symbol acts like an arrowhead pointing in the correct shading direction. For example, in , the points to the right, so you shade right.
Read a graph as an inequality
To convert an existing inequality graph back into an algebraic expression, reverse the graphing process.
- Identify the numerical position of the circle. This is your boundary value.
- Look at the circle. Choose a strict symbol ( or ) for an open circle, or an inclusive symbol ( or ) for a closed circle.
- Look at the shading. If it points left, the variable is less than the boundary. If it points right, the variable is greater than the boundary.

By putting all three clues together, you determine that the graph represents values less than or equal to . The final inequality is .
Graph compound solution sets
A compound inequality combines two separate constraints into a single graph.
Compound inequalities using "AND" require the solution to satisfy both conditions simultaneously. These graphs display an enclosed line segment stretching between two boundary circles, representing an intersection of valid numbers.
Compound inequalities using "OR" require the solution to satisfy only one of the conditions. These graphs typically feature two circles with arrows shading in opposite directions, representing a union of separate valid regions.

Worked examples
Review these examples to see how to apply the graphing rules to different types of inequality statements.
Example 1: Graphing a simple inequality
Question: Graph the inequality .
Method:
- Locate the boundary value on the number line.
- Draw a closed circle at because the inequality includes "or equal to".
- Shade to the right because the inequality requires values that are greater.
Answer:

Check: Test a value in the shaded region, such as . The statement is true, confirming the correct direction.
Example 2: Reading a continuous interval
Question: Write the inequality that matches the graph below.

Method:
- Identify the boundaries. The shading starts at and ends at .
- Check the circles. Both circles are open, meaning neither boundary is included.
- Interpret the compound relationship. The shading is between the values, indicating an "AND" condition where values are greater than and less than .
Answer: .
Check: The value is shaded on the graph, and it correctly fits into the expression because .
Example 3: Graphing a union of ranges
Question: Graph the compound inequality or .
Method:
- Evaluate the first condition: . Place a closed circle at and shade to the left.
- Evaluate the second condition: . Place an open circle at and shade to the right.
- Combine both elements onto a single number line.
Answer:

Check: Test a value in the empty gap, such as . The value is neither less than or equal to nor greater than , so it correctly remains unshaded.
Common mistakes
When creating inequality graphs, watch out for the most frequent graphing errors.
Reading the shading arrow incorrectly
Many learners assume the inequality symbol always points the way they should shade. This trick only works if the variable is on the left side. For example, means the exact same thing as . You must shade to the right because is greater than , even though the symbol points left.
Confusing circle types
It is easy to accidentally draw a closed circle for a strictly less than () statement. Remember that shading a circle means you are filling it with a value to include it in your final solution set.
Frequently asked questions
Can I graph decimal or fraction boundaries?
Yes. You can mark an open or closed circle between the standard integer markers to represent fractions or decimals, such as placing a circle halfway between and for .
What does a shaded line with no circles mean?
If a number line is completely shaded in both directions with no circles, the solution set contains all real numbers.
Why do we graph inequalities?
Representing solutions graphically is a useful step when solving inequalities. Checking your work visually makes algebraic errors more obvious, especially for linear inequalities.
Practice questions

Which inequality matches the graph shown above?
How do you correctly graph the inequality ?
Open circle at , shade left
Closed circle at , shade right
Closed circle at , shade left
Open circle at , shade right
Closed circle at , shade left

Which compound inequality correctly represents the graph shown above?
A student graphs the inequality by drawing an open circle at and shading to the left. Why is this incorrect?
The circle should be closed because is positive.
The student should have placed the circle at instead of .
The statement means is greater than , so the shading must go right.
The variable is on the right side, so the expression cannot be graphed.
The statement means is greater than , so the shading must go right.

Which compound inequality matches the graph above?
