The Short Answer Before We Get Into It
Domain is every x-value the graph actually touches. Range is every y-value it touches. That's it. Most people overcomplicate this by trying to memorize rules for every function type instead of just looking at the graph and reading the axes. I've seen students lose points because they couldn't find the domain and range of a piecewise function drawn with arrows and open circles. The method doesn't change based on what looks fancy on the page. The process is mechanical. You look left to right for domain. You look bottom to top for range. Period. Here's what that actually means when you're sitting at a test or a homework assignment with a graph in front of you. For domain, scan the graph from the far left edge toward the far right edge. Note every x-value where there is a solid dot, a line segment, a curve, or anything plotted. If the graph has an arrow pointing left or right, that means it continues infinitely in that direction, so you use infinity notation. If there's an open circle at x equals negative three, that specific value is excluded. Closed circle means included. Square brackets for included, parentheses for excluded. You write it as an interval or a union of intervals.
For range, do the same thing but vertically. Bottom to top. Look at the lowest y-value and the highest y-value the graph reaches. Arrows pointing up or down mean infinity. Open and closed circles work the same way. If the graph has a horizontal asymptote at y equals two but never actually touches it, two is excluded from the range even though the curve gets arbitrarily close. I remember grading a midterm where someone was asked to find the domain and range of a rational function graph with a vertical asymptote at x equals five and a hole at x equals three. Half the class wrote five as part of the domain. They saw the asymptote and forgot that asymptotes don't block domain values the way holes do. The hole at x equals three was the actual exclusion. The asymptote just means the function blows up there, not that it's undefined in the domain sense. That distinction matters and it trips people up constantly.
What Most People Miss On The First Try
The biggest mistake isn't not knowing the definitions. It's misreading the visual information. Arrows get ignored. Open circles get treated as closed. Asymptotes get confused with actual points. Horizontal lines that look like they might be asymptotes are actually just flat portions of the graph. Another thing that catches people: graphs with restricted domains that aren't explicitly labeled. You'll see a curve that just stops at a certain point without an open or closed circle. In those cases, you assume the endpoint is included unless there's a clear visual indicator otherwise. But on formal tests, they usually mark it. If it's ambiguous, state your assumption. That shows you understand what you're doing rather than guessing. Here's a nuance that textbooks rarely emphasize. When a graph is given as a set of discrete points rather than a continuous curve, the domain and range are just the list of x-values and y-values present. No intervals. No infinity. Just the specific coordinates. I've seen students write interval notation for a scatter plot with six points. That's not how it works. Discrete graphs need roster notation or set notation, not interval notation.
Get the Full Details

Working Through A Concrete Example
Take a parabola that opens upward with its vertex at the point two comma negative one. The arms extend upward with arrows on both ends. For the domain, the parabola extends infinitely to the left and right. So the domain is all real numbers, written as negative infinity to positive infinity with parentheses on both sides since infinity is never actually reached. For the range, the lowest point is negative one at the vertex, and the graph goes upward forever from there. The range is negative one comma positive infinity, using a square bracket on the negative one since the vertex is included. Now take something less straightforward. A reciprocal function graphed with a vertical asymptote at x equals zero and a horizontal asymptote at y equals zero. The graph exists in the first and third quadrants. Domain excludes zero because the function is undefined there. Range also excludes zero because the curve approaches but never reaches the x-axis. Both are written as the union of two intervals: negative infinity to zero union zero to positive infinity. The notation looks ugly but it's precise.
When The Graph Method Fails And What To Do Instead
Sometimes you're not given a visual graph. You're given an equation and told to find the domain and range. In that case, you can't just look and read it off. You have to analyze the function algebraically. For domain, look for values that make the function undefined: division by zero, even roots of negative numbers, logarithms of non-positive numbers. For range, you often need to solve for x in terms of y and then apply the same domain restrictions to the inverted function. This is slower and more error-prone, which is why having a graph when possible saves a lot of time. There's also the case where the graph is given parametrically or as a relation rather than a function. Relations can fail the vertical line test, and that changes nothing about how you find domain and range. You still scan left to right and bottom to top. The only difference is that a single x-value might correspond to multiple y-values, which affects the range but not the domain calculation method. One practical tip that isn't obvious. When you're working with piecewise graphs that have multiple pieces joined together, check the boundary points carefully. A closed circle on the right end of one piece and an open circle on the left end of the next piece means there's no gap in the domain at that x-value. But if both are open, you have a actual hole and that x-value drops out of the domain entirely. I've spent too much time on practice problems losing points over exactly this kind of boundary condition.
The takeaway is that the skill here isn't memorization. It's visual literacy. You need to be able to look at a graph and translate what you see into interval notation quickly and accurately. Practice with different function types until reading the domain and range becomes automatic. Once it clicks, it's one of the faster problems on any exam because the method never changes regardless of how complicated the graph looks.
