People have always had a great curiosity about the infinite. I think this is because infinity represents a palpable break between our mind and our experience. You probably don’t have much difficulty imagining an infinite row of apples, but you’ve never seen one and you never will. Among the religious and spiritual, it is not unusual to identify the infinite with the divine. A great triumph of mathematical thinking, I feel, is the fact that it enables us to actually talk meaningfully about infinite things.

When people find out that I am at a mathematician, sometimes they will ask me questions. This is very interesting for me, because I get some insight into what sort of mathematical things nonmathematicians think about. A large percentage of those questions involve infinity in some way. Two popular ones are ‘Can you count to infinity?” or “Are there different kinds of infinity?” The former question strikes me as rather Zen, hence its inclusion as the title of this article. Today we’ll give at least one answer to the latter question.

Of course, the concept of infinity is a little amorphous. Today I want to focus on the counting aspect. In other words, we want to think about “infinity” as an answer to a “how many” question. And before I can to take you to infinity and beyond, we have to make a pit stop back in kindergarten and ask ourselves “What is counting, really?”

### Counting

Suppose that you wonder which of two people is taller than the other. There are two fundamentally different ways to settle a question like that; you can use a yardstick or you can stand them back to back. The former is a solution by measuring, the latter is a solution by comparing.

It turns out that these same options are available in counting. The usual way of deciding whether you have more apples or oranges in your fruit bowl goes something like this. I count seven apples and six oranges. Seven is more than six, so I have more apples than oranges. But another way would be to pair up the .

Though the first approach doesn’t make sense for infinite sets, the second one does. We don’t have a “yardstick” to assign a numerical “size” to infinite sets, but we can always stand sets back to back.

In other words, we don’t “count” infinite sets in absolute terms, but we can still talk about the size of one set relative to another.

A *bijection* or *one-to-one correspondence* between two sets of things, say apples and oranges, is just a way of matching each apple to an orange so that each apple and orange gets used, no two apples get the same orange and no two oranges get the same apple.

Then we say that a set is *the same size as* if there is a bijection between the elements of and the elements of .

We say that a set is *at least as big as* if there is a bijection between some of the elements of and all of the elements of . (Saying that is strictly bigger than , i.e. that there are *more* things in than there are in , means that is at least as big as , but they are not the same size.)

If this seems like a crazy way to think about counting, think about what a child does when counting a pile of apples. She points to each apple, saying “one, two, three,…”, making sure she doesn’t skip or repeat numbers, making sure she doesn’t skip or repeat apples. If, at the end, the last number she says is “ten”, there are ten apples. This is nothing more or less than putting the apples in bijection with a list of numbers . If you count like this, but you aren’t sure you counted all the apples (maybe you only count the ones you can see, say), then the right conclusion is that there are at least ten apples.

So for finite sets, this really is the counting you know and love.

### Countable Sets

We call a set *finite* if it is the same size as one of the following sets: . A set which is not the same size as any of these is infinite.

A set which is the same size as , the set of all positive integers, is called *countably infinite*. A set which is countably infinite or finite is just called *countable*.

Another way of phrasing that: a set is countable if you can list its elements in such a way that everything in the set shows up on the list eventually. The list can stop (for finite sets) or continue forever (for countably infinite sets).

Yet another way of phrasing: suppose we are immortal, and I am thinking of a thing chosen from a set. I give you one guess a day at the thing I’m thinking of; if you’re right, you get a prize. The set is countable if you can be sure you’ll get the prize eventually.

Perhaps surprisingly, including 0 and the negative integers, another infinite set, doesn’t make the set any bigger! We can list all the integers as follows:

.

So the set of integers (usually written , for Zahl, German for number) is the same size as the positive integers. Indeed it is countable.

The following sets are all countable.

- The set of even positive integers. . Even though this set misses infinitely many integers, it is the same size as .
- The set of odd positive integers, likewise.
- The set of square positive integers. . Even though the members of the set are getting more and more spread out, this does not affect “listability”, so it is still the same size set, the same kind of infinity.

It turns out that if you take any subset of the integers, you will either get a finite set or a set the same size as the integers. In some sense this means that is the smallest possible infinite set. You will never find a set which is bigger than all the finite sets but smaller than the integers.

Now let’s go in the other direction and try to find a set which is larger than the set of the integers.

- The set of all
*pairs of natural numbers*. Believe it or not, this is countable too. The temptation is to try something like

,

