2
$\begingroup$

So I understand that Euclidean distance is valid for all of properties for a metric. But why doesn't the square hold the same way?

$\endgroup$
1
  • 2
    $\begingroup$ Please pick an answer different than mine to be the correct one, as my answer deals with norms instead of metrics. $\endgroup$
    – JavaMan
    Oct 23 '11 at 22:03
10
$\begingroup$

The square of the distance does not obey the triangle inequality: $1^2+1^2<(1+1)^2$

$\endgroup$
3
  • $\begingroup$ I know it doesn't by why doesn't it obey it? $\endgroup$
    – Laciel
    Oct 23 '11 at 20:43
  • 3
    $\begingroup$ To show that the triangle inequality is obeyed means to show that it holds for all possible examples. To show that the triangle does not hold, you need only at least one counterexample. $\endgroup$
    – JavaMan
    Oct 23 '11 at 20:46
  • $\begingroup$ I see. Thank you. I think Scott explained the lingering question. $\endgroup$
    – Laciel
    Oct 23 '11 at 20:54
7
$\begingroup$

You lose the triangle inequality if you don’t take the square root: the ‘distance’ from the origin to $(2,0)$ would be $4$, which is greater than $2$, the sum of the ‘distances’ from the origin to $(1,0)$ and from $(1,0)$ to $(2,0)$.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.