I am trying to solve the following problem:
Let $f:[0,2)\to \mathbb{R}$ continuous such that $f$ restricted to $(1,2)$ is Lipschitz. Prove that $f$ is uniformly continuous.
I know that as $f:(1,2)\to \mathbb{R}$ is Lipschitz, it is uniformly continuous. But why does $f:(1,2)\to \mathbb{R}$ being Lipschitz forces $f:[0,2)\to \mathbb{R}$ to be uniformly continuous?
All you need are these three facts:
Now take $A=[0,\frac32]$ and $B=(1,2)$.