A bag contains four red balls and four white balls. A ball is selected at random, removed and replaced by a ball of the opposite colour. A second ball is then selected at random. Calculate the probability that
(a) the first ball selected was white;
(b) the second ball was white, given that the first ball was white;
(c) the second ball was white;
(d) the first ball was white, given that the second ball was white.
My answers:
a) 1/2
b) 3/8
c) 15/64
d) 1/2
I'm not sure if I've done this correctly, can someone please check my answers?
For part (a), because only the first ball has to be white, this means that the first ball chosen has to be red, and the second ball chosen can be either white or red.
This is represented by $\frac{4}{8} * \frac{7}{7} = \frac{1}{2}$ So you are correct.
For part (b), the P(second ball was white | first ball was white) = P(first and second ball are white)/P(first ball is white) = $$\frac{\frac{1}{2}*\frac{3}{8}}{\frac{1}{2}} = \frac{3}{8}$$ So you are correct for part (b) as well.
For part (c), we must have the second ball as white. This falls into 2 cases:
For 1. the probability is $\frac{4}{8}*\frac{5}{8} = \frac{5}{16}$. For 2. the probability is $\frac{4}{8}*\frac{3}{16} = \frac{3}{16}$ Adding the two probabilities together gets us $\frac{1}{2}$
For part (d), we will approach it with similar steps we've used in part (b). It's asking for the P(First ball was white | Second ball was white) = P(First and second ball are white)/P(Second ball is white) = $$\frac{\frac{1}{2}*\frac{3}{8}}{\frac{1}{2}} = \frac{3}{8}$$
Summing it all up: Parts (a) and (c) are $\frac{1}{2}$ Parts (b) and (d) are $\frac{3}{8}$