document.write( "Question 1168481: Urn A has 2 white and 13 red balls. Urn B has 14 white and 6 red balls. We flip a fair coin. If the outcome is heads, then a ball from urn A is selected, whereas if the outcome is tails, then a ball from urn B is selected. Suppose that a white ball is selected. What is the probability that the coin landed heads? \n" ); document.write( "
Algebra.Com's Answer #851566 by CPhill(2264) You can put this solution on YOUR website! Let's solve this problem using Bayes' Theorem.\r \n" ); document.write( "\n" ); document.write( "**1. Define Events**\r \n" ); document.write( "\n" ); document.write( "* **H:** Coin lands heads. \n" ); document.write( "* **T:** Coin lands tails. \n" ); document.write( "* **W:** A white ball is selected.\r \n" ); document.write( "\n" ); document.write( "**2. Given Probabilities**\r \n" ); document.write( "\n" ); document.write( "* P(H) = 1/2 (fair coin) \n" ); document.write( "* P(T) = 1/2 (fair coin) \n" ); document.write( "* P(W | H) = 2/15 (probability of white ball from urn A) \n" ); document.write( "* P(W | T) = 14/20 = 7/10 (probability of white ball from urn B)\r \n" ); document.write( "\n" ); document.write( "**3. Bayes' Theorem**\r \n" ); document.write( "\n" ); document.write( "We want to find P(H | W), the probability that the coin landed heads given that a white ball was selected.\r \n" ); document.write( "\n" ); document.write( "Bayes' Theorem states:\r \n" ); document.write( "\n" ); document.write( "P(H | W) = [P(W | H) * P(H)] / P(W)\r \n" ); document.write( "\n" ); document.write( "**4. Calculate P(W)**\r \n" ); document.write( "\n" ); document.write( "We need to calculate P(W), the probability of selecting a white ball. We can use the law of total probability:\r \n" ); document.write( "\n" ); document.write( "P(W) = P(W | H) * P(H) + P(W | T) * P(T)\r \n" ); document.write( "\n" ); document.write( "P(W) = (2/15) * (1/2) + (7/10) * (1/2)\r \n" ); document.write( "\n" ); document.write( "P(W) = 1/15 + 7/20\r \n" ); document.write( "\n" ); document.write( "P(W) = (4 + 21) / 60\r \n" ); document.write( "\n" ); document.write( "P(W) = 25/60 = 5/12\r \n" ); document.write( "\n" ); document.write( "**5. Calculate P(H | W)**\r \n" ); document.write( "\n" ); document.write( "Now, we can use Bayes' Theorem:\r \n" ); document.write( "\n" ); document.write( "P(H | W) = [P(W | H) * P(H)] / P(W)\r \n" ); document.write( "\n" ); document.write( "P(H | W) = [(2/15) * (1/2)] / (5/12)\r \n" ); document.write( "\n" ); document.write( "P(H | W) = (1/15) / (5/12)\r \n" ); document.write( "\n" ); document.write( "P(H | W) = (1/15) * (12/5)\r \n" ); document.write( "\n" ); document.write( "P(H | W) = 12/75 = 4/25\r \n" ); document.write( "\n" ); document.write( "**6. Final Answer**\r \n" ); document.write( "\n" ); document.write( "The probability that the coin landed heads given that a white ball was selected is 4/25. \n" ); document.write( " \n" ); document.write( " |