document.write( "Question 119471: sirs,
\n" ); document.write( "please help me regarding this problem:
\n" ); document.write( "
\n" ); document.write( "\"there are 3 urns containing several balls. Urn 1 has 5 white, 3 green, and 2 red balls. Urn 2 contains 1 white, 6 green and 3 red balls. Urn 3 contains 3 white, 1 green and 6 red balls. a die is tossed once. if 1 appears, a ball is drawn from urn 1. if 2 or 3 appears, a ball is drawn from urn 2. otherwise, a ball is drawn from urn 3. determine (a) the probability that a red ball is chosen, and (b) the probability that urn 3 is chosen, given that the red ball is chosen.\"\r
\n" ); document.write( "\n" ); document.write( "thank you very much
\n" ); document.write( "sincerely,
\n" ); document.write( "cebrian
\n" ); document.write( "

Algebra.Com's Answer #87520 by Fombitz(32388)\"\" \"About 
You can put this solution on YOUR website!
OK, let's see if we can simplify it.
\n" ); document.write( "Die 1, Urn 1
\n" ); document.write( "Die 2, Urn 2
\n" ); document.write( "Die 3, Urn 2
\n" ); document.write( "Die 4, Urn 3
\n" ); document.write( "Die 5, Urn 3
\n" ); document.write( "Die 6, Urn 3
\n" ); document.write( "Urn 1:5 W, 3 G, 2R=10 total
\n" ); document.write( "Urn 2:1 W, 6 G, 3R=10 total
\n" ); document.write( "Urn 3:3 W, 1 G, 6R=10 total
\n" ); document.write( "where W is white, G is green, and R is red.
\n" ); document.write( "a.) First, let's calculate the probability of a red ball for each urn.
\n" ); document.write( "P(R/U1)=2/10
\n" ); document.write( "P(R/U2)=3/10
\n" ); document.write( "P(R/U3)=6/10
\n" ); document.write( "P(die,1)=1/6
\n" ); document.write( "P(die,2)=1/6
\n" ); document.write( "P(die,3)=1/6
\n" ); document.write( "P(die,4)=1/6
\n" ); document.write( "P(die,5)=1/6
\n" ); document.write( "P(die,6)=1/6
\n" ); document.write( "P(R)=P(die,1)P(R/U1)+P(die,2)P(R/U2)+P(die,3)P(R/U2)+P(die,4)P(R/U3)+P(die,5)P(R/U3)+P(die,6)P(R/U3)
\n" ); document.write( "P(R)=1/6*2/10+1/6*3/10+1/6*3/10+1/6*6/10+1/6*6/10+1/6*6/10
\n" ); document.write( "P(R)=26/60=13/30
\n" ); document.write( "b)We're looking for the probability of U3 given the ball is red or P(U3/R).
\n" ); document.write( "Use Bayes' theorem.
\n" ); document.write( "P(U3/R)=P(R/U3)P(U3)/P(R)
\n" ); document.write( "P(R/U3)=6/10, from above
\n" ); document.write( "P(U3)=3/6, since there are 3 chances out of 6 from the die.
\n" ); document.write( "P(R)=13/30, since that was the answer to part a.
\n" ); document.write( "P(U3/R)=(6/10*3/6)/(13/30)
\n" ); document.write( "P(U3/R)=(6*3*30)/(6*10*13)
\n" ); document.write( "P(U3/R)=9/13
\n" ); document.write( "
\n" ); document.write( "
\n" );