I have the following function: $$f(w,y-x) = \operatorname{sgn}[y-x]|y-x|^w$$, where $w \geq 0, (y-x) \in[-1,1]$, which results in $f(w,y-x) \in [-1,1]$.
I would like to find its inverse function with respect to $x$. But I got stuck when trying to invert the sign function and the absolute function. Can you show me how to invert the function please ? $$x = ???$$