Step 1: Understand the problem and identify the type of distribution
The problem involves pressing multiple buttons daily, each with a different probability of winning a prize, until all prizes are won. This scenario can be modeled using the concept of the coupon collector's problem, which is a well-known problem in probability theory. The coupon collector's problem is about collecting distinct coupons (in this case, prizes) with different probabilities of being collected (won) each time a button is pressed.
Step 2: Recognize the coupon collector's problem with varying probabilities
The traditional coupon collector's problem assumes that each coupon has an equal probability of being collected. However, in this scenario, each button (or coupon) has a different probability of winning. The problem with varying probabilities is more complex and involves understanding that the probability of winning a new prize on any given day depends on the prizes that have already been won.
Step 3: Determine the probability of winning a new prize on a given day
On any day, the probability that a new prize is won (i.e., a prize that has not been won before) depends on the number of buttons that have not been won and their respective probabilities. If there are n buttons and k of them have been won, then there are n−k buttons left. The probability of winning a new prize on a given day is 1−∏i=1n−k(1−pi, where pi are the probabilities associated with the remaining n−k buttons. However, this step simplifies to understanding that the probability of not winning any new prize is the product of the probabilities of not winning each of the remaining prizes.
Step 4: Calculate the expected number of days to win all prizes
To calculate the average number of days until every prize has been won, we need to consider the expected time to win each new prize. The expected number of days to win the first prize is 1−∏i=1n(1−p, but more accurately, it's related to the probability of winning at least one prize. For subsequent prizes, we need to consider the probabilities of the remaining prizes.
Step 5: Apply the formula for the expected number of days
For n prizes with probabilities p1,p2,...,p, the expected number of days until all prizes are won can be derived by considering the expected time to collect each unique prize. The formula involves summing the expected times to win each new prize. The probability that a prize is won on a given day is for the prize. The expected number of days to win a specific prize is . However, since we're pressing all buttons, we need to consider the probability of winning at least one new prize on each day.
Step 6: Derive the formula for E[T]
The expected number of days until all n prizes are won can be expressed as E[T]=∑k=0n, where is the set of prizes that have not been won after prizes have been won. However, directly calculating this can be complex due to the need to consider all possible subsets of remaining prizes.
Step 7: Simplify the understanding of E[T]
A more straightforward approach to understanding E[T] involves recognizing that the problem can be framed in terms of the expected time to win each prize, considering the changing probabilities as prizes are won. The exact formula simplifies to using the inclusion-exclusion principle for calculating the expected time.
Step 8: Apply the inclusion-exclusion principle
The expected number of days E[T] can be calculated using the formula derived from the inclusion-exclusion principle: . This formula accounts for the probabilities of winning each prize and the interactions between them.
The final answer is: