Let $S$ be a compact set which is covered by a finite number of neighborhoods $N(a_i,r_i)$ with $i=\{1,2,\cdots,k\}$, i.e., $S\subset{N(a_1,r_1)\cup{N(a_2,r_2)}\cdots\cup{N(a_k,r_k)}}$. Let $x,y\notin {S}\cap{N(a_i,r_i)}$, how to show that $\|x-y\|\geq\underset{i}{\min}r_i$ ?
Any thoughts or suggestions are greatly appreciated.
Let me write the actual question presented in the book "Nonlinear Systems" By H. K. Khalil.
Let $f:\mathbb{R}^{n}\to\mathbb{R}^{n}$ be locally Lipschitz in a domain $D\in\mathbb{R}^{n}$. Let $S\subset{D}$ be a compact set. Show that there is a positive constant $L$ such that for all $x,y\in{S}$,
\begin{equation} \|f(x)-f(y)\|\leq{L}\|x-y\|. \tag{1} \end{equation}
Hints were provided with this excercise problem, which are stated as follows.
Hints: Consider the following two cases separately
$x,y\in{S}\cap{N(a_i,r_i)}$ for some $i$.
$x,y\notin {S}\cap{N(a_i,r_i)}$ for any $i$; in this case, $\|x-y\|\geq\underset{i}\min{r_i}$.
In the second case, use the fact that $f(x)$ is uniformly bounded on $S$.
My original question was particularly related to this second case and I am not sure how come $\|x-y\|\geq\underset{i}\min{r_i}$ for this case.
A somewhat different approach: for each $x\in S,$ there is a nbhd $U_x$ such that $y\in U_x\Rightarrow |f(y)-f(x)|\le L_x|y-x|.$ Let $\delta>0$ be the Lebesgue number for the cover $\{U_x\}_{x\in S}$. Set $F(x,y)=\frac{|f(y)-f(x)|}{|y-x|}.$ Now, $F$ is bounded on $A:=S\times S\cap\{(x,y):|x-y|<\delta\}$ by the local Lipschitz hypothesis and has a finite maximum on the compact set $B:S\times S\cap\{(x,y):|x-y|\ge\delta\}.$ Since $A\cup B=S\times S$, the result follows.