Given a injective, continuous function $f:\mathbb{R}\to\mathbb{R}^2$, it can be proved that the image $f(\mathbb{R})$ has empty interior; actually it can be proven a stronger version i.e. that $f(\mathbb{R})$ is a set of first category. I was thinking about this fact and I thought a couple of questions:
- In the same hypotesis, it is also true that $f(\mathbb{R})$ is a nowhere dense set?
- Does there exists such a function s.t. $\mathbb{Q}^2\subseteq f(\mathbb{R})$?
Clearly the two questions cannot have both an affermative answer, in fact each implies the negation of the other. How can these questions can be approached?
Suppose that $A\subset {\mathbb R}^2$ is a countable subset. Below a polygonal arc in the plane is the image of an injective piecewise-linear map $[0,1]\to {\mathbb R}^2$.
Here are the steps of the proof which I leave to you as exercises.
Show that every polygonal arc in ${\mathbb R}^2$ does not separate ${\mathbb R}^2$, i.e. its complement is connected.
Suppose that $L\subset {\mathbb R}^2$ is a polygonal arc and $p\in L$, $q\in {\mathbb R}^2\setminus L$. Show that $p, q$ can be connected by a polygonal arc in ${\mathbb R}^2$ that intersects $L$ only at $p$.
Now, enumerate $A$, $A=\{a_n: n\in {\mathbb N}\}$. Set $A_n=\{a_1,...,a_n\}$. Inductively construct polygonal arcs $L_n\subset {\mathbb R}^2$ connecting points $p_n, q_n$ so that $A_n\subset L_n$ and $L_{n+1}$ is a concatenation of $L_n$ with a polygonal arc $L'_n$, such that $L_n\cap L'_{n}=\{p\}$ is $n$ is even and $L_n\cap L'_{n}=\{q\}$ if $n$ is odd.
Conclude the existence of a piecewise-linear injective map ${\mathbb R}\to {\mathbb R}^2$ whose image contains $A$.