0
$\begingroup$

Possible Duplicate:
Is the set of all finite sequences of letters of Latin alphabet countable/uncountable? How to prove either?
Is the set of all strings with countably infinite length bijective to $\[0,1\]$?

I'm trying to prove that a set of a finite sequences of $0,1$ (let's call it $A$) is countable infinite, whereas a set of infinite sequences of $0,1$ (call it $B$) equipotent to $P(\mathbb N)$ is uncountable infinite.

So far I tried showing that the number of sequences possible in A is $\sum \limits_{i=1}^n \ 2^i$. Not sure how to continue from here, if this is even the right direction.

$\endgroup$

marked as duplicate by Srivatsan, robjohn, Asaf Karagila, J. M. is a poor mathematician, Arturo Magidin Dec 1 '11 at 5:47

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • $\begingroup$ I also tried finding some bijective function, but to no avail $\endgroup$ – Asaf Nov 30 '11 at 20:06
  • 1
    $\begingroup$ Use the fact that a countable union of countable sets is countable for the first part. For the other, see here math.stackexchange.com/questions/86650/… $\endgroup$ – David Mitra Nov 30 '11 at 20:08
  • $\begingroup$ The second part can be understood as a special case of this: math.stackexchange.com/questions/84180/… $\endgroup$ – Martin Sleziak Nov 30 '11 at 20:10
  • 2
    $\begingroup$ I think this is a duplicate of 65988, 61926, and 29599 put together. $\endgroup$ – Srivatsan Nov 30 '11 at 20:15
  • 2
    $\begingroup$ I voted to close it as a duplicate of 29599. Since that question does not cover all parts of this one, I recommend that future voters choose other questions like 61926 or 65988. $\endgroup$ – Srivatsan Nov 30 '11 at 21:32
0
$\begingroup$

I'll do the first part:

For each positive integer $n$, let $A_n$ be the set of sequences of 0's and 1's of length $n$. Then $A=\bigcup_{n=1}^\infty A_n$.

Moreover, each $A_n$ is finite. In fact $|A_n|=2^n$. Since a countable union of countable sets is countable, it follows that $A$ is countable.

Now the sequence $\underbrace{0\ 0\ 0\ \cdots\ 0 }_{n-\rm terms}\ 1$ is in $A$ for each positive integer $n$. Thus, $A$ is infinite (and so, countably infinite).

$\endgroup$
0
$\begingroup$

B is a standard application of Cantor's diagonal argument, though the obvious bijection is far more enlightening.

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.