document.write( "Question 1166529: a pair of dice is tossed. find the probability that one of the dice is 2 if the sum is 6! \n" ); document.write( "
Algebra.Com's Answer #791042 by math_helper(2461)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "I see two ways to think about it...\r
\n" ); document.write( "\n" ); document.write( "Draw out a table of all possible sums with each possible die value across the columns and each down the rows.\r
\n" ); document.write( "\n" ); document.write( " 1 2 3 4 5 6\r
\n" ); document.write( "\n" ); document.write( "1 2 3 4 5 6 7
\n" ); document.write( "2 3 4 5 6 7 8
\n" ); document.write( "3 4 5 6 7 8 9
\n" ); document.write( "4 5 6 7 8 9 10
\n" ); document.write( "5 6 7 8 9 10 11
\n" ); document.write( "6 7 8 9 10 11 12\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Now the first way to solve is to notice there are five(5) sums of 6.
\n" ); document.write( "Of these five sums, two(2) have one die that is 2:
\n" ); document.write( " Pr(one die is 2| sum is 6) = 2/5.\r
\n" ); document.write( "\n" ); document.write( "Another way is to apply Bayes' Theorem to the problem:\r
\n" ); document.write( "\n" ); document.write( "P(A|B) = P(B|A)*P(A) / P(B)\r
\n" ); document.write( "\n" ); document.write( "where
\n" ); document.write( "P(A) = P(one die is 2) = 11/36
\n" ); document.write( "P(B) = P(sum of dice is 6) = 5/36
\n" ); document.write( "P(B|A) = P(sum of dice is 6 given one die is a 2) = 2/11\r
\n" ); document.write( "\n" ); document.write( "P(A|B) = P(one die is 2 given sum is 6) = (2/11)(11/36) / (5/36) = 2/5\r
\n" ); document.write( "\n" ); document.write( " \n" ); document.write( "
\n" );