Write the domain and range of the function
For function to be defined,
x≠2
Therefore, D(f)= R-{2}.
Let
y=-1
Therefore, R(f) = {-1}.