To solve the given problem, let's define the events:
- "B" is the event where the boy draws a ball (first draw).
- "G" is the event where the girl draws a ball (second draw).
- "W" is the event where a white ball is drawn.
- "Y" is the event where a yellow ball is drawn.
- "R" is the event where a red ball is drawn.
We are interested in finding the probability that the girl draws a white ball given the game's structure (before someone draws a white or yellow ball). The probability that the boy or girl draws a red ball and the game continues is crucial.
First, we need to find the probabilities for each type of ball being drawn:
- P(W) = probability of drawing a white ball = 2/7 (since there are 2 white balls out of 7 total).
- P(Y) = probability of drawing a yellow ball = 2/7 (since there are 2 yellow balls out of 7 total).
- P(R) = probability of drawing a red ball = 3/7 (since there are 3 red balls out of 7 total).
For the girl to draw a white ball (event "GW"), one of the following sequences of events must happen:
- The boy draws a red ball, and then the girl draws a white ball (BR, GW).
- The boy draws a red ball, the girl draws a red ball, and the cycle continues until the girl draws a white ball on her turn. This can be summarized as (BR, GR)n, GW, where n stands for the number of full (boy-girl) cycles completed before the girl draws a white ball.
Let's calculate the probabilities of these sequences:
-
For BR followed by GW:
P(BR) = probability that the boy draws a red ball = P(R) = 3/7
P(GW | BR) = probability that, given the boy drew a red ball, the girl draws a white ball = P(W) = 2/7
So the probability of the sequence BR, GW is P(BR) * P(GW | BR) = (3/7) * (2/7).
-
For a cycle of (BR, GR)n followed by GW:
The probability for one cycle of BR, GR is P(BR) * P(GR | BR) = (3/7) * P(R) = (3/7) * (3/7).
The probability for n cycles is then (P(BR) * P(GR | BR))n = ((3/7) * (3/7))n.
The probability of GW after n cycles is still P(GW) = 2/7.
So the probability of the sequence (BR, GR)n, GW is ((3/7) * (3/7))n * (2/7).
To get the total probability that the girl draws a white ball, we sum these probabilities over all possible values of n (where n can be 0, 1, 2, ...):
P(GW) = (3/7) * (2/7) + (3/7) * (2/7) * (3/7) * (3/7) + (3/7) * (2/7) * (3/7) * (3/7) * (3/7) * (3/7) + ...
This is an infinite geometric series with the first term a = (3/7) * (2/7) and the common ratio r = (3/7) * (3/7). The formula for the sum of an infinite geometric series is a / (1 - r) when |r| < 1.
So we substitute a and r into the formula:
P(GW) = (3/7) * (2/7) / (1 - (3/7) * (3/7))
Calculating this:
P(GW) = (6/49) / (1 - 9/49) = (6/49) / (40/49) = 6/40 = 3/20
Therefore, the probability that the girl draws a white ball is 3/20.