Linear Inequality Solver
Solve one-variable linear inequalities with steps, sign-flip rule, interval notation, and a number line.
A linear inequality contains one variable only to the first power. It is solved like a linear equation, except that dividing by a negative number reverses the sign. Variable denominators require interval analysis.
How to solve linear inequalities
A linear inequality has one variable only to the first power. The solver expands parentheses, moves terms, divides by the coefficient of x, and shows whether the inequality sign must flip. The answer is shown as an inequality, interval notation, and a number line.
x is the unknown; the symbol can be <, <=, >, or >=.
A is the coefficient of x after moving all terms to one side.
The direction depends on the sign of A.
- Expand parentheses and combine like terms
- Move variable terms and constants
- Divide by the coefficient of x
- Flip the inequality sign when dividing by a negative number
- Write the answer in interval notation and on a number line
The sign-flip rule
| Operation | Inequality sign |
|---|---|
| Add or subtract a number | Does not change |
| Multiply or divide by a positive number | Does not change |
| Multiply or divide by a negative number | Flips |
| Multiply or divide by zero | Not allowed |
Interval notation and number line
The number line shows the boundary value, ray direction, and whether the boundary is included. Strict inequalities use an open point; non-strict inequalities use a closed point.
| Answer type | Interval | Point |
|---|---|---|
| Strict sign and ray left | Boundary excluded | Open circle |
| Non-strict sign and ray left | Boundary included | Closed circle |
| Strict sign and ray right | Boundary excluded | Open circle |
| Non-strict sign and ray right | Boundary included | Closed circle |
Special cases and limits
If the variable cancels out and the remaining numeric statement is true, every real number is a solution. If the remaining statement is false, there is no solution.
Frequently Asked Questions
Sources and References
Calculations are based on the listed reference sources. Links open in a new tab.
Related Tools
Solve one-variable linear equations with steps, fractions, parentheses, domain restrictions, and an answer check.
Solve quadratic equations from a full equation or standard coefficients. See the discriminant, real or complex roots, Vieta checks, excluded values, and a parabola graph.
Solve a 2x2 system of linear equations with Cramer's rule, determinants, solution classification, fractions, and substitution check.