which doesn’t get off the ground. But we can arrange things another way,

- The set of all
*positive fractions*. Countable again! Just use the previous list, ignoring pairs with zeroes and writing as . This would list the same fraction more than once, so just skip repeats.

- The set of all
*fractions*. Just start with zero and interweave positive and negative fractions.

This means there are the same number of fractions as there are integers! I hope you find that at least a little surprising if you didn’t already know it.

There is a really nifty discussion of countable and uncountable sets in Raymond Smullyan’s book, *Satan, Cantor, and Infinity*, which also contains many cheerful logic puzzles.

### Uncountable Sets

So we have seen a lot of sets which are the same size as the integers, even sets which might seem like they should be much much bigger. Is anybody feeling like guessing that all infinite sets are the same size after all? Or is there some set that is bigger? In other words, can there be so many of something that there are more of them than there are integers? Sets which are too big to be countable are called *uncountable*, but do such creatures even exist?

Consider the set of all real numbers between 0 and 1. Not just the fractions, but all the points on the number line. Essentially, we are looking at all the decimal expansions , where the $a_i$ are digits — not necessarily repeating, not necessarily in any sort of pattern (if the decimal “terminates”, as does 0.5, then just imagine trailing zeroes). It turns out that there are uncountably many of these real numbers. The easiest way to see this is the following “diagonal argument” due to Georg Cantor.

**Theorem. **The set of real numbers between 0 and 1 is uncountable.

**Proof.** Suppose instead that there is a matching between integers and real numbers. That is, suppose Sketchy Dan makes a list with the first real number , the second , and so on, and suppose tells you that every real number shows up on the list. Imagine what such a list would look like.

and so forth.

Now manufacture a new number as follows. Let be 5 if is even and 6 if is odd. (In particular, notice that . Proceed in this way, defining to be 5 if is even and 6 if is odd. Then the number was not on the list! It can’t be because the first digits don’t match. It can’t be because the second digits don’t match. It can’t be because the third digits don’t match. And so on — it can’t be in the list anywhere.

Sketchy Dan was wrong! No matter how you make the list, there will be numbers left off.

(Actually, I swept a bit under the rug. There is a little wrinkle caused by the fact that some numbers have two “names”, such as . This isn’t a problem because the number we constructed doesn’t have any zeroes or nines in it.)

This means that there are, in a fundamental and not at all vague way, *more* real numbers than there are integers. So, as a thought experiment, if you throw a dart at a number line, you almost surely won’t hit an integer. That’s probably not much of a surprise, since the integers are pretty well spread out on the number line. But the fractions are also countable, and they are *dense* in the number line (which means roughly that any little piece of number line, however small, contains lots of fractions). But again, if you throw a dart at the number line, even though it will surely be near a fraction, it will almost surely not hit a fraction. So fractions, which for most people are almost all the numbers you ever think about, are just a negligible piece of the real numbers.

Let’s take this further. Think about all the numbers you can make, starting from integers and . Now is not in this category, and you probably know about , so let’s throw in . And the number is pretty famous too. So consider all the integers that you can make from integers, , and , by adding, subtracting, multiplying, dividing, and taking roots and powers. Heck, you can even use logarithms and trig functions if you like. The set of all the numbers you can make that way is pretty big, and it contains all the numbers most readers have ever thought about. But it’s still countable. Almost all the real numbers aren’t in that set.

Actually the situation is even more intuition-defying than that. Think about all the numbers that can be described in any reasonable way whatsoever. So all the numbers in the previous category, but also things like and lots of other numbers. It turns out that the set of *descriptions* of numbers is countable, so this set is still countable. We feel like we have an intuitive understanding of the number line, but almost all the numbers on the number line can’t even be *described*.

Whoa.

### And Beyond?

Okay, so now we’ve seen a whole raft of countably infinite sets, which are in a sense the smallest possible sort of infinite sets, and now we know that even though these sets are infinite, they are not the largest sets in the world. There are *strictly more* points on the number line than there are integers. So what is the bottom line?

Does this mean that the set of points on the number line is the one that’s “really” infinite? Or is there another set that’s even bigger? If there is, is that one the ultimate infinite set? How do line segments compare to whole lines? How do line segments compare to squares and cubes?

Food for thought, I hope. See you Thursday?

[…] to Infinity (Part II) By Cap Khoury In the previous article in the series, we looked at what it means for a set to be infinite. We mostly looked at countable sets, sets […]