Algebra 1

How to solve and graph inequalities

Solve an inequality the same way you solve an equation, with one extra rule: when you multiply or divide both sides by a negative number, flip the inequality sign. The answer is a range of numbers, not one number. Graph it on a number line with an open circle for << or >> and a closed circle for ≤\le or ≥\ge, then shade the side that works.

Updated

The key idea

Adding, subtracting, and multiplying or dividing by a positive number all keep an inequality true. Multiplying or dividing by a negative number reverses the order of numbers on the number line. That is why the sign has to flip.

2<5but−2>−52 < 5 \quad\text{but}\quad -2 > -5

So the rule in action looks like this:

−2x>6  ⟹  x<−3-2x > 6 \;\Longrightarrow\; x < -3
Reading and graphing the four symbols
SymbolMeansCircle on the number lineInterval notation (for a = 2)
x<2x < 2less than 2open circle at 2, shade left(−∞,2)(-\infty, 2)
x>2x > 2greater than 2open circle at 2, shade right(2,∞)(2, \infty)
x≤2x \le 2less than or equal to 2closed circle at 2, shade left(−∞,2](-\infty, 2]
x≥2x \ge 2greater than or equal to 2closed circle at 2, shade right[2,∞)[2, \infty)

Worked examples

Example 1: a two-step inequality

Problem Solve 3x−5≤133x - 5 \le 13 and describe its graph.

  1. Add 5 to both sides.
    3x≤183x \le 18
  2. Divide both sides by 3. It is positive, so the sign stays the same.
    x≤6x \le 6
  3. Graph: a closed circle at 6, because 6 itself works, and shade everything to the left.

Answer x≤6x \le 6

Example 2: dividing by a negative

Problem Solve 7−4x>197 - 4x > 19.

  1. Subtract 7 from both sides. Subtracting never flips the sign.
    −4x>12-4x > 12
  2. Divide both sides by −4-4. This is a negative number, so flip >> to <<.
    x<−3x < -3
  3. Test a point to be sure. x=−4x = -4 is in the answer, and 7−4(−4)=237 - 4(-4) = 23, which is greater than 19. It works.

Answer x<−3x < -3

Example 3: a compound "and" inequality

Problem Solve −3<2x+5≤11-3 < 2x + 5 \le 11.

  1. This means 2x+52x + 5 is between −3-3 and 11. Do every step to all three parts. Subtract 5 everywhere.
    −8<2x≤6-8 < 2x \le 6
  2. Divide all three parts by 2.
    −4<x≤3-4 < x \le 3
  3. Graph: open circle at −4-4, closed circle at 3, and shade the segment between them.

Answer −4<x≤3-4 < x \le 3

Example 4 (test-hard): a word problem with variables on both sides

Problem Gym A charges a $40 joining fee plus $25 a month. Gym B has no fee and charges $35 a month. After how many whole months is Gym A cheaper?

  1. Let mm be the number of months. Gym A is cheaper when its total is less than Gym B's.
    40+25m<35m40 + 25m < 35m
  2. Subtract 25m25m from both sides. Keeping the variable on the right avoids a negative coefficient.
    40<10m40 < 10m
  3. Divide by 10 (positive, so no flip).
    4<m4 < m
  4. Read it as m>4m > 4. At exactly 4 months both gyms cost $140, so Gym A is not cheaper yet. At 5 months Gym A costs $165 and Gym B costs $175.

Answer m>4m > 4: Gym A is cheaper from month 5 on.

Common mistakes

  • Forgetting to flip when dividing by a negative. −4x>12-4x > 12 becomes x<−3x < -3, not x>−3x > -3. Fix: every time you divide, look at the sign of the number first.
  • Flipping when you should not. Subtracting a negative, or having a negative answer, does not flip anything. Only multiplying or dividing by a negative does.
  • Mixing up open and closed circles. The line under ≤\le and ≥\ge means "or equal," so that endpoint is included and gets a filled circle.
  • Doing a step to only one part of a compound inequality. In −3<2x+5≤11-3 < 2x + 5 \le 11, subtract 5 from all three parts, not just the middle.
  • Reading 40 < 10m backwards. 4<m4 < m and m>4m > 4 say the same thing. Rewriting it with the variable first makes the graph easier to draw.

Quick methods

