Skip to content
Tutorials Center
My learning

Topics

Lesson 20 of 38 · Inequalities

Inequality Symbols and the Number Line

Learn what <, >, ≤ and ≥ mean, how to read inequalities in words, and how to show solutions with open and closed circles on a number line.

So far, most of the equations you have met say that two things are exactly equal. Real life is often looser. A lift can carry at most 800 kg. You must be at least 12 years old to ride a roller coaster. A phone plan costs less than $30. Statements like these are called inequalities, and in this chapter you will learn to read them, solve them and draw them.

An inequality compares two quantities that may not be equal. Instead of the equals sign =, it uses one of four symbols. Once you can read these symbols fluently, the rest of the chapter is mostly familiar equation-solving with one extra rule.

The four inequality symbols

Symbol Read as Example Meaning
< is less than 3 < 7 3 is smaller than 7
> is greater than 9 > 2 9 is larger than 2
≤ is less than or equal to 5 ≤ 5 5 is smaller than or the same as 5
≥ is greater than or equal to 8 ≥ 6 8 is larger than or the same as 6

A handy memory trick: the symbol is like a hungry mouth that always opens toward the bigger number. In 3 < 7 the wide side faces 7. The small end points at the small number.

The symbols ≤ and ≥ have a line underneath, like half of an equals sign. That line means "or equal to" is allowed. So x ≤ 4 is true when x is 4 and also when x is 3, 0, -10 or 3.9.

An inequality is either true or false for a given number, just like a sentence. 6 > 2 is true. 6 < 2 is false. When there is a variable, such as x > 2, the statement is true for some values of x and false for others.

Solutions of an inequality

A solution of an inequality is any number that makes it true. For x > 2, the number 5 is a solution, because 5 > 2. The number 2 is not a solution, because 2 is not greater than 2. The number -1 is not a solution either.

Here is the big difference from equations. The equation x + 1 = 4 has exactly one solution, 3. The inequality x + 1 > 4 has infinitely many solutions: 3.1, 4, 10, 1000, and every number larger than 3. We describe the whole set of solutions at once.

Try the checker below. It tests a list of numbers against an inequality and prints which ones are solutions.

Python Which numbers are solutions?

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Notice that 2 fails x > 2 but 4 passes x <= 4. The "or equal to" part makes the boundary count.

Reading inequalities in words

You will often translate between everyday words and symbols. Here are common phrases:

Words Symbol
more than, greater than, exceeds, above >
less than, fewer than, below <
at least, no less than, minimum ≥
at most, no more than, maximum, up to ≤

"At least" and "at most" are the tricky ones. If a ride requires you to be at least 120 cm tall, then 120 cm is allowed, so the rule is h ≥ 120. If a bag can hold at most 5 kg, then 5 kg is allowed, so w ≤ 5.

You can also read an inequality in either direction. 3 < 7 and 7 > 3 say the same thing. Likewise x > 2 means the same as 2 < x. Flipping the sides means flipping the symbol so that it still opens toward the larger number.

Showing inequalities on a number line

A number line is a picture of the solution set. You draw a circle at the boundary number and shade the side that contains the solutions.

  • Open circle (○) for < and >: the boundary number is not included.
  • Closed circle (●) for ≤ and ≥: the boundary number is included.
  • Shade to the right for "greater than" and to the left for "less than". An arrow at the end shows the shading continues forever.

Here is x > 2 and x ≤ 4 drawn as text:

Text
x > 2:   ----+---+---o=========>
             0   1   2   3   4

x ≤ 4:   <=========●---+---+---
             2   3   4   5   6
flowchart LR
  A["x > 2"] --> B["Open circle at 2"]
  B --> C["Shade to the right"]
  D["x ≤ 4"] --> E["Closed circle at 4"]
  E --> F["Shade to the left"]

How the symbol decides the circle and the direction of shading.

The next TryIt draws a small text number line for you. Change the boundary or the symbol and run it again.

Python Draw an inequality on a number line

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

In the output, o is an open circle, # is a closed circle and = marks the shaded solutions.

Worked examples

Example 1. Is 7 a solution of x ≥ 7? Yes. The symbol ≥ allows equality, and 7 ≥ 7 is true.

Example 2. Is -3 a solution of x > -5? Compare on the number line: -3 is to the right of -5, so -3 > -5. Yes.

Example 3. Write "a number is at most 12" as an inequality. "At most" means 12 is the largest allowed value: n ≤ 12.

Example 4. Which circle does x < 0 use? Open, because 0 is not included. Shade left.

Common mistakes

  • Mixing up "at least" and "at most". At least means the smallest allowed value, so it is ≥.
  • Using a closed circle for < or >.
  • Comparing negative numbers wrongly. Remember that -8 < -2, because -8 is further left.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. Which inequality says 'x is at least 6'?

    At least 6 means 6 or more, so 6 is allowed. That is x ≥ 6.
  2. 2. Is 4 a solution of x < 4?

    The symbol < does not allow equality, so the boundary value 4 is not a solution.
  3. 3. On a number line, what do you draw at the boundary for x ≥ -1?

    ≥ includes -1 (closed circle) and means greater values, which are to the right.
  4. 4. Which statement is true?

    -7 is further left than -2 on the number line, so -7 < -2.

Summary

  • An inequality compares quantities with <, >, ≤ or ≥.
  • A solution is any number that makes the inequality true; there are usually infinitely many.
  • "At least" means ≥ and "at most" means ≤.
  • On a number line, open circles exclude the boundary and closed circles include it.
  • Shade right for greater values and left for smaller values.

Next: Solving One-Step Inequalities