Skip to content
Tutorials Center
My learning

Topics

Lesson 21 of 38 · Inequalities

Solving One-Step Inequalities

Solve inequalities with one operation, learn why multiplying or dividing by a negative number flips the symbol, and check answers with a test value.

Solving an inequality feels almost the same as solving an equation. You want the variable alone on one side, and you get there by doing the same thing to both sides. There is just one new rule, and it is easy to forget: when you multiply or divide both sides by a negative number, the inequality symbol flips. This lesson explains why, so you never have to memorize it blindly.

Adding and subtracting: nothing special

If a statement is true, adding the same number to both sides keeps it true. Start from 3 < 7. Add 10 to both sides: 13 < 17. Still true. Subtract 5: -2 < 2. Still true.

So to solve x + 6 > 10, subtract 6 from both sides:

Text
x + 6 > 10
x + 6 - 6 > 10 - 6
x > 4

The symbol stays the same. The solution set is every number greater than 4.

Another one: x - 3 ≤ 8. Add 3 to both sides: x ≤ 11.

Multiplying and dividing by a positive number

Again nothing changes. Start with 2 < 6 and multiply by 3: 6 < 18. True. Divide by 2: 1 < 3. True.

Solve 4x < 20. Divide both sides by 4 (positive):

Text
4x < 20
x < 5

Solve x / 3 ≥ 2. Multiply both sides by 3: x ≥ 6.

The flip rule: multiplying or dividing by a negative

Start with the true statement 2 < 5. Multiply both sides by -1:

Text
2 × (-1) = -2
5 × (-1) = -5

Is -2 < -5 true? No! On the number line, -5 is further left than -2, so -2 > -5. The order reversed. Multiplying by a negative number reflects the number line through zero, so the larger number lands on the left and the smaller on the right. To keep the statement true, you must flip the symbol.

flowchart LR
  A["2 < 5"] -->|"multiply both sides by -1"| B["-2 ? -5"]
  B -->|"flip the symbol"| C["-2 > -5 (true)"]

Multiplying by a negative reverses the order, so the symbol must flip.

Now solve -3x < 12. Divide both sides by -3 and flip:

Text
-3x < 12
x > -4

Check with a test value. Pick x = 0, which is greater than -4: -3(0) = 0, and 0 < 12 is true. Pick x = -10, which is not in our answer: -3(-10) = 30, and 30 < 12 is false. The answer is right.

Only flip the symbol when you multiply or divide by a negative number. Adding or subtracting a negative number never flips anything. And a negative number in the inequality, such as x > -4, does not flip anything either.

Let the computer test your answer

A solution set cannot be verified by trying every number, but testing a range of values is a very good sanity check. The tool below solves a·x < b by the rules and then compares the rule's answer with brute-force testing.

Python Solve a·x < b and verify by testing

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.

An empty list means the rule and the brute-force test agree on every value tried.

More worked examples

Example 1. Solve x + 9 ≤ 4. Subtract 9: x ≤ -5.

Example 2. Solve -x > 7. -x means -1 · x. Divide both sides by -1 and flip: x < -7. Check: x = -8 gives -(-8) = 8, and 8 > 7 is true.

Example 3. Solve 5x ≥ -15. Divide by 5 (positive, no flip): x ≥ -3.

Example 4. Solve x / (-2) ≤ 3. Multiply both sides by -2 and flip: x ≥ -6. Check x = 0: 0 / (-2) = 0, and 0 ≤ 3 is true. Check x = -10: -10 / (-2) = 5, and 5 ≤ 3 is false. Good.

Graphing the answer

Once you have the answer, graph it. For x > 4: open circle at 4, shade right. For x ≥ -3: closed circle at -3, shade right. Drawing the line helps you see whether the answer makes sense.

The following TryIt turns the solution into a picture with matplotlib, shading the part of the number line that satisfies the inequality.

Python Plot the solution of -3x < 12

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.

Common mistakes

  • Forgetting to flip when dividing by a negative. Always test one value from your answer.
  • Flipping when you only subtract a negative number.
  • Using the wrong circle: > and < get open circles.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. Solve x + 7 > 12.

    Subtract 7 from both sides: x > 5. Subtracting a positive number does not flip the symbol.
  2. 2. Solve -4x ≤ 20.

    Divide both sides by -4 and flip the symbol: x ≥ -5. Check x = 0: -4(0) = 0 ≤ 20 is true.
  3. 3. Which operation forces you to flip the inequality symbol?

    Only multiplying or dividing both sides by a negative number reverses the order and flips the symbol.
  4. 4. Solve x / 5 < -2.

    Multiply both sides by 5 (positive), so no flip: x < -10.

Summary

  • Adding or subtracting the same number on both sides never changes the symbol.
  • Multiplying or dividing by a positive number keeps the symbol.
  • Multiplying or dividing by a negative number flips the symbol, because it reverses the order of numbers.
  • Check your answer by testing one value inside and one outside the solution set.
  • Graph with an open circle for </> and a closed circle for ≤/≥.

Next: Solving Two-Step Inequalities