Restrict attention to $\mathbb R^2$ (2D/cartesian plane).
Attempted definition: Given an equation (in variables $x$ and $y$), define the graph of that equation to be the set of points $(x,y) \in \mathbb{R}^2$ for which the equation holds. (Now we can as usual talk about the graphs of $y=x$, $x^2+y^2=1$, etc.)
The above definition seems reasonable but now suppose we're given the equation $\sqrt{1-x}=\sqrt{x-3}$. Observe that $2$ solves this equation but with $\sqrt{1-2}=\sqrt{2-3}=-\mathrm{i}$. Here there's the question of whether or not we want to accept that $2$ is a solution to the given equation. Then how might we correct the above definition depending on whether
- We do want to accept that $2$ is a solution--so that the graph of the given equation is the vertical line $x=2$; or
- We don't (say because we're in a high-school setting where complex numbers haven't been introduced)--so that the graph of the given equation is the empty set?