Assume $f:K\rightarrow K$, is surjective and $K$ is a compact metric space and we have $d(f(x),f(y))\leq d(x,y)\, \forall x,y\in K$. How can I prove that $d(f(x),f(y))= d(x,y)\, \forall x,y\in K$?
Thank you for your help.
Assume $f:K\rightarrow K$, is surjective and $K$ is a compact metric space and we have $d(f(x),f(y))\leq d(x,y)\, \forall x,y\in K$. How can I prove that $d(f(x),f(y))= d(x,y)\, \forall x,y\in K$?
Thank you for your help.