2024 SSMO Speed Round Problems/Problem 8

Problem

Bob has two coins; one is fair, and one lands on heads with a probability of $\frac{2}{3}.$ Bob chooses a random coin and flips it twice. Alice watches the two coin flips and guesses whether Bob flipped the fair or rigged coin. Given that Alice is a good mathematician and guesses the more likely option (guessing randomly when they are equally likely), the probability she guesses right can be expressed as $\frac{m}{n},$ for relatively prime positive integers \(m\) and \(n.\) Find $m+n.$

Solution

Let $P(f,k)$ denote the fair coin shows $k$ heads and $P(r,k)$ denote the probability the rigged coin shows $k$ heads. Note that the probability $k$ heads are shown when Bob flips the coin is $\frac{P(f,k)+P(r,k)}{2}.$ Now, if $k$ heads are showing, the probability that Alice guesses correct is $\frac{\max(P(f,k),P(r,k))}{P(f,k)+P(r,k))}.$ So, the answer is \[\sum_{k=0}^{2}\left(\left(\frac{P(f,k)+P(r,k)}{2}\right)\left(\frac{\max(P(f,k),P(r,k))}{P(f,k)+P(r,k)}\right)\right).\] It is easy to compute \[P(f,0) = \frac{1}{4},P(f,1) = \frac{1}{2},P(f,2) = \frac{1}{4},P(r,0) = \frac{4}{9},P(r,1) = \frac{4}{9},\text{and }P(r,2) = \frac{1}{9}.\] Therefore, the answer is \[\left(\frac{\frac{4}{9}+\frac{1}{4}}{2}\right)\left(\frac{\frac{4}{9}}{\frac{4}{9}+\frac{1}{4}}\right)+\left(\frac{\frac{4}{9}+\frac{1}{2}}{2}\right)\left(\frac{\frac{1}{2}}{\frac{4}{9}+\frac{1}{2}}\right)+\left(\frac{\frac{1}{9}+\frac{1}{4}}{2}\right)\left(\frac{\frac{1}{4}}{\frac{1}{9}+\frac{1}{4}}\right) =\]\[\frac{2}{9}+\frac{1}{4}+\frac{1}{8} = \frac{43}{72}\implies \boxed{115}.\]

~SMO_Team