We have discrete metric space on set $X$.
My book says without proof that if we take $X=Q$ and for second metric space $X=Z$ then we are getting isometric spaces.Can you help me figure out why.
We have discrete metric space on set $X$.
My book says without proof that if we take $X=Q$ and for second metric space $X=Z$ then we are getting isometric spaces.Can you help me figure out why.
First of all there are at least two possible meanings behind the "discrete metric space" term. I will call them weak and strong (which is not a standard nomenclature):
Obviously strong implies weak, but not vice versa (as I will show later).
Lemma. Let $(M_1,d_1)$, $(M_2,d_2)$ be two strong discrete metric spaces. Then $(M_1,d_1)$ is isometric to $(M_2,d_2)$ if and only if they are of the same cardinality.
Proof.
"$\Rightarrow$" Every isometry is a bijection, thus they have the same cardinality.
"$\Leftarrow$" Assume that $f:M_1\to M_2$ is a bijection. We will show that $f$ preserves distance and so it is an isometry. Indeed, if $x\neq y$ then $f(x)\neq f(y)$. But then $d_1(x,y)=1=d_2(f(x),f(y))$ by definition of $d_1$ and $d_2$. $\Box$
Corollary. $\mathbb{Q}$ and $\mathbb{Z}$ with strong discrete metrics are isometric.
Proof. It is well known that both $\mathbb{Q}$ and $\mathbb{Z}$ are countable (for example see this). Therefore by our lemma these are isometric, given the strong discrete metric on both side. $\Box$
Note that the lemma is not true for weak discrete metric spaces, even of the same cardinality. Consider $X=\{1,2\}$. We will define two metrics on $X$. First of all note that it is enough to define a metric on $(1,2)$ pair only. Put: $d_1(1,2)=1$ and $d_2(1,2)=\frac{1}{2}$. Then $(X,d_1)$ and $(X,d_2)$ are both weak discrete spaces, but they are not isometric. Note that $(X,d_1)$ is strong discrete but $(X,d_2)$ is not.