TITLE: Why sets that aren't closed can't be compact?
QUESTION [15 upvotes]: In $\mathbb{R}^n$ we prove that a set is compact (using the definition about open covers) if and only if it's closed and bounded. It is pretty clear that if $\mathcal{O}$ is an open cover of one unbounded set $X$, then $\mathcal{O}$ cannot have a finite subcover, it'll clearly need in general infinitely many sets to cover the set $X$.
Now, if a set isn't closed, I cannot see in which way it fails to be compact. For instance, if $X$ is the closed unit ball centered at the origin, then it is compact. If on the other hand we consider $Y=X\setminus\{0\}$, then it's not compact anymore, because $Y$ isn't closed (the point $0$ is a limit point of $X$ and so, $0 \in \operatorname{Cl}(X)$ and on the same time $0 \notin Y$.
So, what should be the intuition about this? How can we intuitively see that $Y$ isn't compact?
Thanks very much in advance!

REPLY [2 votes]: Another way to see this is to recall that compactness is defined via open sets, and thus is a topological property. So for a space $X$ and another space $Y$ that is homeomorphic to $X$ then $X$ is compact if and only if $Y$ is as well. 
Now consider your "punctured ball" example. We will assume that we are dealing with $\mathbb{R}^2=\mathbb{C}$ for simplicity. Then the puncture ball is homeomorphic to the complement of the open unit ball (ie to the set $\{z=x+iy: |z|\geq1\}$) via the map $z\mapsto\frac{1}{z}$. This last set is unbounded and so by your intuition should not be compact. In fact you can more or less always do this for a non-closed set (meaning you take a point in the closure and "send it to infinity" and get an unbounded set that is homeomorphic to your original set.