document.write( "Question 1125214: A bag contains two red balls, one green ball, and six yellow balls. Balls are drawn from the bag one at a time at random without replacement until a yellow ball has been drawn. \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Let random variable R represent the number of red balls drawn. Complete the probability distribution function for R in the table below, putting the values of R in ascending order.
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #741692 by math_helper(2461)\"\" \"About 
You can put this solution on YOUR website!
Bag: 2 Red (R), 1 Green (G), 6 Yellow (Y)\r
\n" ); document.write( "\n" ); document.write( "Total is 9 balls.\r
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "Possible outcomes          R             Probability\r\n" );
document.write( "\r\n" );
document.write( "Y                          0             (6/9) = 336/504\r\n" );
document.write( "GY                         0             (1/9)*(6/8) = 6/72 = 42/504\r\n" );
document.write( "GRY                        1             (1/9)*(2/8)*(6/7) = 12/504\r\n" );
document.write( "RY                         1  \r\n" );
document.write( "RGY                        1\r\n" );
document.write( "RRY                        2\r\n" );
document.write( "RRGY                       2            (2/9)*(1/8)*(1/7)*(6/6) = 2/504 \r\n" );
document.write( "RGRY                       2\r\n" );
document.write( "GRRY                       2\r\n" );
document.write( "\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "For the first row, a Y is selected ending the trial. This happens with probability 6/9 because there are 6 Y's out of 9 total.

\n" ); document.write( "For the 2nd row, a G is selected then a Y, ending the trial. This happens with probability (1/9)*(6/8), 1 G out of 9 for 1st pick then 6 out of the remaining 8 are Y.

\n" ); document.write( "For the 3rd row, G,R,Y: (1/9)*(2/8)*(6/7)
\r
\n" ); document.write( "\n" ); document.write( "I filled in some of the table, you should be able to follow the pattern to fill in the rest (or another tutor will complete it for you, as often happens). I left the denominator as 504 as that is common for all of the calculations, as the numerators should tally up to 504 when you have correctly completed the table (the sum of probabilities of all possible outcomes is 1). \r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );