Inequality Solver
Solve linear inequalities ax + b <, ≤, > or ≥ c and get the answer as an interval, with the sign-flip rule shown.
Rule: solve ax + b ? c like an equation to get the boundary x = (c − b) ÷ a. If a is negative, dividing by a flips the inequality sign.
How to use the inequality
- Enter a, b and c, and pick the inequality sign from the dropdown.
- Press “Solve inequality”.
- Read the solution as an inequality and in interval notation.
Inequality example
- 3x − 5 < 7 → 3x < 12 → x < 4.
- −2x > 6 → x < −3 (dividing by a negative number flips the sign).
- x² − 4 ≤ 0 → −2 ≤ x ≤ 2.
Tips for using the inequality
- Check your answer with a test value: x = 0 in 3x − 5 < 7 gives −5 < 7, true.
- In interval notation, x < 4 is (−∞, 4); x ≤ 4 is (−∞, 4].
Inequality: common questions
- Why does the sign flip sometimes?
- Multiplying or dividing both sides of an inequality by a negative number reverses the order — for example, −2x < 6 becomes x > −3. The tool flips the sign automatically when a is negative.
- What is interval notation?
- A compact way to write a range: (2, ∞) means all numbers greater than 2, and [2, ∞) means 2 and everything above it. A round bracket excludes the endpoint; a square bracket includes it.
- What if a is zero?
- With a = 0 there is no x in the inequality, so it is either always true (every x works) or always false (no solution), depending on b and c.
- Is my input stored?
- No. The calculation runs in your browser.
- Why does the sign flip when multiplying by a negative?
- Multiplying by −1 reverses order on the number line: 2 < 3 but −2 > −3.