There are two bags, one of which contains 3 black and 4 white balls while the other contains 4 black and 3 white balls. A die is thrown. If it shows up 1 or 3, a ball is taken from the Ist bag; but it shows up any other number, a ball is chosen from the second bag. Find the probability of choosing a black ball.
Solution
Given-
There are 2 bags-
Bag 1: 3 black and 4 white balls
Bag 2: 4 black and 3 white balls
Therefore, Total balls = 7
Let events E1, E2 be the following:
E1 and E2 be the events that bag 1 and bag 2 are selected respectively
We know that a die is thrown.
Therefore, total outcomes = 6
The Law of Total Probability:
In a sample space S, let E1, E2, E3…….En be n mutually exclusive and exhaustive events associated with a random experiment. If A is any event which occurs with E1, E2, E3…….En, then
P(A) = P(E1)P(A/E1)+ P(E2)P(A/E2)+ …… P(En)P(A/En)
Let “E” be the event that the black ball is chosen.
P(E|E1) is the probability that a black ball is chosen from the bag 1.
P(E|E2) is the probability that a black ball is chosen from the bag 2.
Therefore,
Therefore, the probability of choosing a black ball is the sum of individual probabilities of choosing the black from the given bags.
From the law of total probability,