The following question was asked in my topology assignment and I was unable to solve it, so I am looking for help here.
Example of non separable subspace of a separable hausdorff space.
I couldn't construct such example and I looked for an answer by searching mathstackexchange and found this answer :Density character of a subspace of a topological space.
But this is beyond my understanding as I have just started 1st course in topology (2 weeks back) and I am unable to understand that terminology.
So, kindly give a answer which is for a person that has just started learning topology. I am following Lecture notes and Assignment sheets of the course and not any textbook.
Thank you!
bof has given you the useful example of the Michael line; here are two more examples that are also useful examples of a variety of things.
The Sorgenfrey plane $\Bbb S^2$ is the product of two copies of the Sorgenfrey line $\Bbb S$, which is $\Bbb R$ with the topology generated by the base $\big\{[a,b):a,b\in\Bbb R\text{ and }a<b\big\}$. (The Sorgenfrey line is also known as the reals with the lower-limit topology.) The topology on $\Bbb S^2$ is finer than the usual topology on $\Bbb R^2$, so it is Hausdorff. $\Bbb Q\times\Bbb Q$ is a countable dense subset of $\Bbb S^2$, which is therefore separable. But $\{\langle x,-x\rangle:x\in\Bbb R\}$ is an uncountable discrete subspace of $\Bbb S^2$, so it is not separable.
The Niemytzki plane is another useful example. Let $X=\{\langle x,y\rangle\in\Bbb R^2:y\ge 0\}$, the closed upper half-plane. Let $p=\langle x,y\rangle\in X$.
It’s straightforward to check that $X$ is Hausdorff, and clearly $X\cap(\Bbb Q\times\Bbb Q)$ is a countable dense subset of $X$, so $X$ is separable. However, the $x$-axis is a discrete subspace of $X$ that is uncountable and therefore not separable.
Two other important examples are noted in this answer: $\beta\Bbb N$, the Čech-Stone compactification of the natural numbers, and the Mrówka space $\Psi$.