MathemagiciansLibraryExplorationsDeep Dives
← Mathematics · Lower Secondary
MathematicsLower Secondary

Inequalities — solving and showing on a number line

L2.2 — Equations and InequalitiesLecture 3 of 4~2700 words

A question with many right answers

A lift can carry at most 1000 kg. You are about 55 kg, and you are carrying 20 kg of luggage. Your friends are about 80 kg each. How many friends can ride with you? (The people and their masses are invented.)

The last two lectures would turn this into an equation. You and your luggage make 75 kg. With friends, the load is . Set it equal to the limit:

Subtract 75: . Divide by 80: .

That answer is strange. Nobody brings 11.5625 friends. And the question never said the lift must be exactly full. It said "at most 1000 kg". Two friends is fine. Seven is fine. Eleven is fine. Twelve is not, because , which is over the limit.

So the question has twelve right answers: 0, 1, 2, and so on up to 11. An equation is a claim that two things are equal, and it usually picks out one value. This question needs a claim that one thing is smaller than another. That kind of claim is called an inequality. Solving one is almost exactly like solving an equation. There is one important exception, and this lecture shows you why it exists.

Four symbols and what a solution is

You met two of the symbols in the lecture on negative numbers. is read "3 is less than 7". is read "7 is greater than 3". The open side of the symbol always faces the greater number. Two more symbols add a line underneath, which comes from the equals sign:

SymbolRead asExample
is less than
is greater than
is less than or equal to
is greater than or equal to

and are called strict inequalities, because the two sides may not be equal. and allow the two sides to be equal. Words in questions point to the symbol. "At most 1000 kg" means the load is . "At least 18 years old" means the age is . "Under 2 kg" means the mass is .

The lift question becomes . Like an equation, an inequality with a letter is a claim. It is true for some values and false for others. To solve an inequality means to find every value that makes the claim true. That collection of values is called the solution.

Look at . It is true for 6, for 0, for −100, and for 6.9. It is true for 6.99 and 6.999 as well. It is false for 7 itself, and for everything above 7. There are far too many solutions to list. So we describe them in two other ways: with a short inequality such as , and with a picture on the number line.

Showing the solution on a number line

Draw the number line. Mark the boundary number, the place where the claim switches from true to false. Then draw a thick line over every number that works. An arrow at the end means the line carries on forever.

At the boundary, ask one question: is the boundary number itself a solution? If it is, draw a filled circle there. If it is not, draw an open circle.

x ≥ 3: closed circle, because 3 itself is included −6 −5 −4 −3 −2 −1 0 1 2 3 4 5 6 x < −4: open circle, because −4 itself is not included −6 −5 −4 −3 −2 −1 0 1 2 3 4 5 6 −1 < x ≤ 3: every number between, −1 left out, 3 included −6 −5 −4 −3 −2 −1 0 1 2 3 4 5 6
Top: . The 3 is included, so the circle is filled. Middle: . The −4 is not included, so the circle is open. Bottom: , the numbers between −1 and 3, with −1 left out and 3 included.

Why does the open circle matter? Think about . The numbers 3.1, 3.01 and 3.001 are all solutions. There is no smallest solution, because between 3 and any number above it there is always another number. So we cannot mark "the first number that works". Instead we mark 3 itself and leave the circle empty. The empty circle says "everything right up to here, but not this point".

The third number line shows a double inequality, . It says two things at once: is greater than −1, and is less than or equal to 3. So lies between them. Read it from the middle outwards.

Which moves keep an inequality true?

To solve an equation, you did the same thing to both sides. The reason was that the two sides are one number written in two ways. An inequality is different. Its two sides are two different numbers, one to the left of the other on the number line. So the question becomes: when you do the same thing to two different numbers, does the left one stay on the left?

Start with . Add 10 to both: . Both numbers moved 10 places to the right. They moved together, so the order did not change. Subtracting works in the same way, by moving both to the left.

Now multiply by 3: . Multiplying by a positive number stretches the number line away from zero. Every distance from zero is tripled, but nothing crosses over. The order stays the same.

Now try a negative number. Use the explorer below before you read on.

Explore — do the same thing to two different numbers

Choose a starting pair, an operation and a number. P starts on the left and Q on the right. Watch whether P is still on the left afterwards.

Start:

Operation:


The table starts from and does the same thing to both numbers.

Do this to bothNew numbersOrder
add 3kept
subtract 5kept
multiply by 2kept
multiply by −1reversed
multiply by −3reversed
divide by −2reversed

Only multiplying or dividing by a negative number reverses the order.

What should you have seen? Adding and subtracting never changed the order, whatever number you used, positive or negative. Multiplying or dividing by a positive number never changed it either. But every time you multiplied or divided by a negative number, the order reversed. For example, , but multiplied by −3 the numbers become 12 and 6, and .

