水果篮
Fruit Basket
题目详情
你有一个篮子,里面有各种各样的水果。这个篮子里有苹果、橙子和桃子。你随机地一颗一颗地取出水果。当你取出所有苹果后,篮子里至少有 橙子和 桃子的概率是多少?
You have a basket with an assortment of fruits. Inside this basket, there are apples, oranges, and peaches. You take out fruits one by one and at random. What is the probability that there will be at least orange and peach in the basket after you've taken out all the apples?
解析
我们将 、 和 称为你从篮子中取出相应水果所需的圈数。如果我们在摘橙子和桃子之前摘完苹果,我们就知道 和 。有两种方法可以满足这个联合条件。 或 。让我们计算一下每个的概率。
如果我们先摘苹果,后摘橙子,先摘橙子,后摘桃子,那么桃子就是最后摘完的。因为我们是随机采摘的,所以每个水果成为最后一个水果的概率都是相等的。在 的所有水果中, 是桃子。因此,最后一个水果是桃子的概率是 或 。现在,我们需要计算在桃子是最后一个从篮子中采摘的水果的条件下,在苹果之后完成采摘橙子的概率。苹果和橙子之间总共有 水果,其中橙子是 ,因此我们的条件概率是 。这些结果的联合概率为: 对于我们在桃子之前完成苹果采摘、在橘子之前完成桃子采摘的情况进行类似的操作,我们得到最后一个水果是橘子的概率 ,以及当橘子最后一个时在桃子之前完成苹果的概率 给我们一个联合概率: 其中任何一个发生的概率是这些概率的总和,因此我们的答案是:
Original Explanation
Let's call , , and the number of turns it takes you to finish taking that respective fruit out of the basket. If we finish picking apples before oranges and peaches, we know and . There exist two ways where we can satisfy this joint condition. Either or . Let's compute the probability of each.
In the case where we finish picking apples before oranges and oranges before peaches, peaches are what would be finished last. Because we are picking at random, each individual fruit has an equal probability of being the last fruit. Out of the total fruits, of them are peaches. Thus the probability the very last fruit is a peach is or . We now need to find the probability that oranges are finished being picked after apples conditioned upon peaches being the last fruit picked from the basket. Between apples and oranges there are a total of fruits, oranges being of them, thus our conditional probability is . The joint probability of these outcomes is:
Doing something similar for the case where we finish picking apples before peaches and peaches before oranges we get a probability of of the last fruit being an orange and a probability of of finishing apples before peaches when oranges are last giving us a joint probability of:
The probability that either of these occur is the sum of these probabilities and so our answer is: