I am working on this exercise for an introductory Real Analysis course:
Show that |$\mathbb{R}$| = |$\mathbb{R}^2$|.
I know that $\mathbb{R}$ is uncountable. I also know that two sets $A$ and $B$ have the same cardinality if there is a bijection from $A$ onto $B$. So if I show that there exists a bijection from $\mathbb{R}$ onto $\mathbb{R}^2$ then I beleive that shows that |$\mathbb{R}$| = |$\mathbb{R}^2$|.
Let $x_i \in \mathbb{R}$, where each $x_i$ is expressed as an infinite decimal, written as $x_i = x_{i0}.x_{i1}x_{i2}x_{i3}...,$. Each $x_{i0}$ is an integer, and $x_{ik} \in \left \{ 0,1,2, 3, 4, 5, 6, 7, 8, 9 \right \}$. Then, let
$$f(x_i)=(x_{i0}.x_{i1}x_{i3}x_{i5}... ,x_{i0}.x_{i2}x_{i4}x_{i6}...)$$
What should I do to show that $f: \mathbb{R} \to \mathbb{R}^2$ is an injective function? Any suggestions or help with the question would be appreciated.
$$f(0.0090909090...)=(0.0999999,0)=(0.10000,0)=f(0.1000)$$ so $f$ is not a bijection.
we know there is a (continuous) surjective function $f:\mathbb{R}\to\mathbb{R}^2$ (or find any other surjective function). then by axiom of choice, there are some $A\subseteq\mathbb{R}$ and some bijection $g:A\to\mathbb{R^2}$. we have $$|\mathbb{R}^2|=|A|\leq|\mathbb{R}|\leq|\mathbb{R}^2|$$