Blazing goIITian
for your second arguement try to plot graph of the inverse functions and see what can be chosen as principal value branch