differential equation query
Hello, regarding the differential equation: "dy/dx = -x/y"
The general solution is y^2+x^2 = c.
I am wondering why it is expressed this way instead of "y=-x^2+c" ?
I thought you had to seperate the x and y to opposite sides of the equation ?
Thanks for any help.