$d(x,y) = | x^{2} - y^{2}|$ and $ d(x,y) = | x^{3} - y^{3}|$ are metrics on $\mathbb R$ or not$?$
Clearly,
$d(x,x) = 0$
$d(x,y) = d(y,x)$
$d(x,y) ≥ 0$ , for all $x,y$ for both.
Now, for fourth axiom.
$d(x,z) = |x^{2} - z^{2}| = |x^{2} - y^{2} + y^{2} - z^{2}| ≤ |x^{2} - y^{2}| + |y^{2} - z^{2}| = d(x,y) + d(y,z)$
Similarly, $d(x,z) = |x^{3} - z^{3}| = |x^{3} - y^{3} + y^{3} - z^{3}| ≤ |x^{3} - y^{3}| + |y^{3} - z^{3}| = d(x,y) + d(y,z)$
So both should be metrics. But answer is given that only the second one in metric. So what's wrong with my proof. I think something is wrong with my proof of fourth axiom. I've just started metric spaces today.
Please suggest..