Interval notation is a compact way to describe a continuous set of real numbers. Instead of listing every value in a range, you identify the endpoints and indicate whether those endpoints are included. The corresponding number-line graph makes the same information visual by using open circles, filled circles, shaded segments, and arrows.
For example, the interval [2, 7) represents every real number from 2 through 7, including 2 but excluding 7. Its inequality form is 2 ≤ x < 7. On a number line, 2 is shown with a closed circle, 7 with an open circle, and the section between them is highlighted.
What Is an Interval Notation Graph?
An interval notation graph is a number-line representation of a set of real numbers written in interval notation. It shows three important pieces of information:
- Where the interval begins
- Where the interval ends
- Whether each endpoint is included or excluded
The notation and graph communicate the same mathematical set in different forms. For example:
(−3, 5]
means:
−3 < x ≤ 5
On the number line, −3 receives an open circle because it is excluded, while 5 receives a filled circle because it is included.
This connection between interval notation, inequalities, and graphs is commonly used when solving inequalities and describing domains and ranges.
How the Interval Notation Graph Calculator Works
The calculator interprets the symbols around each endpoint and translates them into a graphical representation.
There are two basic endpoint rules:
- Parentheses ( ) mean the endpoint is excluded.
- Brackets [ ] mean the endpoint is included.
Therefore:
- (a, b) → both endpoints excluded
- [a, b] → both endpoints included
- [a, b) → left included, right excluded
- (a, b] → left excluded, right included
These four finite forms are the foundation of interval notation.
Interval Notation to Number Line: The Basic Rule
Suppose the interval is:
(1, 6)
The left parenthesis tells you that 1 is not part of the set. The right parenthesis tells you that 6 is also not part of the set.
The graph therefore has:
- an open circle at 1
- an open circle at 6
- a highlighted segment between 1 and 6
If the interval were:
[1, 6]
both endpoints would be included, so both circles would be filled.
The visual difference is small, but mathematically it changes the set being represented.
Interval Notation and Inequality Notation
Interval notation can be converted directly into inequality notation.
| Interval Notation | Inequality | Endpoint Meaning |
|---|---|---|
| (a, b) | a < x < b | Both excluded |
| [a, b] | a ≤ x ≤ b | Both included |
| [a, b) | a ≤ x < b | Left included |
| (a, b] | a < x ≤ b | Right included |
The same interval can therefore be expressed in three closely related ways: interval notation, inequality notation, and a graph on the real number line.
How to Read the Brackets
A quick way to avoid mistakes is to think of the bracket as answering one question:
“Is this endpoint part of the solution?”
If the answer is yes, use a square bracket.
If the answer is no, use a parenthesis.
For example:
[4, 9)
means 4 belongs to the interval, while 9 does not.
In inequality form:
4 ≤ x < 9
On the graph:
4 = filled circle
9 = open circle
Open, Closed, and Half-Open Intervals
Open Interval
An open interval excludes both endpoints.
(3, 8)
means:
3 < x < 8
Both 3 and 8 are represented by open circles.
Closed Interval
A closed interval includes both endpoints.
[3, 8]
means:
3 ≤ x ≤ 8
Both endpoints are shown with filled circles.
Left-Closed, Right-Open
Consider:
[3, 8)
This means:
3 ≤ x < 8
The graph uses a filled circle at 3 and an open circle at 8.
Left-Open, Right-Closed
Consider:
(3, 8]
This means:
3 < x ≤ 8
The graph uses an open circle at 3 and a filled circle at 8.
These mixed intervals are often called half-open or half-closed intervals.
Intervals That Extend to Infinity
Some solution sets do not stop at a finite endpoint. Instead, they continue indefinitely in one direction.
For example:
[5, ∞)
means:
x ≥ 5
The graph has a filled circle at 5 and an arrow extending to the right.
Similarly:
(−∞, 5)
means:
x < 5
The graph extends indefinitely to the left and has an open circle at 5.
Infinity is not an actual real-number endpoint, so infinity is always paired with a parenthesis rather than a square bracket.
Common Infinite Interval Forms
| Interval | Inequality | Graph Direction |
|---|---|---|
| (a, ∞) | x > a | Right |
| [a, ∞) | x ≥ a | Right |
| (−∞, b) | x < b | Left |
| (−∞, b] | x ≤ b | Left |
| (−∞, ∞) | All real numbers | Both directions |
Worked Example: Graphing [−2, 4)
Start with:
[−2, 4)
The left bracket means −2 is included.
The right parenthesis means 4 is excluded.
Therefore:
−2 ≤ x < 4
To graph it:
- Locate −2 on the number line.
- Place a filled circle at −2.
- Locate 4.
- Place an open circle at 4.
- Highlight the section between −2 and 4.
The resulting graph represents every real number from −2 through values just below 4, including −2 but not 4.
Worked Example: Graphing (−3, 7]
Consider:
(−3, 7]
Convert the notation to an inequality:
−3 < x ≤ 7
The endpoint −3 is excluded, so use an open circle.
The endpoint 7 is included, so use a filled circle.
Shade the section between the two endpoints.
This produces a number-line representation of all values greater than −3 and less than or equal to 7.
Worked Example: Graphing an Infinite Interval
Suppose the interval is:
[2, ∞)
Because 2 has a square bracket, it is included.
Because the interval continues toward positive infinity, the graph extends indefinitely to the right.
The equivalent inequality is:
x ≥ 2
The graph therefore has a filled circle at 2 and a right-pointing arrow.
Notice that the infinity symbol does not receive a filled or open circle because it is not a real-number endpoint.
Reading a Number Line and Writing Interval Notation
The calculator can also be useful when the starting information is a graph rather than interval notation.
Suppose a number line shows:
- a filled circle at −5
- a filled circle at 3
- a highlighted segment between them
The interval is:
[−5, 3]
If the graph instead has an open circle at −5 and a filled circle at 3, the answer becomes:
(−5, 3]
The endpoint symbols on the graph determine which notation is required.
Union of Multiple Intervals
Some solution sets contain two or more separate pieces. In these cases, the union symbol ∪ is used.
For example:
(−∞, −2] ∪ (4, ∞)
means:
x ≤ −2 or x > 4
The graph contains two separate rays:
- one extending left from −2, including −2
- one extending right from 4, excluding 4
There is no shading between −2 and 4 because those values are not included in this solution set.
The union symbol is used to combine separate intervals into one description of the solution set.
Intersection of Intervals
Intersection is different from union. The intersection symbol ∩ means that values must belong to both sets.
Consider:
(−∞, 6] ∩ (1, ∞)
The first interval contains all values up to and including 6.
The second interval contains values greater than 1.
The overlap is therefore:
(1, 6]
This concept becomes particularly useful when combining multiple inequality conditions.
Interval Length
For a finite interval with endpoints a and b, where a < b, the length is:
Length = b − a
For example:
[2, 9]
has a length of:
9 − 2 = 7
The inclusion or exclusion of the endpoints does not change the geometric length of a finite interval.
For example, the intervals (2, 9), [2, 9], [2, 9), and (2, 9] all have length 7.
Interval Notation in Algebra and Calculus
Interval notation appears throughout mathematics because it provides a compact way to describe sets of real numbers.
Solving Inequalities
A solution such as:
−4 ≤ x < 9
can be written as:
[−4, 9)
Function Domains
If a function is defined for every value from 1 through 10, excluding 10, its domain can be written as:
[1, 10)
Function Ranges
If a function produces values greater than or equal to −2, its range can be represented as:
[−2, ∞)
Calculus
Intervals are frequently used to describe where a function is continuous, differentiable, increasing, decreasing, or defined.
Optimization
Constraints in optimization problems can also be represented using intervals and inequalities.
Interval Notation for Domains
One particularly common application is finding the domain of a function.
Consider:
f(x) = √(x − 3)
For a real-valued square root, the expression inside the radical must be at least zero:
x − 3 ≥ 0
Therefore:
x ≥ 3
In interval notation:
[3, ∞)
This notation immediately communicates that 3 is allowed and that the domain continues indefinitely to the right.
Interval Notation for a Rational Function
Consider:
f(x) = 1/(x − 4)
The denominator cannot equal zero, so:
x ≠ 4
The domain consists of two separate intervals:
(−∞, 4) ∪ (4, ∞)
There is an open endpoint at 4 in both intervals because x = 4 is excluded.
This example demonstrates why union notation is useful when a domain has a gap.
Interval Notation and Absolute Value
Absolute-value inequalities frequently produce intervals.
For example:
|x| ≤ 5
can be rewritten as:
−5 ≤ x ≤ 5
Therefore, the interval notation is:
[−5, 5]
For a strict inequality:
|x| < 5
the result is:
(−5, 5)
The distinction between ≤ and < determines whether the endpoints are included.
How to Use the Interval Notation Graph Calculator
For an interval-to-graph problem, follow this sequence:
- Read the left endpoint. Determine whether it uses a bracket or parenthesis.
- Read the right endpoint. Apply the same inclusion rule.
- Place the endpoints. Locate the values on the number line.
- Choose the endpoint symbols. Use filled circles for included finite endpoints and open circles for excluded endpoints.
- Mark the interval. Highlight the values between the endpoints.
- Check infinity. Use an arrow when the interval continues indefinitely.
For reverse problems, start with the graph and identify the first and last included or excluded values before writing the interval notation.
Quick Reference: Interval Notation Rules
| Symbol | Meaning | Graph |
|---|---|---|
| ( | Endpoint excluded | Open circle |
| ) | Endpoint excluded | Open circle |
| [ | Endpoint included | Filled circle |
| ] | Endpoint included | Filled circle |
| −∞ | Extends indefinitely left | Left arrow |
| ∞ | Extends indefinitely right | Right arrow |
| ∪ | Union of sets | Separate graph regions |
| ∩ | Intersection/overlap | Common region |
Common Mistakes to Avoid
Using a Bracket at Infinity
Do not write [2, ∞]. Infinity is not a real endpoint, so the standard form is:
[2, ∞)
Confusing Open and Closed Circles
A filled circle means the endpoint is included. An open circle means it is excluded.
Reversing the Endpoints
The smaller finite endpoint comes first. For example:
[−3, 8)
is correctly ordered, while writing [8, −3) does not represent the standard interval order.
Forgetting the Union Symbol
If a solution contains two separated ranges, do not connect them into one interval. Use ∪.
For example:
x < 2 or x ≥ 6
becomes:
(−∞, 2) ∪ [6, ∞)
Assuming Parentheses Always Mean Negative
Parentheses do not indicate negative numbers. They indicate that an endpoint is excluded.
For example, (−4, 7) has a negative left endpoint, but the parentheses themselves simply mean that −4 and 7 are excluded.
Frequently Asked Questions
What does an Interval Notation Graph Calculator do?
An Interval Notation Graph Calculator converts interval notation into a visual number-line representation and can also help identify the corresponding inequality and endpoint rules.
What does a bracket mean in interval notation?
A square bracket means the endpoint is included. For example, [2, 6] includes both 2 and 6.
What does a parenthesis mean in interval notation?
A parenthesis means the endpoint is excluded. For example, (2, 6) includes numbers between 2 and 6 but excludes both endpoints.
What is the difference between [a,b] and (a,b)?
[a,b] includes both endpoints, while (a,b) excludes both endpoints.
How do you graph [2, 5)?
Place a filled circle at 2, an open circle at 5, and highlight the segment between them. The equivalent inequality is 2 ≤ x < 5.
How do you graph (−∞, 4]?
Place a filled circle at 4 and extend the graph indefinitely to the left with an arrow. The corresponding inequality is x ≤ 4.
Can infinity have a bracket?
No. Standard interval notation uses parentheses next to infinity because infinity is not a real-number endpoint that can be included or excluded.
What is the interval notation for all real numbers?
All real numbers are represented as:
(−∞, ∞)
This means the set extends indefinitely in both directions.
What does ∪ mean between two intervals?
The symbol ∪ means union. It combines two or more sets into one description. For example, (−∞, 2) ∪ [5, ∞) contains values less than 2 together with values greater than or equal to 5.
What does ∩ mean between two intervals?
The symbol ∩ means intersection. It identifies the values that two intervals have in common.
Does endpoint inclusion change the length of an interval?
For a finite interval, changing an endpoint from open to closed does not change its geometric length. For example, each of (2, 8), [2, 8], [2, 8), and (2, 8] has length 6.
Why is interval notation useful?
It provides a compact way to describe continuous sets of real numbers. It is especially useful for inequality solutions, function domains and ranges, calculus intervals, and mathematical constraints.
Interval Notation Graph Calculator: Summary
The most important rule is simple: brackets include endpoints, parentheses exclude them. The number-line graph uses the same idea visually: a filled circle represents an included endpoint, while an open circle represents an excluded endpoint.
For example:
- (2, 8) → 2 < x < 8
- [2, 8] → 2 ≤ x ≤ 8
- [2, 8) → 2 ≤ x < 8
- (2, 8] → 2 < x ≤ 8
- (−∞, 8] → x ≤ 8
- [2, ∞) → x ≥ 2
- (−∞, 2) ∪ [8, ∞) → x < 2 or x ≥ 8
Once you can identify the endpoints and determine whether each one is included, converting between interval notation, inequalities, and number-line graphs becomes a straightforward process.
Final Takeaway
The Interval Notation Graph Calculator is useful for turning compact mathematical notation into an easy-to-read number-line graph. It helps make endpoint inclusion, excluded values, infinite ranges, unions, and intersections much easier to recognize.
Remember these four basic patterns:
(a,b) → open at both ends
[a,b] → closed at both ends
[a,b) → closed on the left, open on the right
(a,b] → open on the left, closed on the right
For intervals extending toward infinity, use parentheses next to infinity and an arrow on the corresponding number-line graph. With these rules, an interval can quickly be translated into its inequality and graphical form.
References
- Ohio State University Department of Mathematics — Interval Notation.
- University of Houston — Interval Notation and Linear Inequalities.
- RMIT University Learning Lab — Interval Notation.
- Texas A&M University — Using Interval Notation.