The domain of a function is the set of all input values for which the function is well defined. Generally, domain consists of all x-values of the function. Hence, the function is defined in the interval .
The range of a function is the set of output values obtained by substituting the value of x in the function. Hence, the function is defined in the interval .