Question #170102

There is a bag filled with 3 blue, 4 red and 5 green marbles.

A marble is taken at random from the bag, the colour is noted and then it is replaced.

Another marble is taken at random.

What is the probability of getting 2 the same colour?



1
Expert's answer
2021-03-10T12:05:39-0500

Let A = {The second marble has the same colour with first taken marble}

Hi=H_i = {First taken marble has color i} , for i{red,green,blue}i \in \{red, green, blue\}

Then according to Law of total probability:

Pr(A)=i{red,green,blue}Pr(AHi)Pr(Hi)Pr(A) = \sum_{i \in \{red, green, blue\}}Pr(A | H_i) \cdot Pr(H_i)

At first, we can state that Pr(AHi)=Pr(Hi)Pr(A|H_i) = Pr(H_i) because marble is replaced, so total count of marbles is equal when we took them first or second time.

We can calculate each of these probablilities using general formula:

Pr(Hi)=Pr(H_i) = (count of marbles with color i) / (total count of marbles)

Pr(Hr)=4/12=1/3Pr(H_r) = 4 / 12 = 1/3

Pr(Hg)=5/12Pr(H_g) = 5/12

Pr(Hb)=3/12=1/4Pr(H_b) = 3/12 = 1/4

Pr(A)=(1/3)2+(5/12)2+(1/4)2=50/144=25/72=0.35Pr(A) = (1/3)^2 + (5/12)^2 + (1/4)^2 = 50/144 = 25/72 = 0.35

So, answer is 25/72 (or approximately 35%).


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS