Wednesday, 3 April 2019
10:20 AM
Suppose that  is a set with  elements and  is a set with  elements.![]()
![]()
First we count all possible functions
from  to ![]()
Choose   …
 ways![]()
Choose   …
 ways![]()
…
Choose   …
 ways![]()
There are  ways![]()
No repetitions are allowed… ![]()
This is equal to zero, as there are less output elements than input elements
Write ![]()
![]()
Let  be the set of all functions from  to  where  is missing![]()
![]()
for ![]()
![]()
![]()
![]()
![]()

If  then , else ![]()
Created with Microsoft OneNote 2016.