Trying to get started on proving the following (in particular using the Cantor-Bernstein-Schroeder Theorem).
Show that $\vert\mathbb{R}^2\vert=\vert\mathbb{R}\vert$.
Now the book suggests to start by showing $\vert(0,1)\times(0,1)\vert=\vert(0,1)\vert$.
It is easy enough for me to find an injection $f:(0,1)\rightarrow (0,1)\times (0,1)$ as follows. Let $f$ be defined as $f(x)=(x,x)$. But finding an injection $g:(0,1)\times (0,1)\rightarrow (0,1)$ is proving more difficult.
Would the function defined below work as a injection from $(0,1)\times (0,1)\rightarrow (0,1)$?
Let $g$ be defined as $g(0.b_1 b_2 b_3 b_4..., 0.c_1 c_2 c_3 c_4...)=(0.b_1c_1b_2c_2b_3c_3b_4c_4...)$