Chuyển đến nội dung

Bài 22 · Inequalities

Solving Two-Step Inequalities

Solve inequalities such as 3x + 5 < 20 and 7 - 2x ≥ 1 by undoing operations in order, flipping the symbol when needed, and checking with test values.

Most real inequalities need more than one step. "I have $50 and a ticket costs $8 plus $3 per ride" gives you something like 8 + 3r ≤ 50. To solve a two-step inequality you undo the operations in reverse order, exactly as with two-step equations, and you keep one eye on the flip rule from the last lesson.

The plan

For an inequality such as ax + b < c, follow this order:

  1. Undo the addition or subtraction (get the variable term alone).
  2. Undo the multiplication or division (get the variable alone). If you multiply or divide by a negative number here, flip the symbol.
  3. Check with a value inside and a value outside the solution set.

Why that order? Think about how the expression was built. Starting from x, you first multiplied by a, then added b. To undo, reverse it: first remove b, then divide by a.

flowchart LR
  A["x"] -->|"× 3"| B["3x"]
  B -->|"+ 5"| C["3x + 5"]
  C -->|"< 20"| D["compare"]
  D -.->|"undo: − 5"| E["3x < 15"]
  E -.->|"undo: ÷ 3"| F["x < 5"]

Build up from x, then undo the steps in reverse order.

Worked example 1: positive coefficient

Solve 3x + 5 < 20.

Text
3x + 5 < 20
3x < 15        (subtract 5 from both sides)
x < 5          (divide both sides by 3; positive, so no flip)

Check: x = 4 gives 3(4) + 5 = 17, and 17 < 20 is true. x = 5 gives 20 < 20, false, so 5 is correctly excluded. x = 6 gives 23, false.

Worked example 2: negative coefficient

Solve 7 - 2x ≥ 1.

Text
7 - 2x ≥ 1
-2x ≥ -6       (subtract 7 from both sides)
x ≤ 3          (divide by -2 and FLIP)

Check: x = 3 gives 7 - 6 = 1, and 1 ≥ 1 is true, so 3 is included. x = 0 gives 7, true. x = 4 gives 7 - 8 = -1, and -1 ≥ 1 is false.

When the variable term is subtracted, as in 7 - 2x, you do not have to wait until the end to meet a negative coefficient. Subtract 7 first, and you get -2x. The division by -2 then flips the symbol.

Worked example 3: division in the expression

Solve x/4 - 3 > 2.

Text
x/4 - 3 > 2
x/4 > 5        (add 3)
x > 20         (multiply both sides by 4; positive, no flip)

Worked example 4: a story

A cinema charges a $6 booking fee plus $9 per ticket. Your budget is at most $60. How many tickets can you buy?

Let t be the number of tickets. The cost is 6 + 9t, and "at most $60" means ≤ 60:

Text
6 + 9t ≤ 60
9t ≤ 54
t ≤ 6

Tickets must be whole numbers and cannot be negative, so t can be 0, 1, 2, 3, 4, 5 or 6. The maximum is 6 tickets, costing 6 + 54 = $60 exactly.

This is a key habit: the algebra gives you t ≤ 6, but the context adds extra conditions (whole numbers, not negative).

A solver you can read

The tool below solves any inequality of the form a·x + b (symbol) c using exactly the steps from this lesson. Read the code: each line matches one step.

Python Two-step inequality solver

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.

Each problem prints True for the inside test value and False for the outside test value.

Picturing the answer

A graph can show why 3x + 5 < 20 gives x < 5. Plot the line y = 3x + 5 and the horizontal line y = 20. The inequality is true wherever the first line is below the second, which happens to the left of where they cross.

Python Where is 3x + 5 below 20?

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.

More practice with answers

  1. 2x - 7 ≥ 9 gives 2x ≥ 16, so x ≥ 8.
  2. -x + 4 < 10 gives -x < 6, so x > -6 (flipped).
  3. 10 - 5x > -5 gives -5x > -15, so x < 3 (flipped).
  4. (x + 2)/3 ≤ 4 gives x + 2 ≤ 12, so x ≤ 10.

Common mistakes

  • Dividing by the coefficient first, and then forgetting to divide the constant too.
  • Flipping when subtracting a negative-looking term. Flip only on multiplying/dividing by a negative.
  • Giving t ≤ 6 as "6 tickets" and forgetting that any smaller whole number also works.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. Solve 4x - 3 > 13.

    Add 3: 4x > 16. Divide by 4: x > 4.
  2. 2. Solve 9 - 3x ≤ 0.

    Subtract 9: -3x ≤ -9. Divide by -3 and flip: x ≥ 3. Check x = 3: 9 - 9 = 0 ≤ 0.
  3. 3. A taxi costs $4 plus $2 per km. You have at most $30. Which inequality gives the possible distance d in km?

    The cost is 4 + 2d, and at most $30 means the cost is ≤ 30.
  4. 4. Solve x/2 + 1 < 6.

    Subtract 1: x/2 < 5. Multiply by 2: x < 10.

Summary

  • Undo addition/subtraction first, then multiplication/division.
  • Flip the symbol only when multiplying or dividing both sides by a negative number.
  • Always check one test value inside and one outside the solution set.
  • In word problems, the context may add limits such as "whole numbers only" or "not negative".

Next: Compound Inequalities

Theo dõi tiến độ của bạn

Tạo tài khoản miễn phí để đánh dấu bài đã học và tiếp tục từ chỗ bạn dừng lại trên mọi thiết bị.