which of the following is necessarily true for a function$ f : X \rightarrow Y $?
1) if $ f$ is injective ,then there exists $g : Y \rightarrow X$ such that $f(g(y) =y$ for all $y \in Y.$
2) if f is surjective ,then there exists $g : Y \rightarrow X $such that $f(g(y) =y$ for all $y \in Y.$
3) if $f$ is injective and $Y $ is countable then X is finite.
4) if $ f$ is surjective and $X$ is uncountable then $Y$ is countably infinite
My attempts : option 3 is wrong take $ f$ :N$ $ $\rightarrow$ N
option $4$ is wrong take $f : R \rightarrow R$
option $1$ is true and option $2$ is also Trues as both are True because take $f(x) = x$
Is my answer is correct or not pliz verified its....
thanks
f is surjective ,then there exists $g : Y \rightarrow X $such that $f(g(y) =I$ for all $y \in Y.$
take X ={1} and$ Y$ ={$1,2$}, as for option $1)$ $ f$ is injective that mean $f(1) = 1$ but f is not onto so it is false
so option $2 $ is true