Online Number Linewww.onlinenumberline.com
Algebra & Inequalities Guide

How to Graph Inequalities on a Number Line

Graphing inequalities on a 1-dimensional number line is a foundational algebra skill. Whether you're solving simple inequalities like $x > 3$ or complex multi-step expressions like $2x - 6 \ge 6(x - 2) + 8$, this guide breaks down the rules of open vs. closed circles and shading direction.

By OnlineNumberLine Team•6 Min Read
Graphing the inequality x <= -0.5 on a number line with a solid closed circle and shaded arrow pointing left
Figure 1: Graph of $x \le -0.5$ using a solid closed boundary dot and a leftward shaded ray toward negative infinity.
Step-by-Step Method

The 3 Core Rules for Graphing Any Inequality

Rule 1: Solve the Inequality for the Variable

Before plotting, isolate the variable on the left side of the inequality. Remember that if you multiply or divide both sides by a negative number, you must flip the inequality sign (e.g. $-2x \le 4 \Rightarrow x \ge -2$).

Rule 2: Determine Circle Type (Open vs. Closed Dot)

  • Closed Circle (Solid Dot •): Use when the boundary number IS included ($\le$ or $\ge$).
  • Open Circle (Hollow Circle ∘): Use when the boundary number IS NOT included ($<$ or $>$).

Rule 3: Shade the Solution Direction (Ray)

  • Shade Right ($\rightarrow$): For "greater than" ($>$ or $\ge$). Values grow larger toward $+\infty$.
  • Shade Left ($\leftarrow$): For "less than" ($<$ or $\le$). Values grow smaller toward $-\infty$.
Worked Example

Example Problem: $2x - 6 \ge 6(x - 2) + 8$

Let's solve and graph this multi-step inequality step by step:

1. Expand right side: 2x – 6 ≥ 6x – 12 + 8
2. Simplify right side: 2x – 6 ≥ 6x – 4
3. Subtract 2x from both sides: –6 ≥ 4x – 4
4. Add 4 to both sides: –2 ≥ 4x
5. Divide by 4: –0.5 ≥ x (or x ≤ –0.5)

Graphing Result: Place a solid closed circle at $-0.5$ (since it is $\le$) and shade a heavy line pointing left toward negative numbers.

Practice Graphing Inequalities Digitally

Test your inequality skills on our free interactive workspace with negative numbers, fractions, and custom step sizes.