Problem of the Week

Problem 33 Solution

Congratulations to Markus Kuan from Northstowe Secondary College and Matthew Whitten from The Cavendish School for successfully solving the problem!

Problem 34 will be out shortly later today.

ai) The worst case scenario before getting a pair of socks is if Steph picks one sock of each colour, so she now has 3 socks but no pair, if she picks another sock, she is guaranteed to have at least 1 pair because the next sock that she picks must be one of the 3 colours she has already picked out, so the minimum number of socks she must pick to gain a pair is 3+1=4.

aii) If Steph has socks of n different colours, similar to part ai, the worst case scenario is that Steph will have picked one sock of every colour, this means that she has picked out n socks, by picking one more sock, she is guaranteed to form one pair of socks, therefore the minimum amount of socks she needs to pick is n+1.
For those who are interested, this is an adaptation of the Pigeonhole Principle and can be proved as such:
When Steph picks out n+1 socks, there are only n colours that each sock can fit into, by Pigeonhole Principle, since \lceil\frac{n+1}{n}\rceil=2, there must be at least one category (in this case – a colour) where there are 2 socks that lies within.

b) There are 3 ways that Steph can pick out a pair of socks. She can either pick out a pair of red, blue or yellow socks, we can calculate the probability of picking a pair of socks by considering the probabilities of picking a pair of a specific colour. This is what we call case analysis.


Case 1: Steph picks out a pair of red socks.
In order for Steph to pick out a pair of red socks on the first 2 socks, both of the socks that she picks must be red.
The probability of the first sock being red is \frac{8}{30}, the probability of the second sock being red is \frac{8-1}{30-1}=\frac{7}{29}, therefore the probability of picking 2 red socks is \frac{8}{30}\times\frac{7}{29}=\frac{56}{870}
The probability of picking pairs of other colours can also be calculated in the same way.


Case 2: Steph picks out a pair of blue socks.
The probability of the first sock being blue is \frac{10}{30}, the probability of the second sock being blue is \frac{10-1}{30-1}=\frac{9}{29}, therefore the probability of picking 2 red socks is \frac{10}{30}\times\frac{9}{29}=\frac{90}{870}


Case 3: Steph picks out a pair of yellow socks.
The probability of the first sock being yellow is \frac{12}{30}, the probability of the second sock being yellow is \frac{12-1}{30-1}=\frac{11}{29}, therefore the probability of picking 2 red socks is \frac{12}{30}\times\frac{11}{29}=\frac{132}{870}
The probability of Steph picking out a pair of socks is then the sum of the probabilities of picking a pair of specific colours, therefore, the probability of picking a pair of socks on the first 2 socks is \frac{56}{870}+\frac{90}{870}+\frac{132}{870}=\frac{278}{870} which simplifies to \frac{139}{435}

Site Search