We have 7 people and 7 pairs of distinct shoes. In how many ways can these shoes be distributed so that no person gets a proper pair?
Note: The left shoe is considered distinct from the right one and a distribution consists of each person getting a left shoe and a right shoe.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
What is derangements ? Please guide.
Log in to reply
I recommend you to read "Principle of inclusion and Exclusion"(PIE) in the techniques page...
there can also be the case when left shoe is deranged and right is not but in your scenario right shoe is always deranged
Exactly, what about derangement of right shoe. AND your formula doesn't work for N=2 which your formula gives 2 but there are 3 arrangements. One that's missing is when they completely change both shoes. Which never happens your formula cause you have always derangement on one shoe
I solved this problem using this sum:
∑ i = 0 7 ( − 1 ) i ( i 7 ) ( 7 P i ) ( ( 7 − i ) ! ) 2 = 9 3 4 4 1 6 0
In each iteration, we will choose i people that will get a proper pair of shoes. we have ( i 7 ) options to chose them, and ( 7 P i ) . options to chose shoes for them. For the other people, we need to choose one shoe for each leg, for each leg, we have ( 7 − i ) ! options to chose, i.e. ( ( 7 − i ) ! ) 2
Problem Loading...
Note Loading...
Set Loading...
To solve this problem first we take the left shoe of each pair and distribute this among the 7 people.This can be done in 7 ! = 5 0 4 0 ways.
Next we have to distribute the right pair such that none one gets a proper pair.So here we take the idea of derangements. The number of ways we can distribute the shoes so that no one gets a proper pair id D 7 = 1 8 5 4 ,where D 7 is the derangenments of 7 objects.
So the total number of possibilities is = 1 8 5 4 ∗ 5 0 4 0 = 9 3 4 4 1 6 0 .