Solveeit Logo

Question

Question: What is the domain and range of \[\dfrac{1}{{x + 2}}\]?...

What is the domain and range of 1x+2\dfrac{1}{{x + 2}}?

Explanation

Solution

We need to find the domain and range of 1x+2\dfrac{1}{{x + 2}}. 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 1x+2\dfrac{1}{{x + 2}}.
Let y=1x+2y = \dfrac{1}{{x + 2}}
First of all, let us find the domain of 1x+2\dfrac{1}{{x + 2}}.
For that, we need to find the values of xx for which the function 1x+2\dfrac{1}{{x + 2}} is not defined. A fraction ab\dfrac{a}{b} is not defined when b=0b = 0.
So, let us first find all those values of xxfor which the function 1x+2\dfrac{1}{{x + 2}} is not defined.
For that, we need to put x+2=0x + 2 = 0
Solving the above equation, we get
x+2=0\Rightarrow x + 2 = 0
x=2\Rightarrow x = - 2
Hence, we see that 1x+2\dfrac{1}{{x + 2}} is not defined for x=2x = - 2 only and is defined for all other real values of xx
So, The domain of 1x+2\dfrac{1}{{x + 2}} is \mathbb{R} - \left\\{ { - 2} \right\\}, where R\mathbb{R} is the set of all real numbers.
Now, we shall find the range of 1x+2\dfrac{1}{{x + 2}}.
We have, y=1x+2y = \dfrac{1}{{x + 2}}
Finding the range of 1x+2\dfrac{1}{{x + 2}} means we need to find all the values that yy can take.
To find the range, we need to solve y=1x+2y = \dfrac{1}{{x + 2}} and write xx in terms of yy so that we can find the values of yy for which the function is not defined.
Let us now solve y=1x+2y = \dfrac{1}{{x + 2}}
y=1x+2\Rightarrow y = \dfrac{1}{{x + 2}}
By cross multiplying, we get
y(x+2)=1\Rightarrow y\left( {x + 2} \right) = 1
Reshuffling the terms, we get
(x+2)=1y\Rightarrow \left( {x + 2} \right) = \dfrac{1}{y}
Now, subtracting 22 from both the sides, we get
x+22=1y2\Rightarrow x + 2 - 2 = \dfrac{1}{y} - 2
Solving the terms, we get
x=1y2\Rightarrow x = \dfrac{1}{y} - 2
Here, we see that yy can take all the real values except 00 as if y=0y = 0, then 1y\dfrac{1}{y} becomes not defined.
Hence, we say that Range of 1x+2\dfrac{1}{{x + 2}} is \mathbb{R} - \left\\{ 0 \right\\}, where R\mathbb{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 xx, 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.