Roll three dice, exactly two are even. the probability that exactly two are equal

bayes-theoremprobability

You roll three six-sided dice.

Exactly two of those three dice roll to even numbers.

What are the chances that exactly two of the dice rolled to the same number?

I have an answer, but I can't get it to agree with Bayes Theorem so I would especially appreciate help seeing how to use Bayes here.

Update: After receiving some unfriendly help below, I just want to clarify that my question was only about how one might use Bayes to think about this problem. While I understand that this is strictly unnecessary for solving the problem, I thought it might be interesting, and then I got intrigued when I had trouble using Bayes to agree with the simpler argument. That's the context for this question.

Best Answer

Yes, I am also getting $\frac{1}{3}$ as the answer. I have used Bayes' theorem because you explicitly asked for it. However, as you can see, the calculations can get quite messy and there are simpler ways to crack this problem (as other users have suggested).


Define the events $A$ and $B$ as follows:

$A:$ Exactly $2$ of the $3$ dice have the same number

$B:$ Exactly $2$ of the $3$ dice roll to even number $$\begin{align} P(A|B) &=\frac{P(B|A)\times P(A)}{\bigg(P(B|A)\times P(A)\bigg)+\bigg(P(B|A^c)\times P(A^c)\bigg)}\\ &=\frac{\frac{9}{30}\times \frac{{3\choose 2}\cdot6\cdot5}{6\cdot6\cdot6}}{\bigg(\frac{9}{30}\times \frac{{3\choose 2}\cdot6\cdot5}{6\cdot6\cdot6}\bigg)+\bigg(\frac{{3\choose2}\cdot3\cdot2\cdot3}{6\cdot6\cdot6-90 }\times\bigg(1-\frac{{3\choose2}\cdot6\cdot5}{6\cdot6\cdot6}\bigg)\bigg)}\\ &=\frac1{3} \end{align}$$

Related Question