Injective function · Exercise-INJECTIVE-FUNCTION-010
Step-by-step solved exercise: Relations and functions
How many injective functions are there from \(\displaystyle \{1,2\}\) to \(\displaystyle \{a,b,c\}\)?
Injective function · Exercise-INJECTIVE-FUNCTION-010
How many injective functions are there from \(\displaystyle \{1,2\}\) to \(\displaystyle \{a,b,c\}\)?
For the input \(\displaystyle 1\) there are three possible values in \(\displaystyle \{a,b,c\}\).
For the input \(\displaystyle 2\) only two values remain, since its image must differ from \(\displaystyle f(1)\).
By the multiplication principle, the total is \(\displaystyle 3\cdot 2\).
There are 6 injective functions.
6