Interval notation
Quick answer
Interval notation writes a set of numbers as its endpoints. A square bracket [ ] means the endpoint is included; a parenthesis ( ) means it is not. So 2 ≤ x < 5 is written [2, 5). Infinity always uses a parenthesis, and separate pieces are joined with the union symbol ∪.
y=1 {2<=x<5}(2,1)
Conversion table
| Inequality | Interval notation |
|---|---|
| 2 < x < 5 | (2, 5) |
| 2 ≤ x ≤ 5 | [2, 5] |
| 2 ≤ x < 5 | [2, 5) |
| x > 3 | (3, ∞) |
| x ≤ −1 | (−∞, −1] |
| x ≠ 0 | (−∞, 0) ∪ (0, ∞) |
| All real numbers | (−∞, ∞) |
Graphing an interval
On a number line, a filled dot marks an included endpoint and an open circle marks an excluded one. In the graphing calculator, a restriction like {2 <= x < 5} draws a function only on that interval.
Frequently asked questions
Why does infinity always get a parenthesis?
Infinity is not a number you can reach, so it can never be included as an endpoint.