Is there an injection from \mathbb{N}^{\mathbb{N}} to 2^{\mathbb{N}}?

  • Context: Graduate 
  • Thread starter Thread starter jostpuur
  • Start date Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 2K views
jostpuur
Messages
2,112
Reaction score
19
How do you prove that [tex]\mathbb{N}^{\mathbb{N}}[/tex] does not have a cardinality greater than that of [tex]2^{\mathbb{N}}[/tex]? Is it possible to construct an injection

[tex] \phi:\mathbb{N}^{\mathbb{N}}\to 2^{\mathbb{N}}[/tex]
?
 
Physics news on Phys.org


You basically use that [tex]\mathbb{N}\times\mathbb{N}[/tex] has the same cardinality than [tex]\mathbb{N}[/tex]:

[tex]|\mathbb{N}^\mathbb{N}|\leq |(2^{\mathbb{N})^\mathbb{N}}|=|2^{\mathbb{N}\times\mathbb{N}}|=|2^\mathbb{N}|[/tex].

The other inequality is trivial to prove, so we have [tex]|\mathbb{N}^\mathbb{N}|=|2^\mathbb{N}|[/tex].
 


I see.

Actually I also figured out a way to write down an injection explicitly. It's not impossible. Like this:

[tex] \phi(0,0,0,\ldots)=(0,0,0,\ldots)[/tex]

[tex] \phi(1,0,0,\ldots) = (1,0,0,0,0,\ldots)[/tex]
[tex] \phi(2,0,0,\ldots) = (0,0,1,0,0,\ldots)[/tex]
[tex] \phi(3,0,0,\ldots) = (0,0,0,0,1,\ldots)[/tex]

[tex] \phi(0,1,0,\ldots) = (0,1,0,0,0,0,0,0,0,0,\ldots)[/tex]
[tex] \phi(0,2,0,\ldots) = (0,0,0,0,0,1,0,0,0,0,\ldots)[/tex]
[tex] \phi(0,3,0,\ldots) = (0,0,0,0,0,0,0,0,0,1,\ldots)[/tex]

and so on. Then

[tex] \phi\Big(\sum_{n=0}^{\infty} f(n) e_n\Big)<br /> = \sum_{n=0}^{\infty} \phi\big(f(n) e_n\big)[/tex]

Here [tex]e_n\in\mathbb{N}^{\mathbb{N}}[/tex] means the member that maps index [itex]i[/itex] to zero if [itex]i\neq n[/itex], and to one if [itex]i = n[/itex]. Any function [tex]f\in\mathbb{N}^{\mathbb{N}}[/tex] can be written as above.