nonempty perfect subset of that contains no rational number, a
We will construct a nonempty perfect set contained in thatcontains no rational number.
We will begin with a closed interval, and then, imitating theconstruction of Cantor set, we will inductively delete eachrational number in it together with an open interval. We will doit in such a way that the end points of the open intervals willnever be deleted afterwards.
Let for some irrational numbers and ,with . Let be an enumeration of therational numbers in . For each , we will define anopen interval and delete it.
Let and be two irrational numbers such that. Define .
Having defined , and , let’s define and :
If then there existsan such that . Let and .
Otherwise let and be two irrational numberssuch that , and which satisfy:
and
Now define . Note thatby our choice of and any of the previous endpoints are not removed from .
Let . is clearlynonempty, does not contain any rational number, and also it iscompact, being an intersection
of compact sets.
Now let us see that does not have any isolated points. Let, and be given. If for any , choose a rational number such that . Then andsince we must have , which means . Since we know that , this shows that is a limit point. Otherwise, if for some , then choose a such that . Similarly, and it follows that . We have shown thatany point of is a limit point, hence is perfect.