Let $(X,d)$ be a complete metric space, $a \in X$ and $r \gt 0$. Let $f: B(a,r) \rightarrow X$ be a contraction with a contraction constant $L$, $d(f(x),f(y)) \lt Ld(x,y)$ , for all $x, y \in B(a,r)$. Assume moreover that $d(f(a),a) \lt (1-L)r$.
The aim is to show that the function $f$ has a unique fixed point in $B(a,r)$. In order to apply the fixed point theorem we need to restrict $f$ to a subset of $B(a,r)$ where the values of $f$ on this subset remain in it then we can apply the theorem on this subset. The suggestion in the question was to prove that there is some $r_0\in ]0,r[$ such that $d(f(a),a)) \leq (1-L) r_0$. I cannot see how can I find a subset of this open ball where such an inequality will resemble the given one. Any hints or suggestions? Thanks!