Skip to content
Tutorials Center
My learning

Topics

Lesson 10 of 37 · Linear Equations

Linear Inequalities

Solve one- and two-step inequalities, learn why multiplying by a negative flips the sign, write solutions on a number line and in interval form.

An equation says two quantities are equal. An inequality says one is larger or smaller. You use them constantly: "you must be at least 12 years old", "the lift holds at most 600 kg", "spend less than 50 dollars". Solving an inequality gives a whole range of solutions rather than a single number.

The symbols

Symbol Meaning Example
< less than x < 5
> greater than x > 5
≤ less than or equal to x ≤ 5
≥ greater than or equal to x ≥ 5

Words: "at least" means ≥, "at most" means ≤, "more than" means >, "fewer than" means <.

Solving: nearly the same as equations

Use the same steps as for equations: add or subtract the same amount on both sides, multiply or divide both sides by the same positive amount. The inequality sign stays the same.

Example 1. Solve x + 4 > 9. Subtract 4: x > 5.

Example 2. Solve 3x - 2 ≤ 10. Add 2: 3x ≤ 12. Divide by 3: x ≤ 4.

The big rule: flipping the sign

When you multiply or divide both sides by a negative number, reverse the inequality sign.

Why? Start with a true statement: 2 < 5. Multiply both sides by -1: you get -2 and -5. On the number line, -2 is to the right of -5, so -2 > -5. The order reversed.

Example 3. Solve -3x > 12. Divide by -3 and flip: x < -4.

Example 4. Solve 5 - 2x ≥ 11.

  • Subtract 5: -2x ≥ 6
  • Divide by -2 and flip: x ≤ -3

Check with a number in the solution, say x = -4: 5 - 2(-4) = 13 ≥ 11. True. Check one outside, say x = 0: 5 ≥ 11 is false. Good.

Only multiplication or division by a negative flips the sign. Adding or subtracting a negative does not.

Showing the solution

On a number line: an open circle at the endpoint for < or > (not included), a closed circle for ≤ or ≥ (included), and an arrow toward the solutions.

In interval notation: x > 5 is (5, ∞). x ≤ -3 is (-∞, -3]. Round brackets exclude the endpoint, square brackets include it. Infinity always gets a round bracket.

flowchart LR
    A["x ≤ -3"] --> B["number line:<br/>closed circle at -3,<br/>arrow to the left"]
    A --> C["interval:<br/>(-∞, -3]"]

One solution set, three ways to write it: inequality, graph, interval.

Python Test numbers against an inequality

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.

The code tests whole numbers only. The real solution x ≤ -3 includes decimals as well. A test shows a pattern but does not replace the algebra.

Compound inequalities

An and inequality like -2 < x ≤ 5 means both x > -2 and x ≤ 5. You can solve all parts at once.

Example 5. Solve 1 < 2x + 3 ≤ 9. Subtract 3 from every part: -2 < 2x ≤ 6. Divide every part by 2: -1 < x ≤ 3.

An or inequality like x < 1 or x > 4 joins two separate pieces.

Python Compound inequality

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.

Word problem

A gym membership costs 25 dollars to join plus 12 dollars per month. You want to spend at most 100 dollars. How many months m can you pay for? 25 + 12m ≤ 100, so 12m ≤ 75 and m ≤ 6.25. You can pay for 6 full months.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. Solve x - 7 < 3.

    Add 7 to both sides; the sign stays: x < 10.
  2. 2. Solve -4x ≤ 20.

    Dividing by -4 flips the sign: x ≥ -5.
  3. 3. Which is the interval notation for x ≥ 2?

    x = 2 is included, so use a square bracket; infinity always uses a round bracket.
  4. 4. Solve 2x + 1 > 9.

    Subtract 1: 2x > 8. Divide by 2: x > 4.

Summary

  • Inequalities have a range of solutions, not just one.
  • Solve like equations, but flip the sign when multiplying or dividing by a negative.
  • Show answers as an inequality, on a number line, or in interval notation.
  • Compound inequalities are solved by working on all parts at once.

Next: The Coordinate Plane