Which x-values go in, and which y-values come out?
The domain of a function is the set of all valid inputs (x-values). The range is the set of all possible outputs (y-values). For f(x) = √x, the domain is x ≥ 0 because you cannot take the square root of a negative number.
On a graph, the domain is the horizontal extent of the curve, and the range is its vertical extent. Some functions have restricted domains — holes, asymptotes, or square roots that cut off part of the graph.
Ask the AI anything — try "What is the domain of 1/(x − 2)?" or "Why can't the range of x² include negative numbers?"