0

Any advice to solve the following problem?

Let $K$ be a compact set of the real numbers. Prove that the set $|K|=\{|x|: x\in K\}$ is a compact set.

Thanks a lot!

EQJ
  • 4,369
  • 2
    Do you know anything about how compactness and continuous functions relate? – Seth Apr 18 '14 at 18:30
  • What does "compact" mean to you? With certain characterizations, this is trivial; with others, not so much. –  Apr 18 '14 at 18:30
  • I should not use anything about continuos funtions. I can use the equivalence between compact and, close and bounded. Compact as any open cover admits a finite subcover. – EQJ Apr 18 '14 at 18:35
  • That $|K|$ is bounded is easy. I should not, because this problem apears before (in the course) the concept of continuity. – EQJ Apr 18 '14 at 18:41

2 Answers2

0

Solution 1:

Since $K$ is compact, it is bounded (above and below), so it is clear that $|K|$ is also bounded. It remains only to show that $|K|$ is closed: Let $(x_n)\subseteq K$ such that $|x_n|\rightarrow y$, so in particular $y\geq 0$. We need to show that $y\in |K|$.

Notice that there are either infinitely many numbers $n$ such that $x_n\leq 0$ or such that $x_n\geq 0$, so we can take a subsequence $(x_{n_k})$ consisting of only positive or negative numbers. We have two cases:

Case 1: $x_{n_k}\geq 0$

Then $|x_{n_k}-y|=||x_{n_k}|-y|\rightarrow 0$, so $x_{n_k}\rightarrow y$. Since $K$ is compact, hence closed, then $y\in K$, so $y=|y|\in K$.

Case 2: $x_{n_k}\leq 0$

Then $|x_{n_k}-(-y)|=|(-x_{n_k})-y|=||x_{n_k}|-y|\rightarrow 0$, so $x_{n_k}\rightarrow -y$. Again, $-y\in K$, so $y=|-y|\in |K|$.

Solution 2:

First, show that $-K=\left\{-x:x\in K\right\}$ is compact (this should be easy enough). Then $-K\cup K$ is closed and bounded, so it is compact. Finally, $|K|=(K\cup -K)\cap [0,\infty)$, so it is again closed and bounded, hence compact.

Luiz Cordeiro
  • 18,513
0

Let $$K_+=\{x\in K\mid x\ge 0\},\qquad K_-=\{x\in K\mid x\le 0\}$$ They are both closed and bounded since $[0,\infty),(-\infty,0]$, and $K$ are closed, and $K$ is bounded. Now $$|K|=K_+\cup (-K_-)$$ Can you show that $-K_-=\{-x\mid x\in K_-\}$ is closed?

Stefan Hamcke
  • 27,733