Suppose that $X$ is finite and let $f\colon X\to Y$ be a map. Show that $f$ is injective if and only if $|f(X)| = |X|$
I wrote the elements of $X$ as $x_1,\dots,x_n$ and know that $|X|$ is therefore $n$, but am unsure of what to do next.
Suppose that $X$ is finite and let $f\colon X\to Y$ be a map. Show that $f$ is injective if and only if $|f(X)| = |X|$
I wrote the elements of $X$ as $x_1,\dots,x_n$ and know that $|X|$ is therefore $n$, but am unsure of what to do next.
Now suppose |f(X)| = |X|. We claim that f must be injective. Suppose otherwise. If f is not injective what happens? Try to reach a contradiction.
– Soby Nov 10 '16 at 12:00