Question
Question: Find number of surjection from A to B where . \[A = \{ 1,2,3,4\},B = \{ a,b\}\]...
Find number of surjection from A to B where .
A={1,2,3,4},B={a,b}
A
13
B
14
C
15
D
16
Answer
14
Explanation
Solution
Number of surjection from A to B =∑r=12(−1)2−r2Cr(r)4
=(−1)2−12C1(1)4+(−1)2−22C2(2)4=−2+16=14
Therefore, number of surjection from A to B = 14.
Trick : Total number of functions from A to B is 24 of which two function f(x)=a for all x∈A and g(x)=b for all x∈A are not surjective. Thus, total number of surjection from A to B =24−2=14.