Given:
The graph of a function.
To find:
The domain and range of the function.
Solution:
We have, the graph of a function and we need to find the domain and range of the function.
We know that, domain is the set of input values (x-values) and range is the set of output values (y-values).
From the given graph it is clear that function is defined for all values of x except x=0 because as x tends to 0 the function tends to negative or positive infinite. So, domain can be any real number except 0.
![Domain=R-\{0\}](https://img.qammunity.org/2022/formulas/mathematics/high-school/xm9i0nofvpnjylmhf0cfpa3u7kelcb61xg.png)
![Domain=(-\infty,0)\cup (0,\infty)](https://img.qammunity.org/2022/formulas/mathematics/high-school/fyvhoyot3udguqnnttjmxvdhp4pb7nrr76.png)
From the given graph it is clear that the value of function can be any real number except y=0. So, range can be any real number except 0.
![Range=R-\{0\}](https://img.qammunity.org/2022/formulas/mathematics/high-school/odh39zxorulq7txqlbrk1palj937opk8lo.png)
![Range=(-\infty,0)\cup (0,\infty)](https://img.qammunity.org/2022/formulas/mathematics/high-school/974ootqlaensa6416mpbvggtef8p0fiuip.png)
Therefore, the correct option is B.