I'm confused with something once again in my notes. The question is,
$R$ on $\mathbb R$, $R = \{ (x, y): y = \sqrt{x} \}$ is not a function
how is the graph $y = \sqrt{x}$ not a function?
$ y = \sqrt{x} $
$ x = y^2 $
Dom of $R = \{ x \in \mathbb R : x \ge 0 \} $
This is what the graph should be accordingly to the condition above
Then i got another question that says
R on $\mathbb R$, $ R = \{ (x, y): x = y^2 \} $ is a function
which isn't it the same as the above?
Can anyone kindly explain?




The question you include seems to be asking:
You are correct both in that $\{(x,y):y=\sqrt{x}\}$ is a function and that the domain of this function is $\{x\in \mathbb R:x\geq 0\}$. However, the answer is therefore "No" because the domain of the function is not $\mathbb R$, as would be required of a function $\mathbb R\rightarrow\mathbb R$.
If you are given the domain, then when you apply the vertical line test, you require that, for each $x$ in the domain there is exactly one $y$ such that $(x,y)$ is in the function. Here, the function fails, for instance taking $x=-1$ where no pairs $(-1,y)$ are included in the given relation.
For the second question, note that $x=y^2$ has two solutions for $y$ for positive $x$, which are $\sqrt{y}$ and $-\sqrt{y}$. Thus, if you choose any positive $x$, you can relatively easily find that two pairs are included of the form $(x,y)$, so it fails the vertical line test. Try plotting the set of pairs like you did with the square root function.