Johnson04
- 17
- 0
Homework Statement
Let [tex]E[/tex] be the set of all [tex]x\in [0,1][/tex] whose decimal expansion contains only the digits 4 and 7. Is [tex]E[/tex] compact? Is [tex]E[/tex] perfect?
Homework Equations
The Attempt at a Solution
My answer is: [tex]E[/tex] is compact and perfect.
By Heine-Borel theorem ([tex]E[/tex] is compact equivalent to [tex]E[/tex] is closed and bounded), since [tex]E[/tex] is bounded, and [tex]\forall x\in E[/tex], and [tex]\epsilon > 0[/tex], we always have that the neighborhood of [tex]x[/tex], [tex]N_\epsilon (x)[/tex] contains infinitely many elements of [tex]E[/tex], in other words, any number in [tex]E[/tex] is a limit point of [tex]E[/tex]. Conversely, I assume [tex]E[/tex] is not closed, that is, there exists at least one number which is not in [tex]E[/tex], but it is a limit point of [tex]E[/tex]. I denote this number by [tex]y[/tex]. Suppose the i-th digit of [tex]y[/tex], say [tex]y_i[/tex] is the first digit which is not in [tex]\{4,7\}[/tex]. Then we always can find some other numbers which are between [tex]y[/tex] and the closest number in [tex]E[/tex]. So we can conclude that if [tex]y\not\in E[/tex], [tex]y[/tex] must not be a limit point of [tex]E[/tex]. So we can conclude that [tex]E[/tex] is closed and perfect. By the aforementioned Heine-Borel theorem, it is also compact.
However, I am still worrying about this proof, since I am not very sure on the correctness of the proof. Can you guys help me to see if both my answer and my proof are correct? Thanks a lot!