EECS 126 - Probability and Random Processes - J. Walrand


NOTES: COUNTABILITY

 

 

Definition

 

A set is countable if one can enumerate its elements.  More precisely, a set S is countable if one can define a function from {1, 2, …} onto S.  The interpretation of this function is that it numbers the elements of S.  Thus, the function maps the number n into some element sn of S.  This function enumerates S as {s1, s2, s3, s4, s5, …}.

 

Examples

 

  1. Any subset of a countable set is countable.  Indeed, say that S = {s1, s2, s3, s4, s5, …} is a countable set and that V is a subset of S.  We can then enumerate the elements of V in the order that they appear in S = {s1, s2, s3, s4, s5, …}.

  2. Any countable union A = ÈnAn of countable sets is countable. To see this, assume that An = {an1, an2, …}.  We can assume that the sets An are disjoint by replacing A2 by A2 \ A1, and so on.  We can then look at A = {anm, n, m = 1, 2, …}.  Consider the mapping (n, m) ® f(m, n) = 2m3n.  Let V = {f(m, n) | m, n = 1, 2, …}.  Then V is countable (by Example 1).  We can write V = {v1, v2, v3, v4, v5, …}.  Each element anm in A is mapped to some element f(m, n) of V.  We can then enumerate the elements in A by the corresponding enumeration of V.

  3. The set Q of rational numbers is countable.  Recall that Q = {m/n | m Î {…, - 2, -1 , 0, 1, 2, …} and n Î {1, 2, 3, …}}.  We let you explain that this is a particular case of Example 2.

  4. The real numbers are not countable.  To prove this, assume that one can enumerate the real numbers in [0, 1] as {s1, s2, s3, s4, s5, …}.  Observe that one can always write a number x in [0, 1] as a binary expansion x = 0.x1x2x3… with the meaning that x = x12-1 + x22-2 + x32-3 + ….  For instance, the decimal number 0.324 can be written as ¼ + 0.074 = ¼ + 1/16 + 0.0115 = ¼ + 1/16 + 1/128 + 0.0036875 = ¼ + 1/16 + 1/128 + 1/512 + 0.001953125 = ¼ + 1/16 + 1/128 + 1/152 + 1/1024 + …,.  Consequently, we can write 0.324 = 0.0101001011 ….  We can make sure that this representation is unique by avoiding an infinite string of consecutive 1s. Let’s write the elements of {s1, s2, s3, s4, s5, …} in their binary expansion as s1 = 0.s11s12s13 …, s2 = 0.s21s22s23…, s3 = 0.s31s32s33…,and so on.  To show that such an enumeration cannot be exhaustive, not that the element s = 0.s1s2s3… with s1 ¹ s11, s2 ¹ s22, s3 ¹ s33, and so on cannot be in our list.  Thus, there is no possible exhaustive enumeration of [0, 1] and this shows that [0, 1] is not countable. 

    [This argument is called Cantor’s diagonalization argument.  It is very similar to the argument that Godel used to prove his celebrated and disturbing theorem on the incompleteness or inconsistency of Arithmetic.]

 

Importance

 

Say that S is a set of positive numbers.  Assume that the sum a of all the numbers in S is finite.  The claim is that S must be countable.  To see this, note that the subset Sn of S of elements that are larger than a/n cannot have more than n elements.  Also, it is clear that S = ÈnSn.  Consequently, from Example 2, S is countable.

 

 



Jean Walrand – January 2000  --- INDEX