Convert any mathematical inequality into its corresponding interval notation form.
Enter a valid mathematical inequality involving a variable (like x) to see its interval notation. This tool helps visualize solution sets on the number line.
Use a variable (like x, y, z), numbers, and comparison operators (>, >=, <, <=).
Click on an example to load it into the calculator.
A basic inequality showing all numbers greater than a value.
Inequality: x > 3
An inequality representing a range between two values.
Inequality: -2 <= y < 5
Two separate intervals combined with a logical 'or'.
Inequality: a <= 0 or a >= 10
An inequality representing all numbers up to and including a value.
Inequality: b <= -1.5
-1 < x <= 5
). For unions, use the word 'or' between the two parts (e.g., x < 0 or x > 2
).5 < x < 2
. Correction: The numbers in a compound interval must be in ascending order from left to right. The correct way to write this would depend on the intended logic, but as written, it represents an empty set because no number is both greater than 5 and less than 2. The proper form is always smaller_number < x < larger_number
.-2 ≤ x < 5
is a shorthand for x ≥ -2 AND x < 5
. In set theory, the 'AND' corresponds to an intersection. We are looking for the numbers that are in both the set [-2, ∞)
and the set (-∞, 5)
. The intersection of these two sets is the interval [-2, 5)
.x ≤ 0 or x > 8
involves a logical 'OR', which corresponds to a union in set theory. We are looking for numbers that are in either the set (-∞, 0]
or the set (8, ∞)
. Since these two sets do not overlap, we connect them with the union symbol 'U': (-∞, 0] U (8, ∞)
.