I am trying to self study real analysis , and that is when I cam across this doubt .
The way I understand Heine Borel theorem is that , whenever A is contained in union of open sets , then A is contained in the union of finitely many of these sets.
Formally ,if $A \subset\bigcup\limits_{i\in I} G_{i}$ and each $G_i$ is open ,then there exist $i_1,i_2,...i_N$ such that $A\subset\bigcup\limits_{i=1}^{i=N} G_{i}$
Now my doubt arose when I was asked to show that B(x,r) is not compact. ( I get that I could use the later result of using that a compact set has to be closed and bounded to prove it, but I just wanted to work with the Heine Borel theorem here) One of the main reason that I do not get why this set has to be compact is the fact that I don't understand why can't I make a open ball B(x,R) where R>r , which will be an open cover for B(x,r) and obviously then we would have found out a finite open cover for B(x,r) thus making it a compact set ! ( It is safe to imagine that we are talking of the case where the ball exists in $R^n$ metric space )
I know that this doubt should be trivial but for some stupid reason I am just not able to understand this.