Loading…

Graphing Inequalities on Number Line

Math Algebra • Inequalities

View all topics

Graph inequalities on a number line, including simple, chained, and compound inequalities. Get interval notation, open/closed endpoint rules, a clickable number line, and step-by-step solving.

Simple: \(2x+1<7\) Chained: \(-3\le 2x+1<7\) Compound: \(x>4\ \text{AND}\ x<12\) Graph: open circles for \(<,>\), closed circles for \(\le,\ge,=\)

Inequality input

Supported examples: -3 <= 2x + 1 < 7, 3x - 7 < 5x + 9, x > 4 AND x < 12, x < -2 OR x >= 5, and x = 20.

Graph settings

The visual line can be panned, zoomed, and clicked. Clicking the number line places a test value so students can practice checking whether a point belongs to the solution set.

Quick examples

Ready
Enter an inequality and click “Graph inequality”.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

How do you graph an inequality on a number line?

First solve the inequality for x. Then place the boundary point on the number line. Use an open circle for < or >, a closed circle for <= or >=, and shade the values that satisfy the inequality.

What is the solution of -3 <= 2x + 1 < 7?

Subtract 1 from all three parts to get -4 <= 2x < 6. Divide by 2 to get -2 <= x < 3, so the interval notation is [-2, 3).

What is the difference between AND and OR inequalities?

AND means intersection, so only overlapping values are kept. OR means union, so values satisfying either inequality are kept.

When do I use an open circle?

Use an open circle when the endpoint is not included, usually with strict inequalities < or >.

When do I use a closed circle?

Use a closed circle when the endpoint is included, usually with <=, >=, or =.

Can the calculator graph compound inequalities?

Yes. It supports compound inequalities with AND and OR, including separated solution intervals.

Can I click the number line?

Yes. Clicking the number line places a test value and tells you whether it is inside or outside the solution set.

Can I pan and zoom the number line?

Yes. You can drag to pan, use the mouse wheel or trackpad to zoom, or use the graph control buttons.