Solveeit Logo

Question

Question: A mapping is selected at random from the set of all the mappings of the set \(A = \{ 1,2 , \ldots , ...

A mapping is selected at random from the set of all the mappings of the set A={1,2,,n}A = \{ 1,2 , \ldots , n \}into itself. The probability that the mapping selected is an injection is

A

1nn\frac { 1 } { n ^ { n } }

B

1n!\frac { 1 } { n ! }

C

(n1)!nn1\frac { ( n - 1 ) ! } { n ^ { n - 1 } }

D

n!nn1\frac { n ! } { n ^ { n - 1 } }

Answer

(n1)!nn1\frac { ( n - 1 ) ! } { n ^ { n - 1 } }

Explanation

Solution

The total number of functions from AA to itself is nnn ^ { n } and the total number of bijections from AA to itself is n!n ! {Since AA is a finite set, therefore every injective map from AA to itself is bijective also}.

\thereforeThe required probability =n!nn=(n1)!nn1= \frac { n ! } { n ^ { n } } = \frac { ( n - 1 ) ! } { n ^ { n - 1 } }