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

  • Thread starter jostpuur
  • Start date
In summary, it is possible to construct an explicit injection \phi:\mathbb{N}^\mathbb{N}\to 2^\mathbb{N}, showing that the cardinality of \mathbb{N}^\mathbb{N} is equal to that of 2^\mathbb{N}. This is done by using the fact that \mathbb{N}\times\mathbb{N} has the same cardinality as \mathbb{N}, and constructing a map that maps each element of \mathbb{N}^\mathbb{N} to a corresponding element in 2^\mathbb{N}. Therefore, it is proven that \mathbb{N}^\mathbb{N
  • #1
jostpuur
2,116
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]
?
 
Mathematics news on Phys.org
  • #2


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].
 
  • #3


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)
= \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.
 

1. How do you prove card(N^N) is uncountable?

In order to prove that card(N^N) is uncountable, we can use Cantor's diagonalization argument. This involves constructing a real number that is not in the list of all possible real numbers, which shows that the set of real numbers is uncountable. Since N^N is a subset of the set of real numbers, it must also be uncountable.

2. What is the cardinality of N^N?

The cardinality of N^N is equal to the cardinality of the set of real numbers, which is known as the continuum. This means that there are infinitely many elements in N^N and it is uncountable.

3. Can you show a bijection between N^N and the power set of natural numbers?

Yes, we can show a bijection between N^N and the power set of natural numbers by using the binary representation of real numbers. Each real number in N^N can be represented as an infinite sequence of 0s and 1s, which can be mapped to a subset of natural numbers by considering the indices of the 1s in the sequence.

4. How does the cardinality of N^N compare to the cardinality of N?

The cardinality of N^N is larger than the cardinality of N, which means that N^N is an uncountable set while N is a countable set. This is because N^N contains all possible functions from natural numbers to natural numbers, which is a larger set than just the natural numbers themselves.

5. Is it possible to enumerate the elements of N^N?

No, it is not possible to enumerate the elements of N^N. This is because N^N is an uncountable set, so there is no way to list all of its elements in a finite or infinite list. This is a key characteristic of uncountable sets.

Similar threads

  • General Math
Replies
7
Views
495
  • Calculus and Beyond Homework Help
Replies
1
Views
577
  • Calculus and Beyond Homework Help
Replies
1
Views
515
  • Calculus and Beyond Homework Help
Replies
3
Views
550
  • General Math
Replies
2
Views
1K
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
813
Replies
6
Views
356
  • General Math
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
521
Back
Top