At Least I Have 2 Shoes, Even If They Do Not Match

Alice, Benedict, Calvin, Dennis and Evelyn attended a party. At the end of the night, they each randomly grabbed a left shoe and a right shoe. What is the probability that each person left with exactly one of their own shoes?

Note: If the probability is 1%, enter it as 0.01.


The answer is 0.00888888.

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.

5 solutions

Jatin Yadav
Mar 11, 2014

Hi, this is my facebook id, which I had earlier deactivated. Actually, after 2 incorrect attempts, I answered 0.089 instead of 0.0089 in excitation. Here is the solution:

First , it is very simple and clear that the total number of possible ways is ( 5 ! ) 2 (5!)^2 . (Permutate 5 left and 5 right shoes).

Now, let us evaluate the favourable ways.

Say, all 5 people picked their left shoe. Then, the 5 right shoes can be distributed in 5 ! ( 1 1 / 1 ! + 1 / 2 ! 1 / 5 ! ) = 44 5! \bigg(1-1/1! + 1/2! \dots -1/5!\bigg) =44 ways using dearrangement theorem.

Now, it is not possible that 4 people pick their left shoe. This is because the one who picks a right shoe has to pick a left one now, but only 1 right shoe is left, and that is his own.

Now, say 3 people pick left and 2 pick right. Hence, the left shoes remaining are to be dearranged in two people(who had picked their own right), and the right shoes left are to be dearranged in 3 people. Also, we have to select 3 people who pick left. Hence, number of ways = ( 5 2 ) × 2 ! ( 1 1 / 1 ! + 1 / 2 ! ) × 3 ! ( 1 1 / 1 ! + 1 / 2 ! 1 / 3 ! ) = 20 {5 \choose 2} \times 2!\bigg(1 - 1/1! + 1/2!\bigg)\times 3! \bigg(1-1/1!+1/2!-1/3!\bigg) = 20

Now, by symmetry, if all 5 pick right then, number of ways is 44, and if 3 pick right and 2 left, then number of ways is 20.

Hence, required probability = 44 + 20 + 44 + 20 ( 5 ! ) 2 = 2 225 = 0.0088888888888 \frac{44+20+44+20}{(5!)^2} = \frac{2}{225} = 0.0088888888888 \dots

I answered .008 and got marked wrong. I knew that it was 2 / 225. I have been answering other questions by just truncating to 3 places after the decimal, no complaints.

bobbym none - 7 years, 2 months ago

Log in to reply

I've updated it to ask for 5 decimal places.

Our answers are checked for accuracy of ± 1 % \pm 1\% , hence you will need to give more significant figures.

Calvin Lin Staff - 7 years, 2 months ago

Why total combination is not 10c2 *8c2 *6c2 *4c2

Kushal Bose - 5 years ago
Matt McNabb
Apr 6, 2014

Here is a general solution for N N people.

Suppose everyone has selected shoes such that each person has exactly one correct shoe. Let m m be the number of people who have the correct left shoe.

How many ways can this happen? There are ( N m ) \binom{N}{m} ways of choosing the m m people to have the correct left-foot shoe. Now, there must be N m N-m people with the wrong left-foot shoe. The number of ways of arranging the wrong left-foot shoes is is called a derangement of the N m N-m people, denoted d N m d_{N-m} .

Since each person has one correct shoe, there must be m m people with the wrong right-foot shoe, so there are d m d_m ways of arranging the right-foot shoes.

Adding up all cases, we find that the number of arrangements is m = 0 N ( N m ) d m d N m \sum_{m=0}^{N}{ \binom{N}{m} d_{m} d_{N-m} }

To convert to a probability, we divide by the total number of ways of randomly assigning shoes , since each way has an equal chance of occurring. This is N ! N! for the left-foot shoes and N ! N! for the right-foot shoes, for a total of:

P ( N ) = m = 0 N ( N m ) d m d N m N ! 2 P(N) = \frac{\sum_{m=0}^{N}{ \binom{N}{m} d_{m} d_{N-m} }}{{N!}^2}

In the N = 5 N=5 case this gives us 2 ( d 5 + ( 5 2 ) d 2 d 3 ) / 120 2 = 2 225 2(d_5 + \binom{5}{2}d_2 d_3) / {120}^2 = \boxed{2 \over 225} . (I consulted a table to find d 5 = 44 d_5 = 44 ).

Adit Mohan
Mar 29, 2014

case1: for all of them to get their right shoe right, they have to get the left wrong. there are 44 ways to do this.
case 2:3 get their right shoe correct two get their left .there are 10 ways to select the people and two ways to select the wrong shoes. total 2 * 10=20.
the problem is symmetric with respect to left and right, hence favourable outcomes=2(20+44)=128.
total possible outcomes= 5!*5!.
probability =128/14400



