Algebra 1Solving Inequalities1 of 3
Solving Inequalities · 1

Solving Linear Inequalities

Equations like x+2=6x + 2 = 6 have a single number as their solution, but we also need to solve inequalities like x+2>6x + 2 > 6, where an entire range of numbers makes the statement true.

1

Inequalities on a Number Line

We want to find all the numbers xx that satisfy

x+2>6\displaystyle x + 2 > 6

and show all of those solutions on a number line.

Inequalities on a Number Line
x+2>6\displaystyle x + 2 > 6
Which values of x work?\displaystyle \text{Which values of }x\text{ work?}

For x+2>6x + 2 > 6, every number to the right of 44, even decimals right next to the boundary like 4.00001\solset{4.00001}, makes x+2x + 2 bigger than 66. At 44 itself, we draw an open circle because 6>66 > 6 is false.

Every number to the right of 4 works, no matter how close, while 4 itself gets an open circle.
x>4\htmlClass{lc-green}{x} > 4
11
22
33
44
55
66
77
x≥4\htmlClass{lc-green}{x} \ge 4
11
22
33
44
55
66
77
Text solution
Find the boundary pointAsk where the two sides would be equal. Since 4+2=64 + 2 = 6, the cutoff is at 44, and every number larger than 44 makes x+2x + 2 bigger than 66.
x>4\displaystyle \solset{x} > 4
Mark the boundary and shadeFor x+2>6x + 2 > 6, draw an open circle at 44 and shade the line to the right for larger numbers. If the original inequality were x+2≥6x + 2 \ge 6, 44 would be included, so we would use a filled circle instead.
x\displaystyle \solset{x} ≥4\displaystyle \ge 4
2

Writing an Inequality from a Number Line

Now we want to go the other way: given a shaded number line, write the inequality it shows.

x<−2\htmlClass{lc-green}{x} < -2
−3-3
−2-2
−1-1
00
11
22
33
x≥1\htmlClass{lc-green}{x} \ge 1
−3-3
−2-2
−1-1
00
11
22
33
Writing an Inequality from a Number Line
x?−2x\quad ?\quad -2
−5-5
−4-4
−3-3
−2-2
00
11
Text solution
Read the boundary and circle typeOn the first line, the open circle is at −2-2, so −2-2 is the boundary without being included; on the second line, the filled circle at 11 includes 11.
x and −2x and 1\displaystyle x \text{ and } -2 \qquad \qquad x \text{ and } 1
Match the shading direction to the signShading to the left means numbers smaller than −2-2, while shading to the right means numbers greater than or equal to 11.
x<−2x\displaystyle \solset{x} < -2 \qquad \qquad \solset{x} ≥1\displaystyle \ge 1
3

Solving Inequalities by Adding, Subtracting, and Dividing

When we can't spot the boundary in our heads, we can isolate xx step by step in an inequality like

3x−4\displaystyle \bothsides{3}x - 4 ≤11\displaystyle \le 11
Solving Inequalities by Adding, Subtracting, and Dividing
3x−4\displaystyle \bothsides{3}x - 4 ≤11\displaystyle \le 11
Which values of x work?\displaystyle \text{Which values of }x\text{ work?}
Text solution
Add 4 to both sidesShifting both sides to the right by 4\bothsides{4} on the number line keeps them in the same order and gets 3x\bothsides{3}x by itself.
3x−4≤113x≤15\displaystyle \begin{aligned} \bothsides{3}x - 4 &\le 11 \\ \bothsides{3}x &\le 15 \end{aligned}
Divide both sides by 3Dividing by a positive number shrinks both sides toward zero without changing which side is larger.
x\displaystyle \solset{x} ≤5\displaystyle \le 5

So the boundary is 55, and every number 55 or smaller makes 3x−4≤11\bothsides{3}x - 4 \le 11 true.

4

Multiplying or Dividing by a Negative Number

Adding, subtracting, and dividing by a positive number leave the inequality sign alone. Multiplying or dividing both sides by a negative number reverses the sign. For example, consider

−2x<6\displaystyle \bothsides{-2}x < 6
Multiplying or Dividing by a Negative Number
2<5\firstval{2} < \secondval{5}
2\firstval{2}
5\secondval{5}
00
×(−1)?\bothsides{\times(-1)}\quad ?

