6 min read

How to Graph Inequalities on a Number Line

A visual guide to drawing one-variable inequality solutions clearly and correctly.

Definition and Core Idea

A number-line graph translates an algebraic answer into a visual region. Boundary points show where the inequality changes truth value, and the shaded direction shows which side of the line remains valid.

Graphing is a useful error check because it exposes common mistakes immediately. If the notation says one ray but the graph looks like a bounded interval, something in the algebra or endpoint logic is wrong.

Rules, Forms, and Patterns

Open endpoint

x>ax > a

Use an open circle because the boundary value a is not part of the solution.

Closed endpoint

xax \le a

Use a closed circle because the boundary value a is included.

Bounded segment

a<xba < x \le b

A bounded segment combines two endpoints and shades only the interval between them.

Worked Example

Prompt

x4x \le 4
01

Mark the boundary value 4 on the number line.

02

Use a closed point because the inequality includes equality.

03

Shade to the left because every value smaller than 4 is valid.

Result

(,4](-\infty, 4]

Use the Calculator for This Topic

A concept becomes durable only when you can move from the rule back into a fresh problem. The calculator is useful here because it lets you test the exact pattern from this article, compare your work with the step list, and verify the final graph or notation.

Suggested input

x4x \le 4
01

Enter a one-variable example and look at the number-line graph before reading the notation.

02

Match the endpoint style on the graph with the interval card beside it.

03

Try a second problem with two boundary points to compare a single ray with a bounded interval.

Practice graphing on the number line

Mark the critical points

Every graph starts with the boundary values. For linear inequalities there is usually one boundary point. Quadratic and absolute-value inequalities often have two.

Plot those points before shading anything. It is much easier to choose the correct region once the structure is visible.

Choose open or closed circles

Use an open circle for < or > and a closed circle for <= or >=. This visual rule mirrors the meaning of interval notation exactly.

After that, shade the side or sides that satisfy the inequality.

Put The Rule Into Practice

Concept pages are useful only if they transfer back into actual problem solving. After reading this guide, the best next step is to try several inequalities with slightly different signs, constants, and endpoints so you can see the pattern rather than memorize one worked example.

The calculator pages linked here are meant to shorten that feedback loop. You can test a new inequality, inspect the step list, and compare the graph with the notation output to confirm that your mental model is consistent.

Common Mistakes To Avoid

Shading the wrong side of the boundary point after solving the algebra.

Using a closed point for a strict inequality like x > 3.

Ignoring how two separate rays should be drawn for union answers.

FAQ

Why is graphing useful if I already have the answer?

Because graphs reveal whether the answer is a single interval, a bounded segment, or two separate rays.