A bag contains 3 red and 4 black balls. Abhineet, randomly decides to toss a coin or a die with probabilities and respectively.
If a die is tossed, and the number obtained is a multiple of 3, he does not remove nor add extra balls into the bag. If the number is not a multiple of 3, he picks a ball randomly out of the bag, and replaces the ball along with an additional ball of the same colour.
If a coin is tossed, and a head is obtained he picks a ball randomly of the bag and discards it. If a tail is obtained, he discards one of the black balls.
He does this process once.
After the process is done, he picks a ball out of the bag randomly.
Given that the probability of picking a red ball is , where and are coprime positive integers.
Find .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
The probability of picking a red ball in the first branch ( P 1 ) = 3 1 × 2 1 × ( 6 2 × 7 3 + 6 3 × 7 4 + 0 × 6 2 + 1 × 6 3 ) = 6 1 × ( 4 2 6 + 4 2 1 2 + 4 2 2 1 ) = 6 1 × ( 4 2 3 9 ) = 8 4 1 3
The probability of picking a red ball in the second branch ( P 2 ) = 3 2 × ( 3 1 × 7 3 + 3 2 × 7 3 × 8 4 + 3 2 × 7 4 × 8 3 ) = 3 2 × ( 7 1 + 3 2 × 5 6 2 4 ) = 3 2 × ( 7 1 + 7 2 ) = 3 2 × 7 3 = 7 2
Total probability P = P 1 + P 2
∴ P = 8 4 1 3 + 7 2 = 8 4 1 3 + 8 4 2 4 = 8 4 3 7
Comparing, we get
A = 3 7
B = 8 4
B − A = 8 4 − 3 7 = 4 7