Here is an interesting observation on what you wrote:
x(y) = (+/-) sqrt(y)
is not valid notation. On the left hand side you are stating that x is a function of y. But on the right hand side your usage of (+/-) indicates that y can go to two different values. Hence x is not a function of y. To be a function one must have each input going to a distinct output.
in programming, y = f(x) = x^2 is one way; 'y' is a label for a function of one variable.
But in math there is no fixed typing, or distinctions. The symbolic equation represents a relationship.
Hence:
y(x) = x^2 <=> x(y) = (+/-) sqrt(y)
the domain and domain can be switched and the entire equation rearrange so that a 'variable' becomes a 'function'.