0

Let X be a set. Prove there is an injection from $X \rightarrow 2^X$. Prove that there is not a surjection from $X \rightarrow 2^X$.

My try- Assume to the contrary that $f: X \rightarrow 2^X$. is a surjection and consider the set $M=\{x\in X | x \not\in f(x)\} $. Then show to show that M doesn't have a pre-image. So, there is no surjection.

Git Gud
  • 31,356
Mandy
  • 83

2 Answers2

0

hint: For injection consider the function $f:X \longrightarrow 2^X$ given by $f(a)=\{a\}$.

Anurag A
  • 41,067
0

Let us M has a pre-image. Let us say $f(y)=M$.

Either $y\in M$ or $y\not \in M$

Now, if $y\in M $ then $y\not \in f(y)$ (by construction of M). But $f(y)=M$. So, $y\not \in M$. So a contradiction.

If $y\not \in M $ then $y \in f(y)$(by construction of M) . But $f(y)=M$. So, $y \in M$. So a contradiction.

Therefore M doesn't have a pre-image. That implies there is no surjection from $X \rightarrow 2^{X}$

Babai
  • 5,055