One mapping is selected at random from all the mapping of the set A = {1, 2, 3, ......, n} into itself. The probability that the mapping selected is one to one is
(n−1)!nn−1
Number of ways to map 1st element in set A = n
Number of ways to map 2nd element in set A = n and so on
∴ Total number of mapping from set A to itself =n×n×.....×n (n times) = nn
For one to one mapping,
Number of ways to map 1st element in set A = n
Number of ways to map 2nd element in set A = n - 1
Number of ways to map 3nd element in set A = n - 2
Number of ways to map nth element in set A = 1
Total number of one to one mapping from set A to itself =n×(n−1)×(n−2)×....×1=n!
∴ Required probability
Total number of one to one
\(= \frac{\text{mappings from set A to itself}}{\text{Total number of mapping from }\)
set A to itself
=n!n!=(n−1)!nn−1