4. a. Glove selection There are 22 gloves in a drawer: 5 pairs of red gloves, 4 pairs of yellow, and 2 pairs of green. You select the gloves in the dark and can check them only after a selection has been made.What is the smallest number of gloves you need to select to have at least one matching pair in the best case? In the worst case?
b. Missing socks Imagine that after washing 5 distinct pairs of socks, you discover that two socks are missing. Of course, you would like to have the largest number of complete pairs remaining. Thus, you are left with 4 complete pairs in the best-case scenario and with 3 complete pairs in the worst case. Assuming that the probability of disappearance for each of the 10 socks is the same, find the probability of the best-case scenario; the probability of the worst-case scenario; the number of pairs you should expect in the average case.
a.
Glove selection:
In the best-case scenario, you can select all gloves except one without getting a matching pair, and then the next glove you select will form a matching pair. Here's the breakdown:
In the best case, you need to select all 22 gloves to ensure you have at least one matching pair. In the worst-case scenario, you can keep selecting gloves in such a way that you never form a matching pair until you have selected all but one glove of each color. Here's the breakdown:
So, in both the best and worst cases, you need to select all 22 gloves to guarantee at least one matching pair.
b.
Missing socks: In the best-case scenario, you will lose one sock from each pair except one. Here's how it breaks down:
In the worst-case scenario, you will lose both socks from one pair and one sock from each of the remaining pairs. Here's how it breaks down:
To calculate the probability of these scenarios, you need to consider the combinations of socks you can lose. Since each sock has an equal probability of being lost, you can use combinatorics:
Now, you need to normalize these probabilities by dividing by the total number of possible outcomes, which is C(10, 2) = 45 combinations (choosing 2 socks out of 10).
So:
In the average case, you can calculate the expected number of complete pairs remaining by considering the probabilities:
So, in the average case, you should expect around 31 complete pairs of socks remaining.