Exercise 2.17

Exercise 17: Let E be the set of all x [ 0 , 1 ] whose decimal expansion contains only the digits 4 and 7. Is E countable? Is E dense in [ 0 , 1 ] ? Is E compact? Is E perfect?

Answers

Let A be the set of sequences on the digits 0 and 1 . We get an injection A E by associating with a sequence a n the number whose n th decimal is 4 if a n = 1 and 7 otherwise. By thm. 2.14, this makes E uncountable.

E [ 0.4 , 0.8 ] , and is therefore not dense in [ 0 , 1 ] .

Since E is bounded, compactness is equivalent to closedness. Assume x E , and let x n be the n th digit in its decimal expansion. For some N , x N is not equal to 4 or 7 . Choose Δ such that the N th decimal digit of all x in a Δ -neighborhood of x is x n . (Note that this can be done.) This is a neighborhood of x that does not intersect E . Therefore E c is open and E is closed, hence compact.

Let x E , choose 𝜖 > 0 , and choose n such that 1 0 n < 𝜖 . The number obtained by changing the n th digit of x from 4 to 7 or vice versa, is contained in an 𝜖 -neighborhood of x . This means that x is a limit point, so E is perfect.

User profile picture
2023-08-07 00:00
Comments