prove: difference of compact set and open set is compact

2k Views Asked by At

claim: Let $(M, d)$ be a metric space and $K \subset M$ compact, $O \subset M$ open. Show that $K - O$ is compact.

Proof: I think this should follow directly. If $K$ is a compact set, that means every open cover of $K$ contains a finite subcover.

let's define an arbitrary finite subcover of $K$ to be $\{A\} = A_1 \cup A_2 \cup \cdots \cup A_n$

Since $K - O$ is simply the set $K$ with the elements of $O$ taken out, that means our set we need to cover is smaller, and therefore surely covered by $\{A\}$.

Since $K - O$ is covered by $\{A\}$ and $\{A\}$ is a finite subcovering by construction, then $K - O$ is compact.

Does this work?

I didn't even use the fact that $O$ was an open set in $M$.

3

There are 3 best solutions below

0
On

Wrong. You proved that an open cover of $K$ contains a finite subcover of $K\setminus O$. However, it must be proved that an open cover of $K\setminus O$ contains such a finite subcover.


Let $\mathcal V$ be an open cover of $K\setminus O$.

Then $\mathcal V\cup\{O\}$ is an open cover of the compact $K$ (here it is used that $O$ is open).

So there is an finite subcover $\mathcal W\subseteq\mathcal V\cup\{O\}$ that covers $K$.

Then $\mathcal W-\{O\}\subseteq\mathcal V$ is finite and covers $K\setminus O$ and this with $\mathcal W-\{O\}\subseteq\mathcal V$.

This proves that $K\setminus O$ is compact.

0
On

Since K \ O is simply the set K with the elements of O taken out, that means our set we need to cover is smaller, and therefore surely covered by {A}.

Watch out, it's possible to have covering of $K$\ $O$ that doesn't cover $K$. What you proved there is, given a covering ${A_\alpha}$ of $K$, it's possible to find a finite number of $A_\alpha$ such that they cover $K$\ $O$

4
On

$K\setminus O = K \cap (X \setminus O)$ is a closed subset of the compact set $K$ hence compact as well.