Determine whether the equation $y^2=x+6$ defines $y$ as a function of $x$. Find its domain and range.
What I have tried: $$y^2=(\sqrt{x+6})^2\Longrightarrow y=\pm\sqrt{x+6}$$
Therefore, the above equation does not represent a function, because to be a function, for each input there must be a unique output. But here there is no unique output for any $x>-6$.
But for domain and range, can we say that domain is $[-6,\infty )$ and range is $\mathbb{R}$? I ask because I know we can plot it in Cartesian coordinates.
Thank you.