All tools › Math Calculators › Algebra
Solve a linear, compound or quadratic inequality and see the steps, interval notation and boundary points.
Solve a linear or quadratic inequality with the steps shown
An inequality says that one side is greater than or less than the other, so its answer is usually a whole range of numbers instead of a single value. This inequality solver finds that range for a linear inequality you type as text, for a compound inequality with two signs, or for a quadratic compared with zero.
The answer is given in inequality form, in interval notation and as a number-line description, with a steps table.
How to use the inequality solver
- Choose Type of inequality: linear typed as text, or quadratic.
- For the linear mode, type the inequality in Linear inequality, for example 3x – 5 > 2x + 4. Use >, >=, < or <=. The symbols ≥ and ≤ and phrases such as “at least” and “less than” are also read.
- For a compound inequality, type three parts with two signs that point the same way, such as -3 < 2x + 1 <= 7. Keep the variable in the middle part only.
- For the quadratic mode, enter a, b and c and pick the Sign. The inequality solved is ax^2 + bx + c compared with 0.
Typed inequalities can use any single letter, decimals and a division by a number, such as x/2.
The method in plain words
ax + b > cx + d gives (a – c)x > d – b so x > (d – b) / (a – c) if a – c is positive
A linear inequality is solved like an equation: collect the variable terms on one side and the numbers on the other, then divide. There is one extra rule. Dividing or multiplying both sides by a negative number reverses the sign. The steps table states whether that happened.
If the variable terms cancel, only a statement about numbers is left. When it is true, such as 0 < 2, every real number is a solution. When it is false, there is no solution.
For a quadratic, the calculator finds the discriminant D = b^2 – 4ac and the roots, the points where the expression equals zero. A parabola that opens upward (a positive) is below zero between its roots and above zero outside them. One that opens downward is the reverse.
Worked example: 5 – 2x >= 12
Type 5 – 2x >= 12 in the linear mode. The calculator returns x ≤ -3.5 with these rows:
| Row | What the page shows |
|---|---|
| Step 2: simplify both sides | -2x ≥ 7 |
| Step 3: divide by -2 and flip the sign | x ≤ -3.5 |
| Interval notation | (-∞, -3.5] |
| Solution with fractions | x ≤ -7/2 |
| Check with x = -4.5 | Left side 14, right side 12: 14 ≥ 12 is true |
Two more examples: the compound inequality -3 < 2x + 1 <= 7 gives -2 < x ≤ 3, or (-2, 3]. In the quadratic mode, a = 1, b = -5, c = 6 with the sign > 0 gives x < 2 or x > 3, written (-∞, 2) ∪ (3, ∞).
How to read the answer
| Notation | Meaning |
|---|---|
| Round bracket ( or ) | The end point is not part of the solution (strict sign, open circle) |
| Square bracket [ or ] | The end point is part of the solution (“or equal to” sign, closed circle) |
| ∪ | Union: the solution is two separate pieces |
| Empty set | No number makes the inequality true |
The check row puts one number from inside the solution back into the original inequality so you can see that it holds.
Limits of this solver
- The text box reads linear inequalities only: no brackets, powers, roots or a variable in a denominator.
- Quadratics are entered by coefficients and are always compared with zero. Move every term to one side first.
- Absolute value, rational and higher-degree inequalities are not covered.
- Decimal answers are rounded to 6 significant digits. A fraction form is added when the coefficients are whole numbers or short decimals.
Frequently asked questions
Why does the sign flip when I divide by a negative number?
Multiplying by a negative number reverses the order of numbers on the number line. For example 2 is less than 5, but -2 is greater than -5, so the sign has to turn around to stay true.
What is the difference between an open and a closed circle?
An open circle marks a boundary that is not included, which goes with a strict sign. A closed circle marks a boundary that is included, which goes with an “or equal to” sign.
Can an inequality have no solution?
Yes. If the variable cancels and a false statement is left, such as 5 less than 3, no number works.
How do I enter an inequality with brackets, such as 2(x + 3) > 10?
Expand the brackets by hand first. That example becomes 2x + 6 > 10, which the text box can read.
Related calculators
- Equation Solver (Linear) – the same steps when the sign is an equals sign.
- Quadratic Formula Calculator – the roots of a quadratic, including complex ones.
- System of Equations Solver – two or three equations with several unknowns.
- Slope Calculator – the line behind a linear expression.

