Linear Inequalities on a Number Line Equation Solver with Worked Examples

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 .

Write 2x or 2*x to multiply, ^ for powers, and ; between simultaneous equations. You can also type factor, expand, derivative of, integrate … from a to b, limit … as x->0 or 15% of 80.

Try an example

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 , subtract 5 to get , then multiply by −1 and reverse the sign: .

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.

How to use linear inequalities on a number line

  1. Solve the inequality for .
  2. Mark the end point on a number line.
  3. Choose an open or closed circle.
  4. 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 and describe the solution on a number line.

Inequality
Answer
(2,  ∞)(2,\; \infty)
  1. The inequality
  2. Move everything to one side
  3. Find the critical values (solve )
  4. Test a value in each region
    Try : → false<br>Try : → true

Example 2: an included end point

Solve . Is the end point included?

Inequality
Answer
[4,  ∞)[4,\; \infty)
  1. The inequality
  2. Move everything to one side
  3. Find the critical values (solve )
  4. Test a value in each region
    Try : → false<br>Try : → true

Example 3: a two-step inequality

Solve 2x + 1 < 7 and show it on a number line.

Inequality
Answer
(−∞,  3)(-\infty,\; 3)
  1. The inequality
  2. Move everything to one side
  3. Find the critical values (solve )
  4. Test a value in each region
    Try : → true<br>Try : → 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.

  1. Subtract 5−x < −2
  2. Multiply by −1 and reversex > 2
  3. Drawopen circle at 2, arrow to the right
  4. Check: x = 3 gives 2 < 3 ✓x > 2.

An included end point

Solve 3x − 4 ≥ 8 and show it on a number line.

  1. Add 43x ≥ 12
  2. Divide by 3x ≥ 4
  3. Drawclosed circle at 4, arrow to the right
  4. Check: x = 4 gives 8 ≥ 8 ✓x ≥ 4.

A range Higher

Describe −1 < x ≤ 4 on a number line.

  1. At −1open circle
  2. At 4closed circle
  3. Betweena line joining them
  4. Check: 4 is included, −1 is not ✓Open at −1, closed at 4.

A double inequality Higher

Solve 1 < 2x + 1 ≤ 9.

  1. Subtract 10 < 2x ≤ 8
  2. Divide by 20 < x ≤ 4
  3. 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

  1. Solve first.
  2. Open for < and >.
  3. Closed for ≤ and ≥.
  4. Arrow shows direction.
  5. 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.

Solve: …

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.

More in Algebra and the formula sheets.