Find the domain and the range of the real function f defined by f (x) = |x – 1|.
Find the domain and range of the real function f defined by f(x)=√x−1.