Let be $h: \mathbb{R} \rightarrow \mathbb{R}$ and c a positive constant, if $\forall a, b \in \mathbb{R}$ we have that:
$$\frac{|h(a)-h(b)|}{a-b}\leq |a-b|^c$$
Prove that $h$ is constant.
I tried to use the definition of derivative or the triangle inequality but I didn't find the solution.
Take $$\underset{h \to 0}{\lim} \frac{|h(x+h)-h(x)|}{h}$$
We have for all $h >0$: $$ 0 \le \frac{|h(x+h)-h(x)|}{h} \le h^c$$
Thus, we have $$0 \le \underset{h \to 0}{\lim}\frac{|h(x+h)-h(x)|}{h} \le \underset{h \to 0}{\lim} h^c =0$$
It follows by the sandwich/squeeze theorem that $$\underset{h \to 0}{\lim}\frac{|h(x+h)-h(x)|}{h} =0 $$
Hence $h$ is differentiable everywhere, and has derivative of 0 everywhere. It follows that it must be a constant function.