The following two results are straightforward and reasonably well-known exercises in combinatorics:
- The number of permutations on Image may be NSFW.
Clik here to view.elements with no fixed points (derangements) is approximately Image may be NSFW.
Clik here to view..
- The expected number of fixed points of a random permutation on Image may be NSFW.
Clik here to view.elements is Image may be NSFW.
Clik here to view..
As it turns out, it is possible to say substantially more about the distribution of fixed points of a random permutation. In fact, the following is true.
Theorem: As Image may be NSFW.
Clik here to view., the distribution of the number of fixed points of a random permutation on Image may be NSFW.
Clik here to view. elements is asymptotically Poisson with rate Image may be NSFW.
Clik here to view..
A boring proof
Once we know that the number of derangements of Image may be NSFW.
Clik here to view. elements is approximately Image may be NSFW.
Clik here to view., we know that the number of permutations of Image may be NSFW.
Clik here to view. elements with exactly Image may be NSFW.
Clik here to view. elements is Image may be NSFW.
Clik here to view. times the number of derangements of Image may be NSFW.
Clik here to view. elements, which is approximately
Image may be NSFW.
Clik here to view.
hence the probability that a permutation on Image may be NSFW.
Clik here to view. elements has Image may be NSFW.
Clik here to view. fixed points is approximately Image may be NSFW.
Clik here to view., which is precisely the probability that a Poisson random variable with rate Image may be NSFW.
Clik here to view. takes the value Image may be NSFW.
Clik here to view..
A more interesting proof
For this proof we will show convergence in the sense of moments; that is, if Image may be NSFW.
Clik here to view. is the random variable describing the number of fixed points of a random permutation on Image may be NSFW.
Clik here to view. elements, we will show that the moments Image may be NSFW.
Clik here to view. converge to the moments of a Poisson random variable Image may be NSFW.
Clik here to view. with rate Image may be NSFW.
Clik here to view.. First, we compute that the moment generating function of Image may be NSFW.
Clik here to view. is
Image may be NSFW.
Clik here to view.
which is the exponential generating function of the Bell numbers Image may be NSFW.
Clik here to view., which count the number of partitions of a set with Image may be NSFW.
Clik here to view. elements. We conclude that
Image may be NSFW.
Clik here to view.
so it suffices to show that Image may be NSFW.
Clik here to view. converges to Image may be NSFW.
Clik here to view.. Actually we will show a little more than this.
Theorem: Image may be NSFW.
Clik here to view. is the number of partitions of a set with Image may be NSFW.
Clik here to view. elements into at most Image may be NSFW.
Clik here to view. non-empty subsets.
Proof 1. Note that
Image may be NSFW.
Clik here to view.
where Image may be NSFW.
Clik here to view. is the number of fixed points of Image may be NSFW.
Clik here to view. acting on the set of functions Image may be NSFW.
Clik here to view.. It follows by Burnside’s lemma that the above sum is equal to the number of orbits of Image may be NSFW.
Clik here to view. acting on the set of functions Image may be NSFW.
Clik here to view., which is precisely the number of partitions of Image may be NSFW.
Clik here to view. into at most Image may be NSFW.
Clik here to view. non-empty subsets (by taking preimages of each element of Image may be NSFW.
Clik here to view.). Image may be NSFW.
Clik here to view.
Proof 2. By the exponential formula,
Image may be NSFW.
Clik here to view.
which simplifies to
Image may be NSFW.
Clik here to view..
To extract Image may be NSFW.
Clik here to view. moments, we can apply the differential operator Image may be NSFW.
Clik here to view. and substitute Image may be NSFW.
Clik here to view.. Either by induction or by a combinatorial argument (see for example this math.SE question), we can show that
Image may be NSFW.
Clik here to view.
where Image may be NSFW.
Clik here to view. are the Stirling numbers of the second kind, which count the number of partitions of a set with Image may be NSFW.
Clik here to view. elements into exactly Image may be NSFW.
Clik here to view. non-empty subsets. We conclude that
Image may be NSFW.
Clik here to view.
and substituting Image may be NSFW.
Clik here to view. we conclude that
Image may be NSFW.
Clik here to view..
This gives
Image may be NSFW.
Clik here to view.
as desired. Image may be NSFW.
Clik here to view.