Inequality Solver
Solves linear, quadratic, polynomial and rational inequalities step by step: critical points, sign chart, interval notation and a number line.
What does the inequality solver do?
It reads an inequality in one unknown the way you type it and finds the solution set. For linear inequalities it isolates the unknown and shows why dividing by a negative number reverses the sign. For quadratic, polynomial and rational inequalities it moves every term to the left, factors the expression, finds the critical points and builds a sign chart. The answer is given in interval notation, as an inequality and on a number line.
Method: the sign chart
- Move every term to the left to get the form f(x) < 0. Fractions are combined into a single fraction.
- Factor the numerator and the denominator.
- Find the values that make the numerator zero (the expression is zero) and the values that make the denominator zero (the expression is undefined). These are the critical points.
- The critical points split the number line into intervals. The sign cannot change inside an interval, so testing one value in each is enough.
- Keep the intervals with the wanted sign. With ≤ or ≥ the zeros are included. Points where the denominator is zero are never included.
Example
Type x^2 - 5x + 6 < 0. The left side is (x − 2)(x − 3), so the critical points are 2 and 3. At x = 0 the value is 6 (positive), at x = 2.5 it is −0.25 (negative) and at x = 4 it is 2 (positive). The negative interval is wanted, so the solution is 2 < x < 3, or (2, 3) in interval notation.
Chains and systems
A double inequality such as -3 < 2x + 1 <= 7 can be typed on one line: the tool solves both parts and takes the intersection. In the system tab two inequalities go on separate lines. With "and" you get the values that satisfy both (intersection), with "or" the values that satisfy at least one (union).
Notation
A round bracket means the end point is excluded and a square bracket means it is included: (2, 3] stands for 2 < x ≤ 3. ∪ is a union, ∅ is the empty set and {2} is the single number 2. On the number line a filled dot is an included end point and a hollow dot an excluded one. The drawing is schematic: points are evenly spaced, not to scale.
Limits
Only polynomial and rational inequalities are solved. Square roots, absolute values, trigonometric, exponential and logarithmic inequalities are not supported. Coefficients must be whole numbers, fractions or decimals. Rational roots are exact and roots of quadratic factors are given with radicals. Irrational roots of higher-degree factors are written as decimal approximations, and the tool then says that the interval end points are approximate.
Related calculators
-
Mathematics
Equation Solver
Type an equation and see the roots step by step: linear, quadratic and cubic, discriminant, complex roots, numeric roots and systems in 2, 3 or 4 unknowns. -
Mathematics
Factoring Calculator
Factors a polynomial step by step: common factor, difference of squares, perfect squares, cubes, grouping and the rational root theorem. Also finds prime factors. -
Mathematics
Function Graph Plotter
Type f(x) and see its graph: several functions at once, zoom and pan, roots and intersection points. Download the graph as SVG or PNG. -
Mathematics
Scientific Calculator
Type an expression and see the result at once: trigonometry, logarithms, powers, roots, factorials. Degree and radian modes, memory and history, all in your browser.
Found a mistake or something missing?
If a value looks wrong, a size is missing or you need a feature, write to us and we will fix it.