This kind of questions is perhaps very familier here but still I'm in trouble to solve it. The problem that I have asked is "Consider closed unit disc in $\mathbb{R}^2$ i.e. the set $D=\{z\in \mathbb{C}:|z|\leq 1$$\}$ and the closed interval $I=[-1,1]$ .Prove that there does not exist any continuous on to map from $D$ to $I$?"
MY TRY: If possible let $f$ be such on to continuous map from $D$ to $I$. let $f(x)\in (-1,1)$ ,For some $x\in D$.By continuty ,for some $s>0$ at $f(x)$ if we consider an open ball $B_s(f(x))$ we can find an open set at $x$ in $R^2$ say, $U_x$ such that the second ball is the inverse image of the first ball. This tells us that those $x$ cann't lie at the boundary of the disc as every open sets at the boundaries are not contained in $D$ but $f$ is defined only in $D$. So the image of the boundary is need to be either $\{$$-1,1$$\}$ or singletons$\{$$-1$$\}$ or $\{$$ 1$$\}$. The image cann't be $\{$$ -1,1 $$\}$ as the boundary of $D$ is connected. If the image is $\{$ 1$\}$ then the inverse image of $\{$$-1$$\}$ is the set set obtained by removing two sets ,the boundary of $D$ and an open set (inverse image of $(-1,1)$) which is not closed. This also can't be happen as inverse image of closed sets is closed under continuous map!By similar argument we can disprove $\{$$-1$$\}$ as image of boundary points.
Considering these arguments I'm saying such $f$ does not exist. Have I done correct? If there are any other way to do it, please give me a hint! I have always find hard to solve such problems like "existense of on to or one one continuous map between interval to interval,disc etc", can you suggest me any book or notes regerding those problems? Thanks for reading.