Why a negative number turns the sign round

This is the hard part of the lecture. Spend time here.

The lecture on multiplying negative numbers gave a meaning to multiplying by −1: it gives the opposite of a number. On the number line, taking the opposite is a mirror at zero. The number 4 goes to −4, and −2 goes to 2.

A mirror swaps left and right. Take two numbers, P = −4 and Q = −2. P is on the left, so . Reflect both in zero. P lands on 4 and Q lands on 2. Now P is on the right.

−5 −4 −3 −2 −1 0 1 2 3 4 5 mirror at 0 P P′ Q Q′
Multiplying by −1 reflects every number in zero. P = −4 was to the left of Q = −2. After the reflection, P′ = 4 is to the right of Q′ = 2. The order has reversed: , but .

Multiplying by −3 is two moves: multiply by 3, then take the opposite. Multiplying by 3 keeps the order. Taking the opposite reverses it. So multiplying by −3 reverses the order. Dividing by −3 is the same as multiplying by , so it reverses the order too.

That is it. That is the whole idea. The sign is not reversed by a rule that someone made up. It is reversed because a negative multiplier contains a mirror.

What you may do to an inequality

1. Add or subtract the same number on both sides. The inequality sign stays the same.

2. Multiply or divide both sides by the same positive number. The sign stays the same.

3. Multiply or divide both sides by the same negative number. Reverse the direction of the sign: becomes , and becomes .

Some books say "flip the sign". It means the same thing. Multiplying by zero is never used, because it turns both sides into 0, and all the information is lost.

Stop and think

Ayo solves . He writes , because there is a negative number in the question. Is he right?

Show the answer

No. He divided both sides by 2, which is positive. A positive divisor keeps the order, so the answer is . The −6 is only a number on one side. It is not the number he divided by. Check with : , and is true. So 0 is a solution, and 0 is greater than −3. The sign reverses only when you multiply or divide by a negative number.

Solving: the method of equations, with one extra rule

Everything from the last lecture still works. Tidy the inequality until appears in one place. Then undo the steps in reverse order. The only new question at each step is: did I just multiply or divide by a negative number?

Checking is different too. An equation has one answer to check. An inequality has a boundary and two sides. So check three things: the boundary, one number on the side you chose, and one number on the other side.

Worked Example 1 — Two steps

Solve and show the solution on a number line.

Add 3 to both sides: . Divide both sides by 4. That is positive, so the sign stays: .

On the number line, draw a filled circle at 3, because 3 is included. Draw the line to the right, as in the top line of the figure above.

Check. The boundary: , and is true, so 3 belongs in the answer. Inside: gives 17, and . ✓ Outside: gives −3, and is false. ✓

Worked Example 2 — Dividing by a negative number

Solve .

Route A. Divide both sides by −3. It is negative, so reverse the sign: .

Route B. Avoid the negative divisor. Add to both sides: . Subtract 12: . Divide by 3, which is positive: . This says that −4 is greater than , which is the same claim as . Read the symbol from the side.

Check. Inside: gives , and . ✓ The boundary: gives 12, and is false, so the circle at −4 is open. Outside: gives 9, and is false. ✓

Both routes are correct. Route B is useful when you want to avoid the reversal altogether. It is the same habit as in the last lecture: collect the terms on the side where their number is positive.

Worked Example 3 — Brackets and x on both sides

Solve .

Expand: . Take off the smaller number of 's, : . Add 8: . Divide by 3: , which is .

No negative number was used to multiply or divide, so the sign never changed. Check: gives and , and . ✓ At , both sides are 22, and is false, so the circle at 6 is open. ✓

Worked Example 4 — The lift, with whole numbers

Solve , where is the number of friends.

Subtract 75: . Divide by 80: .

Now read the answer in context. counts people, so it must be a whole number from 0 upwards. The largest whole number that is at most 11.5625 is 11. Notice that 11.5625 would round to 12, but 12 friends break the limit. "At most" means you round down, whatever the digits say.

Allowed numbers of friends: the whole numbers 0 to 11 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 11.56
The allowed numbers of friends are the whole numbers 0 to 11, shown as dots. The boundary, 11.5625, is dashed.

The number line shows separate dots, not a thick line, because only whole numbers are allowed. Check: 11 friends give 955 kg, which is under 1000. 12 friends give 1035 kg, which is over. ✓

Worked Example 5 — A double inequality

Solve .

This is two inequalities joined together. Do the same thing to all three parts. Subtract 3: . Divide by 2: . This is the third number line in the first figure.

Check: gives 3, and . ✓ gives 9, which is allowed. gives 1, and is false, so −1 is left out. ✓

Now look at someone else's working. One line contains the most common mistake in this topic.

Spot the error — Lina's working

