The domain is already mentioned:
f has a minimum equals to -2 for and a maximum equals to 7 for or .
So, the range is
the range is the set of y-values (output values) we have. this is an upward opening parabola, the minimum value occurs at the vertex, so for all . we can see how high it goes by plugging in the end points. so the max value is , thus,
graph the function to see what i'm talking about
open a new thread with these questions and show your working (whatever you are able to do) based on the following:
the domain of a function is the set of input values (usually x-values) for which the function is defined or works. for the above question, the function was defined for , so that was the domain. if that wasn't specified, then all real x would be the domain, that is, all , since the unrestricted domain of polynomials is all real numbers, because any real number you plug in will work.
it is often easier to find what doesn't work and say the domain is everything but that. for example, for rational functions (functions that appear as fractions), the domain is all real numbers for which the denominator is NOT zero, provided there are no other restrictions; for example, the function contains squareroots (whose domain is all real numbers so that what is being squarerooted is greater than or equal to zero) or logs (whose domain is all real number so that what is being logged is greater than zero), etc.
the range is the set of output values (usually y-values) for which the function is defined, that is, all possible values we can obtain by plugging in any value from the domain
hope that helps.