Inequalities on the number line · Mathematics Class 9–10 | StemPy Lab
Course 18.1·Lesson 2 of 3
Inequalities on the number line
An inequality says that one quantity is larger or smaller than another. We write it with the symbols less than, greater than, at most and at least, and we draw it on a number line with open and closed circles. You interpret inequalities, list the whole numbers that fit, and, in the Extended content, solve linear inequalities and build them from words.
about 25 min1 simulation1 practice question
Lesson 2 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
When an equals sign is too strong
A lift says "no more than 8 people". A road sign says "50km/h is the highest speed". Neither tells one exact number. Each tells us how far a number may go. We write this with an inequality.
x<5 means x is less than5.
x>5 means x is greater than5.
x≤5 means x is less than or equal to5.
x≥5 means x is greater than or equal to5.
Words and symbols match like this: "at least 3" is x≥3, "at most 3" or "no more than 3" is x≤3, "more than 3" is x>3, "fewer than 3" is x<3.
Two conditions can sit together. "A number between 2 and 7" is 2<x<7. "From 2 to 7, both included" is 2≤x≤7.
Drawing on a number line
Two number lines. The first shows minus 3 less than or equal to x less than 1: a filled circle at minus 3, an open circle at 1 and a thick bar between them. The second shows x greater than 2: an open circle at 2 and a thick arrow running to the right.
On a number line we draw a circle at each end.
Open circle ∘: the end is not included. We use it for < and >.
Closed circle ∙: the end is included. We use it for ≤ and ≥.
The line between the circles, or the arrow that runs on, shows all the numbers that fit. The picture shows −3≤x<1: closed at −3, open at 1.
Interpreting an inequality
List the whole numbers with −3≤x<1. The number −3 is included, and 1 is not. So they are −3,−2,−1,0: four numbers, not five. The most common slip is to count the open end.
Now words into symbols. A water tank is safe when its temperature t is at least 4∘C and below 30∘C. That is 4≤t<30.
Extended: solving a linear inequality
Solve it as you solve an equation: do the same to both sides, as in the chapter on Linear Equations. There is one new rule.
When you multiply or divide both sides by a negative number, reverse the inequality sign.
Why? We know 2<5. Multiply both sides by −1: the numbers become −2 and −5, and now −2>−5. The order turned round.
Example 1. Solve −2x>6. Divide by −2 and reverse the sign: x<−3. Check with x=−4: −2×(−4)=8, and 8>6. It works.
Example 2. Solve 3x<2x+4. Subtract 2x from both sides: x<4. No negative number was used, so the sign stays.
Example 3. Solve −3≤3x−2<7. Do the same to all three parts.
Add 2 to every part.−1≤3x<9.
Divide every part by 3.−31≤x<3.
Whole numbers that fit.0,1,2.
Extended: building an inequality from words
Maya has 50 dollars. A tutor charges 5 dollars to book and 12 dollars for each hour. How many whole hours can Maya pay for?
Let h be the number of hours. The cost is 12h+5.
The cost must be at most 50.12h+5≤50.
Solve.12h≤45, so h≤3.75.
Read the answer. Hours are whole numbers here, so the most is 3 hours.
Check: 3 hours cost 41 dollars, and 4 hours cost 53 dollars, which is too much.
Practise with new numbers
Try it in Python
The program tests every whole number from −10 to 10 against an inequality and prints those that fit. Then it shows the sign turning round for −2x>6.
Common mistakes
Counting an open end. For −3≤x<1, the number 1 is not in the list.
Forgetting to reverse the sign. From −2x>6 the answer is x<−3, not x>−3.
Mixing "at most" and "at least". At most 50 means ≤50.
Reading the answer too soon. In the tutor problem, h≤3.75 means 3 whole hours, not 4.
Remember these
Strict symbols < and > use an open circle. The symbols ≤ and ≥ use a closed circle.
Treat an inequality like an equation, but reverse the sign when you multiply or divide by a negative number.
Do the same to every part of a double inequality.
Read the answer in the words of the problem, such as "whole number" or "at most".
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
Write "x is at least 5 and less than 9" as one inequality.
List the whole numbers that satisfy −2<x≤3.
Solve 7−3x>1.
Extended. List the whole numbers that satisfy −5<2x+1≤7.
Extended. A hall costs 60 dollars to hire, plus 8 dollars for each guest. The budget is 200 dollars. What is the greatest number of guests?
References
Cambridge International, IGCSE Mathematics 0580 syllabus (2025, 2026 and 2027), section 2.6 Inequalities (Core and Extended).
Enroll free in Formulas, Inequalities and Regions
Every lesson is open to read. Enrolling also lets you:
Mark lessons done and carry on where you stopped.
Take the tests of this lesson and its course.
Count the course towards the certificate for its chapter.