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.
[tex]Domain=R-\{0\}[/tex]
[tex]Domain=(-\infty,0)\cup (0,\infty)[/tex]
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.
[tex]Range=R-\{0\}[/tex]
[tex]Range=(-\infty,0)\cup (0,\infty)[/tex]
Therefore, the correct option is B.