I'm at the beginning of learning metric spaces and I've been given a fundamental problem.
Let $\left ( X,d \right )$ is metric space. Let $Y\subset X$. For $x,y\in Y$ we put $d^{*}\left ( x,y \right )=d\left ( x,y \right )$. Prove that function $d^{*}:YxY\rightarrow \mathbb{R} $ is metric on Y.
My solution: I need to verify three metric properties:
- $d(x,y)\geqslant 0,\hspace{0.2cm} \forall x,y\in X\hspace{0.2cm}\text{and}\hspace{0.2cm}d(x,y)=0\hspace{0.2cm}\text{iff} \hspace{0.2cm}x=y\\$
- $d(x,y)=d(y,x)\hspace{0.1cm}(\text{symmetry})\hspace{0.2cm} \forall x,y\in X\\$
- $d(x,y)=d(y,x)\hspace{0.1cm}(\text{symmetry})\hspace{0.2cm} \forall x,y\in X\\$
We can see that it verifies the second condition since $d\left ( x,y \right )=d\left ( y,x \right )=d^{*}\left ( x,y \right )=d^{*}\left ( y,x \right )$.
But how should I verify the first and the second one?