as you already know, to get the inverse of any expression, we start off by doing a quick switch on the variables, and then solve for y.

for that inverse to be a function, it has to be a one-to-one function, and that can only happen if it can pass the horizontal and vertical lines tests, and that can only be if x ⩽ 0, check the picture below.