Derangements are a fascinating concept in combinatorics, a branch of mathematics dealing with counting and arrangements. In this blog, we explore what derangements are, their formulas, and how to apply them through examples and practice questions. Whether you’re a student or a math enthusiast, this guide will help you master derangements!
A derangement is a permutation of a set of distinct items where no item appears in its originally assigned position. In other words, it’s an arrangement where every item is misplaced. For example, if you have letters and envelopes, a derangement occurs when no letter is placed in its correct envelope.
Given \( n \) distinct items (with no repetition allowed):
Below are the derangement values for \( n = 0 \) to \( n = 6 \), calculated using the formula \( !n = n! \left[ \sum_{k=0}^{n} \frac{(-1)^k}{k!} \right] \):
Question 1: Three letters and three addressed envelopes are given. Find the number of arrangements where no letter goes into its correct envelope.
Solution:
Method 1: Listing Arrangements
Total arrangements = \( 3! = 6 \). Let the letters be L1, L2, L3, and envelopes E1, E2, E3, with L1 assigned to E1, etc. The arrangements are:
Derangements: 2.
Method 2: Derangement Formula
For \( n = 3 \):
Answer: 2 derangements.
Question 2: Six students are appearing for an examination. Find the number of seating arrangements where at least two students are in the wrong seats.
Solution:
Total arrangements = \( 6! = 720 \).
All correct arrangements (no student in the wrong seat) = 1.
Arrangements with at least one student in the wrong seat = \( 720 – 1 = 719 \).
Since swapping two students’ seats results in at least two wrong placements (if student X is in Y’s seat, Y is not in Y’s seat), the condition “at least two students in wrong seats” is equivalent to “at least one student in the wrong seat” in this context, as no single swap can result in exactly one wrong seat. Thus:
Answer: 719 arrangements.
Note: If the question asked for all students in wrong seats, we’d use the derangement formula for \( n = 6 \):
Question 3: Find the number of permutations of {1, 2, 3, 4, 5} that keep at least one integer in its original position.
Solution:
Total permutations = \( 5! = 120 \).
Derangements (no integer in its original position) = \( !5 = 44 \).
Permutations with at least one integer fixed = Total permutations – No integer is in correct position (Derangements):
Answer: 76 permutations.
Question 4: How many permutations of {1, 2, 3, 4, 5} leave at least two elements in their original positions?
Solution:
We calculate the number of permutations where exactly \( k \) elements are fixed (in their original positions) and the remaining \( n – k \) elements are deranged. Sum these for \( k = 2 \) to \( k = 5 \):
For at least 2 elements being fixed, we can consider the following cases:
Total = \( 20 + 10 + 0 + 1 = 31 \).
Answer: 31 permutations.
Question 5: Let \( A = \{1, 2, 3, 4, 5\} \). How many injective functions \( f : A \to A \) have the property that for each \( x \in A \), \( f(x) \neq x \)?
Solution:
An injective function \( f : A \to A \) is a permutation of the set \( A \). The condition \( f(x) \neq x \) means no element maps to itself, which is the definition of a derangement. Thus, we need the number of derangements for \( n = 5 \):
Answer: 44 injective functions.
Question 6: Ten ladies drop off their red hats at a museum’s hat check. The attendant returns the hats randomly. In how many ways can exactly six ladies receive their own hats (and the other four not)?
Solution:
Choose 6 ladies who receive their own hats: = \( \frac{10!}{6! \cdot 4!} = 210 \).
The remaining 4 ladies must not receive their own hats, so we need the number of derangements for the 4 hats: \( !4 = 9 \).
Total ways = \( 210 \cdot 9 = 1890 \).
Answer: 1890 ways.
Derangements are a powerful concept in combinatorics, offering insights into problems where no item is in its correct place. By mastering the derangement formula and practicing with these examples, you’ll be well-equipped to tackle similar problems. Keep exploring combinatorics to deepen your mathematical skills!