Multiplying 2\firstval{2} and 5\secondval{5} by a positive number keeps their products in the same left-to-right order. Multiplying by −1\bothsides{-1} reflects both points across 00, so −5\secondval{-5} is to the left of −2\firstval{-2}, reversing << to >>.

Multiplying by a negative number flips both numbers across zero, swapping which one is further to the left and flipping the inequality sign.
Text solution
Divide both sides by −2 and flip the signBecause dividing by a negative number flips both sides across zero, reverse << to >>.
−2x<6x>−3\displaystyle \begin{aligned} \bothsides{-2}x &< 6 \\ \solset{x} &> -3 \end{aligned}
Or add 2x to keep the x term positiveMoving the xx term to the other side by adding 2x\bothsides{2x} and subtracting 6\bothsides{6} uses only addition, subtraction, and division by positive 2\bothsides{2}, reaching the same answer from the other side.
0<6+2x−6<2x−3<x\displaystyle \begin{aligned} 0 &< 6 + \bothsides{2}x \\ -6 &< \bothsides{2}x \\ -3 &< \solset{x} \end{aligned}

So every number greater than −3-3 satisfies the inequality, whether we write it as x>−3\solset{x} > -3 or −3<x-3 < \solset{x}.

5

Multi-Step Inequalities with Variables on Both Sides

With that rule in place, we can solve a multi-step inequality that has parentheses and xx on both sides:

4−2(x−3)\displaystyle 4 - 2(x - 3) ≥3x−5\displaystyle \ge 3x - 5
Multi-Step Inequalities with Variables on Both Sides
4−2(x−3)\displaystyle 4 - 2(x - 3) ≥3x−5\displaystyle \ge 3x - 5
Which values of x work?\displaystyle \text{Which values of }x\text{ work?}
Text solution
Distribute −2 and combine the plain numbersMultiply −2-2 across (x−3)(x - 3) before combining with 44.
4−2(x−3)≥3x−54−2x+6≥3x−510−2x≥3x−5\displaystyle \begin{aligned} 4 - 2(x - 3) &\ge 3x - 5 \\ 4 - 2x + 6 &\ge 3x - 5 \\ 10 - 2x &\ge 3x - 5 \end{aligned}
Subtract 3x and subtract 10 from both sidesCollect the xx terms on the left and the plain numbers on the right.
10−5x≥−5−5x≥−15\displaystyle \begin{aligned} 10 \bothsides{- 5}x &\ge -5 \\ \bothsides{-5}x &\ge -15 \end{aligned}
Divide both sides by −5 and flip the signDividing by negative 5\bothsides{5} reverses ≥\ge to ≤\le.
x\displaystyle \solset{x} ≤3\displaystyle \le 3

Be careful not to flip the sign just because a negative number appears in the problem: in 5x≥−15\bothsides{5}x \ge -15, you divide by positive 5\bothsides{5}, so the sign stays x≥−3\solset{x} \ge -3. And if you collect xx on the right instead to get 3≥x3 \ge \solset{x}, read it starting from xx: since the sign opens toward 33, it means the exact same thing as x≤3\solset{x} \le 3.

6

Special Cases: All Real Numbers and No Solution

Sometimes when we collect the xx terms from both sides, they cancel out completely, as in these two inequalities:

2x+5>2x+1and2x+1>2x+5\displaystyle \firstval{2x + 5} > \secondval{2x + 1} \qquad \text{and} \qquad \secondval{2x + 1} > \firstval{2x + 5}
Special Cases: All Real Numbers and No Solution
2x+5>2x+12x+1>2x+5\displaystyle \begin{aligned}\firstval{2x + 5} &> \secondval{2x + 1}\\\secondval{2x + 1} &> \firstval{2x + 5}\end{aligned}
Which values of x work?\displaystyle \text{Which values of }x\text{ work?}

For every value of xx, the points 2x+1\secondval{2x + 1} and 2x+5\firstval{2x + 5} move along the number line at a fixed distance of 4\leftover{4} units apart, so 2x+5\firstval{2x + 5} is always to the right of 2x+1\secondval{2x + 1}.

