To write an inequality from a number line graph, read two things off the picture: the boundary number where the shading stops, and whether the endpoint circle is open or closed. Then ask which direction the shading runs from that boundary. An open circle at 4 with shading to the right becomes x > 4; a closed circle at 4 with shading to the left becomes x β€ 4. Those two features, plus direction, fully determine the inequality, and the whole job takes under a minute once you know what to look at.
Reading a number line backwards, from picture to symbol, is where most of the confusion lives. Classrooms usually teach it the other way around, so flipping the process feels unnatural at first. The good news is that the mapping is mechanical: there are only six core patterns, and every one of them reduces to the same two-element check.
Why the Endpoint Circle Decides Strict Versus Inclusive Before Anything Else
The circle is the single most consequential detail on the graph, and it deserves your first glance, not your last. An open circle means the boundary value is excluded from the solution set, so the inequality uses a strict symbol: < or >. A closed, filled circle means the boundary is included, so the inequality uses β€ or β₯. A number line graph of x β₯ 12 drawn with an open dot at 12 is simply wrong, even though the shading is correct.
The reason is definitional. An inequality describes a set of numbers, and the circle reports membership of exactly one number, the endpoint. Shading reports membership of everything else on one side. Treat the circle as a yes/no answer to the question "is the boundary itself in the set?" and the symbol choice stops being a guess.
Students who guess tend to default to < and > because those symbols appear more often in early practice. That habit produces the classic error of graphing x β€ 5 with an open circle at 5, which loses the point 5 from the solution. Reverse the check when you are unsure: if solving your written inequality at the boundary value produces a true statement, the circle should be closed.
A quick arithmetic test settles it every time. Substitute the boundary number into the inequality you wrote. If the statement comes out true, the graph must show a closed circle; if false, an open one. For x > 4 at the boundary 4, the claim "4 is greater than 4" is false, so an open circle is required, which matches the picture.
One more caution: hand-drawn graphs sometimes render a filled dot as a heavy scribble. Zoom in, or compare against another point's dot. If the distinction truly cannot be read, the graph is ambiguous and the inequality cannot be determined with certainty, which is worth saying out loud in a homework answer.
Shading Direction and the Two Sentence Templates That Cover Every Case
Direction is the second read, and it maps to symbol orientation in a way you can memorize as two sentences. If the shading goes right, the variable is greater than the boundary. If the shading goes left, the variable is less than the boundary. Combine that with the circle, and you have the answer. Right plus open gives x > b; right plus closed gives x β₯ b; left plus open gives x < b; left plus closed gives x β€ b.
That is the entire core vocabulary, and it covers single-ended graphs completely. The remaining patterns are special cases: shading across the whole line (all real numbers), shading nowhere (no solution), and graphs bounded on both sides (compound inequalities). Handle those after the basic read is solid.
The template sentence reduces errors because it forces you to say the relationship in words before writing symbols. "The shading runs right from a closed dot at negative 2, so x is greater than or equal to negative 2" translates to x β₯ -2 with no symbol flipping required. Say it, then write it.
Watch for the trap of reading direction from the wrong reference point. The arrow on the number line, if drawn, indicates increasing values, always to the right. Shading direction is judged from the marked endpoint, not from the edge of the page. A region shaded between -1 and 3 is not "left shading" or "right shading" at all; it is a between case.
Read the Scale and the Boundary Number Without Miscounting Tick Marks
The boundary number is where misreads actually happen, especially on graphs without every tick labeled. Before reading any inequality, establish the scale: find two labeled ticks and count the unlabeled ticks between them. If 0 and 5 are labeled with four tick marks between them, each gap is 1 unit. If only one tick sits between 0 and 10, each gap is 5 units.
Fractional and decimal boundaries appear regularly on graphs aligned to halves or quarters. A dot landing halfway between 2 and 3 is 2.5, and the inequality is written with 2.5, not rounded to 2 or 3. Writing x > 2 when the graph shows x > 2.5 changes the solution set by infinitely many numbers, which matters in later work even if a teacher's eye skips it.
Negative boundaries deserve their own check. Count leftward from zero using the same tick spacing, and write the negative sign explicitly. The inequality x β₯ -7 comes from a closed dot at -7 with right shading, and dropping the minus sign is one of the most common transcription errors on tests.
When the graph is hand-drawn or photographed, tick marks can drift. Verify the boundary by counting from a labeled tick to the dot rather than trusting visual spacing across the whole line. If your count from the left label and your count from the right label disagree, the drawing is inconsistent and the safer move is to state the scale you used.
Six Graph Patterns Mapped to Their Inequalities, With One Worked Example Each
| Graph description | Inequality | Endpoint type | Direction | Test value that satisfies it |
|---|---|---|---|---|
| Open dot at 4, shade right | x > 4 | Open | Right | 5 |
| Closed dot at 4, shade left | x β€ 4 | Closed | Left | 4 and 0 |
| Open dot at -3, shade left | x < -3 | Open | Left | -4 |
| Closed dot at -3, shade right | x β₯ -3 | Closed | Right | -3 and 0 |
| Open dots at 1 and 6, shade between | 1 < x < 6 | Open, both | Between | 3 |
| Closed dot at -2, shade right to the edge | x β₯ -2 | Closed | Right | -1 |
Work the second row fully. The dot at 4 is filled, so 4 is included. The shading extends toward smaller numbers, so the relationship is "less than or equal to." The sentence reads "x is less than or equal to 4," which is x β€ 4. Test the boundary: 4 β€ 4 is true, which confirms the closed circle. Test an interior value: 0 β€ 4 is true, confirming the direction.
Now contrast it with row one. Same boundary, different circle and different direction, so the answer flips to x > 4. These paired examples are the fastest way to internalize that the boundary number alone tells you almost nothing; the circle and shading carry the meaning.
Row five shows the between case, which needs two boundaries and two symbols joined into one statement. Rows three and four are mirror images across zero, which is worth noticing because sign errors cluster there. Row six represents a ray that continues past the last labeled tick, and the inequality is written the same way as any other right-shaded ray.
Compound Graphs: When Two Endpoints Demand Two Symbols and a Joiner
A graph shaded only between two points, with empty space on both outer sides, describes numbers trapped in a range. Read the left endpoint first, then the right, and write the variable between them: a graph with open dots at -1 and 3 and shading between them becomes -1 < x < 3. The left symbol describes the lower bound, the right symbol the upper, and both circles independently determine strictness.
Mismatched circles are common and legal. A closed dot at 0 with an open dot at 5, shaded between, gives 0 β€ x < 5. Read each endpoint on its own and do not let one circle's type bleed into the other symbol. This is exactly where students lose points on compound-inequality items.
Graphs shaded outward from two points in opposite directions represent "or" statements, written with the word or: x < -2 or x > 3. The shaded middle is empty, and no single value satisfies both halves, so the union is the only honest description. Writing this as a between statement inverts the meaning entirely.
A single graph can also show the whole line shaded, which corresponds to all real numbers, and a graph with no shading at all corresponds to no solution. Neither is an inequality in the usual sense, and both are worth recognizing because they appear as trick items.
From Graph to Symbols in Five Ordered Steps
1: Locate every endpoint dot on the number line and note each number. 2: Classify each dot as open or closed. 3: Note which side or sides carry shading. 4: Say the relationship in words, then write the symbols using the two-sentence template. 5: Substitute the boundary value and one interior value to verify the result.
The order matters because steps 1 through 3 are pure observation. Doing them all before writing anything prevents the common failure of committing to a symbol too early and then rationalizing the rest of the graph to fit.
Verification in step 5 is not optional busywork. Substitute the boundary into your inequality: if the circle is open, the boundary must make the statement false, and if closed, true. Then substitute one clearly shaded value: it must make the statement true. Two substitutions catch nearly every transcription error.
If the check fails, the most likely culprits in order are a misread boundary number, a flipped direction, and a wrong circle type. Re-read the scale first, since that error corrupts everything downstream. When a graph is genuinely ambiguous, writing the inequality you can defend plus a note about the ambiguity is better than guessing silently.
Failure handling for the between case: if you wrote a compound inequality and only one side verifies, you probably matched the two circle types to the wrong endpoints. Re-check each dot against its own symbol separately, then rejoin.
Worked Conversions for Fractions, Negatives, and Whole-Line Graphs
Start with a fractional case. A closed dot sits halfway between 1 and 2, with shading to the left. The boundary is 1.5, the circle is closed, and the direction is left, so the answer is x β€ 1.5. Substitute 1.5 to confirm the closed circle, then substitute 1 to confirm the direction.
Take a negative compound. Open dots at -6 and -2, shaded between. The answer is -6 < x < -2. Substitute -4, which lies inside and should satisfy both halves. Substitute -7, which lies outside and should satisfy neither. Both checks passing means the transcription is correct.
Consider a graph shaded from a closed dot at 0 all the way right, past the final tick. The answer is x β₯ 0 regardless of where the line is cropped, because the arrow or the run to the edge signals continuation. Cropped graphs still describe rays; the inequality does not need to name where the drawing stops.
Finally, a whole-line graph, often drawn as a thickened line with arrowheads at both ends and no dots, corresponds to all real numbers. That is a legitimate answer to a "write the inequality" prompt in many curricula. If the line is blank, the answer is no solution. Both cases are edge conditions worth memorizing because they break the two-element routine entirely.
Matching Inequalities to Their Graphs: Reversing the Check in Four Moves
1: Plot the boundary value from the inequality as an open or closed dot according to the symbol. 2: Decide the shading side from the symbol's orientation, right for > and β₯, left for < and β€. 3: Shade the region and extend it to the edge of the line with an arrow. 4: Confirm by picking a number inside your shading and substituting it back into the inequality.
The reverse direction is how you catch errors that survived the forward pass. If you write x β₯ -3 but graphing it produces a picture that differs from the original in circle type or side, one of the two is wrong, and the substitution check identifies which.
For a compound inequality like -2 β€ x < 5, plot a closed dot at -2 and an open dot at 5, then shade between. The two symbol types must map to the two dots exactly, and testing -2, 5, and an interior value like 0 verifies all three commitments in one pass.
The reversal also exposes the common symptom of swapping the joiner. If your graph shades outward in two directions but your inequality reads as a between statement, the original transcription inverted the logic even though every individual symbol looked plausible.
Speed comes with the fourth move. Once substituting an interior value becomes automatic, you can convert a graph to an inequality in roughly fifteen seconds and check it in five more.
Five Errors That Survive a Careless Read, and the Correction for Each
| Error | What it looks like | Correction |
|---|---|---|
| Flipping the direction | Shading right but writing x < 3 | Re-read from the dot rightward, then substitute an interior value |
| Wrong circle type | Closed dot written with < | Substitute the boundary; true means closed |
| Dropped negative sign | x β₯ 7 for a dot at -7 | Count leftward from zero on the same tick spacing |
| Rounding a fractional boundary | x > 2 for a dot at 2.5 | Identify the scale before reading any number |
| Swapping a between statement | x < -2 or x > 3 written as -2 < x < 3 | Check whether the middle is shaded or empty |
The first error outranks the rest in frequency because the symbols < and > resemble arrowheads pointing in opposite directions from common intuition. Say the relationship in words first and the symbol follows correctly.
The fractional-boundary error hides in plain sight because many worksheets use whole numbers. When a graph mixes whole and half steps, the scale read must come before the endpoint read, and the endpoint must be written with its decimal or fraction intact.
The compound-swap error flips the solution set to its complement, which is a much larger mistake than any single-symbol slip. A single substitution of an interior value catches it immediately: if the middle of the graph is empty but your inequality claims the middle is the solution, the numbers will not match.
Each correction is cheap, and running them in order after any failed check takes seconds rather than minutes, which beats rewriting the whole answer from scratch.
FAQ
What is the difference between an open and closed circle on a number line?
An open circle excludes the boundary number from the solution set and pairs with < or >, while a closed circle includes it and pairs with β€ or β₯. The circle is a membership test for exactly one number, the endpoint. Substituting the boundary into your inequality confirms it: a true statement demands a closed circle. Hand-drawn dots occasionally blur the distinction, and in that case the graph is ambiguous.
Can a number line graph represent the inequality x β 3?
Yes, but not with a single ray or segment. The set of all numbers except 3 is the whole line with a single hole punched at 3, typically drawn as a full shaded line with one open dot. Writing it as x < 3 or x > 3 is the standard symbolic form for many curricula. A single ray with an open dot at 3 represents either x < 3 or x > 3 alone.
How do I write a compound inequality when one circle is closed and the other is open?
Read each endpoint independently and keep its symbol tied to its own side. A closed dot at 0 and an open dot at 5, shaded between, gives 0 β€ x < 5. The lower symbol describes the left bound, the upper the right, and neither circle influences the other symbol. Verify by substituting each boundary and one interior value such as 2.
What does a graph shaded across the entire number line mean?
It represents all real numbers, which some curricula accept as an answer to a graph-to-inequality prompt. It is not a standard inequality of the form x > b or a < x < b. A completely blank line, by contrast, represents no solution. Both are edge cases that break the routine two-element read.
Why does shading right always mean greater than?
The number line increases to the right by convention, so a rightward ray contains every number larger than the boundary. A leftward ray contains every number smaller. The arrowhead, when drawn, points toward increasing values for the same reason. If the direction and the symbol disagree in your answer, the symbol is wrong.
Is it possible for a graph to produce an inequality with the variable on the right side?
Yes, and some teachers require it. The graph 5 > x is the same set as x < 5. The reading process produces x on the left naturally, so rewriting with a flipped symbol is optional. If a course demands a specific orientation, check the syllabus; otherwise both forms score as correct.
How do I verify my inequality matches the graph without a teacher?
Substitute three numbers: the boundary, an interior shaded value, and an unshaded value. The boundary must satisfy the inequality exactly when the circle is closed. The interior value must satisfy it. The unshaded value must fail. A single mismatch identifies the error, and re-reading the scale usually locates it.