What is domain ,range and function with examples?
Answers
Domain is a set of all possible values of the variable for which the function is defined.
if any other value out of the domain is taken ,the output can't be defined.
The set of all the outputs which are got putting the values from domain in function is called the range of the function.
We can't get any different output that is not exist in range by putting values from domain.
eg. f(x) =x-2 is defined for all real values of x. If we put any real value , the function will give us an output.
and it's range is also real numbers.
So it is defined from R to R.
For f(x)=1/x
The function is defined by any real number but not defined at x=0.
it's domain is R-{0}. It can out put any value except 0, because numerator is not 0 it can't give 0.
so it's range is also R-{0}.
The function f(x)=|x| has domain =R and Range = only non-negative values.
it is defined from R to [0,००)