There is a metric space on $\mathbb{Q}$ such that this space be compact.

102 Views Asked by At

Prove or disprove:

There is a metric space on $\mathbb{Q}$ such that this space be compact.

I find some examples of non equivalent metric on rational numbers, euclidean metric, p-adic and discrete metric but all of the them is not compact .

1

There are 1 best solutions below

0
On BEST ANSWER

Take a bijection between $\Bbb Q$ and the set $\{\frac{1}{n}\mid n\ge 1\}\cup \{0\}$ and use it to define the metric.