I found this question on a real analysis textbook:
Let $K\subset U\subset\mathbb{R}^n$, where $K$ is compact and $U$ is open. Show that there is an $\varepsilon > 0$ such that $x\in K$, $y\in\mathbb{R}^n$, $|x-y| < \varepsilon$ $\implies [x, y] \subset U$ (Where $[x,y]$ is the line segment between $x$ and $y$, both included)
I don't see how this is not trivial: if $x\in K\subset U$ and $U$ is open, then by definition of openness there is an open ball with radius $\varepsilon$ with this property. But the solution set of the book uses the fact that $\mathbb{R}^n\setminus U$ is closed and that the distance between this set and $K$ is actualy achieved by a pair of points.