Can anyone give me an metric space that is not complete and not separable??
(I can think of the other three combinations.)
Thank you!!
Can anyone give me an metric space that is not complete and not separable??
(I can think of the other three combinations.)
Thank you!!
Take your favourite non-separable metric space $A$, for concreteness an uncountable set with all non-zero distances equal to $1$. Let $B$ be the non-complete space the open interval $(0,1)$ with the usual distance. and your favourite non-complete metric space. We can arrange for $A$ and $B$ to be disjoint.
Let $X=A\cup B$. Define a distance function on $X$ by using the inherited distances for points that are both in $A$, or both in $B$. If $a\in A$ and $b\in B$, declare the distance from $a$ to $b$ to be $1$. Then $X$ equipped with this metric is neither separable nor complete.