I have two boxes, one with ten balls, eight white and two black and the other with ten balls, four white and six black. Without seeing I choose a box and choose three balls from this. What is the probability that the fourth ball I'll choose is black if the other three are not all white?
My question is: Can I find the probability that the fourth ball is black if the other three balls are all white and then count $ 1- $ this probability?
I solved my question. For the exercise, that's my trying:
$E$ = the fourth ball is black
$A$ = the three balls are ALL WHITE
Then $P(E) - P(E|A)$ will give me what I need.
For $P(E)$:
$C$ = I choose first box and $D$ = I choose second box
$P(E) = P(E|C) \cdot P(C) + P(E|D) \cdot P(D)$
I will find $P(E|C), P(E|D)$ from the right groups of four balls
So, if $a$ is a white ball and $b$ is a black ball then:
For the first box: $aaab, baab, abab, aabb$ I sum the possibilities for all these groups and I get $P(E|C)$.
For the second box: $aaab, baab, abab. aabb, bbab, babb, abbb, bbbb$ I sum the possibilities for all these groups and I get $P(E|D)$.
On reflection, it may be easiest, or anyway least confusing, to do this by drawing tree diagrams. Here is a diagram for the case where we choose box $1$.
This shows four events: the choice of box 1 and the choices of the first $3$ balls. The only case in which they are all white is the left most branch, which has conditional probability $\frac8{10}\frac79\frac68=\frac7{15}$. We have to take $\frac12$ of this, since the probability of choosing box $1$ is $\frac12$. Looking at the tree, we see there are $3$ branches where we've chosen a black and a white, so the probability of choosing a black at this point is $\frac17$. (We ignore the cases where two blacks have been chosen, since there's no possibility of drawing a third black.) In each case the probability of making the $3$ previous choices and then choosing a black is $4\frac37\frac28\frac79\frac8{10}=\frac1{15}$. Again, we should multiply by $\frac12$.
Now we make the same kind of tree for the choice of box $2$, what will we get? The probability of getting $3$ whites is $\frac{4}{10}\frac39\frac28=\frac1{30}$ This time, we might get $1$ black and $2$ whites or $2$ blacks and $1$ white or $3$ blacks. There are $3$ ways for each of the first two possibilities to occur and and only one way for the third. Now as above, we work out the probabilities of drawing another black, add them up and multiply by $\frac12$. (Having seen how the first tree works out, you may well be able to get the results of the second without drawing the tree.)
We must add the two probabilities we computed for getting a black on the fourth choice, and divide by the probability that we didn't get three whites. This latter probability is $$\frac12\left(1-\frac7{30}\right)+\frac12\left(1-\frac1{30}\right)=\frac{13}{15}$$