Im trying to prove that if $f\colon \mathbb{R}\to\mathbb{R}$ such that for all $x,y\in\mathbb{R}$ we have $\lvert f(x)-f(y)\rvert \leq (x-y)^2$ then $f$ is constant.
I have shown that if $f$ is differentiable, then the statement is true. But without the differentiability condition, I'm having a hard time.