Let $U\subset \mathbb R^m$ be a convex subset and $f:U\to \mathbb R^n$ be a differentiable function and I would like to prove the following equivalence:
$$|f'(x)|\le d\ \text{for every $x\in U$}\Leftrightarrow |f(x)-f(y)|\le d|x-y|\ \text{for every $x, y\in U$}.$$
The $\Rightarrow$ is easy I used the Mean Value Theorem with the fact $U$ is convex. I'm having troubles to prove the converse. I had tried to use this fact $|f'(x)\cdot u|=|f(x+u)-f(u)-r(u)|$ and the triangle inequality to prove the converse and surprisingly I didn't have any progress. Are there some facts I'm missing to use?