Inequalities: type it like in a textbook, get a step-by-step solution and a number line
Inequality
System of inequalities
One inequality per line. The solution of the system is the common part of the solutions; the number line shows the solution of each inequality
📚 Theory: how to solve inequalities
A linear inequality is solved like an equation: terms with x to the left, numbers to the right, then divide by the coefficient of x. The key rule: when you multiply or divide both sides by a negative number, the inequality sign is reversed: −2x > 6 → x < −3.
A quadratic inequality ax² + bx + c > 0 is solved with the roots and the parabola: if a > 0, the parabola opens upward, so the quadratic is positive to the left of the smaller root and to the right of the larger one, and negative between them. If there are no roots (D < 0), the sign is the same on the whole line: the sign of a.
The sign chart (interval method): move everything to one side, factor it and mark the zeros on the number line. They split the line into intervals, and on each one the expression keeps its sign. Find the sign by testing any number in the interval; the answer is the intervals with the right sign. A factor with an even power does not change sign at its zero.
A rational inequality must not be multiplied by the denominator, because its sign is unknown. Move everything to one side, write it over a common denominator and use a sign chart. Zeros of the denominator are always open circles: the fraction is undefined there.
Absolute value inequalities: |A| < c with c > 0 is the same as −c < A < c (an AND inequality), and |A| > c means A > c or A < −c (an OR inequality). With several absolute values, the zeros of the expressions inside split the line into intervals; on each one the bars are removed by sign, the inequality is solved and the answers are combined. In Germany and Slovakia every absolute value inequality is solved this way, case by case.
A system of inequalities is several inequalities that must hold at the same time. Solve each one and mark the solutions on one number line; the answer is the common part. For rays: x > 2 and x > 5 give x > 5, while x > 2 and x < 5 give 2 < x < 5. An OR combination is the opposite: the union of the solutions.
Exponential and logarithmic inequalities are solved by monotonicity: for a base a > 1 the functions aˣ and logₐx are increasing and the inequality sign stays the same; for 0 < a < 1 they are decreasing and the sign is reversed: (1/2)ˣ ≥ (1/2)⁻² → x ≤ −2. Write the number as a power or a logarithm of the same base: 8 = 2³, 2 = log₃9. For logarithmic inequalities, find the domain first (only positive numbers under a logarithm); the answer is the common part of the solution and the domain. Input: 2^(x+1)>8, log_3(x-1)<2.
Radical inequalities are solved with systems. A square root exists when the expression under it is non-negative, and it is never negative itself. So √f < g is the system f ≥ 0, g > 0, f < g², and √f > g splits into two cases: g < 0, f ≥ 0 or g ≥ 0, f > g². You may square both sides only when both are non-negative. Input: sqrt(x+2)>x or √(x+2)>x.
Writing the answer: a parenthesis means the end is not included (strict < or >, and infinity), a square bracket means it is included (≤ or ≥). In the US: (−∞, 2) ∪ [3, ∞); in the UK the answer is often written as x < 2 or x ≥ 3; in France and Germany ]−∞ ; 2[ ∪ [3 ; +∞[; in Poland a closed end is ⟨3. The solver uses the notation of the page language and gives both forms: inequalities and intervals.
Free input: x^2-5x+6>0, (x+3)/(x-2)<=0, -3<2x+1<=5. Non-strict signs: <= and >=, or ≤ and ≥ from the buttons above the field.
Frequently asked questions
Is it free to use?
Yes, this calculator is free and needs no sign-up. Everything is calculated right in your browser, not on a server.