Calculator
Inequality Calculator with Steps
Solve linear, compound, absolute value, quadratic, and rational inequalities, with the sign-flip rule applied explicitly and the answer given in both inequality and interval notation.
Solve a inequality problem now
First solution freeHow to use it
Type the inequality with <= and >= for the inclusive versions, and use vertical bars for absolute value: |2x-5|<=7. Compound inequalities can be written as one chain. Ask for interval notation, a number line, or both. If the problem is an equation rather than an inequality, the equation solver is the right tool.
The method behind it
An inequality is solved with the same moves as an equation — add the same thing to both sides, multiply both sides by the same thing — with one exception that changes everything.
Multiplying or dividing by a negative number reverses the direction of the inequality. The reason is visible on a number line: multiplying by −1 reflects it, so anything that was to the left is now to the right. Note that becomes , which is still true only because the sign turned around.
A compound inequality is two statements at once. An and statement, usually written as a chain like , is satisfied only where both parts hold, so the solution is an intersection and normally a single interval. An or statement is a union, and its solution is usually two pieces.
Absolute value inequalities split into those two cases, and which one you get depends only on the direction of the sign. Read the absolute value as distance from zero and both rules become obvious rather than memorised.
Quadratic and rational inequalities need a different approach entirely, because you cannot multiply out a denominator whose sign you do not know. Collect everything onto one side against zero, factor, and mark the critical points: the zeros of the numerator and the zeros of the denominator. Those points are the only places the expression can change sign, so test one sample value in each interval between them and the whole sign pattern follows from a handful of arithmetic checks. Being able to factor the expression first is what makes the critical points visible.
Endpoints need care at the end. A zero of the numerator satisfies a inequality and is included; a zero of the denominator never is, because the expression is undefined there. Interval notation records that distinction with the bracket shape, which is why it is worth writing answers that way rather than in words.
Worked examples
Worked example
- 1
The sign is less than or equal to, so this is the single-interval case: the expression inside must lie within 7 of zero.
- 2
Add 5 to all three parts. Whatever you do to the middle you must do to both outer parts.
- 3
Divide all three parts by 2. The divisor is positive, so no sign reverses.
- 4
Write it as an interval. Both endpoints are included, so both brackets are square.
- 5
Test the endpoints in the original. Both give exactly 7, which satisfies the inclusive inequality.
Answer
Worked example
- 1
Do not multiply by x + 3. Its sign is unknown, so you would not know whether to reverse the inequality. The expression is already compared with zero, which is what a sign chart needs.
- 2
Find the critical points: the numerator is zero at 1 and the denominator is zero at −3. These split the line into three intervals.
- 3
Test one value in each interval. Only the sign of the result matters, not its size.
- 4
Keep the intervals where the expression is positive, then decide the endpoints separately.
- 5
At x = 1 the fraction equals zero, which satisfies the inclusive sign, so include it. At x = −3 the fraction is undefined, so it is excluded no matter what the sign says.
Answer
The sign flip, step by step
This compound inequality contains the move that costs more marks than any other in the topic: dividing by a negative number, twice over, in a chain. Work each step before revealing it.
Solve −4 ≤ 3 − 2x < 7
0 of 6 stepsCommon mistakes
Not reversing after dividing by a negative
From , dividing by −2 gives , not . Test it: gives , which is true, while gives , which is false. One substitution settles the direction every time.
Multiplying by an expression of unknown sign
Clearing the denominator in by multiplying by assumes that factor is positive. For it is negative and the inequality should have reversed, which is why that method loses an entire branch of the solution. Use a sign chart instead.
Splitting an absolute value the wrong way
means , a single interval. Writing or describes exactly the values that fail. Check the direction of the original sign before splitting, not after.
Practice
Answers are checked here — nothing is sent anywhere.
- 1
- 2
- 3