The Minkowski distance: $$\left(\sum_i |x_i-x_i'|^p \right)^{1/p},\ \text{where}\ p\ge1$$
is only a metric for $p\ge1$. Can someone give me a quick example why the triangle inequality doesn't hold in other cases?
The Minkowski distance: $$\left(\sum_i |x_i-x_i'|^p \right)^{1/p},\ \text{where}\ p\ge1$$
is only a metric for $p\ge1$. Can someone give me a quick example why the triangle inequality doesn't hold in other cases?
The Wikipedia article has the following example:
Let $x := (0, 0)$, $y := (1, 1)$, $z := (0, 1)$.
Then:
So $d(x, y) > d(x, z) + d(z, y)$.