The number of all onto functions from the set A={1,2,3,…n} to itself is
A
n!
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
2n!
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
n!2
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
n!n
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is An! A={1,2,3,⋯n}
Element Number of possible pairing 1n 2n−1 3n−2 ⋅⋅ ⋅⋅ n−12 n1
Total number of onto functions =n×n−1×n−2×⋯×2×1=n!