I have the following exercise:
$M$ is a non empty set and $d: M\times M \to \mathbb R$ and application such that:
a) $d(x,y)=0\iff x=y$
b) $d(x,z) \le d(x,y)+d(y,z)$
show that $d$ is a metric
Aren't those 2 of the properties for a metric space? Also, wouldn't $b)$ imply that:
$$d(x,x)\le d(x,y)+d(y,x) \implies 0 \le d(x,y)+d(y,x)$$
which if we accept that $d(x,y) = d(y,x)$:
$$0 \le 2d(x,y) \implies d(x,y) \ge 0$$ ?
So, wouldn't it be necessary for a metric space to have only:
$$d(x,y)\ge 0$$ $$d(x,z)\le d(x,y)+d(y,z)$$ $$d(x,y)=0\iff x=y$$ ?
What am I not getting here?
UPDATE: the right question is:
$M$ is a non empty set and $d: M\times M \to \mathbb R$ and application such that:
a) $d(x,y)=0\iff x=y$
b) $d(x,z) \le d(x,y)+d(z,y)$
show that $d$ is a metric