Probability 3 Heads - Two Coins

Probability Level pending

There are two coins in a bag. The first coin is unbiased, whereas the second coin is biased with the probability of obtaining a head to be 1 3 \frac13 .

Your friend chooses one of the coins at random and tosses it 5 times.

You ask your friend, “Did you observe at least three heads?”
Your friend replies, “Yes.”

What is the probability that the second coin was chosen?

27.5 % 27.5\% 29.6 % 29.6\% 31.3 % 31.3\% 33.7 % 33.7\%

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.

2 solutions

Karan Chatrath
Feb 13, 2021

The following notation is used:

A t l e a s t t h r e e h e a d s A 3 H \mathrm{Atleast \ three \ heads \ - \ A3H} C o i n 1 C 1 \mathrm{Coin \ 1 \ - \ C1} C o i n 2 C 2 \mathrm{Coin \ 2 \ - \ C2}

Now, the probability of choosing coins 1 and 2 respectively are:

P ( C 1 ) = 0.5 \mathrm{P(C1)} = 0.5 P ( C 2 ) = 0.5 \mathrm{P(C2)} = 0.5

The probability of at least three heads given that coin 1 is chosen:

P ( A 3 H C 1 ) = ( 5 3 ) ( 1 2 ) 5 + ( 5 4 ) ( 1 2 ) 5 + ( 5 5 ) ( 1 2 ) 5 = 1 2 \mathrm{P(A3H|C1)} = {5 \choose 3}\left(\frac{1}{2}\right)^5 + {5 \choose 4}\left(\frac{1}{2}\right)^5 + {5 \choose 5}\left(\frac{1}{2}\right)^5 = \frac{1}{2}

The probability of at least three heads given that coin 2 is chosen:

P ( A 3 H C 2 ) = ( 5 3 ) ( 1 3 ) 3 ( 2 3 ) 2 + ( 5 4 ) ( 1 3 ) 4 ( 2 3 ) 1 + ( 5 5 ) ( 1 3 ) 5 ( 2 3 ) 0 = 51 243 \mathrm{P(A3H|C2)} = {5 \choose 3}\left(\frac{1}{3}\right)^3\left(\frac{2}{3}\right)^2 + {5 \choose 4}\left(\frac{1}{3}\right)^4\left(\frac{2}{3}\right)^1 + {5 \choose 5}\left(\frac{1}{3}\right)^5\left(\frac{2}{3}\right)^0 = \frac{51}{243}

We are required to calculate the probability that coin C2 is chosen given that atleast three heads are observed. Essentially, we are asked to compute P ( C 2 A 3 H ) \mathrm{P(C2|A3H)} . This can be done using Baye's rule as follows:

P ( C 2 A 3 H ) = P ( A 3 H C 2 ) P ( C 2 ) P ( A 3 H ) \mathrm{P(C2|A3H)} = \frac{\mathrm{P(A3H|C2)}\mathrm{P(C2)}}{\mathrm{P(A3H)}}

Now:

P ( A 3 H ) = P ( A 3 H C 1 ) + P ( A 3 H C 2 ) \mathrm{P(A3H)} = \mathrm{P(A3H \cap C1)} + \mathrm{P(A3H \cap C2)}

Using the definition of conditional probability:

P ( A 3 H ) = P ( A 3 H C 1 ) P ( C 1 ) + P ( A 3 H C 2 ) P ( C 2 ) \mathrm{P(A3H)} = \mathrm{P(A3H|C1)}\mathrm{P(C1)} + \mathrm{P(A3H|C2)}\mathrm{P(C2)}

P ( C 2 A 3 H ) = P ( A 3 H C 2 ) P ( C 2 ) P ( A 3 H C 1 ) P ( C 1 ) + P ( A 3 H C 2 ) P ( C 2 ) = 51 243 × 1 2 ( 1 2 × 1 2 ) + ( 51 243 × 1 2 ) 0.295652 \implies \mathrm{P(C2|A3H)} = \frac{\mathrm{P(A3H|C2)}\mathrm{P(C2)}}{\mathrm{P(A3H|C1)}\mathrm{P(C1)} + \mathrm{P(A3H|C2)}\mathrm{P(C2)}} = \frac{ \frac{51}{243} \times \frac{1}{2}}{\left( \frac{1}{2} \times \frac{1}{2} \right)+ \left( \frac{51}{243} \times \frac{1}{2}\right)} \approx 0.295652

In percentages, the probability evaluates to 29.5652 % \boxed{29.5652 \ \%}

Greetings! I noticed that you modified the problem statement. You can paste your comment to my report in response to this. If I open your comment, I would have to concede the problem. Thank you

Karan Chatrath - 3 months, 1 week ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...