Write the domain and range of function f(x) given by f(x) = 1/√(x – |x|).