I am supposed to solve the following problem.
Let d be a metric on X. Is $d^{2}$ then a metric on X?
I verify the three conditions determining the metric space:
- $ \forall x,y,z \in X: d(x,y )\geq 0\Rightarrow \left ( d \left ( x,y \right ) \right )^{2}\geq 0 $
- $ \forall x,y,z \in X: d(x,y )=d(y,x )\Rightarrow \left ( d \left ( x,y \right ) \right )^{2}\Rightarrow \left ( d \left ( y,x \right ) \right )^{2}$
Is that correct? How should I verify the triangle inequality?