Inequality Solver
An inequality compares two expressions using <, ≤, > or ≥, and its solution is usually a range of values. This inequality solver collects the x terms, divides by the coefficient, flips the sign when dividing by a negative number, and shows the answer in interval notation and on a number line.
How to use the inequality solver
- Write your inequality as ax + b ? cx + d.
- Enter a, b, c, d and choose the sign.
- Press Calculate to see the solution, the interval and the number line.
Formula
Worked example: 3x − 4 < x + 6
- a (x on the left): 3
- b (number on the left): -4
- Sign: <
- c (x on the right): 1
- d (number on the right): 6
✓ Answer checked
- Interval notation
Step-by-step working (3 steps)
Write the inequality
Collect everything in the form ax + b ? cx + d.
Collect x terms on the left and numbers on the right
Adding or subtracting the same amount on both sides keeps the sign.
Divide
Divide both sides by 2.
Formulas used
How this was checked
- ✓ x = 4 satisfies the original inequality, x = 6 does not, and the boundary 5 is excluded.
Frequently asked questions
When do I flip the inequality sign?
When you multiply or divide both sides by a negative number. For example, −2x ≥ 6 becomes x ≤ −3.
What does an open circle mean on a number line?
The boundary value is not included (< or >). A filled dot means it is included (≤ or ≥).
How do I write the answer in interval notation?
x < 5 is (−∞, 5); x ≥ 2 is [2, ∞). Square brackets include the end, round brackets exclude it.
Related calculators
Linear Equation Solver
Solve linear equations of the form ax + b = cx + d, including fractions, with every balancing step shown and the answer checked by substitution.
Graphing Calculator
Plot up to three functions with an animated graph.
Quadratic Equation Solver
Solve ax² + bx + c = 0 with the quadratic formula.
