Graphing Inequalities on a Number Line
Show linear inequalities on a number line: open vs closed circles, which way the arrow points, solving first, and reading integer solutions, with full worked examples.
Key takeaways
- Use an open circle for < or > and a filled circle for ≤ or ≥
- The arrow points toward all the numbers that make the inequality true
- Solve the inequality first, then draw it — like solving an equation
- If you multiply or divide by a negative, flip the inequality sign
What an inequality says
An equation like x = 4 pins x to a single value. An inequality instead describes a range of values. The four symbols are:
| Symbol | Meaning |
|---|---|
< | less than |
> | greater than |
≤ | less than or equal to |
≥ | greater than or equal to |
So x > 3 means "x is any number bigger than 3", and x ≤ 5 means "x is 5 or any number below it". A number line is the clearest way to picture such a range. For a first look at the symbols, see inequalities.
Two things every graph shows
A number-line graph of an inequality has two parts:
- A circle at the boundary number — open or filled.
- An arrow (shaded line) showing which way the allowed values go.
Open or filled?
- Open circle (○) for
<and>: the boundary number is not included. - Filled circle (●) for
≤and≥: the boundary number is included.
A handy memory aid: the line under ≤ and ≥ means "and equal to", so you fill the circle in.
Which way does the arrow point?
- For
x > aorx ≥ a, shade right (toward bigger numbers). - For
x < aorx ≤ a, shade left (toward smaller numbers).
Worked example 1: x > 2
Boundary is 2; symbol is >, so use an open circle. "Greater than" shades right.
○━━━━━━━▶
─┼──┼──┼──┼──┼──┼──┼─
0 1 2 3 4 5 6
The open circle at 2 shows 2 itself is not a solution; everything to the right is.
Worked example 2: x ≤ −1
Boundary is −1; symbol is ≤, so use a filled circle. "Less than or equal to" shades left.
◀━━━━━━━●
─┼──┼──┼──┼──┼──┼─
−3 −2 −1 0 1 2
The filled circle at −1 shows −1 is included.
Worked example 3: solve first, then graph
Often you must solve the inequality before drawing it. You solve it exactly like an equation, using inverse operations on both sides.
Graph 3x + 1 ≥ 7.
3x + 1 ≥ 7
3x ≥ 6 (subtract 1 from both sides)
x ≥ 2 (divide both sides by 3)
Filled circle at 2, arrow to the right:
●━━━━━━━▶
─┼──┼──┼──┼──┼──┼─
0 1 2 3 4 5
Worked example 4: the negative-flip rule
There is one special rule: if you multiply or divide both sides by a negative number, you must flip the inequality sign.
Solve and graph 8 − 2x > 2.
8 − 2x > 2
−2x > 2 − 8 (subtract 8 from both sides)
−2x > −6
x < 3 (divide by −2 and FLIP > to <)
Open circle at 3 (because of <), arrow to the left:
◀━━━━━━━○
─┼──┼──┼──┼──┼──┼─
0 1 2 3 4 5
Why flip? Dividing by a negative reverses the order of numbers. Check with a value: x = 0 gives 8 − 0 = 8 > 2, true, and 0 is indeed less than 3. ✓
Worked example 5: a range (double inequality)
Graph −1 < x ≤ 3. This means x is greater than −1 and at most 3.
- At −1: open circle (
<). - At 3: filled circle (
≤). - Shade the segment between them.
○━━━━━━━━●
─┼──┼──┼──┼──┼──┼─
−2 −1 0 1 2 3
The integer solutions are the whole numbers covered: 0, 1, 2, 3. Note −1 is excluded because its circle is open.
A reliable method
- If needed, solve the inequality using inverse operations (flip the sign if you ×/÷ by a negative).
- Mark the boundary number with an open circle (
<,>) or filled circle (≤,≥). - Draw an arrow left for "less than", right for "greater than".
- To list integer solutions, read off the whole numbers in the shaded region.
Activity: graph each inequality
Describe the circle (open/filled), its position, and the arrow direction. Then list any integer solutions where a range is given.
- x < 4
- x ≥ −3
- 2x − 1 < 5
- 5 − x ≤ 1
- 0 ≤ x < 4 (list the integers)
Answers:
- Open circle at 4, arrow left.
- Filled circle at −3, arrow right.
- Solve:
2x < 6 → x < 3. Open circle at 3, arrow left. - Solve:
−x ≤ −4 → x ≥ 4(flip when ÷ by −1). Filled circle at 4, arrow right. - Filled circle at 0, open circle at 4, shaded between. Integers: 0, 1, 2, 3.
Where this leads
Reading values off a line is the same thinking you use to plot points and read line graphs. Inequalities also appear later when shading regions on a coordinate grid, where each boundary is a straight line instead of a single point.
Quick quiz
Test yourself and earn XP
What circle do you draw at 3 for x > 3?
Because > does not include 3 itself, you use an open circle.
What circle do you draw at −2 for x ≤ −2?
≤ includes −2, so the circle is filled in.
For x < 5, which way does the arrow point?
x < 5 means x is less than 5, so shade left toward smaller values.
Solve and graph: 2x ≥ 6. Where is the circle?
Divide by 2: x ≥ 3. Filled circle at 3 (≥ includes 3), arrow to the right.
Solve: −x < 4.
Multiply both sides by −1 and flip the sign: x > −4.
FAQ
Open (empty) circle for strict inequalities < and >, because the end number is not included. Filled (solid) circle for ≤ and ≥, because the end number is included.
Multiplying or dividing by a negative reverses the order of numbers on the line. For example 2 < 4 is true, but −2 < −4 is false; it should be −2 > −4.
Read off the whole numbers covered by the shaded part. For −1 < x ≤ 3 the integers are 0, 1, 2 and 3 (not −1, because the circle there is open).
Keep exploring
More in Math