How it’s calculated
Solve a linear inequality the same way as a linear equation: collect the x terms on one side and the numbers on the other, then divide by the coefficient of x. The one extra rule: multiplying or dividing both sides by a negative number reverses the inequality sign (< becomes >, ≤ becomes ≥).
Interval notation. A round bracket ( ) leaves the endpoint out (for < and >); a square bracket [ ] includes it (for ≤ and ≥). Infinity always gets a round bracket.
| Inequality | Interval |
|---|---|
| x < 2 | (−∞, 2) |
| x ≤ 2 | (−∞, 2] |
| x > 2 | (2, ∞) |
| x ≥ 2 | [2, ∞) |
Example: 13 − 7x ≥ 10x − 4. Subtract 10x from both sides: −17x + 13 ≥ −4. Subtract 13: −17x ≥ −17. Divide by −17 and reverse the sign: x ≤ 1, or (−∞, 1] in interval notation. Check x = 1: 13 − 7 = 6 and 10 − 4 = 6, and 6 ≥ 6 is true.
If the x terms cancel (a = c), the inequality is either always true (every real number is a solution) or never true (no solution). Fractions are kept exact, so the boundary is shown as a fraction such as 15/34 when it does not terminate as a decimal.
Frequently asked questions
Why does the inequality sign flip when I divide by a negative number?
Multiplying or dividing by a negative number reverses the order of numbers on the number line: 2 < 3, but −2 > −3. To keep the statement true, the sign has to turn around.
Does the sign flip when I subtract a negative number?
No. Adding or subtracting any number, positive or negative, never changes the direction of the sign. Only multiplying or dividing by a negative number does.
How do I write x ≤ 1 in interval notation?
(−∞, 1]. The square bracket shows that 1 is included; infinity always takes a round bracket.
What if the x terms cancel out?
You are left with a statement about numbers only, such as 0 < 5 (always true, so every x is a solution) or 0 > 5 (never true, so there is no solution).
Embed this calculator
Add this free calculator to your own website. Copy the code below into your page’s HTML:
Need this calculator branded, changed or built around your own prices?See custom business solutions →
Sources
- College Algebra 2e, §2.7 Linear Inequalities and Absolute Value Inequalities — OpenStax
- Intermediate Algebra 2e, §2.5 Solve Linear Inequalities — OpenStax
Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.
Added · Last updated · How we check our calculators
Spotted a mistake or missing option? Report a problem· Suggest a calculator