To find the domain of a function from its graph, scan the horizontal axis from left to right and record every x-value where the curve, line, or set of points actually exists. The domain is that complete set of valid inputs. Read the leftmost and rightmost edges for endpoints, then probe every gap, hole, vertical asymptote, and open circle in between, because a graph that looks unbroken at a glance often hides an excluded value.
A single picture can answer the question in seconds, but only if you know what to look for. Two failure modes cause almost every wrong answer: assuming the graph continues past an arrowhead when the arrowhead is drawn ambiguously, and missing a hole that is only one or two pixels wide on a phone screen. Both are avoidable with a consistent left-to-right procedure and an explicit check for excluded points.
This guide walks through that procedure, shows the notation conventions you will need, and covers the edge cases that separate a correct answer from a plausible one.
Read Endpoints Left to Right Before Anything Else
Start at the far left of the plotted region and slide your eye along the horizontal axis. The first x-coordinate where any part of the graph sits is the lower endpoint of the domain. Then travel right until the graph stops or the axis ends, which gives the upper endpoint. Every question about domain begins with these two numbers.
Whether those endpoints are included depends on how the graph terminates. A solid dot at the end means the point belongs to the graph, so the endpoint is included, written with a square bracket such as [β3. A hollow or open circle means the value is excluded, written with a parenthesis such as (β3. An arrowhead means the graph continues indefinitely in that direction, so that end of the domain becomes ββ or +β with a parenthesis always.
Consider a curve that begins at a solid dot at x = β4, rises smoothly, and passes through the y-axis. A reader who only glances at the picture will say the domain runs from β4 to wherever the curve ends. That is correct only if nothing interrupts the curve. Endpoint reading is step one, not the whole job.
Precision matters here. If the gridlines are spaced one unit apart and the left endpoint sits halfway between two lines, the endpoint is β2.5, not β2. Guessing from a coarse axis is the most common source of small errors in graph-based domain problems, and instructors mark those errors wrong just as readily as large ones.
Match Interval and Inequality Notation to What the Picture Shows
Two notation systems describe the same domain, and the graph translates cleanly into both. Interval notation uses brackets for included endpoints and parentheses for excluded ones. Inequality notation uses β€ or β₯ for included endpoints and < or > for excluded values. A graph with a solid dot at x = 1 and an arrowhead running right becomes [1, β) or x β₯ 1.
The mapping is mechanical once you commit it to memory. Bracket or β€ means the point is on the graph. Parenthesis or < means it is not. Infinity always takes a parenthesis in interval notation and never appears in an inequality at all, because x can exceed any number you name but never equals infinity.
A worked translation shows the discipline required. Suppose a graph covers x-values from β2 to 5, with a solid dot at β2, an open circle at 5, and no interruptions between them. The interval is [β2, 5). The inequality is β2 β€ x < 5. If the same graph instead had open circles at both ends, the interval becomes (β2, 5) and the inequality becomes β2 < x < 5.
Switching between the two systems mid-problem is where students lose points even when their reading of the graph is perfect. Pick one notation at the start of the problem, convert only at the very end if the question demands the other form, and check each endpoint against the dot or circle you actually saw.
Spot the Holes, Breaks, and Asymptotes That Split the Domain
A gap in the domain appears in three common shapes, and each one is easy to miss. A hole is a single point removed from an otherwise continuous curve, drawn as a small open circle sitting on the curve itself. A jump break severs the graph into separate pieces with a visible vertical gap. A vertical asymptote is a dashed line the curve approaches but never touches, and it always signals an excluded x-value.
Vertical asymptotes deserve special attention because the graph often appears to brush the line at typical phone-screen resolution. Take a rational function whose curve rises steeply on one side of a dashed vertical line at x = 2 and reappears low on the other side. The domain excludes 2 entirely, so the interval splits into two pieces written as (ββ, 2) βͺ (2, β). The union symbol joins the separate pieces into one domain.
Holes require the same treatment as asymptotes in the final answer, even though the picture looks different. A hole at x = 3 removes 3 from the domain exactly as an asymptote does, because no point of the graph has that x-coordinate. Some textbooks describe holes as removable discontinuities, which tempts students to ignore them. The domain answer does not care why the point is missing, only that it is.
Count the pieces before writing the final answer. A domain split by one asymptote has two pieces. Split by an asymptote and a separate hole, it has three, and every piece needs its own interval with the excluded values bracketed by parentheses on the side that touches them.
Work Through a Rational Function Graph Step by Step
This example uses a graph of y = (xΒ² β 4)/(xΒ² β x β 6), a standard Algebra II and precalculus exercise, plotted on a grid with unit spacing. The curve has a hole at x = 2 and a vertical asymptote at x = 3. Follow the sequence below in this exact order every time.
1: Scan left to right along the horizontal axis and note where the curve first appears. The curve occupies x-values below the asymptote and above it without bound, so there is no leftmost finite endpoint and no rightmost one. 2: Check both far ends for arrowheads. Both ends point outward, confirming the domain extends to ββ and +β. 3: Locate every vertical asymptote by finding dashed vertical lines the curve approaches but never crosses. There is one at x = 3, so 3 is excluded. 4: Locate every hole by finding an open circle sitting on an otherwise solid curve. There is one at x = 2, so 2 is excluded. 5: Assemble the result: (ββ, 2) βͺ (2, 3) βͺ (3, β), or in words, all real numbers except 2 and 3.
If you misread the hole as an asymptote or vice versa, the interval answer stays identical, since both exclude the value. The error surfaces only in questions that ask whether the discontinuity is removable, which is a different topic from domain.
A failure case worth rehearsing: suppose the hole at x = 2 was faint and you missed it. Your answer becomes (ββ, 3) βͺ (3, β), which wrongly includes 2. Checking the algebra confirms the miss, because substituting x = 2 into the factored denominator gives zero, and a denominator of zero is never allowed. When graph and algebra disagree, trust the algebra and re-examine the picture.
Handle Piecewise, Discrete, and Root Graphs Without Slip-Ups
Piecewise graphs hold the most surprises for readers trained on smooth curves, because the domain is the union of every piece's own interval. Consider a graph with three pieces: a segment running from x = β5 to x = β1 with solid dots at both ends, a parabola opening upward from x = β1 to x = 4 with open circles at both ends, and a single isolated point at x = 7. The domain is [β5, β1] βͺ (β1, 4) βͺ {7}. The single point needs the set braces, and that last piece is where most answers go wrong.
The junction at x = β1 tests your attention. The first piece includes it with a solid dot; the second excludes it with an open circle. Inclusion wins when at least one piece includes the value, so β1 belongs to the domain. If neither piece had included it, β1 would be excluded and both intervals would open at that end.
Discrete graphs, such as a scatter plot of whole-number data, produce domains that are lists rather than intervals. Read every plotted point's x-coordinate and write them as a set, for example {0, 2, 4, 6}. Writing an interval here is a category error, because the graph genuinely has no points at the odd integers. A store's daily sales chart with seven dots has a domain of seven specific days, not a continuous span.
Square-root graphs add one more check. A graph opening rightward from a solid dot at x = β1 has domain [β1, β), because the curve exists only where the expression under the root is nonnegative. Confirm each solid dot by substituting its x-value into the radicand; if the result is negative, you misread the dot, and the true endpoint sits farther right.
Calibrate Your Read Against the Grid Scale and Axis Labels
Every value you extract depends on the axis scale, and the scale is stated, not assumed. A gridline labeled 0 at the origin with the next labeled line reading 5 means each square represents 5 units, not 1. Reading a hole at "two squares right of center" as x = 2 when the scale is 5 per square produces an answer wrong by a factor of two and a half.
Axis labels can also be irregular, a real feature of textbook problems designed to test attention. A horizontal axis whose labels run 0, 2, 4, 8, 10 has a doubled interval in the middle, and an endpoint landing in that region needs proportional interpolation. Measure the distance between labeled lines, divide by the number of gridline steps between them, and apply that unit value to your reading.
Log-scale axes appear in some applied problems and completely change domain reading. On a horizontal log axis, equal visual distances represent multiplicative jumps, so an endpoint one gridline left of 100 at a decade-per-line scale is 10, not some smaller arithmetic difference. Applied problems using log axes usually say so in the caption; if the caption is missing or unclear, confirm the scale with the source of the figure rather than guessing.
A useful discipline: before reading any single value, locate two labeled gridlines on the horizontal axis and compute the units per grid step. Write that number down. Every subsequent reading is measured against it, and a consistency check at the end catches slips, because the right endpoint of a curve that ends on a labeled line should match that label exactly.
Compare Reading Domain From Graphs Versus From Equations
The graph and the equation describe the same function, and cross-checking one against the other catches mistakes that neither source reveals alone. The table below reads the domain of four common function types from each representation, using standard forms.
| Function type | Domain from the equation | Domain from the graph | What the graph adds |
|---|---|---|---|
| Polynomial, y = xΒ³ β 4x | All real numbers | Continuous curve with arrowheads at both ends | Confirms no hidden break exists |
| Rational, y = 1/(x β 1) | All reals except x = 1 | Two branches split by a vertical asymptote at x = 1 | Shows the asymptote's exact position |
| Square root, y = β(x + 2) | x β₯ β2 | Curve starting at a solid dot at x = β2 | Shows whether the endpoint dot is solid or open |
| Rational with common factor, y = (x β 2)/(x β 2) | All reals except x = 2 | Horizontal line with a hole at x = 2 | Marks the removable hole the simplified equation hides |
The fourth row is the instructive one. Simplifying the expression gives y = 1 for x β 2, which makes the hole easy to forget. The graph shows it, and that visible hole is the only reason a domain answer of "all reals" misleads. Checking one representation against the other catches both directions of error.
Graphs are better when the excluded values are awkward numbers. If an asymptote sits at x = 1/3, the picture places it quickly, while the algebra needs the denominator set to zero and solved. Equations are better when the graph is cropped or low-resolution, because the algebra gives an exact answer. Use both, and state which one you relied on if the problem asks for justification.
Write the Final Answer in the Form Your Course Accepts
Formatting conventions vary by course and by platform, and an otherwise correct domain can be marked wrong for using the wrong style. College algebra and precalculus courses usually accept either interval notation or inequality notation, and the syllabus or textbook usually states which one is preferred. Online homework systems often require a specific syntax: some accept the union symbol βͺ, while others want a capital U between intervals.
Write the answer in stages so errors are easy to spot. First list every excluded value on its own line. Then write the intervals with the exclusions applied. Finally convert to the notation the course requires. A three-piece domain written as (ββ, 2) βͺ (2, 3) βͺ (3, β) is easy to check in stages and hard to corrupt in one careless pass.
Use set-builder notation when the domain is a discrete list or when the course specifies it. The form {x | x β 2, x β 3} is compact for two or three exclusions and becomes unwieldy for many. For a scatter-plot domain of six values, the roster form {1, 3, 5, 7, 9, 11} is clearer than either interval or set-builder, because the reader sees exactly which inputs exist.
One last check before submitting: substitute each excluded value back into the original expression and confirm it produces a division by zero, a negative radicand, or whatever restriction generated it. If an excluded value passes that test with no restriction, you excluded a point the graph actually contains, and the answer needs revising.
Interpret Domain Answers in Applied Graph Contexts
In applied problems, the graph's plotting limits often differ from the function's mathematical domain, and the answer depends on which one the question asks for. A revenue function studied in an economics class might be plotted from 0 to 500 units, with the curve mathematically extending past 500. The function's domain is all real numbers if it is a polynomial, but the meaningful domain for the problem is [0, 500], the range of realistic production. State which domain you are reporting.
Look for stated constraints in the problem text before defaulting to the mathematical domain. Problems about physical quantities usually include them: time cannot be negative, a radius must be positive, inventory cannot exceed warehouse capacity. The graph may show the curve extending past those limits for visual continuity, but the domain answer for the applied question stops at the constraint.
Quantitative fields use the same reading in software. In R, the domain() function returns the interval over which a curve is plotted when you build a plot with curve(), and the output reflects the from and to arguments you supplied, not the function's mathematical restrictions. In Python, SymPy's calculus module computes a function's domain symbolically, which serves as the equation-based check on your graphical reading. Neither tool replaces the picture; both cross-check it.
Report the domain with its context when the problem is applied. "Domain: [0, 500] units, representing the production range where the revenue model applies" is more useful than a bare interval. The graph gave you the numbers; the problem's setting told you which numbers matter.
FAQ
What is the domain of a graph that has two separate curves?
The domain is the union of the x-intervals each curve covers, written with the union symbol between them. If a graph shows one curve from x = β5 to x = β1 and another from x = 2 to x = 6, with solid dots at every endpoint, the domain is [β5, β1] βͺ [2, 6]. Each piece contributes its own interval, and nothing between β1 and 2 belongs to the domain. Count the pieces first, then read each one separately.
Can a domain include infinity?
No. Infinity is a symbol describing the direction the domain extends, never a number that belongs to it, which is why interval notation always pairs β with a parenthesis. The inequality form omits infinity entirely: x > 2 rather than x β₯ 2 for an unbounded right end. A closed bracket next to an infinity symbol is one of the most reliably marked errors on domain questions.
Does an arrowhead on a graph always mean the domain continues forever?
Only when the arrowhead is drawn at the graph's edge as a continuation marker. Some textbook figures use arrowheads as decoration or to indicate reading direction along an axis, and in those cases the graph may genuinely stop. Check the caption and the surrounding text. If a problem specifies that the graph is shown on a restricted window, treat the window's edges as the limits and note the assumption in your answer.
How do I find the domain of a graph that isn't a function, like a circle?
Read the horizontal extent of the entire plotted shape. A circle centered at the origin with radius 4 reaches from x = β4 to x = 4, so its domain is [β4, 4], with no exclusions because every x-value in that span has points on the circle. The same reading applies to ellipses and other closed curves. The domain concept does not require the graph to pass the vertical line test.
What is the fastest way to check a domain answer before submitting?
Substitute every excluded value into the original expression and confirm the restriction reappears, and substitute one value from inside each interval to confirm the expression is defined there. Two substitutions per excluded value plus one per interval catch nearly every error in under a minute. This check works for rational, radical, and piecewise cases alike, and it does not require re-reading the graph.
Is the domain of a discrete graph written with intervals?
No. A discrete graph has points at specific x-values and nothing between them, so the domain is the set of those values, written with braces such as {1, 3, 5}. Writing an interval implies the function exists at every value in the span, which the graph visibly contradicts. This distinction matters in data-reading questions, where a chart of daily readings has a domain of specific dates, not a continuous date range.