Problem 1
Let be the number of permutations of the set , , that have exactly fixed points. Prove that . (A permutation of a set is a one-to-one mapping of onto itself; an element of is a fixed point of if .)
Step 4 of 4: Combine both expressions for E[X]
In plain words
Both routes computed the same average, so setting them equal finishes the proof with no further computation.
Detailed analysis
Equating the two expressions for obtained in Steps 2 and 3 gives , i.e. , which is exactly the identity to be proved.