How to Write Interval Notation for the Given Graph
Learning to write interval notation for a given graph is one of the most practical skills in algebra, precalculus, and calculus. Which means whether you are describing the domain of a function, the solution set of an inequality, or a range of values on a number line, interval notation gives you a clean, compact way to express continuous sets of numbers. This guide walks you through exactly how to read a graph and translate it into correct interval notation, step by step, with clear examples and the reasoning behind every symbol Easy to understand, harder to ignore..
What Is Interval Notation?
Interval notation is a way of writing subsets of the real number line using two endpoints and a pair of brackets or parentheses. Instead of listing every number in a set (which is impossible when the set is infinite), you describe the starting point and the ending point of a continuous range.
Here's one way to look at it: all numbers greater than 2 and less than 8 can be written as:
(2, 8)
The two key symbols you must understand are:
- Parentheses ( ) — called open notation. They mean the endpoint is not included in the set.
- Brackets [ ] — called closed notation. They mean the endpoint is included in the set.
This distinction is the single most important idea when converting a graph into interval notation, so keep it front of mind as you read the rest of this guide Less friction, more output..
Reading the Graph: The Foundation
Before you write anything, you need to read the graph correctly. Most interval notation problems show you a number line with a shaded or highlighted region. Your job is to identify three things:
- Where does the shaded region begin?
- Where does the shaded region end?
- Are the endpoints included or excluded?
Open Circles vs. Closed Circles
On a number line graph, endpoints are marked in one of two ways:
- A closed (filled-in) dot ● means the value is included. Use a bracket [ ] in your notation.
- An open (hollow) dot ○ means the value is excluded. Use a parenthesis ( ) in your notation.
Think of the filled dot as "touching" that number and the open dot as "approaching but never reaching" it.
Shading Direction
The shaded portion of the line tells you which numbers belong to the set:
- Shading to the right of a point means all numbers greater than that value.
- Shading to the left of a point means all numbers less than that value.
- Shading between two points means all numbers in that range.
The Role of Infinity
Many graphs continue forever in one or both directions. Still, when a shaded region has no stopping point on the right, it extends toward positive infinity (∞). When it has no stopping point on the left, it extends toward negative infinity (−∞) And that's really what it comes down to..
Here is a crucial rule that trips up many students:
Infinity is always written with a parenthesis, never a bracket.
The reason is simple: infinity is not a real number, so it can never be "included" in a set. You can get infinitely close, but you never actually reach it. Therefore:
[3, ∞)is correct — read as "3 to positive infinity, including 3."[3, ∞]is incorrect — infinity can never take a bracket.
Step-by-Step: Writing Interval Notation from a Graph
Follow this reliable process every time you are asked to write interval notation for the given graph That alone is useful..
Step 1: Identify the Left Endpoint
Look at the smallest value where the shading begins. Note the number and whether its dot is open or closed Small thing, real impact..
Step 2: Identify the Right Endpoint
Look at the largest value where the shading ends. Now, again, note the number and whether its dot is open or closed. If the shading continues without end, use ∞ or −∞.
Step 3: Choose the Correct Symbols
- Closed dot → bracket
[ ] - Open dot → parenthesis
( ) - Infinity → always parenthesis
( )
Step 4: Write the Interval
Place the smaller number on the left and the larger number on the right, separated by a comma:
[smaller value, larger value]
Worked Examples
Let me show you how this works with several common graph types.
Example 1: A Closed Interval
Graph: A shaded region between 1 and 5, with filled dots at both 1 and 5.
- Left endpoint: 1, included →
[ - Right endpoint: 5, included →
]
Answer: [1, 5]
This is read as "all numbers from 1 to 5, including both endpoints." In inequality form, this is 1 ≤ x ≤ 5.
Example 2: An Open Interval
Graph: A shaded region between −3 and 4, with open dots at both ends.
- Left endpoint: −3, excluded →
( - Right endpoint: 4, excluded →
)
Answer: (−3, 4)
This means "all numbers between −3 and 4, not including −3 or 4," or −3 < x < 4 Surprisingly effective..
Example 3: A Half-Open (Half-Closed) Interval
Graph: Shading from 0 (closed dot) to 10 (open dot).
- Left endpoint: 0, included →
[ - Right endpoint: 10, excluded →
)
Answer: [0, 10)
This is read as "all numbers from 0 up to but not including 10," or 0 ≤ x < 10. These mixed intervals are extremely common in real-world problems, such as pricing tiers or age ranges.
Example 4: An Interval Extending to Infinity
Graph: Shading continues to the right forever, starting at a closed dot at 2.
- Left endpoint: 2, included →
[ - Right endpoint: continues forever →
∞)
Answer: [2, ∞)
This represents x ≥ 2.
Example 5: A Union of Two Intervals
Graph: Two separate shaded regions — one from −∞ to −1 (open at −1) and another from 3 to ∞ (closed at 3) Easy to understand, harder to ignore..
When a graph has two or more separate pieces, you write each interval separately and join them with the union symbol ∪.
Answer: (−∞, −1) ∪ [3, ∞)
This is read as "all numbers less than −1, together with all numbers greater than or equal to 3."
Common Mistakes to Avoid
Even strong math students make errors here. Watch out for these frequent traps:
- Reversing the order. Always write the smaller number first.
[5, 1]is wrong; it should be[1, 5]. - Using a bracket with infinity. Never write
[∞). Infinity always gets a parenthesis. - Confusing open and closed dots. A filled dot means include (bracket); a hollow dot means exclude (parenthesis).
- Forgetting the union symbol. When the graph has gaps, you must connect separate intervals with
∪, not a comma. - Mixing up brackets and parentheses in the wrong direction. The opening symbol faces right
(, and the closing symbol faces left).
The Scientific and Logical Reasoning Behind the Notation
Interval notation is rooted in set theory and
and order theory, providing a compact representation of convex subsets of the real line. An interval is precisely a set of real numbers with the property that if (a) and (b) belong to the set and (a < c < b), then (c) must also belong to the set. This “no‑gaps” characteristic aligns perfectly with the intuitive notion of a continuous segment on the number line, which is why interval notation has become the standard way to describe such sets in mathematics Simple, but easy to overlook. But it adds up..
Why the Notation Works So Well
| Feature | Explanation |
|---|---|
| Conciseness | A single pair of symbols (brackets or parentheses) conveys an entire range, avoiding the need to write out inequalities each time. Which means |
| Clarity of Inclusion | The choice of [ vs. ( and ] vs. ) immediately tells the reader whether the endpoint is part of the set, eliminating ambiguity. Day to day, |
| Compatibility with Set Operations | Unions (∪), intersections (∩), and complements (\(^{c}\)) can be expressed directly using interval symbols, making algebraic manipulations straightforward. |
| Extensibility to Infinity | The symbol ∞ (and -∞) paired with a parenthesis captures unboundedness without invoking a “real number” that does not exist. |
| Visual Alignment | When a graph is drawn, the filled or open dots correspond directly to the bracket/parenthesis choice, reinforcing the connection between visual and symbolic representations. |
Connections to Broader Mathematical Concepts
-
Topology – In real analysis, intervals are the basic open and closed sets that generate the standard topology on ℝ. Open intervals
(a,b)form a basis for this topology, while closed intervals[a,b]are compact sets, a property that underpins many convergence theorems. -
Measure Theory – The length (or measure) of an interval is simply
b‑a(or∞for unbounded cases). This simple definition extends to more complex measurable sets via countable unions of intervals. -
Order Theory – Intervals reflect the linear order of ℝ. The notation respects this order by always placing the smaller endpoint first, mirroring the antisymmetry and transitivity of the
<relation Nothing fancy.. -
Applications in Calculus – Domain restrictions, integration limits, and solution sets of inequalities are routinely expressed using interval notation, streamlining the communication of mathematical ideas in textbooks, research papers, and problem sets.
A Quick Reference Summary
| Interval Type | Symbolic Form | Inequality Form | Graph Cue |
|---|---|---|---|
| Closed | [a, b] |
a ≤ x ≤ b |
Filled dots at both ends |
| Open | (a, b) |
a < x < b |
Open dots at both ends |
| Half‑closed (left) | [a, b) |
a ≤ x < b |
Filled left, open right |
| Half‑closed (right) | (a, b] |
a < x ≤ b |
Open left, filled right |
| Unbounded (left) | (-∞, b] |
x ≤ b |
Open dot at b, arrow left |
| Unbounded (right) | [a, ∞) |
x ≥ a |
Filled dot at a, arrow right |
| Unbounded both | (-∞, ∞) |
all real numbers | Entire line shaded |
| Union of intervals | (−∞,−1) ∪ [3,∞) |
x < -1 or x ≥ 3 |
Separate shaded pieces |
Conclusion
Interval notation is more than a shorthand; it is a reflection of deep mathematical ideas about continuity, order, and set structure. Worth adding: by mastering its symbols and the logic behind them, students gain a powerful tool for describing ranges of values, solving inequalities, and laying the groundwork for advanced topics in analysis, topology, and beyond. The ability to move fluently between graphical representations, inequality statements, and interval symbols is a hallmark of mathematical fluency, and it will serve anyone who continues to explore the vast landscape of mathematics.