Section 3.3 Application: Derangements
Objectives
- Define derangements and use the Principle of Inclusion-Exclusion to derive a general formula for them.
- Recognize scenarios where derangements apply and use them to solve problems.
Definition 3.3.1. Derangement.
A derangement is a permutation on
Example 3.3.2. Derangements of 3- and 4-sets.
The permutation on \(\{1,2,3\}\) that takes \(1\) to \(3\text{,}\) \(2\) to \(1\text{,}\) and \(3\) to \(2\) is a derangement; we can also denote it as the string 312.
There are only two derangements on \(\{1,2,3\}\text{:}\) 231 and 312.
The permutation 3241 on \(\{1,2,3,4\}\) is not a derangement since 2 is sent to itself. We call 2 a fixed point of the permutation.
(Try listing all derangements of \(\{1,2,3,4\}\text{.}\))
Exploration 3.3.1. Deriving .
Count the number of derangements
(a)
Define
Then, express
(b)
If
(c)
Combine with Theorem 3.2.6 to derive a formula for
Theorem 3.3.3. Number of Derangements.
The number of derangements
Remark 3.3.4.
For problems where it is relevant, you may leave your answers in terms of
Checkpoint 3.3.5. Compute .
Evaluate \(D_4\) and verify that it is the correct number by listing all derangements of \(\{1,2,3,4\}\text{.}\)
Checkpoint 3.3.6. The Ratio
Using a computer, evaluate the ratio
of derangements to all permutations of \(\{1,2,\ldots,n\}\) for \(n\) increasingly large.
Verify that the ratios approach the value of \(\frac{1}{e}\text{.}\)