Q.
The number of surjective functions from A to B where A={1,2,3,4} and B={a,b} is
1965
200
Relations and Functions - Part 2
Report Error
Solution:
If A and B are two sets having m and n elements such that 1≤n≤m=r=1∑n(−1)n−rnCrrm
Number of surjection from A to B =∑r=1n(−1)2−r2Cr(r)4 =(−1)2−12C1(1)4+(−1)2−22C2(2)4 =−2+16=14