This week’s post is by Laura Irvine, who is just about to start her second year reading Mathematics at Murray Edwards College, Cambridge. Thanks very much, Laura!
First of all, what is the Cantor set?
To form the Cantor set, start with the closed interval (this means
and
are included in the interval) and remove the middle open third of the interval (i.e. remove (
,
) where the curved brackets mean the interval is open, so
and
are not themselves in the interval). You should be left with two disjoint closed intervals:
and
. I’m going to call this step the first iteration.
Then do the same thing to each of these intervals: remove the middle third of each to get the new intervals as ,
,
,
. Then remove the middle third of each of these intervals. Keep repeating this process and the Cantor set is the set of all the points in the interval
that are never removed. So the first few steps of the process look like this:
Do you understand how this set is formed? Can you think of some points that are in the Cantor set?
Well, will never be removed: the first closed interval after the
iteration would be
so
will be in the infinite intersection of the first interval of each step. The other interval endpoints are points in the set too. It turns out that there are also points that are in the set that aren’t interval endpoints.
An interesting and, in my opinion, rather surprising property of the Cantor set is that it has measure , despite being an uncountable set! The fact it is uncountable means there is no way of writing all the numbers in the Cantor set in a list.
So, intuitively, this is saying that if all the points in the Cantor set were lined up next to each other, the line would have length and yet there are infinitely many points in the set. How weird is that?!
How can we show the Cantor set is uncountable? Well, it would be good if we could show that there’s a surjection from the set to another set that we already know is uncountable. This would show that there are at least as many points in the Cantor set as there are in this other uncountable set. We know that there are uncountably many real numbers so how about trying to construct a surjection from the Cantor set to the real numbers?
First, we need to work in a ternary system. This is a similar idea to the binary system (which is where numbers are written using just the digits and
) or the decimal system (where you use the digits
to
). However, in a ternary system there are three digits that can be used:
,
and
.
To write a number in the decimal system, you might imagine column headings of units, tens, hundreds etc. (i.e. ,
,
,
, …). In binary, you would imagine column headings of
,
,
,
,
, etc. (i.e.
,
,
,
, …).
In ternary, the column headings would be (from right to left) ,
,
,
, ….
So, to write a given number, say , in ternary, think what the biggest power of
is that is still less than, in this case,
. So that will be
.
goes into
twice so in the `
column’, write
.
so we now see what the largest power of three that is less than
is. It’s
and
only goes into
once so write
in the `
column’.
Carry on in this way.
so in the `
column’ write
.
so put
in the final column.
So, in ternary, . Does that make sense? What would
be in ternary?
For numbers between and
, the column headings will be
,
,
, etc. So
would be
and
would be
. Just as another example,
in ternary. Can you see how I calculated that?
In the first iteration when forming the Cantor set, all numbers which don’t have or
as their beginning in ternary are removed. You might think: but what about
? But that’s alright, because in ternary,
is the same as
. Then, in the second iteration, get rid of all the numbers that don’t have
or
in the second position after the decimal point. And so on, so we can see that in the Cantor set, every number is made up of
s and
s.
Now, what we have to do is to map every in any number in the Cantor set to a
. So, for example,
would become
. This will give the full set of numbers in the interval
in binary. This means there is a mapping which has its image as the whole of the interval
. That is, there is a surjection from the Cantor set to all the real numbers in the interval
. Since the real numbers are uncountable, so the Cantor set must be!
Here comes the cool part!
Theorem The Cantor set has measure .
OK, so how can we prove that? Well, how about calculating how much of the interval is removed when forming the Cantor set. Then we could subtract this number from
:
Measure of Cantor set = (Measure of the interval ) – (All the stuff removed from
to get the Cantor set).
So, to form the Cantor set, we started with an interval of measure and subtracted
. Then of each of the remaining thirds, we took the middle thirds of each away (so we subtracted
). Then there were
intervals, each of which had its middle third removed so
was subtracted. Then
were removed, then
and so on.
Can you see what the difference between the measure of the and the
iteration would be?
Well, the size of each interval being removed is a third smaller than in the previous step so the denominator will be . The numerator, on the other hand, doubles with each step as each interval splits into two new intervals. So it is
.
Therefore, all these intervals that we’re removing add up to .
Now is a geometric progression with starting value
and where each term is
of the previous term so the common ratio is
. The formula for the sum to infinity of a geometric progression is
so
.
so the measure of the Cantor set is
. So the theorem is proved!
Further reading
I found this site and the Wikipedia page had some other interesting things to say about the Cantor set.

September 30, 2010 at 9:08 am
If you haven’t come across these ideas before, in addition to reading Laura’s very nice post you might also like to have a look at some resources on NRICH:
The Cantor Set (which includes the opportunity to listen to the Cantor set!)
How Long is the Cantor Set?
and
How Many Elements Are There in the Cantor Set? (which also includes an interactivity).
April 4, 2011 at 6:10 pm
Hi Laura! It’s nice to see your work – very interesting post! I’m working on an environmental project in Plymouth at the moment and would like to just say Hi! Drop me an email if you come across this comment somehow. Enjoy your Maths at Cambridge and hoping to see you sometime! x
January 23, 2012 at 8:09 am
very nice work but it does not conflict with the idea of a measure.
Borel:
Every set whose measure is not zero is uncountable.
But yes maybe it can seem suprising in the old days before Borel.
\Troels
February 24, 2012 at 7:15 am
It doesn’t conflict with Borel’s result (no one said it does), but it is probably the easiest to understand example of an uncountable set with measure 0. Matter of fact, I don’t know of a different example…