Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Suppose there exist embeddings $f:X\to Y$ and $g:Y\to X$. Show by means of an example that $X$ and $Y$ need not be homeomorphic.

I set $X=(0,1)$ and $Y=(0,\frac{1}{2})\cup (\frac{1}{2}, 1)$. I think $f:X\to Y$ defined by $f(x)=\frac{x}{2}$ is an embedding, correct? Also, clearly $g:Y\to X$ defined by $g(y)=y$ is an embedding. But as $X$ is connected and $Y$ is disconnected, there is no homeomorphism between them.

Is this okay?

share|cite|improve this question
Seems correct to me. – Ilya Jun 24 '13 at 11:07
See also this previous question of mine:… – Luca Bressan Oct 17 '13 at 16:41
up vote 1 down vote accepted

Yes, seems correct to me. In this mathoverflow question I asked for even more stringent examples (continuous bijections both ways, but not homeomorphic). Note that there can no bijection from $X$ onto $Y$ in your example by the same connectedness reason. So more complex examples can be found there as well.

share|cite|improve this answer

Here is another example, perhaps nicer:

Take $X=(0,1)$ and $Y=[0,1]$. Clearly the spaces are not homeomorphic because one is compact and the other is not; but the map $x\mapsto\frac{1+x}4$ is an imbedding from $X$ into $Y$ and from $Y$ into $X$.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.