document.write( "Question 945409: Bottle 1 consists of 4 red balls and 6 blue balls. Bottle 2 consists of some unknown number of red balls and 12 blue balls. One ball is drawn from each bottle. The probability that both balls are red or both balls are blue is 0.56. Find the number of red balls in bottle 2 \n" ); document.write( "
Algebra.Com's Answer #576543 by mathmate(429)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "Given:
\n" ); document.write( "Two bottles containing red and blue balls.
\n" ); document.write( "Bottle 1: 4R+6B
\n" ); document.write( "Bottle 2: xR+12B
\n" ); document.write( "One ball is drawn from each bottle.
\n" ); document.write( "P(RR∪BB)=0.56 (i.e. probability of drawing both red or both blue)
\n" ); document.write( "Find x (number of red balls in bottle 2).
\n" ); document.write( "
\n" ); document.write( "Solution:
\n" ); document.write( "Let
\n" ); document.write( "R=event of drawing a red ball
\n" ); document.write( "B=event of drawing a blue ball
\n" ); document.write( "Since events of drawing from different bottles are independent, we can multiply the individual probabilities, i.e.
\n" ); document.write( "P(RR)=P(R) from bottle 1 * P(R) from bottle 2, and similarly for P(BB)
\n" ); document.write( "
\n" ); document.write( "P(RR)=\"%284%2F%284%2B6%29%29%2A%28x%2F%28x%2B12%29%29=0.4x%2F%28x%2B12%29\"
\n" ); document.write( "P(BB)=\"%286%2F%284%2B6%29%29%2A%2812%2F%28x%2B12%29%29=7.2%2F%28x%2B12%29\"
\n" ); document.write( "Since the events RR and BB are mutually exclusive, probability of the union is the sum of the individual probabilities.
\n" ); document.write( "P(RR∪BB)=\"0.4x%2F%28x%2B12%29%2B7.2%2F%28x%2B12%29\"
\n" ); document.write( "which is given to be 0.56
\n" ); document.write( "So we have an equation in x from which we can solve for x:
\n" ); document.write( "\"0.4x%2F%28x%2B12%29%2B7.2%2F%28x%2B12%29+=+0.56\"
\n" ); document.write( "\"0.4x%2B7.2=0.56%28x%2B12%29\"
\n" ); document.write( "\"7.2-6.72=0.16x\"
\n" ); document.write( "\"x=0.48%2F0.16=3\"
\n" ); document.write( "
\n" ); document.write( "Answer:
\n" ); document.write( "There are 3 red balls in the second bottle.
\n" ); document.write( "
\n" );