Practice

5 practice questions

  1. Solve −5x+2≥17-5x + 2 \ge 17.

    1. x≥−3x \ge -3
    2. x≤−3x \le -3
    3. x≥3x \ge 3
    4. x≤3x \le 3
    Show answer

    Answer: x≤−3x \le -3

    Subtract 2: −5x≥15-5x \ge 15. Divide by −5-5 and flip: x≤−3x \le -3. The choice x≥−3x \ge -3 forgets the flip.

  2. Which value of x is a solution of 4(x−2)<2x+64(x - 2) < 2x + 6?

    1. 6
    2. 7
    3. 8
    4. 9
    Show answer

    Answer: 6

    Distribute and solve: 4x−8<2x+64x - 8 < 2x + 6, so 2x<142x < 14 and x<7x < 7. Only 6 is less than 7. The value 7 makes both sides equal (20 and 20), and that fails a strict <<.

  3. Solve −1≤x+32<4-1 \le \frac{x + 3}{2} < 4.

    1. −1≤x<4-1 \le x < 4
    2. −5≤x<5-5 \le x < 5
    3. −2≤x<8-2 \le x < 8
    4. −4≤x<1-4 \le x < 1
    Show answer

    Answer: −5≤x<5-5 \le x < 5

    Multiply all three parts by 2: −2≤x+3<8-2 \le x + 3 < 8. Subtract 3 from all three parts: −5≤x<5-5 \le x < 5. The choice −2≤x<8-2 \le x < 8 stops one step early.

  4. Which graph shows the solution of x−3<−7x - 3 < -7 or 2x≥102x \ge 10?

    1. Open circle at −4-4 shading left, and closed circle at 5 shading right
    2. Closed circle at −4-4 shading left, and open circle at 5 shading right
    3. Open circle at −4-4 and closed circle at 5, shading between them
    4. Open circle at −10-10 shading left, and closed circle at 5 shading right
    Show answer

    Answer: Open circle at −4-4 shading left, and closed circle at 5 shading right

    The first part gives x<−4x < -4 (open circle, strict), and the second gives x≥5x \ge 5 (closed circle). "Or" means either piece works, so there are two separate rays. Shading between them would be an "and" answer, and no number is both less than −4-4 and at least 5.

  5. Sam has $50 and saves $15 each week. Which inequality gives the number of weeks ww until he has at least $200?

    1. w≥10w \ge 10
    2. w>10w > 10
    3. w≤10w \le 10
    4. w≥503w \ge \frac{50}{3}
    Show answer

    Answer: w≥10w \ge 10

    "At least" means ≥\ge: 50+15w≥20050 + 15w \ge 200, so 15w≥15015w \ge 150 and w≥10w \ge 10. The choice 503\frac{50}{3} comes from adding the 50 instead of subtracting it. w>10w > 10 leaves out week 10, when he has exactly $200.

Frequently asked questions

Why do you flip the inequality sign when dividing by a negative?

Multiplying or dividing by a negative mirrors every number across zero. Bigger numbers become smaller ones: 2 is less than 5, but −2-2 is greater than −5-5. Flipping the sign keeps the statement true after that mirror.

What is the difference between "and" and "or" inequalities?

An "and" inequality needs both parts true at once, so the answer is the overlap, usually one segment like −4<x≤3-4 < x \le 3. An "or" inequality needs at least one part true, so the answer is everything from both parts, often two rays pointing away from each other.

When do I use an open circle and when a closed circle?

Use a closed (filled) circle when the endpoint is part of the answer, which happens with ≤\le and ≥\ge. Use an open circle with << and >>, because the endpoint itself does not work.

Do I ever flip the sign when I move a term to the other side?

No. Moving a term is really adding or subtracting it on both sides, and that never flips the sign. Only multiplying or dividing both sides by a negative number does. Swapping the two sides, like rewriting 4<m4 < m as m>4m > 4, also turns the symbol around, because you are reading it from the other end.

Try asking Ducky

  • “I got x > -3 but the answer is x < -3. Why do I have to flip it?”
  • “How do I graph x < -4 or x >= 5 on a number line?”
  • “Turn this phone plan word problem into an inequality with me.”

Free to start. The web app works in any browser, Chromebooks included; the Mac app can also draw on your real screen.