Let $(M,d)$ be a metric space, $M$ compact. If $f:M \to M$ is continuous and weakly contractive (i.e. $d(f(x), f(y)) < d(x,y) , \forall x,y \in M$), then $\exists x_0 \in M $ unique s.t $f(x_0)=x_0$ . Suggestion: $g: M \to R$ with $g(x)=d(x, f(x)) $ is continuous relative to $d$.
I was able to prove the continuity of $g$, but no the existence of the fixed point.