Learning how to write in interval notation is one of the most useful skills in algebra, precalculus, and calculus. In practice, interval notation gives you a compact way to describe a set of real numbers, especially when you are working with inequalities, domains, ranges, and solution sets. Instead of writing long phrases like “all real numbers greater than or equal to 2 and less than 7,” you can simply write [2, 7). This makes your work cleaner, faster to read, and much easier to compare.
In this guide, you will learn the rules of interval notation, how to choose between parentheses and brackets, how to handle infinity, and how to combine intervals when a solution includes more than one separate piece. By the end, you will be able to write interval notation confidently and avoid the most common mistakes students make.
People argue about this. Here's where I land on it.
What Is Interval Notation?
Interval notation is a mathematical way to describe a continuous set of real numbers between two endpoints. It is commonly used to express the solution to an inequality or to identify the domain and range of a function.
An interval has two endpoints, written in order from least to greatest:
- The left endpoint is the smaller number.
- The right endpoint is the larger number.
As an example, the interval from 3 to 8 can be written in several ways depending on whether the endpoints are included:
- (3, 8) means all numbers greater than 3 and less than 8.
- [3, 8] means all numbers greater than or equal to 3 and less than or equal to 8.
- [3, 8) means all numbers greater than or equal to 3 and less than 8.
- (3, 8] means all numbers greater than 3 and less than or equal to 8.
The key idea is simple: interval notation shows exactly which numbers are included and which are excluded.
The Basic Rules of Interval Notation
To write interval notation correctly, you need to understand two main symbols: parentheses and brackets Took long enough..
Parentheses Mean “Not Included”
A parenthesis, ( ), means the endpoint is not included in the interval. In inequality language, this usually corresponds to “less than” or “greater than.”
For example:
- (2, 9) means all real numbers greater than 2 and less than 9.
- The number 2 is not included.
- The number 9 is not included.
Basically also called an open interval because both endpoints are open.
Brackets Mean “Included”
A bracket, [ ], means the endpoint is included in the interval. In inequality language, this usually corresponds to “less than or equal to” or “greater than or equal to.”
For example:
- [2, 9] means all real numbers greater than or equal to 2 and less than or equal to 9.
- The number 2 is included.
- The number 9 is included.
This is also called a closed interval because both endpoints are closed No workaround needed..
Mixed Intervals Use One Parenthesis and One Bracket
Sometimes only one endpoint is included. These are called half-open intervals or half-closed intervals That's the part that actually makes a difference. But it adds up..
Examples:
- [4, 10) means all numbers greater than or equal to 4 and less than 10.
- (4, 10] means all numbers greater than 4 and less than or equal to 10.
A helpful way to remember this is:
- Bracket = included
- Parenthesis = excluded
How to Convert Inequalities into Interval Notation
One of the most common reasons to learn how to write in interval notation is to translate inequalities into a shorter form. Here are several examples And it works..
Example 1: A Simple “Greater Than” Inequality
Suppose you have:
x > 5
This means x is any number greater than 5, but not including 5. In interval notation, this is:
(5, ∞)
The infinity symbol is used because there is no upper limit.
Example 2: A Simple “Less Than” Inequality
Suppose you have:
x < -3
This means x is any number less than -3, but not including -3. In interval notation, this is:
(-∞, -3)
Example 3: A “Greater Than or Equal To” Inequality
Suppose you have:
x ≥ 7
This means x is 7 or any number greater than 7. In interval notation, this is:
[7, ∞)
Notice that the bracket is used because 7 is included.
Example 4: A “Less Than or Equal To” Inequality
Suppose you have:
x ≤ 0
This means x is 0 or any number less than 0. In interval notation, this is:
(-∞, 0]
Example 5: A Compound Inequality
Suppose you have:
2 ≤ x < 8
This means x is greater than or equal to 2 and less than 8. In interval notation, this is:
[2, 8)
This example shows why interval notation is so useful. Instead of writing a full compound inequality, you can express the same idea with just a few symbols That's the whole idea..
How to Use Infinity in Interval Notation
Infinity is a special concept in interval notation. It represents something without end, so it is not a real number and cannot be included in an interval.
Because infinity is never included, you must always use a parenthesis with it.
Correct examples:
- (4, ∞)
- (-∞, 9)
- (-∞, ∞)
Incorrect examples:
- [4, ∞] is incorrect because infinity cannot be included.
- [-∞, 9] is incorrect for the same reason.
A useful rule is:
Always use a parenthesis next to infinity or negative infinity.
How to Write Intervals for All Real Numbers
Sometimes an interval includes every real number. This is written as:
(-∞, ∞)
This means x can be any real number, from negative infinity to positive infinity. It is often used when a function has no restrictions on its domain.
To give you an idea, the linear function:
f(x) = 2x + 3
has a domain of all real numbers, so its domain in interval notation is:
(-∞, ∞)
How to Write Empty Intervals
An empty interval means there are no numbers in the set. This can happen when an inequality has no solution Easy to understand, harder to ignore..
For example:
x < 2 and x > 5
There is no real number that is both less than 2 and greater than 5. The solution set is empty Which is the point..
In interval notation, the empty set is usually written as:
∅
or sometimes as:
{ }
On the flip side, in many algebra classes, the empty set is simply described as “no solution.”
How to Combine Intervals Using Union
Some solution sets are not continuous. They include two or more separate intervals. In these cases, you use the union symbol, ∪, to connect the intervals.
The union symbol means “or.” It tells you that the solution includes numbers from either interval Simple, but easy to overlook..
Example 1: x < -1 or x > 4
This solution has two separate parts:
- All numbers less than -1
- All numbers greater than 4
In interval notation, this is:
(-∞, -1) ∪ (4, ∞)
Example 2: x ≤ 0 or x ≥ 5
This solution includes 0 and 5, so brackets are used:
(-∞, 0] ∪ [5, ∞)
Example 3: Three Separate Intervals
Sometimes a solution may include three intervals:
x < -2 or 1 < x < 4 or x > 7
In interval notation,
(-∞, -2) ∪ (1, 4) ∪ (7, ∞)
Notice that the union symbol connects all three pieces. The order of the intervals is typically written from left to right on the number line (least to greatest), though mathematically the union operation is commutative Worth keeping that in mind..
How to Find the Intersection of Intervals
While union represents "or," intersection represents "and." The intersection of two intervals includes only the numbers that belong to both intervals simultaneously. The symbol for intersection is ∩.
Example 1: Overlapping Intervals
Find the intersection of [1, 5] and [3, 7].
- The first interval includes numbers from 1 to 5.
- The second interval includes numbers from 3 to 7.
- The numbers common to both are those from 3 to 5.
In interval notation:
[1, 5] ∩ [3, 7] = [3, 5]
Example 2: Intervals That Meet at an Endpoint
Find the intersection of (-∞, 4] and [4, ∞).
- The first interval includes all numbers up to and including 4.
- The second interval includes 4 and all numbers greater.
- The only number common to both is 4.
In interval notation:
(-∞, 4] ∩ [4, ∞) = {4}
(Note: A single number is often written with set braces {} rather than brackets, as [4, 4] is technically valid but rarely used.)
Example 3: No Overlap (Empty Intersection)
Find the intersection of (0, 2) and (3, 5) And that's really what it comes down to..
These intervals share no common numbers. The intersection is the empty set:
(0, 2) ∩ (3, 5) = ∅
Quick Reference: Bracket vs. Parenthesis
| Symbol | Name | Meaning | Inequality Equivalent | Endpoint Included? |
|---|---|---|---|---|
| [ ] | Brackets | Closed interval | ≤ or ≥ |
Yes |
| ( ) | Parentheses | Open interval | < or > |
No |
| [ ) or ( ] | Half-open | Mixed | ≤ and > (or vice versa) |
One side only |
Memory Tip: Brackets [ ] look like the square corners of a closed box—the endpoint is "trapped" inside. Parentheses ( ) look like open arms—the endpoint slips right out Not complicated — just consistent..
Common Mistakes to Avoid
- Mixing up brackets and parentheses. Always check if the inequality is strict (
<,>) or inclusive (≤,≥). - Writing
[∞)or(-∞]. Infinity is a concept, not a destination; it can never be "reached" or included. - Reversing the order. Interval notation is always written left to right (smaller number first, larger number second). Writing
(8, 2)is incorrect for2 < x < 8. - Confusing Union (
∪) with Intersection (∩). Union combines sets ("or"); Intersection finds the overlap ("and").
Conclusion
Interval notation is more than a shorthand—it is a precise language for describing the continuous nature of the real number line. That said, by mastering the distinction between brackets and parentheses, the handling of infinity, and the operations of union and intersection, you gain the ability to express complex domains, ranges, and solution sets with clarity and efficiency. Whether you are analyzing the domain of a rational function, solving a compound inequality, or defining the bounds of an integral, interval notation provides the standard framework for communicating "which numbers" quickly and without ambiguity.
Not the most exciting part, but easily the most useful.