A linear inequality has a range of solutions, which you can show on a number line with an open or closed circle. Multiplying by a negative reverses the sign. Type an inequality such as 5 − x < 3 .
a x + b < c ⇒ x < a c − b ( a > 0 ) ; multiplying by a negative reverses the sign
On this page
Before you start
This page is easier if you are comfortable with:
What Linear inequalities on a number line means
Open circles show that an end point is not included (< or >) and closed circles show that it is included (≤ or ≥). An arrow shows that the range continues.
Solve the inequality first, then draw the line. For 5 − x < 3 , subtract 5 to get − x < − 2 , then multiply by −1 and reverse the sign: x > 2 .
Shade or draw an arrow in the direction of the solutions. The solving steps are in linear inequalities, solving ax + b = c is the equation version, and quadratic cases are in quadratic inequalities . It also helps to know Inequalities: sign diagram for quadratics , which uses the same ideas.
This page is part of Inequalities in Algebra . Topics that work alongside it: Linear inequalities , Quadratic inequalities , Solving ax + b = c , Substituting into a formula , Graph of an inverse function and Inequalities: sign diagram for quadratics .
What is it used for? A number line shows the solution set of an inequality at a glance. An open circle excludes the end value and a closed circle includes it.
Showing the answer to an inequality in exam questions. Reading a solution set from a diagram. Combining two inequalities, such as −1 < x ≤ 4.
How to use linear inequalities on a number line
Solve the inequality for x . Mark the end point on a number line. Choose an open or closed circle. Draw an arrow in the direction of the solutions.
Diagram 0 -1 x ≤ −1 includes −1 (closed circle) and every value to its left.
Worked examples
The examples marked with a button were worked out by the solver on this page. You can try each one yourself.
Example 1: reversing the sign Solve 5 − x < 3 and describe the solution on a number line.
Try this in the solver: solve 5-x<3
Inequality
Answer
( 2 , ∞ ) (2,\; \infty) ( 2 , ∞ ) 2 < x
The inequality
− x + 5 < 3
Move everything to one side
− x + 2 < 0
Find the critical values (solve f = 0 )
x = 2
Test a value in each region
Try x = 1 : f = 1 → false<br>Try x = 3 : f = − 1 → true
Example 2: an included end point Solve 3 x − 4 ≥ 8 . Is the end point included?
Try this in the solver: solve 3x-4>=8
Inequality
Answer
[ 4 , ∞ ) [4,\; \infty) [ 4 , ∞ ) 4 ≤ x
The inequality
3 x − 4 ≥ 8
Move everything to one side
3 x − 12 ≥ 0
Find the critical values (solve f = 0 )
x = 4
Test a value in each region
Try x = 3 : f = − 3 → false<br>Try x = 5 : f = 3 → true
Example 3: a two-step inequality Solve 2x + 1 < 7 and show it on a number line.
Try this in the solver: solve 2x+1<7
Inequality
Answer
( − ∞ , 3 ) (-\infty,\; 3) ( − ∞ , 3 ) x < 3
The inequality
2 x + 1 < 7
Move everything to one side
2 x − 6 < 0
Find the critical values (solve f = 0 )
x = 3
Test a value in each region
Try x = 2 : f = − 2 → true<br>Try x = 4 : f = 2 → false
Special cases
A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.
Reversing the sign 5 − x < 3: x > 2
Open circle at 2, arrow right.
An included end point 3x − 4 ≥ 8: x ≥ 4
Closed circle at 4, arrow right.
A strict inequality x < 3: open circle
The end point is not included.
A range −1 < x ≤ 4
Open at −1, closed at 4.
Word problems
Solve the inequality, then draw it: an open circle for < or >, a closed circle for ≤ or ≥, and an arrow showing the direction.
Reversing the sign Solve 5 − x < 3 and show it on a number line.
Subtract 5 −x < −2 Multiply by −1 and reverse x > 2 Draw open circle at 2, arrow to the right Check: x = 3 gives 2 < 3 ✓ x > 2.
An included end point Solve 3x − 4 ≥ 8 and show it on a number line.
Add 4 3x ≥ 12 Divide by 3 x ≥ 4 Draw closed circle at 4, arrow to the right Check: x = 4 gives 8 ≥ 8 ✓ x ≥ 4.
A range Higher Describe −1 < x ≤ 4 on a number line.
At −1 open circle At 4 closed circle Between a line joining them Check: 4 is included, −1 is not ✓ Open at −1, closed at 4.
A double inequality Higher Solve 1 < 2x + 1 ≤ 9.
Subtract 1 0 < 2x ≤ 8 Divide by 2 0 < x ≤ 4 Check: x = 4 gives 9 ✓ and x = 0 gives 1, not above 1 ✓ 0 < x ≤ 4.
Common mistakes
Closed circle for a strict inequality x > 2 with a closed circle ✗
open circle at 2 ✓
The end point is not included.
Arrow in the wrong direction x > 2 drawn to the left ✗
to the right ✓
Greater than means right.
Not reversing before drawing 5 − x < 3 drawn as x < 2 ✗
x > 2 ✓
Solve correctly first.
Forgetting to check no test ✗
test a value ✓
It catches a wrong direction.
Exam tips
Solve first.
Open for < and >.
Closed for ≤ and ≥.
Arrow shows direction.
Test a value.
Practice questions
Try each one on paper, then open the answer. Use the solver above to see the full working.
1. Solve x + 2 > 5. What is the boundary? Foundation 3
2. Solve 2x ≤ 10. What is the boundary? Foundation 5
3. Solve x − 4 ≥ 1. What is the boundary? Foundation 5
4. Solve 7 − x < 2. What is the boundary? Higher 5
5. Solve 3x + 1 ≤ 13. What is the boundary? Higher 4
6. Solve 2 < x + 1 ≤ 6. What is the upper boundary? Higher 5
Practice generator Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.
Foundation Higher Mixed New question
Solve: …
The practice generator needs JavaScript.
Key terms
Number line A line showing numbers in order. Open circle End point not included. Closed circle End point included. Inequality A statement using <, >, ≤, ≥. Double inequality A < x < B. Interval A set of values between two numbers.
Frequently asked questions
What does an open circle mean? The end point is not included.
What does a closed circle mean? The end point is included.
Which way does the arrow point for x > 2? To the right.
How do I draw a range? Use two circles joined by a line.
Which page solves inequalities? linear inequalities.
Which page covers quadratic ones? quadratic inequalities.