Given $f: X \to \mathbb{R}$ ($X \subseteq \mathbb{R})$ such that $f$ is differentiable on the domain. Similarly, $x_0$ is a fixed point that lies in the interior of $X$. We are given that $f'$ is continuous at $x_0$ with $|f'(x_0)|< 1.$ Show that there exists a closed interval $K$ centered at $x_0$ such that $f$ is contraction on $K$.
I used the definition of continuity to start with: Fix $\epsilon > 0.$ Then, there exists $\delta > 0$ such that whenever $x \in (x_0 - \delta , x + \delta), |f'(x) - f'(x)| < \epsilon.$ I think now I should try to show that for all $x \in (x_0 - \delta , x + \delta), |f'(x)| \leq r$ such that $|f'(x_0)| \leq r < 1.$ Then, I could use mean value theorem to find the interval needed. But I am not able to proceed ahead.
Does this look like a right direction?