$$ d(A, B) = |A-B|^2 $$
I'm told to consider the following: For the Euclidean metric, denoted by $d_2$, and defined by
$$ d_2(A,B) = \sqrt{(x_A - x_B)^2 + (y_A - y_B)^2} $$
How are they related, the later seems to be ($|A^2+B^2|$)
$$ d(A, B) = |A-B|^2 $$
I'm told to consider the following: For the Euclidean metric, denoted by $d_2$, and defined by
$$ d_2(A,B) = \sqrt{(x_A - x_B)^2 + (y_A - y_B)^2} $$
How are they related, the later seems to be ($|A^2+B^2|$)
For a map $d:X^2\to[0,\infty)$ to be a metric on $X$, it must satisfy the conditions for all pairs of points $(x,y)\in X^2$. So a single counterexample suffices. In this example, if $a=0$, $b=1$, $c=2$ then $$ d(a,c) = |0-2|^2 = 4 > 2 = |0-1|^2 + |1-2|^2 = d(a,b)+d(a,c). $$ It does not matter how we arrive at the counterexample, only that it is valid. Which in this case it is, in showing that the map $(x,y)\mapsto|x-y|^2$ is not a metric on $\mathbb R$, as the triangle inequality does not hold.