When two expressions stay a fixed distance apart for every xx, one is always greater and the other never is.
Text solution
Subtract 2x from both sides in the first inequalityThe 2x2x terms cancel out and leave a statement that is always true, so all real numbers are solutions and the entire number line is shaded.
2x+5>2x+15>1\displaystyle \begin{aligned} \firstval{2x + 5} &> \secondval{2x + 1} \\ \firstval{5} &> \secondval{1} \end{aligned}
Subtract 2x from both sides in the second inequalityHere the statement left behind is never true, so there is no solution and the number line stays completely blank.
2x+1>2x+51>5\displaystyle \begin{aligned} \secondval{2x + 1} &> \firstval{2x + 5} \\ \secondval{1} &> \firstval{5} \end{aligned}
7

Inequality Word Problems

Suppose we want to find how many people pp we can invite on a $200\secondval{\$200} budget when room rental costs a flat $50\firstval{\$50} and food costs $12\firstval{\$12} per person. We need to choose the right inequality sign and then see what the boundary means in real life.

Inequality Word Problems
Budget$200\text{Budget}\quad \secondval{\$200}
Room rental$50\text{Room rental}\quad \firstval{\$50}
Food$12 per person\text{Food}\quad \firstval{\$12}\text{ per person}
How many people?\text{How many people?}
Text solution
Set up the cost against the budgetTotal cost is 50+12p\firstval{50 + 12p}, and since we must stay under $200\secondval{\$200} while spending exactly $200\secondval{\$200} is allowed, we use ≤\le.
50+12p\displaystyle \firstval{50 + 12p} ≤200\displaystyle \le \secondval{200}
Subtract 50 from both sidesTaking away the flat room fee leaves $150\leftover{\$150} for food.
12p\displaystyle \firstval{12p} ≤150\displaystyle \le \leftover{150}
Divide both sides by 12This gives the cutoff for pp.
p\displaystyle \solset{p} ≤12.5\displaystyle \le 12.5

Because we cannot invite half a person and rounding up to 1313 people would go over the $200\secondval{\$200} budget, at most 12\solset{12} people can attend (and since the number of guests must also satisfy p≥0\solset{p} \ge 0, real-world problems often trap a variable between two boundaries in a compound inequality).

Key concepts

A linear inequality can have solutions on one side of a boundary, all real numbers as solutions, or no solution. Use an open circle when the boundary itself doesn't make the inequality true (x>4\solset{x} > 4 or x<−2\solset{x} < -2) and a filled circle when it does (x≥1\solset{x} \ge 1), shading right for greater and left for smaller. If your solution ends with xx on the right, like 3≥x3 \ge \solset{x}, read it starting from xx (x≤3\solset{x} \le 3) before graphing so you don't shade the wrong way.

To solve for xx, add, subtract, and multiply or divide by positive numbers just as you would in an equation (3x−4≤11→3x≤15→x≤5\bothsides{3}x - 4 \le 11 \to \bothsides{3}x \le 15 \to \solset{x} \le 5). Only flip the inequality sign when you multiply or divide both sides by a negative number (−2x<6→x>−3\bothsides{-2}x < 6 \to \solset{x} > -3), and don't be fooled when a negative number is just sitting on the other side: in 5x≥−15\bothsides{5}x \ge -15, you divide by positive 5\bothsides{5}, so the sign does not flip. If all the xx terms cancel out, simply read what remains: a true statement like 5>1\firstval{5} > \secondval{1} means all real numbers work, and a false statement like 1>5\secondval{1} > \firstval{5} means no solution. Finally, in word problems, choose the sign by asking whether you can go over or must stay under the cutoff and whether hitting it is allowed. When the answer must be a whole number and the boundary is a decimal like p≤12.5\solset{p} \le 12.5, round toward the shaded side (12\solset{12} people, not 1313) so you don't cross the boundary.

8

Practice

1

Write the inequality shown by a number line that has an open circle at −3-3 and is shaded to the left.

Which side of −3-3 holds smaller numbers, and does an open circle include −3-3?

The boundary is at −3-3, and shading to the left means numbers smaller than −3-3. Watch out for two common mistakes: don't write ≤\le when the circle is open, and don't let the negative sign on −3-3 trick you into pointing the inequality to the right (x>−3x > -3). Because −3-3 is not included and the shaded numbers are smaller, the inequality is
x<−3\displaystyle \solset{x} < -3
2

