2

Q. Let $d :\mathbb R \times \mathbb R →[0,\infty)$ be defined by $$d(x,y)=\frac{||x|-|y||}{1+|x||y|}$$ then is it a metric on $\mathbb R $?

Positive definitness is clear but i couldn't clear the triangular inequality, can we do with $d(x,y)=\frac{||x|-|y||}{1+|x||y|}\leq |x-y|$?

Riaz
  • 2,174
  • 1
    As José Carlos Santos pointed out in his answer, identity of indiscernibles fails to hold. Perhaps you meant $$d(x,y) = \frac{|x-y|}{1+|x||y|}$$ instead? I suspect this would be a metric. – Luke Collins Jun 08 '19 at 15:55

1 Answers1

4

No, because $d(1,-1)=0$, in spite of the fact that $1\neq-1$.