Let $S_N$ be the set of numbers $\{1, 2, 3, \dots, N\}$. Argue that if a map $f\colon S_N\to S_N$ is surjective, then $f$ is a bijection.
I know that bijection is surjective + injective then there will be a case or set where surjective will also be bijective right?
Any help appreciated.
By definition of surjection we have that for all $y \in S_n, \exists x \in S_n$ s.t. $f(x)=y$. That is there is at least one element of $S_n$ that maps to every element of $S_n$ via $f$.
If we further assume $f$ is not injective, then there exists $f(a) = f(b)$ s.t. $a \neq b$. That is we have $a \in S_n$ and $b \in S_n$ such that $a \neq b$ and $f(a) = f(b) = y_1 \in S_n$. By finiteness of $S_n$ and the pigeonhole principle we then clearly see that $S_n$ is not surjective (as there must exist a $y_2$ not mapped to by $f$).
Comment: this seems to be the clearest way to think about this, i.e. break onto without 1-1. This is a great problem to visualize with sets and arrows, start with a few elements and see why the arrows lead you to believe this.