Total (5!)(5!) ways of assigning shoes. If all 5 correct left shoes, then all 5 wrong right shoes, which can be given in (5! - no. of 4 correct - no. of 3 correct - no. of 2 correct - no. of 1 correct) = (5! - 1 - 0 - 20 - 40 - 15) = 44 Only 4 correct shoes cannot be given , as the other will be left with correct only. If 3 correct left shoes, then in the similar fashion can be shown that the number is 20. Similarly. 3 correct right + 2 correct left = 20 5 correct right = 44 Total 44+20+20+44 combinations out of (5!)(5!) that makes 0.008888888...

If all 5 correct left shoes, then all 5 wrong right shoes, which can be given in (5! - no. of 5 correct - no. of 4 correct - no. of 3 correct - no. of 2 correct - no. of 1 correct) = (5! - 1 - 0 - 10 - 20 - 45)=44

I think this is the correct way of computing the term 44.

Roger AB - 3 years, 1 month ago

Isn't that for 2 correct it should be C(5,3) which is same as 10. I'm not sure how it's 20

Jayant Singh - 8 months, 1 week ago
Laurent Shorts
Apr 2, 2016

We define P n P_n the probability that when n people leave, they all have exactly one of their own shoes.

We define Q n Q_n the probability that when n people leave, they all have exactly one of their shoes, supposing one of the right shoes has been replaced with a stranger's one.

First, let's determine Q n Q_n :

The one with the missing right shoe (let's name him Pierre) must take his left shoe: 1 n \frac{1}{n} . For his right shoe, (1) he can take the stranger's shoe 1 n \frac{1}{n} or (2) he can take another one, let's say the one that belongs to François n 1 n \frac{n-1}{n} . In case (1), we're left with n 1 n-1 people and their shoes, which lead to probability P n 1 P_{n-1} . In case (2), we're left with n 1 n-1 people and their shoes, but still with the stranger's right shoe replacing now François' shoe: that is Q n 1 Q_{n-1} .

Q n = 1 n ( 1 n P n 1 + n 1 n Q n 1 ) ( i ) Q_n=\frac{1}{n}(\frac{1}{n}P_{n-1} + \frac{n-1}{n}Q_{n-1})\hspace{3cm}(i)

Let's determine P n P_n :

The first one to leave (let it be Pierre) can take his own left shoe or his own right shoe (2 symmetrical ways). The probability is then 1 n \frac{1}{n} for his own shoe and n 1 n \frac{n-1}{n} for the other one. We're left with n 1 n-1 people with their shoe, one of their shoe replaced with Pierre's one. It doesn't matter if it a right or a left shoe missing, it the same probability Q n 1 Q_{n-1} .

P n = 2 1 n n 1 n Q n 1 ( i i ) P_n=2\frac{1}{n}\frac{n-1}{n}Q_{n-1}\hspace{3cm}(ii)

Therefore, from (ii), we have :

Q n 1 = 1 2 n n n 1 P n ( i i i ) Q_{n-1}=\frac{1}{2}n\frac{n}{n-1}P_{n}\hspace{3cm}(iii)

Substituing in (ii) Q n 1 Q_{n-1} with (i):

P n = 2 1 n n 1 n ( 1 n 1 ( 1 n 1 P n 2 + n 2 n 1 Q n 2 ) ) P_n\,=\,2\frac{1}{n}\frac{n-1}{n}( \frac{1}{n-1}(\frac{1}{n-1}P_{n-2} + \frac{n-2}{n-1}Q_{n-2} ))

Substituing in the latter Q n 2 Q_{n-2} with (iii): P n = 2 1 n n 1 n ( 1 n 1 ( 1 n 1 P n 2 + n 2 n 1 ( 1 2 ( n 1 ) n 1 n 2 P n 1 ) ) ) P_n\,=\,2\frac{1}{n}\frac{n-1}{n}( \frac{1}{n-1}(\frac{1}{n-1}P_{n-2} + \frac{n-2}{n-1} ( \frac{1}{2}(n-1)\frac{n-1}{n-2}P_{n-1} )) )

Recursive formula for P n P_n :

P n = 1 n 2 ( ( n 1 ) P n 1 + 2 n 1 P n 2 ) P_n\,=\,\frac{1}{n^2}( (n-1)P_{n-1} + \frac{2}{n-1}P_{n-2} )

Using it with P 0 = 1 P_0=1 and P 1 = 0 P_1=0 , we have:

P 2 = 1 2 P_2=\frac{1}{2} , P 3 = 1 9 P_3=\frac{1}{9} , P 4 = 1 24 P_4=\frac{1}{24} , P 5 = 2 225 P_5=\frac{2}{225} .


Why Pierre and François? For Pierre Richard and his character name François Perrin in The Tall Blond Man with One Black Shoe :)

Lol. Nice names.

Calvin Lin Staff - 5 years, 2 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...