# Thread:

1. ## Urn problem - conditional probability

Consider three urns, A, B, and C. Urn A contains 6 white balls and 4 black balls, urn B contains 2 white balls and 6 black balls, and urn C is empty. Two balls are drawn at random from each one of the urn A and urn B, and are placed into urn C. (4 balls are now in urn C.) Then a ball is drawn at random from urn C. What is the probability the ball drawn from urn C is black?

I've figured out that P(K\A) = 2/3 and P(K\B) = 5/6. At least I think so. But now I don't know what to do with that. (My backslashes are for vertical lines I don't know how to type that.)

2. Hello, ban26ana!

I wouldn't call this "conditional probability" . . .

There are three urns, A, B, and C.
Urn A contains 6 white balls and 4 black balls,
urn B contains 2 white balls and 6 black balls,
and urn C is empty.

Two balls are drawn at random from each of urn A and urn B,
and are placed into urn C.
Then a ball is drawn at random from urn C.
What is the probability the ball drawn from urn C is black?
This takes a lot of preliminary work . . . bear with me.

Urn A
There are: . ${10\choose2} = 45$ outcomes.

$\begin{array}{cccccccc}<br /> WW\!: & {6\choose2} = 15\text{ ways} & P_A(WW) &=& \frac{15}{45} &=& \frac{5}{15} \\ \\[-3mm]<br /> WB\!: & 6\cdot 4 = 24\text{ ways} & P_A(WB) &= & \frac{24}{45} &=& \frac{8}{15} \\ \\[-3mm]<br /> BB\!: & {4\choose2} = 6\text{ ways} & P_A(BB) & = & \frac{6}{45} &=& \frac{2}{15}\end{array}$

Urn B
There are: . ${8\choose2} = 28$ outcomes.

$\begin{array}{cccccccc}<br /> WW\!: & {2\choose2} = 1\text{ way} & P_B(WW) &=& \frac{1}{28} \\ \\[-3mm]<br /> WB\!: & 2\cdot6 = 12\text{ ways} & P_B(WB) &=& \frac{12}{28} \\ \\[-3mm]<br /> BB\!: & {6\choose2} = 15\text{ ways} & P_B(BB) &=& \frac{15}{28}<br /> \end{array}$

Urn C

$WWWW\!:\;\;\begin{Bmatrix}<br /> P_A(WW)\cdot P_B(WW) &=&\frac{5}{15}\cdot\frac{1}{28} &=&\frac{5}{420} \end{Bmatrix} \qquad P(W,W,W,W) \:=\:\frac{5}{420}$

$WWWB\!:\;\;\begin{Bmatrix}<br /> P_A(WW)\cdot P_B(WB) & =&\frac{5}{15}\cdot\frac{12}{28} &=& \frac{60}{420} \\ \\[-3mm]<br /> P_A(WB)\cdot P_B(WW) &=& \frac{8}{15}\cdot\frac{1}{28} &=& \frac{8}{420} \end{Bmatrix} \qquad P(W,W,W,B) \:=\:\frac{68}{420}$

$WWBB\!:\;\;\begin{Bmatrix}<br /> P_A(WW)\cdot P_B(BB) &=& \frac{5}{15}\cdot \frac{15}{28} &=& \frac{75}{420} \\ \\[-3mm]<br /> P_A(BB)\cdot P_B(WW) &=& \frac{2}{15}\cdot\frac{1}{28} &=& \frac{2}{420} \\ \\[-3mm]<br /> P_A(WB)\cdot P_B(WB) &=& \frac{8}{15}\cdot\frac{12}{28} &=& \frac{96}{420}\end{Bmatrix} \qquad P(W,W,B,B) \:=\:\frac{173}{420}$

$WBBB\!:\;\;\begin{Bmatrix}<br /> P_A(WB)\cdot P_B(BB) &=& \frac{8}{15}\cdot\frac{15}{28} &=& \frac{120}{420} \\ \\[-3mm]<br /> P_A(BB)\cdot P_B(WB) &=& \frac{2}{15}\cdot\frac{12}{28} &=&\frac{24}{420} \end{Bmatrix} \qquad P(W,B,B,B) \:=\:\frac{144}{420}$

$BBBB\!:\;\;\begin{Bmatrix}<br /> P_A(BB)\cdot P_B(BB) &=& \frac{2}{15}\cdot\frac{15}{28} &=& \frac{30}{420}\end{Bmatrix} \qquad P(B,B,B,B) \:=\:\frac{30}{420}$

Now in each of these five cases, what is the probability of drawing a black ball?

$\begin{array}{cccccccc}<br /> P(WWWW) \:=\: \frac{5}{420}, & P(B) \:=\: 0 && P(WWWW \wedge B) &=& \frac{5}{420}\cdot0 &=& 0 \\ \\[-3mm]<br /> P(WWWB) \:=\:\frac{68}{420}, &P(B) \:=\:\frac{1}{4} && P(WWWB \wedge B) &=& \frac{68}{420}\cdot\frac{1}{4} &=& \frac{68}{1680} \\ \\[-3mm]<br /> P(WWBB) \:=\:\frac{173}{420}, & P(B) \:=\:\frac{2}{4} && P(WWBB \wedge B) &=&\frac{173}{420}\cdot\frac{2}{4} &=& \frac{346}{1680} \\ \\[-3mm]\end{array}$
$\begin{array}{cccccccc}<br /> P(WBBB) \:=\:\frac{144}{420}, & \;\;\;P(B) \:=\:\frac{3}{4} && P(WBBB \wedge B) &\;\;=&\frac{144}{420}\cdot\frac{3}{4} &=& \frac{432}{1680} \\ \\[-3mm]<br /> P(BBBB) \:=\:\frac{30}{420}, & \;\;\;P(B) \:=\:\frac{4}{4} && P(BBBB \wedge B) &\;\;=&\frac{30}{420}\cdot\frac{4}{4} &=& \frac{120}{1680}\end{array}$

Therefore: . $P(B) \;=\;\frac{68}{1680} + \frac{346}{1680} + \frac{432}{1680} + \frac{120}{1680} \;=\;\frac{966}{1680} \;=\;\boxed{\frac{161}{280}}$

I need a nap . . .
.

3. Thank you very much. Really, thank you. When solving a problem like this, what if it is impossible to list all the possible outcomes? What if there were 30 outcomes for each step. You obviously wouldn't list them all. Is there a way to solve it for that, or are you stuck doing this huge amount of work for every problem.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 12, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 20, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9694874286651611, "perplexity_flag": "middle"}