Can someone take a look at the proof I've constructed below? Does this work and does anyone have any suggestions?
Suppose $A=\{(m,n)\in\mathbb{N}\times\mathbb{R}:n=\pi m\}$. Is it true that $\vert\mathbb{N}\vert=\vert A\vert$?
My answer:
Yes, this is true.
$Proof.$ Let us consider $f:\mathbb{N}\rightarrow A$ defined as $f(m)=(m,\pi m)$.
We see that $f$ is injective since $f(m)=f(n)$ gives $(m,\pi m)= (n,\pi n)$.
Now to see that $f$ is surjective take any $x=(b,b\pi)\in A$ and observe that $f(b) = x$.
But then $f$ is a bijection between $\mathbb{N}$ and $A$. It follows that $\vert\mathbb{N}\vert=\vert A\vert$. $\Box$