Question
Question: What is the domain and range of \[\dfrac{1}{{x + 2}}\]?...
What is the domain and range of x+21?
Solution
We need to find the domain and range of x+21. Domain of a function is the set of all values which qualify as input in a function. It is basically the set of values which is possible so that the function is defined. Range of a function is the set of all the output we get after substituting the values of the domain.
Complete step by step answer:
We need to find the domain and range of x+21.
Let y=x+21
First of all, let us find the domain of x+21.
For that, we need to find the values of x for which the function x+21 is not defined. A fraction ba is not defined when b=0.
So, let us first find all those values of xfor which the function x+21 is not defined.
For that, we need to put x+2=0
Solving the above equation, we get
⇒x+2=0
⇒x=−2
Hence, we see that x+21 is not defined for x=−2 only and is defined for all other real values of x
So, The domain of x+21 is \mathbb{R} - \left\\{ { - 2} \right\\}, where R is the set of all real numbers.
Now, we shall find the range of x+21.
We have, y=x+21
Finding the range of x+21 means we need to find all the values that y can take.
To find the range, we need to solve y=x+21 and write x in terms of y so that we can find the values of y for which the function is not defined.
Let us now solve y=x+21
⇒y=x+21
By cross multiplying, we get
⇒y(x+2)=1
Reshuffling the terms, we get
⇒(x+2)=y1
Now, subtracting 2 from both the sides, we get
⇒x+2−2=y1−2
Solving the terms, we get
⇒x=y1−2
Here, we see that y can take all the real values except 0 as if y=0, then y1 becomes not defined.
Hence, we say that Range of x+21 is \mathbb{R} - \left\\{ 0 \right\\}, where R is the set of all real numbers.
Note: We can also do this question by plotting a graph of the given function and then interpreting from the graph the values which are taken by x, which constitute the domain of the function. And, the values which are taken by the graph of the function constitute the range of that function. And, while we are solving theoretically, we need to consider all the values for which the function is not defined and not just some points.