I try to get the inverse of a simple function like
x^2,x≥0. Still, when I use InverseFunction Mathematica gives me back
-(y^0.5) which is indeed an inverse, but for x≤0:
InverseFunction::ifun: Inverse functions are being used. Values may be lost for multivalued inverses.
I know I could just fix the problem putting a minus before InverseFunction. But is there a way to choose which of the inverse function I can get back, when I deal with a non-injective function like
x^2? In other words, which is the option so that InverseFunction gives me back
(y^0.5) instead fo