Suppose we have a function $F: \mathbb R^n \rightarrow \mathbb R^k$ continuous over some open set $U \in \mathbb R^n$, and let compact set $K \subset U$. $F$ satisfies the following properties:
1) F is injective over K
2) For every $x \in K$, there is some open set $U_x$ such that F is injective on $U_x$.
Show that there exists an $\epsilon > 0$ such that F is injective over the set $\{x\in \mathbb R^n | dist(x,K) < \epsilon \}$.
My attempt:
I can form an open cover of $K$ by forming $W = \cup(U_x \cap U)$, then consider the boundary of this open cover $W$. The boundary is certainly compact, so $dist(x,K)$ over it takes on a minimum (it's easy to show this value is greater than 0), we may call it $\epsilon$.
But now I am stuck. I am not sure how to show that F is injective on all of $W$...