The number of surjections from A = {1, 2, 3, …………….. ,n}, n \(\geq\)2 onto B = {a, b} is
A
nP−2
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
2n−2
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
2n−1
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
Noneofthese
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is B2n−2 Number of surjections from A onto B is ∑nr=1(−1)n−rnCrrm, provided m ≥ n =∑r=1n(−1)2−r2Crrn=(−1)12Cn1+(−1)02C22n =−2+2n=2n−2