I was trying solve this question, but I didn't solve. I'm trying construct a surjective function $h: Y \longrightarrow I_n$ at the moment, but I don't know if I'm in the right way. Someone can give me a hint to solve this problem? Thank you in advance!
-
1@HenryW. Cardinality is defined in terms of injective functions rather than surjective functions. (This turns out to be important when we remove the axiom of choice) – Milo Brandt Mar 22 '16 at 00:37
4 Answers
Actually it's not quite true: there is no surjective function from $Y$ to the empty set.
EDIT: Assuming $X$ is nonempty, we proceed by induction on the cardinality $n$ of $X$.
For $n = 1$, let $X = \{x\}$ and take $f(y) = x$ for all $y \in Y$.
Induction step: Suppose the statement is true for $n-1$. If $x$ is one member of $X$, then $X = \{x\} \cup X'$ where $X'$ is a finite set of cardinality $n-1$, not containing $x$. Let $y$ be one element of $Y$. Then $Y = \{y\} \cup Y'$ where $Y'$ is infinite and does not contain $y$. Let $g$ be a surjective function from $Y'$ to $X'$, and define $$ f(t) = \cases{ y & if $t=x$\cr g(t) & otherwise\cr}$$

- 448,999
A construction of such a surjection (if $X$ is not empty !) :
We can assume without loss of generality that $X = \{ 1,2, \cdots, n\}$
Now, as $Y_1 = Y$ is infinite, it's not empty, so there exists an $y_1 \in Y_1$.
As $Y_1$ is infinite, $Y_2 = Y \backslash \{ y_1 \}$ is infinite (if $Y_2$ was finite, it would have $k$ elements ($k \in \Bbb N$), and $Y_1$ would then have $k+1$ elements and would be finite)
But as $Y_2$ is infinite, it's not empty, so there exists an $y_2 \in Y_2$. And $Y_3 = Y_2 \backslash \{y_2\}$ is infinite.
Iterate this up to have constructed $y_{n-1}$ and $Y_n$. Remark that $Y_n = Y \backslash \{ y_1, \cdots, y_{n-1} \}$
Now define $f$ this way :
If $y \in Y_{n}$, then $f(y) = n$. Else, there exists $i\in \Bbb N , 0 < i < n$ such that $y = y_i$ and then define $f(y) = f(y_i) = i$
$f$ is well defined and is surjective by construction

- 14,310
Let $X$ be a finite set and $Y$ be an infinite set. Now there exists a function $f: Y \to \mathbb{N}$ such that $f$ is a bijection. There also exists $g: \mathbb{N} \to X$ such that $g$ is a surjection. Now, $g \circ f: Y \to X$ and is surjective. This works as long as $Y$ is countable. If $Y$ is uncountable, there exists $h: Y \to \mathbb{N}$ such that $h$ is a surjection. Now, $ g\circ h: Y \to X$ is the desired surjection.

- 576
-
1$f$ cannot exist with $Y = \mathbb{R}$. The question does not specify the countability of $Y$. – Henricus V. Mar 22 '16 at 00:28
-
That's why I wrote it works as long as $Y$ is countable at the end of the answer – Matt Dyer Mar 22 '16 at 00:29
-
There exists a function surjection to $ \mathbb{N} $ from any infinite set due to the fact that all infinite sets have a countable subset. – Q the Platypus Mar 22 '16 at 00:31
-
Thank you! @Matt and @Q the Platypus. I understand now how to solve this question! – George Mar 22 '16 at 00:48
First define some arbitrary order on X.
Let $Y$ be your infinite set construct a contiguous set of ordinal numbers $I$ such that $ |Y| = |I| $.
There exists a function $ h : Y \to I $ due to the definition of bijection. Then create a function $ g : I \to X $ that assigns the first $ |X| $ elements of $I$ to elements of $X$ in the order given and the rest to the last element of X. $ g \circ h : Y \to X $ is a surjective function.

- 4,626