Can I ask some questions?
f(x)= root(x-1) when x >= 1 and 1 - x, when x < 1.
(1) Does f have a left inverse or right inverse? if yes in either case, find it.
I guess this is not both injective and surjective, so did not know what types of inverse it has.
So, I just answered...