Inequality Solver (Linear and Quadratic)
Solve linear and quadratic inequalities such as 2x + 3 > 7 or x² − 5x + 6 ≤ 0, with the solution in interval notation.
How to use this calculator
Rearrange your inequality so that everything is on one side and 0 on the other, then enter the coefficients. For a linear inequality such as 2x + 3 > 7, write it as 2x − 4 > 0 and enter a = 0, b = 2, c = −4. The calculator finds the critical points and gives the solution set in interval and inequality notation.
Formula
Linear (a = 0): bx + c compared with 0 gives x compared with −c ÷ b, reversing the sign when dividing by a negative b. Quadratic: find the roots with the discriminant D = b² − 4ac; the parabola is below zero between the roots when a > 0 and outside them when a < 0. If D < 0 the expression has the sign of a everywhere.
Calculator credits
Calculator developmentJulia Edwards
Editorial supervisionSamad Aslam Khan
Expert reviewIfrahMSc Mathematics
Published byThe Calculatorz
Last updated
Read how we research, test, review and correct our calculators in our editorial policy.
Frequently asked questions
Why does the inequality sign flip?
Multiplying or dividing both sides by a negative number reverses the order, so < becomes >.
How do I solve a quadratic inequality?
Find where the expression equals zero, then test the intervals between those points, or use the parabola's shape.
What does interval notation mean?
Square brackets include an endpoint and round brackets exclude it: [2, 3) means 2 ≤ x < 3. ∞ always uses a round bracket.
What if there is no solution?
For example x² + 1 < 0 is never true, so the solution set is empty (∅).
What does ∪ mean?
Union: the solution is in either interval, such as x < 2 or x > 3.
Can it solve absolute value inequalities?
Rewrite |x − a| < b as −b < x − a < b, which gives two linear inequalities.
References & methodology sources
These sources support the calculator’s formula, definitions, thresholds, units or result interpretation.
- Abramson, J. (2021). Linear inequalities and absolute value inequalities. In College algebra 2e (Section 2.7). OpenStax. View source
- Abramson, J. (2021). College algebra 2e. OpenStax. View source
- Abramson, J. (2021). Precalculus 2e. OpenStax. View source
- Marecek, L., Anthony-Smith, M., & Honeycutt Mathis, A. (2020). Intermediate algebra 2e. OpenStax. View source