4
$\begingroup$

I am trying to figure out if the class of subsets of integers is countably infinite or not. I know that a collection of all finite subsets of integers is countable. I believe i need to use diagonalization to prove whether it's true or not but I'm not sure how to approach it.

All Help is greatly appreciated!

  • 4
    For any particular subset, any particular inte$g$er is either in the subset or not in the subset.2011-09-04

4 Answers 4

11

No, the set of all subsets of the integer is not countable. Since $\mathbb{Z}$ has the same cardinality as $\mathbb{N}$, it suffice to consider all subsets of $\mathbb{N}$.

For each subset $X$ of $\mathbb{N}$ consider the characteristic function $\chi_X$ defined by

$\chi_X(z) = \begin{cases} 1 & \quad z \in X \\ 0 & \quad z \notin X \end{cases}$

In this way you associate injectively and subjectively each subset $X$ of $\mathbb{N}$ with a function in $2^{\mathbb{N}}$. $2^\mathbb{N}$ has cardinality strictly larger than $\mathbb{N}$. This is proved by the typical Cantor diagonalization argument.

Also, Cantor Diagonalization and the function I wrote above can be used to show more generally that the set of all subsets of a given set has cardinality strictly greater than the given set.

In response to comment :

You can think of a function from $\mathbb{N} \rightarrow 2$ a infinite binary strings of $0$'s and $1$'s. Assume that $2^{\mathbb{N}}$ is countable. That is there is a bijection $\sigma$ from $\mathbb{N}$ to $2^\mathbb{N}$. Then define the function $h : \mathbb{N} \rightarrow 2$ as follows

$h(n) = \begin{cases} 1 & \quad (\sigma(n))(n) = 0 \\ 0 & \quad (\sigma(n))(n) = 1 \end{cases}$

Informally, this is the familiar argument, form a new binary string by going down the diagonal and switching $0$ for $1$ and $1$ for $0$. Now this is a a perfectly good binary string hence it down appear as $\sigma(k)$ for some $k$ if $\sigma$ is indeed a bijection. However, it can not be $\sigma(k)$ for any $k$ since it differs from $\sigma(k)$ in at least the $k^\text{th}$ entry.

I hope this helps.

  • 0
    I provided a brief sketch of diagonalization argument for proving $2^\mathbb{N}$ is not countable. I hope that was what you were asking.2011-09-05
3

It is not. For any family $\mathscr A=(A_x)$ of subsets of a given set $X$, indexed by $x$ in $X$, consider the subset $B$ of $X$ defined as follows: $B$ is the set of elements $x$ of $X$ such that $x\notin A_x$. Then $B$ cannot be any of the sets $A_x$, hence any family $\mathscr A$ indexed by $X$ cannot contain every subset of $X$.

This argument is called Cantor's diagonal argument (where diagonal refers to the diagonal of a hypothetical array whose lines would be indexed by $X$ and columns would be indexed by $\mathscr A$). It shows that the set of all subsets of $X$ has cardinality greater than $X$, for any set $X$.

3

Edit. I rewrote this answer since there was a small, but significant, inaccuracy in my earlier hint. Thanks to GEdgar for pointing out the error, and to both GEdgar and Henning Makholm for suggestions for fixes.

First, note that William Chan demonstrates a bijection from the power set of $\mathbb N$ to the set of infinitely long $0$-$1$ strings (call1 this set $Z$). This is nothing but the map sending $S \subseteq \mathbb N$ to its characteristic vector (function).

Now, given an infinite $0$-$1$ string, we can transform it to a real number by placing a binary point in the beginning, and interpretting it as a binary expansion of a real number; this number will clearly lie in $[0,1]$. (If this seems too informal, see leo's answer for a formal definition.) So we have a map from $Z$ to the reals in $[0,1]$.

This map is certainly not injective, since $0.00111\ldots_{2}$ and $0.01000\ldots_{2}$ represent the same real number. (This was, in fact, the error in the previous hint.) However, it is surjective, basically because all real numbers (in $[0,1]$) have a binary expansion (with nothing before the binary point). And we only need surjectivity for this idea to go through.

Now, since $[0,1]$ is uncountable, can you see that $Z$ is also uncountable? What can you then conclude about the cardinality of $2^{\mathbb N}$? For the first part, you will need the fact that there exists no surjective mapping from a countable set to an uncountable set.

1Edit. Per Zhen Lin's comment, I changed $\lbrace 0,1 \rbrace^\omega$ to $\lbrace 0,1 \rbrace^{\mathbb N}$. I decided to call this set simply $Z$, instead of $\lbrace 0,1 \rbrace^{\omega}$ or $\lbrace 0,1 \rbrace^{\mathbb N}$. See the comments below. Thanks to Asaf for the clarification anyway.

  • 0
    @Zhen Lin: If a completely unambiguous notation for the set of functions from $\omega$ to $2=\{0,1\}$ is wanted, I would use $^\omega 2$ or $^\omega\{0,1\}$.2011-09-20
1

The answer is no. I think the best way to see this is the @Didier Piau's answer. Now, to another, the problem can be reduced to show that the class of subsets of natural numbers is no countable, as William Chan say. I'll show that class of infinite subsets of natural numbers is not numerable. This is just a little change of the Srivatsan's argument.

We say that a set $A$ is numerable, if is equipotent to the set $\mathbb{N}$ of natural numbers. We say that $A$ is countable, if is finite or numerable.

Lemma. If $A\subseteq B$ and $B$ countable, then $A$ is countable.

Now, consider the class of infinite subsets of natural numbers $\mathfrak{I}$. Define $\psi:\mathfrak{I}\to ]0,1]$ by $\psi(A)=\sum_{n\in \mathbb{N}}\frac{\chi_A(n)}{2^n},$ where $\chi$ is as in the William Chan's answer. The function $\psi$ is well defined because of the uniqueness of the infinite expansion in base $2$ of the numbers in $]0,1]$. Since a infinite string of 0-1s (that is not always $0$ from a moment) corresponds to a infinite subset of $\mathbb{N}$, $\psi$ is a bijection and therefore since $]0,1]$ isn't numerable, we conclude that $\mathfrak{I}$ is not numerable. Then by the lemma the class of subsets of $\mathbb{N}$ isn't countable.

  • 0
    Ah, that was a clever way to get around the issue :) .2011-09-05