Question
Question: A bag contains 7 red, 5 white and 8 black balls. If four balls are drawn one by one with replacement...
A bag contains 7 red, 5 white and 8 black balls. If four balls are drawn one by one with replacement, the probability that any two are white is 2b3a then value of a+b is ....
Solution
In this question, we are given a number of red, white and black balls. We have to find the probability of two balls drawn to be white when four balls are drawn one by one with replacement. For this, we will use binomial distribution to find probability. Binomial distribution for occurring of x event is given as:
P(x)=nCx(p)x(q)n−x
Where n is the number of trials (or number being sampled), x is the number of successes in one trial and q is the probability of getting failure in one trial. Here, q can be calculated as q = 1-p.
Complete step by step answer:
Here, we are given a number of red balls as 7, number of white balls as 5 and number of black balls as 8. So the total number of balls will be 7+5+8 = 20.
If one ball is picked from these balls then probability of getting white ball will be equal to
Probability=Total number of ballsNumber of white balls=205=41
Now, let X event be that white ball is chosen. Since 41 is probability of success for event X, therefore p=41.
Since q is probability of failure for event X, so q is given by 1-p, therefore q=1−41=43.
So q=43.
Now total chances taken are 4, therefore n = 4. We want two white balls, therefore x = 2.
As we know, binomial distribution is given by
P(X=x)=nCx(p)x(q)n−x
Where n is the number of trials (or number being sampled), x is the number of desired success, p is probability of getting success in one trial and q is the probability of getting failure in one trial. Here, we have found, n = 4, x = 2, p=41 and q=43. So, P(X) becomes