Disprove Homeomorphism I have a problem that puzzles me. I need to show that the two sets 
$A = \{(x,y)  \in \mathbb{R}^2 \, \, \vert \, \, |x| \leq 1  \}$
and
$B = \{(x,y)  \in \mathbb{R}^2 \, \, \vert \, \, x \geq 0 \}$
are not homeomorphic; but I'm not able to figure out how start or what I need to arrive at.
The one-point compactification of $A$ is homeomorphic to the space $X$ obtained by identifying the points $\langle 0,1\rangle$ and $\langle 0,-1\rangle$ of the disk $D=\{\langle x,y\rangle:|x|+|y|\le 1\}$. The one-point compactification of $B$ is homeomorphic to $D$ itself. $X$ and $D$ are not homeomorphic, so $A$ and $B$ cannot be homeomorphic. However, I don’t immediately see a way to prove that $X$ and $D$ are not homeomorphic without using homotopy.
What about this: if A and B are not homeomorphic, then there exists a continuous bijection $ f: \, A \rightarrow B $ such that $ f^{-1} $ is not continuous. Then look at the function $f(x,y) = \left( \tan\left( \frac{(1+x) \pi}{4} \right), y  \right)$. Problem at $ x = 1 $ ?