Question
Question: Suppose a girl throws a die. If she gets 5 or 6, she tosses a coin 3 times and notes the number of h...
Suppose a girl throws a die. If she gets 5 or 6, she tosses a coin 3 times and notes the number of heads. If she gets 1, 2, 3 or 4, she tosses a coin once and notes whether a head or a tail is obtained. If she obtained exactly one head, what is the probability that she threw 1, 2, 3 or 4 with the die?
Solution
Hint : Let us assume that throwing a die and getting 1, 2, 3 or 4 is an event Q, throwing a die and getting 5 or 6 is an event R and tossing a coin and getting exactly one head as an event S. Now, write the probability of getting exactly one head given that a die threw could be 1, 2, 3 or 4. This probability we are going to find by Bayes’ theorem with the formula P(S∣Q)=P(Q)P(S)P(Q∣S) and write the probability of getting exactly one head given that a die threw could be 5 or 6. This probability we are going to find by Bayes’ theorem with the formula P(S∣R)=P(R)P(S)P(R∣S) .Now, divide the probability of getting 5 or 6 on the die given that exactly one head has obtained by the sum of the probability of getting 5 or 6 on the die given that exactly one head has obtained and the probability of getting 1, 2, 3 or 4 on the die given that exactly one head has obtained. The formula we are going to use is:
P(Q∣S)=P(Q)P(S∣Q)+P(R)P(S∣R)P(Q)P(S∣Q).
Complete step by step solution :
Let us assume throwing a die and getting 1, 2, 3 or 4 is an event Q.
Let us assume throwing a die and getting 5 or 6 is an event R.
Let us assume that getting exactly one head is an event S.
We are going to calculate the probability of throwing a die and getting 1, 2, 3 or 4.
P(Q)=64=32
The probability of throwing a die and getting 5 or 6 is:
P(R)=62=31
The probability of getting exactly one head is:
P(S)=21
The probability of getting exactly one head given that a die threw could be 1, 2, 3 or 4 is:
P(S∣Q)=P(Q)P(S)P(Q∣S)
P(S∣Q)=21
The probability of getting exactly one head given that a die threw could be 5 or 6 is:
P(S∣R)=P(R)P(S)P(R∣S)
P(S∣R)=21×21×21×3=83
Now, we have to find the probability of getting 1, 2, 3 or 4 on a die given that exactly one head has been obtained.
The above probability can be written asP(Q∣S).
P(Q∣S)=P(Q)P(S∣Q)+P(R)P(S∣R)P(Q)P(S∣Q)
P(Q∣S)=32×21+31×8332×21
P(Q∣S)=31+8131=118
Hence, the probability that she threw 1, 2, 3 or 4 given that exactly one head has been obtained is 118.
Note : You might think how we got the probability of getting exactly one head given that a die threw could be 5 or 6 which is shown above as:
P(S∣R)=21×21×21×3=83
In the question, it is given that in a throw of a die if you got 5 or 6 then the girl tossed the coin three times. Let H be the probability of getting head and T is the probability of getting tail.
The number of cases which shows tossing a coin three times and getting exactly one head is:
(HTT, THT, TTH)
The probability of getting a head or a tail is equal to21. So, the total probability will be:
21×21×21+21×21×21+21×21×21=81×3=83