Question 1
In how many ways can 5 distinct letters be placed into 5 envelopes such that exactly 1 letters go into their correct envelopes (and the rest go into wrong envelopes)?
Step-by-Step Solution (Rencontres Numbers):
Concept: This is a partial derangement problem. We want exactly k fixed points, with the remaining n-k elements deranged.
Formula:
$$D(n, k) = \binom{n}{k} \cdot !(n-k)$$
where $!(m)$ is the derangement number.
Given:
- n = 5 (total elements)
- k = 1 (exact fixed points)
Step 1 - Choose which positions are fixed:
Choose 1 positions out of 5: C(5,1) = 5
Step 2 - Derange the remaining elements:
Remaining 4 elements must have NO fixed points
Derangement number D(4) = 9
Step 3 - Apply multiplication principle:
Total = C(5,1) × D(4)
= 5 × 9
= 45
Verification:
- When k=0: D(n,0) = derangement(n) ✓
- When k=n-1: D(n,n-1) = 0 (can't have all but one fixed) ✓
- When k=n: D(n,n) = 1 (identity permutation) ✓
Rencontres numbers table for n=5:
- D(5,0) = 44
- D(5,1) = 45
- D(5,2) = 20
- ... and so on.
Key Insight: The sum of all rencontres numbers for given n equals n! (total permutations).
Concept: This is a partial derangement problem. We want exactly k fixed points, with the remaining n-k elements deranged.
Formula:
$$D(n, k) = \binom{n}{k} \cdot !(n-k)$$
where $!(m)$ is the derangement number.
Given:
- n = 5 (total elements)
- k = 1 (exact fixed points)
Step 1 - Choose which positions are fixed:
Choose 1 positions out of 5: C(5,1) = 5
Step 2 - Derange the remaining elements:
Remaining 4 elements must have NO fixed points
Derangement number D(4) = 9
Step 3 - Apply multiplication principle:
Total = C(5,1) × D(4)
= 5 × 9
= 45
Verification:
- When k=0: D(n,0) = derangement(n) ✓
- When k=n-1: D(n,n-1) = 0 (can't have all but one fixed) ✓
- When k=n: D(n,n) = 1 (identity permutation) ✓
Rencontres numbers table for n=5:
- D(5,0) = 44
- D(5,1) = 45
- D(5,2) = 20
- ... and so on.
Key Insight: The sum of all rencontres numbers for given n equals n! (total permutations).