Every function has a collection of allowed inputs (its domain) and possible outputs (its range). Learn to read these sets on a number line, calculate restrictions from formulas, and project a graph onto its axes.
01 · Interval notation and number lines
Write the smaller value first, then the larger value. Use a parenthesis ( ) when a boundary is excluded, and a bracket [ ] when it is included. Always write parentheses beside −∞ and ∞: infinity is not a real number you can reach.
Set-builder notation: {x ∈ ℝ | condition} means “all real numbers x such that the stated condition holds.” The symbol ∪ joins two pieces of a set.
INTERVAL NOTATION · Quick reference
Choose an interval shape, then move its boundaries. Watch the inequality, set-builder notation, and interval notation change together with the number line. With Two pieces, build each piece separately: every finite end can be open or closed, and the outer ends can also run to −∞ or ∞.
02 · Domain from a function's equation
An input x belongs to the domain precisely when the rule gives a real, defined output. For a polynomial, every real input works. For a rational expression, no denominator may equal zero. For an even root, its radicand must be nonnegative; if that root appears in a denominator, it must be strictly positive.
Pick a formula and change k (or a and b for the last three formulas). Try inputs to the left, at, and to the right of a restricted value. The number line shows the whole domain, while the indicator checks your chosen input.
03 · Read domain and range directly from graphs
Ask “Which x-values occur?” Imagine the graph casting a shadow onto the x-axis. Include only x-values actually reached by the graph.
Ask “Which y-values occur?” Imagine the graph casting a shadow onto the y-axis. Include only y-values actually reached.
Select a graph and choose which axis to inspect. Orange shows the function; the blue highlight shows all allowed inputs or all attained outputs. Open/filled endpoints and any asymptotes matter.
04 · Experiment with the range of a parabola
Move the vertex of f(x) = a(x − h)² + k. The x-values are unrestricted, but the vertex gives the smallest or largest y-value. The projections update as you move the vertex.
The vertex is (1, −2). If the parabola opens down, what is its range?
When the parabola opens down, the vertex (1, −2) is the highest point, so every output is −2 or less: (−∞, −2]. The graph below now opens down. Move the vertex and watch the range change.Guided problems · Domain and Range
Practice each idea from this section: inequality notation, set-builder language, restrictions from equations, and domains and ranges read from graphs. Reveal a hint, check your answers, then try another set.
Intervals: open means excluded, filled means included; ∞ always uses parentheses. Equations: exclude zero denominators and negative even-root radicands (strictly positive for roots in denominators). Graphs: read domain left → right and range bottom → top; identify included endpoints and missing values.
Check your understanding · Domain and Range
Answer each question on paper first, then open the answer to check yourself.
How do we write −5 < x ≤ 2 in interval notation?
Show answer
(−5, 2]: −5 is excluded, so it gets a parenthesis; 2 is included, so it gets a bracket.
How do we find the domain of a function whose formula has a denominator?
Show answer
Set the denominator equal to 0 and solve. Those x-values are excluded; every other real number is in the domain.
How do we find the domain of a function whose formula contains an even root, such as a square root?
Show answer
The expression under the root must be ≥ 0. Solve that inequality, and reverse it if you multiply or divide by a negative number.
How do we find the domain of y = 2/√(x − 3)?
Show answer
The root is in a denominator, so x − 3 must be strictly positive: x − 3 > 0, so x > 3. The domain is (3, ∞).
How do we find the domain and range from a graph?
Show answer
Domain: the x-values the graph covers, read left → right (its shadow on the x-axis). Range: the y-values it covers, read bottom → top (its shadow on the y-axis). Open dots exclude an endpoint, filled dots include it, and arrows mean the graph continues to −∞ or ∞.