I have two relations:
$R_1:=\{(x,y)| x^2=y\} \subseteq \mathbb{N} \times \mathbb{R}$
$R_2:=\{(y,x)| x^2=y\} \subseteq \mathbb{R} \times \mathbb{N}$
$R_1$ is a total function
$R_2$ is a partial function
I´m trying really hard to understand but just struggle to get it. Could someone correct my understanding of it. So for $R_1$:
I take a $x$ from $\mathbb{N}$, for example $4$ $\subseteq$ $\mathbb{N}$ the corresponding $y=2$. That seems to apply. Generally,$ y=x^2 \subseteq \mathbb{N}$ and thus $\mathbb{N}\subseteq \mathbb{R}$. For $R_2$ I mean I just dont see the difference, the $y$ are still coming from $\mathbb{R}$ and $x$ from $\mathbb{N}$. So taking a negative $y$ still results in positive $x$. Could someone explain me that?