Answer with Step-by-step explanation:
We are given that a function

where x can be any real number except 0.
We have to create graph of f
The given function can be written as

We can see that when substitute the value of x less than 0 then we get

when we substitute the values of x greater than 0 then we get

Domain of f=R-{0}
Range of f(x)={-1,1}