Lina solves 5 − 2x ≥ 11. Tap the line where her working first goes wrong.

Lina's working for , line by line.

1. (the question)

2. (subtract 5 from both sides): correct.

3. (divide both sides by −2): the error. Dividing by −2 reverses the sign, so it should be .

4. Filled circle at −3, line to the right: this follows from line 3, so it is wrong too.

5. Check with : , and is false. This check is correct. It shows that 0 is not a solution, but 0 is in her answer, so something earlier went wrong.

Trap 1 — Forgetting to reverse

From , writing is wrong. Test : , and is true, but 0 is not in . Dividing by −2 reverses the sign: .

Trap 2 — Reversing when nothing negative multiplied

A negative number inside the question does not reverse anything. gives , and gives . Only multiplying or dividing both sides by a negative number reverses the sign.

Trap 3 — Reading the answer backwards

does not mean " is greater than −4". It says −4 is the bigger number, so is less than −4. Before you draw, rewrite it with first: . The open side still faces the greater number.

Try it yourself

Work each one on paper first. Open a hint only when you are stuck.

  1. Solve each inequality and describe its number line. (a) . (b) .

    Hint 1

    Undo in reverse order, as for an equation. Ask at each step whether you multiplied or divided by a negative number.

    Hint 2

    (a) Subtract 7. (b) Add 2, then divide by 5. Then decide: open or filled circle?

    Full answer

    (a) Subtract 7: . Open circle at −4, line to the left. Check: gives 2, and . ✓ gives 3, and is false, so the circle is open.

    (b) Add 2: . Divide by 5: . Filled circle at 4, line to the right. Check: gives 18, and . ✓ gives −2, which is not . ✓

  2. Solve (a) , (b) .

    Hint 1

    In (a), you can divide by −4 and reverse, or add to both sides first. In (b), expand first.

    Hint 2

    (b) gives . Take off the smaller number of 's, .

    Full answer

    (a) Add : . Divide by 4: , which is . Or: subtract 12 to get , then divide by −4 and reverse: . Check: gives 4, and . ✓ gives 0, and is false. ✓

    (b) . Subtract : . Subtract 4: . Divide by 2: , which is . Check: gives −21 on both sides, so it is included. gives . ✓ gives , which is false. ✓

  3. Solve . Then find the largest whole number that satisfies it.

    Hint 1

    Clear the fraction first, as in the last lecture. Multiplying by 3 is multiplying by a positive number.

    Hint 2

    The fraction line groups the top: .

    Full answer

    Multiply both sides by 3: . Subtract : . Add 6: . Divide by 2: , so . The largest whole number below 5 (not equal to it) is 4.

    Check: gives on the left and 2 on the right, and . ✓ gives 3 on both sides, and is false, so 5 is not allowed. ✓

  4. A rectangle has sides cm and cm. Its perimeter must be more than 30 cm and at most 50 cm. Write a double inequality, solve it, and find how many rectangles are possible if is a whole number.

    Hint 1

    The perimeter is . Simplify it, then put it between 30 and 50 with the right symbols.

    Hint 2

    . Do the same thing to all three parts.

    Full answer

    The perimeter is . "More than 30" is strict and "at most 50" includes 50, so . Subtract 6: . Divide by 4: .

    The whole numbers are 7, 8, 9, 10 and 11, so five rectangles are possible. Check the ends: gives a perimeter of 30, which is not more than 30. gives 50, which is allowed. gives 54, which is too big. ✓

The bigger idea

Look at the plate inside a lift. In Europe, lifts are built to the standard EN 81-20, which assumes 75 kg for each passenger. A lift rated for 1000 kg divides 1000 by 75 and gets about 13.3. The plate says 13 persons. The standard rounds the number of passengers down, for exactly the reason in Worked Example 4: the limit is "at most".

Inequalities describe limits, and limits are everywhere: a budget, a speed limit, the hours a machine can run. In 1938, a plywood trust in Leningrad asked the mathematician Leonid Kantorovich to plan its machines for the most output. He saw it as a problem of making something as large as possible while obeying many inequalities at once. His 1939 book started the subject now called linear programming. In 1947, George Dantzig found the simplex method, a way to solve such problems quickly. Kantorovich later shared the 1975 Nobel Memorial Prize in Economic Sciences for this work.

Here is a small invented example. A workshop can run for at most 1200 hours a month. Each chair takes 3 hours and each table takes 2 hours. If it makes chairs and tables, then . Choosing the best and under limits like this is exactly what linear programming does.

The symbols themselves are younger than you might think. and first appeared in print in 1631, in a book of Thomas Harriot's algebra published after his death; historians think the book's editors may have shaped the signs. The lines underneath, and , came from Pierre Bouguer in 1734.

Key concepts in this lesson