Theorem
(a). If $g$ is continuous on $[a,b]$, $g(x) \in [a,b]$. Then $g$ has a fixed point in $[a,b]$.
(b). In addition, if there exists $k<1$ such that $|g'(x)| \leq k $. Then $g$ has unique fixed point in [a,b].
Why we can not modify the condition in part (b) to " $|g'(x)| < 1$ for all $x \in (a,b)$ ? "
Suppose that $p$ and $q$ are distinct fixed point in [a,b]. Then $|p-q| \leq |g'(x)||p-q| < |p-q|$ by MVT. Contradiction.
The proof in part (b) is still work. Or, is there some mistake?