If a set \( A \) has \( n \) elements, then the number of functions defined from \( A \) to \( A \) that are not one-one is:
Show Hint
Remember, total number of functions from a set with \( n \) elements to itself is \( n^n \), and number of one-one functions is \( n! \). Their difference gives the count of not one-one functions.
The total number of functions from a set with \( n \) elements to itself is:
\[
n^n
\]
The number of one-one (injective) functions from \( A \) to \( A \) is:
\[
n!
\]
Therefore, the number of functions that are not one-one is:
\[
n^n - n!
\]