How-to guides · 3 min read
How to Solve Inequalities Step by Step (With Examples)

What an inequality is
An equation says two things are equal. An inequality says one is larger or smaller. The four symbols are < (less than), > (greater than), ≤ (less than or equal to) and ≥ (greater than or equal to). Where an equation usually has one solution, an inequality usually has infinitely many: x > 5 is true for 5.1, 6, 100 and every other number above 5.
| Symbol | Meaning | Example | Interval notation |
|---|---|---|---|
| x > 5 | greater than | x = 6 works, x = 5 does not | (5, ∞) |
| x ≥ 5 | greater than or equal to | x = 5 works | [5, ∞) |
| x < 5 | less than | x = 4 works | (−∞, 5) |
| x ≤ 5 | less than or equal to | x = 5 works | (−∞, 5] |
Round brackets mean the endpoint is not included; square brackets mean it is.
The method is the same as for equations
You can add or subtract the same number on both sides, and multiply or divide both sides by the same positive number, without changing the direction. That is the same toolkit as solving linear equations. Solve 3x + 5 > 20.
- Subtract 5 from both sides: 3x > 15
- Divide both sides by 3 (positive, so the sign stays): x > 5
Check with a test value from the shaded part: x = 6 gives 3(6) + 5 = 23, which is greater than 20 ✓. A value outside it, x = 4, gives 17, which is not greater than 20, so it correctly fails.
The rule that is different: negatives flip the sign
Multiplying or dividing by a negative reverses the order of numbers. For example 2 < 5, but −2 > −5. So if you multiply or divide both sides of an inequality by a negative number, you must reverse the sign. Solve −2x + 7 ≤ 1.
- Subtract 7: −2x ≤ −6
- Divide by −2 and flip the sign: x ≥ 3
Check: x = 3 gives −2(3) + 7 = 1, which is ≤ 1 ✓ (equal, and equality is allowed). x = 5 gives -3, also ≤ 1 ✓. x = 0 gives 7, which is not ≤ 1, so it is correctly excluded. If you forget to flip, you would wrongly get x ≤ 3, the opposite set.
Variables on both sides
Collect the x terms on one side first. Solve 5x − 3 < 2x + 9.
| Step | Working |
|---|---|
| Subtract 2x from both sides | 3x − 3 < 9 |
| Add 3 to both sides | 3x < 12 |
| Divide by 3 (positive, no flip) | x < 4 |
| Check x = 3 | 5(3) − 3 = 12 and 2(3) + 9 = 15; 12 < 15 ✓ |
A tip to avoid flipping at all: move the x terms so the coefficient of x ends up positive. Here, subtracting 5x instead would give −3 < −3x + 9, which then needs a flip.
Compound inequalities
A compound inequality has two parts, such as −3 < 2x + 1 ≤ 9. Do the same operation to all three parts at once.
- Subtract 1 from all parts: −4 < 2x ≤ 8
- Divide all parts by 2: −2 < x ≤ 4
The solution is every x greater than −2 and at most 4, written (−2, 4] in interval notation. Test x = 0: 2(0) + 1 = 1, and −3 < 1 ≤ 9 ✓.
Absolute value inequalities
The expression |x − 3| < 5 means x is less than 5 units from 3, so −5 < x − 3 < 5 and then −2 < x < 8. For |x − 3| > 5, x is more than 5 units away, which gives two separate pieces: x < −2 or x > 8.
| Inequality | Rewrite as | Solution |
|---|---|---|
| |x − 3| < 5 | −5 < x − 3 < 5 | −2 < x < 8 |
| |x − 3| ≤ 5 | −5 ≤ x − 3 ≤ 5 | −2 ≤ x ≤ 8 |
| |x − 3| > 5 | x − 3 < −5 or x − 3 > 5 | x < −2 or x > 8 |
A word problem
A phone plan costs 25 a month plus 0.10 per text. How many texts keep the bill at or below 40? The inequality is 25 + 0.10x ≤ 40.
- Subtract 25: 0.10x ≤ 15
- Divide by 0.10: x ≤ 150
You can send at most 150 texts, and 40.00 is the bill at exactly 150. Because texts cannot be negative, the practical range is 0 ≤ x ≤ 150. The words "at most" and "no more than" mean ≤, "at least" means ≥, and "fewer than" means <.
Common mistakes
- Forgetting to flip when dividing or multiplying by a negative.
- Flipping when you should not, for example after dividing by a positive.
- Wrong circle on the number line. Open for < and >, closed for ≤ and ≥.
- Not checking. Substitute a value from your solution set and one from outside it.
For other typical errors, see common algebra mistakes. To check the boundary value, solve the matching equation with the linear equation solver.
Frequently asked questions
When do I flip the inequality sign?
Whenever you multiply or divide both sides by a negative number.
What is the difference between < and ≤ on a number line?
An open circle for < and > (the endpoint is excluded), a closed circle for ≤ and ≥ (the endpoint is included).
How do I check an inequality answer?
Pick a number inside your solution set and one outside, substitute both into the original inequality, and confirm the first works and the second does not.
Can an inequality have no solution?
Yes. For example x + 1 < x has no solution, and x + 1 > x is true for every real number.
Keep reading
How to Solve Linear Equations Step by Step (With Examples)
Learn to solve linear equations in x with a repeatable method: undo operations, balance both sides, handle brackets, fractions and special cases.
How-to guidesHow to Solve Systems of Equations Step by Step
Solve two equations in two unknowns by substitution, elimination and graphing, with worked examples, special cases and a word problem.
Study tips10 Common Algebra Mistakes (With Numbers That Prove They’re Wrong)
The ten algebra errors students make most often, each disproved with a quick numerical check — (a+b)² ≠ a²+b², √(a+b) ≠ √a+√b, and more.
How-to guidesHow to Find the Slope of a Line: Formula and Examples
Slope = rise ÷ run = (y₂ − y₁) ÷ (x₂ − x₁). Find slope from two points, an equation or a graph, and use it for parallel and perpendicular lines.