Graphing interval notation means turning written inequality bounds into marks on a number line: a filled dot for a closed endpoint, an open circle for an open one, and a bar over every value between them. Two conditions control everything — bracket type and direction. Square brackets get filled dots, parentheses get open circles, and the shading always runs toward the side the inequality points. Master those two rules and a graph that looks like guesswork becomes mechanical, even with infinity symbols and double inequalities in the mix.
The method below runs in real performance order: read the symbols, mark the endpoints, connect them, then check by testing a sample value. Worked examples use standard notation sets taught in algebra and precalculus courses, with the endpoint conventions set by the interval notation conventions used in U.S. high school and college algebra textbooks. Every graph in this article follows the same four-step sequence, so you can trace any figure back to the action that produced it.
Step 1: Read the Interval From Left to Right and Name What Each Symbol Allows
Read the interval left to right and say out loud which values the notation includes. In standard interval notation, the smaller endpoint always sits on the left and the larger on the right, and the bracket or parenthesis touching each number says whether that number belongs to the set. That single reading pass prevents almost every graphing error.
Brackets carry the whole message. A square bracket, as in [3, 8], means the endpoint is included; a parenthesis, as in (3, 8), means it is excluded. A mixed interval like [3, 8) includes 3 but excludes 8, and the graph must show two different endpoint marks.
Infinity symbols follow their own rule: ∞ and −∞ always pair with a parenthesis, never a bracket. No real number equals infinity, so including it is impossible. Seeing [3, ∞) means the set starts at 3 and runs unbounded to the right — no dot is ever drawn at infinity itself.
Translate each bracket into an inequality before drawing anything. [3, 8) becomes 3 ≤ x < 8, which is the same condition written a different way. That translation is the bridge between notation and the geometric picture, and it's what makes the graph checkable later.
Step 2: Fix Your Endpoint Convention — Filled Dot for Closed, Open Circle for Open
Endpoint marks are not decorative. A filled dot says the endpoint satisfies the inequality; an open circle says it doesn't. A graph with the wrong endpoint mark can represent a set that's off by exactly one number, which matters when the interval is an answer to an equation or a domain restriction.
Set the convention before you draw. In U.S. textbook practice, open circles mark excluded endpoints and filled dots mark included ones. Some instructors use open circles with arrows through them, and online graphing tools like Desmos accept inequalities directly and render open and closed endpoints for you. Confirm which convention your course requires before your first quiz — grading rubrics follow the instructor, not the tool.
Consistency is the expensive part. Mixing filled dots on open intervals in one homework set is the most common avoidable point loss in this unit, because the error is invisible to you while you work and obvious to the grader. Draw every endpoint the same way within one problem, and every problem the same way within one assignment.
If you're working online, type the inequality into the graphing tool and let it render the endpoint. Desmos accepts "3 ≤ x < 8" directly and draws a filled endpoint at 3 with an open endpoint at 8 automatically — a useful cross-check for a hand-drawn graph.
Step 3: Shade Between the Endpoints, or Past One Toward the Arrow for Infinity
Shading is where direction decides everything. For a bounded interval, draw the bar between the two markers and nowhere else. For [3, 8), the shading covers 3 through 8, stopping at the open circle over 8.
When one endpoint is infinity, the shading runs past the finite endpoint and ends in an arrowhead. That arrow is a label, not a line: it means the set continues without bound in that direction. [3, ∞) shades from the filled dot at 3 rightward and terminates in an arrow.
Bounded intervals have subtle edge cases. The interval (2, 2) is empty — no open interval has width, and a graph of it shows nothing but two open circles on the same point. The set [2, 2] contains exactly one number, 2, and is drawn as a single filled dot with no shading at all. Empty and single-point sets are worth recognizing because they break the "always shade" habit.
Negative bounds work identically. The interval (−5, −2) gets open circles at −5 and −2 with shading between them. The sign of the endpoint never changes the mark; only the bracket does.
Step 4: Verify by Testing a Point Inside, Outside, and on the Boundary
Verification catches endpoint mistakes that look fine on paper. Pick a test value inside the shaded region, one outside it, and one exactly at a boundary, and check each against the original inequality. For 3 ≤ x < 8, x = 5 sits inside, x = 9 sits outside, and x = 8 sits on the open boundary.
Do the arithmetic on the boundary test. At x = 8, "3 ≤ 8 < 8" fails on the second comparison, which confirms the open circle. If your graph showed a filled dot at 8, the test would have caught it in under ten seconds. This is the cheapest error check in the whole method.
Test inside-points too, especially on intervals that came from solving an inequality. Algebra rewrites can flip directions, and a graph drawn from a flipped result will look plausible while representing the wrong set. One substituted value inside the shading is enough to expose that.
Run the boundary test last, immediately after drawing, while the marks are still fresh in your mind. On a timed exam, this habit costs about fifteen seconds per graph and pays for itself in lost points recovered.
Worked Example: Plotting [−2, 3) Step by Step
Take the interval [−2, 3). The square bracket on the left and parenthesis on the right translate to −2 ≤ x < 3. That condition names two endpoints: −2, included, and 3, excluded. The graph is bounded, so no arrows appear.
1: Draw a horizontal number line and label −2 and 3 as the relevant tick marks. 2: Draw a filled dot at −2 for the closed bracket. 3: Draw an open circle at 3 for the open parenthesis. 4: Shade the segment between −2 and 3, touching the dot and stopping at the circle. 5: Test x = 0: −2 ≤ 0 < 3 is true, confirming the shading; test x = 3: −2 ≤ 3 < 3 is false, confirming the open circle.
If the test at −2 fails, check for a transcription slip first. A common failure is rewriting the interval as (−2, 3] after reading the brackets in the wrong order — the failure shows up as a wrong endpoint mark at both ends, and the boundary test pinpoints which end flipped.
The same procedure handles longer intervals without change. What takes practice is the reading, not the drawing.
Worked Example: Plotting (−∞, 1] With a One-Sided Arrow
For (−∞, 1], the condition is x ≤ 1. The infinity symbol pairs with a parenthesis, so no mark is drawn on the left. The 1 is closed, so it gets a filled dot. The shading extends from the far left of the number line up to and including 1.
Number the actions: mark 1 with a filled dot, then draw a line from the left edge of the number line to the dot, ending with a leftward-pointing arrowhead at the line's left edge. The arrow lives at the far left because the set runs to negative infinity in that direction. Testing x = 0 inside and x = 2 outside confirms the shading covers only values at or below 1.
A direction error is the classic failure on one-sided intervals. Drawing the arrow to the right of the dot would flip the set to x ≤ something larger, so the boundary test with x = 2 is the check that catches it. If your arrow points away from the shaded side, redraw before turning the page.
Compare this figure with [1, ∞). Same endpoint, opposite direction, and a bracket on the 1 instead of a parenthesis: filled dot at 1, arrow to the right, shading on all values at or above 1. The two graphs differ in exactly two features, which is why instructors pair them on the same problem set.
Worked Example: Plotting (−4, ∞) and the Parenthesis-at-Infinity Trap
For (−4, ∞), the condition is x > −4. The −4 gets an open circle because the parenthesis excludes it, and the infinity symbol produces an arrowhead, never a dot. The shading runs rightward from the open circle to the arrow.
The common failure here is drawing a bracket at infinity. Students who see [−4, ∞) sometimes draw a smooth closure on the right because the bracket feels like it needs a mark. There is no number to mark — infinity is not a point on the line. The graph has exactly one endpoint mark, at −4, and a reader should be able to count the marks at a glance.
Contrast this with the bounded example from earlier. [−2, 3) carries two endpoint marks and a finite bar. (−4, ∞) carries one mark and an arrow. Counting marks per graph is a fast self-check: bounded intervals get two, unbounded get one, and neither gets fewer.
For unbounded intervals in general, the finite endpoint is the only one verifiable by substitution. Test x = 0 for (−4, ∞): 0 > −4 holds, confirming the region. Test x = −5: the inequality fails, confirming the endpoint belongs outside the shade.
Using the Table to Compare Bracket Types, Inequalities, and Graph Features Side by Side
Comparing the six common notation forms in one place makes the mapping between symbol and mark concrete. The table below pairs each notation with its inequality, endpoint marks, and shading direction.
| Interval notation | Inequality | Left endpoint mark | Right endpoint mark | Shading |
|---|---|---|---|---|
| [a, b] | a ≤ x ≤ b | Filled dot at a | Filled dot at b | Between a and b |
| (a, b) | a < x < b | Open circle at a | Open circle at b | Between a and b |
| [a, b) | a ≤ x < b | Filled dot at a | Open circle at b | Between a and b |
| (a, ∞) | x > a | Open circle at a | Arrowhead | Rightward from a |
| [a, ∞) | x ≥ a | Filled dot at a | Arrowhead | Rightward from a |
| (−∞, a] | x ≤ a | Arrowhead | Filled dot at a | Leftward from a |
The table's value is the row-by-row check it enforces. Trace any written interval to its row, and the marks are decided before the pencil moves. Any deviation from the row is an error.
Read the arrowhead column carefully. Arrowheads replace endpoint marks at infinity because infinity is a direction, not a location. If a student drew a dot at the arrow position on the table above, the shape would answer a different question.
Two forms are missing from the table because they're degenerate: [a, a] is a single point and (a, a) is the empty set. Expect them only as trick questions, and handle them by counting included values rather than shading.
Checking Both Endpoints at Once for Double Inequalities
A double inequality like 1 < x ≤ 5 is the same object as (1, 5], and the two representations should produce the same graph. Pairing them catches copy errors because the inequality spells the endpoint rules in words while the notation spells them in symbols.
Solve first, graph second. When an inequality starts as, say, 3 < 2x + 1 ≤ 11, solve each side in turn to reach 1 < x ≤ 5, then graph the solved form. Graphing before solving invites endpoint mistakes at both ends simultaneously, which are harder to diagnose than a single error.
Double-check by substitution at the boundary numbers. At x = 1, the strict inequality 1 < x fails, so the circle at 1 must be open. At x = 5, the condition x ≤ 5 holds, so the dot at 5 must be filled. Two quick evaluations confirm both marks.
Intervals in this form appear when a quantity is bounded above and below at once, such as a range of acceptable values. Treat the graph as a picture of all values satisfying both conditions simultaneously, and the shading-between rule follows naturally.
Top 4 Endpoint Mistakes and What Each Graphic Error Looks Like
Four errors account for most wrong graphs, and each has a visible signature.
1: Filled dot on a parenthesis endpoint. The graph includes a number the interval excludes, adding exactly one point to the set. 2: Bracket drawn at infinity. Usually a dot or a small vertical bar at the arrow, which has no meaning on the number line. 3: Shading on the wrong side of a one-sided interval. The arrow and the shaded side point opposite ways, easy to spot by testing one outside value. 4: Empty interval drawn with shading. (2, 2) rendered as a bar instead of two open circles on the same point.
Fix mistakes in the order they occur: endpoint mark, then shade, then arrow. Errors compound left to right in the drawing process, so correcting the earliest one usually fixes the figure.
Rebuilding the graph from the notation is faster than patching a wrong figure. Redraw takes about twenty seconds and guarantees you return to the source rules rather than the previous pencil marks.
FAQ
What is the difference between a filled dot and an open circle on a number line?
A filled dot means the endpoint is a member of the set; an open circle means it is excluded. In [2, 6], both endpoints are included, so both dots are filled. In (2, 6), both circles are open, which removes exactly two numbers from an otherwise identical shaded region. The bracket in the notation is the only thing that decides which mark to draw.
Do you ever put a bracket on infinity?
No. Infinity is a direction on the number line, not a number, so the endpoint can never be included. Standard convention requires a parenthesis on either side of ±∞, as in [1, ∞) or (−∞, 4]. Some course materials accept a bracket at infinity on a closed interval only when the endpoint is finite, but never at the symbol itself. Check your course's stated convention if a platform renders it differently.
How do you graph an interval that is both open and closed?
Handle each endpoint independently. An interval like [−1, 4) has a filled dot on the left and an open circle on the right, with shading between them. There's no need to classify the interval as a whole before drawing — the bracket on each side tells you what to do on that side. Mixing the two is the norm, not a special case.
What does an interval like (3, 3) look like on a number line?
It is empty. No number satisfies 3 < x < 3, so the graph shows two open circles on the same point with no shading between them. The related notation [3, 3] contains exactly the number 3 and is drawn as a single filled dot. Both forms are degenerate cases worth recognizing because they defeat the "always draw a bar" habit.
Do the arrowheads count as endpoints on the graph?
No. An arrowhead marks an unbounded direction, not a value. The interval (−∞, 2] has one true endpoint — the filled dot at 2 — and one arrow pointing left. A reader counting endpoint marks on a correct graph gets one for an unbounded interval and two for a bounded one, which is a useful quick check.
Can I graph interval notation in Desmos instead of by hand?
Yes. Type the inequality form directly, such as "3 ≤ x < 8," and the tool renders closed and open endpoints and shades the region. Entering the interval notation itself often fails because the calculator expects an inequality or a function, so translate first. A hand sketch drawn to match the tool's output is a reasonable cross-check.
Why do the shade direction and the arrow seem to disagree on my graph?
They disagree when the graph was drawn from a rewritten inequality with a flipped direction, or when the arrow was placed on the wrong end. Re-solve the original inequality, then test an outside value like x = 10 or x = −10. Whichever side fails the test must be unshaded, and the arrow belongs at the unbounded end of the shaded side.
Does the left-to-right order of endpoints ever change?
In standard interval notation the smaller number sits left, on the number line, so the reading order always moves left to right. Inequalities written in the form a ≤ x ≤ b follow the same ordering. If a problem presents numbers in reverse, such as an interval written large-to-small, treat it as a transcription error and reorder into standard form before graphing.