A function's graph is a direct visual record of its domain and range. The domain is the shadow of the graph on the -axis, and the range is the shadow on the -axis. This section develops that idea through precise procedures and worked examples.
Quick Reference
| To find | Draw a line | Interpret |
|---|---|---|
| Domain | Vertical lines sweeping all | Domain = -values where vertical lines hit the graph |
| Range | Horizontal lines sweeping all | Range = -values where horizontal lines hit the graph |
Finding Domain and Range from a Graph

- To find the domain: for each -value, draw a vertical line. If it intersects the graph, that is in the domain. The domain is the set of all -values that produce an intersection.
- To find the range: for each -value, draw a horizontal line. If it intersects the graph, that is in the range. The range is the set of all -values that produce an intersection.
The function is graphed below. Find its domain and range.

Solution
A vertical line intersects the graph of for every except (there is a hole at ). So is not in the domain. Horizontal lines intersect the graph only at and . Therefore:The function is graphed below. Determine the domain and range of .

Solution
A vertical line through any always hits either the left piece or the right piece of the graph. Therefore, every real number is in the domain: Horizontal lines through all intersect the right piece, and the horizontal line intersects the left piece. No horizontal line through and hits the graph. Therefore:Find the range of where .
Solution
We sketch the graph by building a table of values, making sure to include the endpoints and :| $0$ | $0.5$ | $1$ | $1.5$ | $2$ | |||
|---|---|---|---|---|---|---|---|
| $1$ |
![Graph of y = x² - 3 on the interval [-1, 2].](https://adaptivebooks.org/book-images/precalculus/Ch1-Range-Example3.png)