Inequality Calculator
This inequality calculator solves linear, compound, quadratic, rational and absolute value inequalities. You get the steps, a number line and the answer in interval notation. It is free, and it is one part of our math solver.
How to Use the Inequality Calculator
Enter Your Inequality
Use <, >, <= and >=. For example, type -3x+1>=10. A double inequality such as -1<2x+3<=7 works too.
Read the Steps
If a step reverses the sign, it says why. For quadratics, the steps show the critical points and the test points.
Read the Number Line
The shaded part is the answer. A filled circle means the end number is included. An empty one means it is not.
Inequality Symbols and Interval Notation
| Symbol | Meaning | Example | Interval | Circle |
|---|---|---|---|---|
| less than | Open | |||
| greater than | Open | |||
| less than or equal to | Closed | |||
| greater than or equal to | Closed |
A round bracket leaves the end out. A square bracket includes it. Infinity always gets a round bracket, because it is not a number you can reach. The symbol , called union, joins two separate pieces.
How to Solve Inequalities Step by Step
Linear Inequalities
Treat it like an equation: undo adding, then multiplying. The one extra rule is about negative numbers, and it has its own section below.
Compound Inequalities
In , do each step to all three parts. Subtract 3: . Divide by 2: . A compound "and" means both parts hold. A compound "or" means at least one does.
Quadratic Inequalities
Move everything to one side, factor, and find where it equals zero. These critical points cut the number line into parts. Test one number from each part, and keep the parts that work.
Absolute Value Inequalities
Absolute value is distance. means is less than 5 away from 2, so . With the distance is larger, so the answer splits into two outside pieces.
Rational Inequalities
Find where the top and the bottom are zero, then test each part. The bottom's zero is never included, because you can't divide by zero.
Which one should you choose? If the letter is only to the first power, use linear steps. If there is a square or a fraction, use critical points. If there are bars, rewrite as distance first.
Why Does the Inequality Sign Flip?
Multiplying or dividing by a negative number reverses the order of numbers. For example, 2 is less than 5, but negative 2 is greater than negative 5. To keep the statement true, you must reverse the sign. Adding and subtracting do not change the order, so the sign stays.
Worked Examples
Example 1: Dividing by a Negative
Solve .
- Subtract 1 from both sides: .
- Divide by and flip the sign: .
In interval notation: .
Example 2: A Quadratic Inequality
Solve .
- Factor: . The critical points are and 2.
- Test : , which is positive, so this part works.
- Test 0: , which is negative, so it fails.
- Test 3: , so this part works.
The answer is or , which is .
Example 3: An Absolute Value
Solve .
- Rewrite as distance: .
- Add 2 to all three parts: .
In interval notation: .
Common Mistakes to Check
Forgetting to Flip the Sign
Test a number. In Example 1, gives , which is false. So any answer that includes 0 must be wrong.
Confusing Open and Closed Circles
"Or equal to" means closed and a square bracket. Plain or means open and a round bracket.
Practice Problems
- Solve .
- Solve .
- Solve .
- Solve .
- Solve .
Show the answers
- or
- or
Related Calculators
- Equation SolverThis equation solver handles linear, radical, log and more equation types. Solve equations step by step and see each answer checked. Free, with no sign-up.
- Quadratic Formula CalculatorThis quadratic formula calculator shows every step, the discriminant and a graph. A free quadratic equation solver for real and complex roots. Try it now.
- Solve for x CalculatorUse this solve for x calculator to isolate any letter in an equation or formula. Solve for a variable and see each undo step. It is free, so try it now.
- Algebra SolverUse this algebra solver to solve equations, factor and simplify with every step shown. A free algebra calculator with no sign-up. Type a problem to start.
Learn More
FAQ
What Is Interval Notation?
A short way to write a range with brackets. becomes . The round side leaves out the end, and the square side includes it.
What Do Open and Closed Circles Mean?
An open circle means that number is not part of the answer. A closed, filled circle means it is.
Can an Inequality Have No Solution?
Yes. has none, since a square plus 1 is never negative. Others are true for all real numbers, such as .
Can It Solve Two Inequalities at Once?
This inequality solver takes a double inequality, such as -1<2x+3<=7. It does not draw shaded regions for inequalities with both and .
When Is the Answer a Single Number?
When only one point makes it true. For example, works only at .
How Is an Inequality Different From an Equation?
An equation usually has a few exact answers. An inequality usually has a whole range. To find the boundary points of a hard one, solve the matching equation with the equation solver or the quadratic formula calculator.
Next step: solve one by hand, test a number from your answer, then use the inequality calculator. Reading its number line is a good way to learn how an inequalities calculator thinks.