I saw this problem in my course of Intr. to the topology:
Let $(X,d)$ be a compact metric space and $$f :(X,d) \rightarrow (X,d)$$ a continuous function such that: $\quad d(f(x);f(y)) < d(x;y)$, if $x\neq y$.
Prove that $f$ has an unique fix point in $X$.
Well, after proving these statements I could resolve the problem, I think,
$\forall k\in \mathbb{N} : d(x_{k+1};x_k)\leq \alpha^k d(x_1;x_0)$
$\forall k\in \mathbb{N} : d(x_k,x_0)\leq (1+ \dots + \alpha^{k-1}) d(x_1;x_0)$
where: $x_1 = f(x_0)$ and $$\forall n\in \mathbb{N} : x_{n+1}=f(x_n)$$
but it's the right way?
-Thank you for all.