2

I was trying to determine all metrics possible on a set $X$ when size of $X$ equals two. It is clear that the discrete metric is one possible metric. But is the only requirement that the metric assign different positive real number to $d(x,y)$ and zero to $d(x,x)$? And if so, is

$d(x,y) = r$,

$d(x,x) = 0$

a metric for every possible $r \in \mathbb R_{> 0}$?

The other case I am thinking about is $|X|=1$. Are there any other metric apart from $d(x,x) = 0$?

Just Me
  • 21

1 Answers1

1

On a set of two elements, the only thing to determine is $d(0,1)$. So in fact, the set of all metrics is in bijection with $\mathbb R_+^*$.

Damien L
  • 6,649