Let $f : [a, b] \rightarrow [a, b]$ be differentiable. Show that $f$ is a contraction if and only if there exists $r \in (0, 1)$ such that $|f'(x)| \leq r$, for all $x \in [a, b]$.
I managed the "if part", but I really doubt the other way. We can have a curve with only 1 point of inflection, with derivative $1$, and the derivative is less then $1$ every other point on the curve. Won't this violate the "only if" ? Thanks.
