You may have mixed up the definitions of domain and range. The domain of the function is the set of all input values, or x-coordinates, and the range of the function is the set of all output values, or y-coordinates.