2

$\forall x,y \in \mathbb R$ if distance $d(x,y) = { (x - y)^2}$,

I want to show that ${(x - y)^2} \leq {(x - z)^2} + {(z - y)^2} $. Basically, I am trying to prove that this distance satisfy triangular inequality.

I have established

$ |p \cdot q | \leq |p| \cdot |q| $

$ |p + q | \leq |p| + |q| $

$ |p - q | \leq |p| - |q| $

Problem seems to introduce $z$ in the inequality. Any hints?

I started with $(x-y)^2 = (x+z-z-y)^2$ But this doesn't lead to where I wanted to go.

A related question Euclidean distance proof had confusing answer to me.

C34nm
  • 83

1 Answers1

2

This is not a distance. Prove with $$(x,y,z)=(3,5,4)$$ In this case you have $${(x - y)^2} \gt {(x - z)^2} + {(z - y)^2}$$

Piquito
  • 29,594