Solve 5x+8≥−125x + 8 \ge -12, and describe how to graph the solution on a number line.

After subtracting 8\bothsides{8} from both sides, check the sign of the number you divide by. Do you need to flip the inequality sign?

Subtracting 8\bothsides{8} from both sides gives 5x≥−20\bothsides{5}x \ge -20. A common mistake here is seeing the negative on −20-20 and flipping the sign to get x≤−4x \le -4; remember that we are dividing by positive 5\bothsides{5}, so the sign does not flip. Dividing by 5\bothsides{5} gives
x\displaystyle \solset{x} ≥−4\displaystyle \ge -4
(a filled circle at −4-4, shaded to the right)
3

Solve 9−4x<219 - 4x < 21.

Subtract 9\bothsides{9} from both sides first, paying attention to the sign that stays in front of 4x4x.

Subtracting 9\bothsides{9} from both sides leaves −4x<12\bothsides{-4}x < 12. Dropping the negative sign in front of 4x4x would give x<3x < 3, and forgetting to flip << to >> when dividing by −4\bothsides{-4} would give x<−3x < -3. Dividing both sides by −4\bothsides{-4} and flipping the sign gives
x>−3\displaystyle \solset{x} > -3
4

Solve 6−2(x−4)≤3x−16 - 2(x - 4) \le 3x - 1.

Distribute −2-2 across (x−4)(x - 4) first. What happens to the sign when you multiply −2-2 by −4-4?

Be careful not to subtract 6−26 - 2 first (which gives 4(x−4)≤3x−14(x - 4) \le 3x - 1 and x≤15x \le 15) or multiply −2-2 by −4-4 to get −8-8 instead of +8+8. Distributing −2-2 gives 6−2x+8≤3x−16 - 2x + 8 \le 3x - 1, or 14−2x≤3x−114 - 2x \le 3x - 1. Subtracting 3x\bothsides{3x} and 14\bothsides{14} from both sides gives −5x≤−15\bothsides{-5}x \le -15. Dividing by −5\bothsides{-5} flips ≤\le to ≥\ge (forgetting to flip gives x≤3x \le 3), so the solution is
x\displaystyle \solset{x} ≥3 (or 3≤x)\displaystyle \ge 3 \text{ (or } 3 \le \solset{x}\text{)}
5

Solve 3(2x−1)>6x+23(2x - 1) > 6x + 2.

Distribute the 33 on the left, then subtract 6x\bothsides{6x} from both sides and see whether the number statement left behind is true or false.

Distributing 33 gives 6x−3>6x+2\firstval{6x} \leftover{- 3} > \firstval{6x} \leftover{+ 2}. When you subtract 6x\bothsides{6x} from both sides, both 6x\firstval{6x} terms cancel out completely, leaving −3>2\leftover{-3} > \leftover{2}. Don't leave an xx on the left to write x>5x > 5, and don't assume that canceling xx means every number works: because −3>2\leftover{-3} > \leftover{2} is never true, there is
No solution\displaystyle \text{No solution}
6

You have a budget of $180\$180 for a party. Room rental costs a flat $45\$45, and food costs $10\$10 per person. Write and solve an inequality for the number of people pp you can invite, and state the maximum whole number of people who can attend.

Does the total cost 45+10p\firstval{45 + 10p} need to stay under or go over $180\secondval{\$180}, and what happens to the budget if you round a decimal answer up?

Total cost must be $180\secondval{\$180} or less, which gives 45+10p≤180\firstval{45 + 10p} \le \secondval{180}. Subtracting 45\bothsides{45} gives 10p≤135\firstval{10p} \le \leftover{135}, and dividing by 10\bothsides{10} gives p≤13.5\solset{p} \le 13.5. Watch out at the final step: normal rounding rules tempt people to round 13.513.5 up to 1414, but 1414 people would cost $185\$185 and go over the $180\secondval{\$180} budget. Staying inside the boundary gives
45+10p\displaystyle \firstval{45 + 10p} ≤180, which gives p\displaystyle \le \secondval{180}\text{, which gives } \solset{p} ≤13.5, so at most 13 people can attend.\displaystyle \le 13.5\text{, so at most } \solset{13} \text{ people can attend.}