We have,
f(x)=|x−1|x−1
Now for,
|x−1|=(x−1)when,x>1
|x−1|=−(x−1)when,x<1
∴f(x)=x−1x−1=1x∈(1,∞)
f(x)=−(x−1)x−1=−1x∈(−∞,1)
Now, for x=1
Then,
R.H.L.
limx→1+f(x)=limh→0f(1+h)=limh→0|1+h−1|1+h−1=hh=1
L.H.L.
limx→1−f(x)=limh→0f(1−h)=limh→0|1−h−1|1−h−1=−hh=−1
Hence, It does not exits.
Then, Range is [−1,1]
Domain is [−∞,∞]
Range is R−{1}
Domain is (−∞,∞)−{1}
Hence, this is the answer.