Sai Sasank Y

On Enumerability

What do we mean by countable?

So, what is countable? A finite collection of items definitely seems to be a countable collection. What about infinite set? Can we count the set of natural numbers? I think so. Let me try: 1,2,3,4

Wait a minute! That’s only 4. What about 5? I am sure there are even more after. There are in fact infinite number of them! YOU CANNOT COUNT THEM ALL.

However, we seem to have this nice property: give me any natural number n it will come up eventually if I continue counting as above (it will be at the nth position to be exact). Did you think I was going to count every element? No but I can count to any element using the “same process”. This property turns out to be useful, that is, given a set of elements, I can list them down one by one in a way that every element eventually shows up after a finite number of steps.

Let’s now consider the set of even natural numbers. Is this set countable? It certainly seems so: 2,4,6, Surely, we are not going to miss anything this way. Give me any even natural number and it will show up after finite number of elements. Looks good.

What about the set of all integers? Let us see.

3,2,1,0,1,2,3,

Hmmm. Where is the starting point of this listing? Given a integer, say 5, we are hoping it would occur eventually, that is, after a finite number of steps. But this list expands infinitely in both directions! So integers are not countable? But for the integers to be countable, we just need a listing that works. We obviously need a starting element. Maybe, start with 0. And?

0,1,1,2,2,3,3,...

Formalising countability

Little more formally, we say a set is enumerable or countable if its members can be arranged in a single list with a first entry, second entry and so on such that every member of the set occurs sooner or later in the list.

Even more formally, a set A is enumerable if there is a function f:PA such that for every aA, there is some pP such that f(p)=a. (f is basically a surjection between P and A), where P is the set of positive integers.

Why is the above definition equivalent to the notion of having a list that lists every element eventually? Suppose we have such a function f. f effectively determines the list. Suppose A were the set of even integers. And let a be some even integer. Then by existence of f we know there is some pP such that f(p)=a. So, we know a occurs at pth position in the listing defined by f. It’s possible there are multiple choices in P that map to a given a. But we know there is at least one choice. There must also be one that is smallest, since nothing in the set can be smaller than 1.

Looking the other way, if we have a valid listing, then we can get such an f by simply defining f as follows: f(p)=a where a occurs at the pth position in the given list.

We now see why the two (informal and formal) definitions are the same.

Enumerability Gym

Are the following sets enumerable? Definitely try these yourself before you look at the answers!

g(x)={f(x)f(x)Sundefinedotherwise

Finally, is a set of all finite subsets of an enumerable set enumerable?

#computation #math #sets