0

to prove that $d(x,y)=|x-y|$ is a metric on any subset of $R^n$.

For this it must satisfy these three conditions,

$1)d(x,y)=d(y,x)$

My response is: $|x-y|=|y-x|$.

$2)d(x,y)\gt 0,d(x,y)=0 $ if $x=y$.

My response is: $|x-y|=\sqrt{(x-y)^2}\gt 0\;\;\sqrt{(x-y)^2}= 0$ if $x=y$ .

$3)d(x,z)\le d(x,y)+d(y,z)$.

My response is: $|x-z|\le|x-y|+|y-z|$.

Is my proof correct?

amWhy
  • 209,954

0 Answers0