For $f : [a,b] \rightarrow [a,b]$, show that if $f$ is continuous and differentiable and $f'(x) < 1$ at points such that $f(x) = x$, then $f$ has a unique fixed point.
The proof of the existence of the fixed point is straightforward, but to get uniqueness, we can no longer directly apply Mean Value Theorem when the assumption on the derivative is more restrictive. I am trying to show that if there are two fixed points, then there must be a fixed point between them with derivative greater than 1.
Hint: define $g(x)=f(x)-x$. So you have to show that if $g'(x)<0$ whenever $g(x)=0$, then $g(x)$ has a unique zero. Now suppose for a contradiction that there exist $\alpha<\beta$ such that $g(\alpha)=g\beta)=0$. $g'(\alpha)<0$ means that there exists $\xi\in(\alpha,\beta)$ with $g(\xi)<0$; and $g'(\beta)<0$ means that there exists $\eta\in(\xi,\beta)$ such that $g(\eta)>0$.