6
$\begingroup$

Examine whether $d$ is a metric on $X=\mathbb{R}$ where $d\left(x,y\right)=\min\{ \sqrt{|x-y|},|x-y|^2\}$ for all $x,y\in \mathbb{R}$

I think it is not. Even though it satisfies all other properties but it doesn't satisfy triangle inequality.

Take $x=2,y=1.5,z=1$ $d\left(x,z\right)=1$

$d\left(x,y\right)=0.25$

$d\left(y,z\right)=0.25$

Can someone confirm and verify. It is correct or not.

$\endgroup$
  • 1
    $\begingroup$ Looks correct. Well done. $\endgroup$ – Cornman Sep 17 '18 at 12:48
  • $\begingroup$ @Cornman Thank you Sir $\endgroup$ – user581912 Sep 17 '18 at 12:50
  • $\begingroup$ This can also be helpful: Explain why $|x - y|^2 $ is not a metric. Found using Approach0. $\endgroup$ – Martin Sleziak Sep 17 '18 at 13:50
  • $\begingroup$ If $0\leq u\leq 1$ then $u^2\leq \sqrt u.$ So if $x,y,z\in [0,1]$ then $d(x,y)+d(y,x)\geq d(x,z)\iff$ $ \iff (x-y)^2+(y-z)^2\geq (x-z)^2 \iff$ $ (y-\frac {x+z}{2})^2\geq (\frac {x-z}{2})^2 \iff$ $ |y-\frac {x+z}{2}|\geq |\frac {x-z}{2}|.$.. So the Triangle Inequality fails when $0\leq x<y<z\leq 1.$ $\endgroup$ – DanielWainfleet Sep 18 '18 at 5:21
  • $\begingroup$ You are right... $\endgroup$ – DanielWainfleet Sep 18 '18 at 5:23

Your Answer

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

Browse other questions tagged or ask your own question.