Expected square of number of fixed points of permutation equals two
Statement
Suppose is a natural number. Consider the uniform distribution on the symmetric group of degree , i.e., the symmetric group on a set of size . For , the expected value of the square of the number of fixed points for a permutation picked according to the uniform probability distribution equals .
See also probability distribution of number of fixed points of permutations.
Related facts
Similar facts
- Expected number of fixed points of permutation equals one
- In general, the expected value of the power of the number of fixed points equals the Bell number (the number of ways of partitioning a set of size into subsets) whenever .
Proof
For , denote by the random variable that indicates whether is fixed by the permutation (so it's if is fixed and otherwise). We can show that:
- , i.e., the probability that any particular element is fixed is . Note that squaring makes no difference since the variables take values and .
- For , , i.e., the probability that two specific elements are fixed is .
The expected value of the square of the number of fixed points is . This simplifies to:
The first of these becomes . The second is a sum of terms each of which is , which cancels out to give . The sum is as desired.
Note that this uses ; when , there are no cross terms and the expression is illegal as it involves division by zero.
Representation theory interpretation
The expected value of the square of the number of fixed points can be thought of as the norm of the linear representation of the symmetric group acting naturally on points. For , this representation is the sum of two irreducible representations: the trivial representation and the standard representation, therefore the norm must equal .