A person writes letter to 6 friends and addresses the corresponding envelopes. Let’x’ be the number of ways so that at least 2 of letters are in wrong envelopes and ‘y’ be the number of ways so that all letters are in wrong envelopes.Then x- y =?
Explanation
Step 1: Find x (At least 2 letters in wrong envelopes)
The total number of ways to put 6 letters into 6 envelopes is 6!.
The condition "at least 2 letters are in wrong envelopes" is the same as:
Total ways−(Ways where 0 letters are wrong)−(Ways where exactly 1 letter is wrong)
-
Total ways: 6!=720
-
0 letters wrong: This only happens in 1 way (all are correct).
-
Exactly 1 letter wrong: This is impossible (0 ways) because if 5 letters are in the correct envelopes, the 6th letter must also be in its correct envelope.
So,
Step 2: Find y (All letters in wrong envelopes)
This is a standard Derangement of 6 objects, denoted as D6. The formula for derangement of n objects is:
Dn=n![0!1−1!1+2!1−3!1+⋯+n!(−1)n]
For n=6:
D6=6![2!1−3!1+4!1−5!1+6!1]
D6=720[21−61+241−1201+7201]
So,
Step 3: Find x−y
Now, we simply subtract the two values:
Final Answer:
The value of x−y is 454.