I have two questions about continuous functions:
Suppose $X \subseteq \mathbb{R}$ and $X$ has same cardinality as $\mathbb{R}$. Can we find a continuous function from $X$ onto $\mathbb{R}$?
Suppose $X \cup Y = \mathbb{R}$. Can we find a continuous function from one of $X, Y$ onto $\mathbb{R}$?
The answer to (2) is affirmative. Let $f:R \to R^2$ be a continuous surjection. Let $\pi_x, \pi_y: R^2 \to R$ be projections onto $x, y$ axes. Now notice that if $X \cup Y = R$, then either $(\pi_x \circ f)[X] = R$ or $(\pi_y \circ f)[Y] = R$. Hence one of $X, Y$ can be continuously mapped onto $R$.