I have an exercise that consists of 2 parts that I don't really know how to prove.
Consider the relation $\mathcal R$ on $\mathbb {N}$ defined as follows: for all $a, b$ ∈ $\mathbb {N}$, a$\mathcal R$b if there exist $m, n$ ∈ $\mathbb {N}$\{0} such that $am^2$ = $bn^2$ . Show that $\mathcal R$ is an equivalence relation. Show that the set $\mathbb {N}$/$\mathcal R$ is infinite.
Consider the relation $\mathcal Q$ on $\mathbb {R}$ defined as follows: for all $x, y$ ∈ $\mathbb {R}$, x$\mathcal Q$y if there exist $r$ ∈ $\mathbb {R}$\{0} such that $x = yr^2$ . Show that $\mathcal Q$ is an equivalence relation. How many elements are there in $\mathbb {R}$/$\mathcal Q$?
So I've been reading my script and I know that an equivalence relation is a relation that is reflexive, symmetric and transitive. For the first task, it seems somewhat intuitive that this is an equivalence relation. But I'm struggling with proving this mathematically correct.