Graphing Inequalities on a Number Line Calculator

Solve one or more linear inequalities and graph the solution on a number line. See exact bounds and open or closed endpoints.

Result
—

How to calculate

Simplify each comparison to isolate x. Reverse the inequality when dividing by a negative coefficient. Intersect conditions joined by and, and take the union of alternatives joined by or.

Worked example

Use Linear inequalities in x x >= -1 / x < 2. The result is [-1, 2).

Input and result notes

Put each condition on its own line to require all of them. On one line you can use and, or, or a chain such as −1 ≤ x < 2. Use rational coefficients and linear expressions in x.

OpenStax linear inequalities and number lines

Related calculators