How to Solve Inequalities
Written by Awn · Published · 9 min read
Quick Answer
Here is how to solve inequalities. Treat the sign like an equals sign and get the variable alone, doing the same thing to both sides. If you multiply or divide by a negative number, flip the sign. Then graph the answer on a number line and test one value to check it.
What Is an Inequality?
An inequality compares two sides that may not be equal. Instead of one number, the answer is usually a whole range.
| Sign | Read as | Circle on the graph |
|---|---|---|
| is less than | Open | |
| is greater than | Open | |
| is less than or equal to | Closed | |
| is greater than or equal to | Closed |
Inequality Rules
| What you do to both sides | What happens to the sign |
|---|---|
| Add or subtract any number | Stays |
| Multiply or divide by a positive number | Stays |
| Multiply or divide by a negative number | Flips |
| Swap the two sides | Flips |
Here is why a negative flips it: is true, but multiplying by gives and , and .
How to Solve Inequalities Step by Step
- Simplify each side.
- Gather the variable on one side.
- Undo adding and subtracting.
- Undo multiplying and dividing. Flip the sign if that number is negative.
- Graph the answer.
- Test a value from your range in the original inequality.
You can check each line in the inequality calculator.
Which Method Should You Use?
| Type | Example | Method |
|---|---|---|
| Linear | Undo step by step | |
| Compound | Do each step to all three parts | |
| Absolute value | Split into two | |
| Quadratic | Factor, then test parts | |
| Rational | Zeros of top and bottom, then test |
Solving Inequalities of Each Type
Linear
Solve . Add 7: . Divide by 4: . The 4 is positive, so the sign stays.
Compound
Solve . Subtract 6 from all three parts: . Divide by 3: .
Absolute Value
Solve . The distance from zero is at least 5, so or . That gives or .
A handy rule: "less than" gives one piece in the middle, and "greater than" gives two pieces on the outside.
Quadratic
Solve .
- Factor: . The boundary points are 3 and .
- Test 0, which is between them: is true.
- Test 4 and , which are outside: both give 6, so they fail.
The answer is .
Graphing Inequalities on a Number Line
- Mark the boundary number.
- Draw an open circle for or , and a closed one for or .
- Shade to the left for "less than" and to the right for "greater than."
In interval notation, is and is .
Why Does the Sign Flip?
Start with something you know is true: . Multiply both sides by and you get and . On the number line, is to the right of , so . Multiplying by a negative number reflects the line around zero and reverses the order.
Adding or subtracting only slides both numbers the same distance, so their order stays the same. Multiplying by a positive number stretches the line but does not turn it around.
If you want to avoid flipping, move the term to the side where it is positive. For , add to both sides: . Subtract 11: . Divide by 2: . That is the same as , with no flip.
One-Step and Two-Step Inequalities
Start with the simplest kind. They use the same moves as equations.
| Problem | Move | Answer |
|---|---|---|
| Subtract 9 | ||
| Add 2 | ||
| Divide by 5 | ||
| Divide by and flip | ||
| Multiply by and flip |
For two steps, undo the adding or subtracting first. In , add 7 to get , then divide by 4 to get .
A negative answer does not mean you flip. In , you divide by positive 5, so the sign stays: . Only the number you multiply or divide by matters.
Inequalities With Two Letters
An inequality such as has a whole region of answers instead of a piece of a number line.
- Draw the line . Use a dashed line for or , because points on it don't count. Use a solid line for or .
- Pick a test point that is not on the line. The origin is easiest.
- Put it in: is true, so the origin is on the correct side.
- Shade that side.
If the test fails, shade the other side. With two inequalities together, the answer is where the two shaded parts overlap.
It also helps to say the answer out loud. "All numbers less than 5" is easier to check than a symbol, because you can name one and try it. Pick a number that should work and one that should not.
Writing the Answer in Interval Notation
| Inequality | Interval |
|---|---|
| or |
Use a square bracket when the end number is included and a parenthesis when it is not. Infinity always gets a parenthesis, because it is not a number you can reach. The sign means "or" and joins two separate parts.
Worked Examples
Example 1: The Sign Flips
Solve .
- Subtract 5: .
- Divide by and flip: .
- Test : , and .
Example 2: A Fraction
Solve .
- The top is zero at . The bottom is zero at 1.
- Test 0: , which is negative, so the middle works.
- Test and 2: both are positive, so they fail.
The answer is .
Example 3: Variables on Both Sides
Solve .
- Subtract : .
- Add 4: .
- Divide by 4: . There is no flip, because 4 is positive.
Example 4: An Absolute Value With Greater Than
Solve .
- Greater than means the inside is far from zero, on one side or the other. So or .
- First: , so .
- Second: , so .
The answer is or . Check 0: , which is not greater than 7, so the middle is not included.
Example 5: A Word Problem
A gym charges 20 dollars to join and 15 dollars a month. You can spend at most 110 dollars. How many months can you pay for?
- "At most" means less than or equal to: .
- Subtract 20: .
- Divide by 15: .
You can pay for up to 6 months.
| Words | Sign |
|---|---|
| At most, no more than | |
| At least, no less than | |
| More than | |
| Fewer than, less than |
Example 6: A Fraction That Is Not Compared With Zero
Solve .
- Don't multiply by , because you don't know its sign. Move the 1 over instead: .
- Combine: .
- The top is zero at . The bottom is zero at 3.
- Test : is positive, so it works. Test 0: , so it fails. Test 4: 7, so it works.
The answer is or . The 3 is left out, because it makes the bottom zero.
Example 7: No Solution, or Every Number
Solve . Distribute: . Subtract : . That is false, so there is no solution.
Solve . A square is never negative, so the left side is always at least 4. Every real number works.
Solve . A distance can't be less than a negative number, so there is no solution.
Common Mistakes
Flipping When You Subtract
Only multiplying or dividing by a negative flips the sign. Subtracting 5 does not.
Multiplying by an Unknown
Don't multiply both sides by , because you don't know if it is positive or negative. Test the parts instead.
Using the Wrong Circle
An open circle means the number is left out, as in . A filled circle means it is included, as in .
Splitting an Absolute Value the Wrong Way
"Less than" gives one connected part, such as . "Greater than" gives two separate parts joined by "or".
Writing Two Parts as One Chain
The answer or can't be written as . That chain would say 4 is less than . Keep the two parts separate.
Including a Number That Makes the Bottom Zero
Even with or , a number that makes the bottom of a fraction zero is never part of the answer.
Practice Problems
- Solve .
- Solve .
- Solve .
- Solve .
- Solve .
Show the answers
- or
Check Your Answer With the Inequality Solver
Test one number inside your answer and one outside. The inside one should work and the outside one should fail. The inequality solver also draws the number line. If the equation steps feel shaky, go back to how to solve equations. A textbook version is Linear and Absolute Value Inequalities in OpenStax.
FAQ
When Do You Flip the Inequality Sign?
When you multiply or divide both sides by a negative number, or when you swap the two sides.
How Do You Solve Inequalities With Variables on Both Sides?
Subtract one of the variable terms from both sides, just as in an equation. Then finish as usual.
What If x Is on the Right Side?
Read it from the other end. means the same as .
How Are Compound Inequalities Joined?
"And" means both parts must be true, which gives the overlap. "Or" means at least one is true, which gives everything in either part.
How Do You Check an Inequality Answer?
Pick a number from your range and put it into the original. Then try one from outside the range.
What Are the 5 Inequality Symbols?
They are (less than), (greater than), (less than or equal to), (greater than or equal to) and (not equal to).
Can an Inequality Have Just One Answer?
Yes, though it is rare. is true only when , because a square is never negative.
Next step: solve one inequality with a negative number in front of and test your answer. Once the flip is a habit, you know how to solve inequalities of every linear kind.
Try the Calculator
Related Pages
- How to Solve EquationsLearn how to solve equations of any common type: linear, fraction, absolute value, root and exponential. Solving equations with clear steps and practice.
- How to Solve Quadratic EquationsLearn how to solve quadratic equations by factoring, square roots, completing the square, the formula and graphing. See solving quadratics by example.