Topic: Discrete Mathematics / Combinatorics
The number of derangements of 4 objects, D4, equals
- A. 24
- B. 14
- C. 9
- D. 15
Answer: C. 9
Explanation: A derangement is a permutation of elements where none of the elements appear in their original position. The number of derangements $D_n$ for $n$ objects is calculated using the formula $D_n = n! \sum_{i=0}^n \frac{(-1)^i}{i!}$. For $n=4$: $D_4 = 4! (\frac{1}{0!} - \frac{1}{1!} + \frac{1}{2!} - \frac{1}{3!} + \frac{1}{4!}) = 24 (1 - 1 + 0.5 - 0.166... + 0.0416...) = 24 (\frac{12 - 4 + 1}{24}) = 9$.