The number of onto functions (surjective functions) from set X={1,2,3,4} to set Y={a,b,c} is
36
Open in App
Solution
The correct option is A 36
The number of onto functions from A→B where |A|=m and |B|=n is given by the formula nm−nC1(n−1)m+nC2(n−2)m+…+(−1)n−1Cn−11m
Here, m=4 and n=3
Substituting in above formula we get, 34−3C1(3−1)4+3C2(3−2)4 =81−48+3=36