Question
Question: Suppose a girl throws a die. If she gets a 5 or 6, she tosses a coin three times and notes the numbe...
Suppose a girl throws a die. If she gets a 5 or 6, she tosses a coin three 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 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
Hints: To solve the question, at first we have to find out the probability of respective events that means the probability of getting 5 or 6 and getting 1,2,3 or 4 when the dice is thrown once. Then we must find out the probability of getting exactly one head when a coin is tossed thrice and the probability of getting exactly one head when a coin is tossed once. Finally, we apply Baye's theorem to find out the probability of getting 1, 2, 3, or 4 with the die when the coin is already tossed once and obtained exactly one head.
Complete step-by-step solution:
We know that the probability of an event A is given by the formula,
p(A)=n(S)n(A) …………………………………………….. (1)
Where n(A) is the number of outcomes obtained and n(S) is the total number of possible outcomes.
Let E1be the event of getting 5 or 6 when a dice is thrown once. We see that when a dice is thrown once the possible outcomes are 1, 2,3,4,5 or 6 that means the total number of possible outcomes is 6. Here for E1 the number of outcomes obtained are 2. Hence probability of event E1 is given by
p(E1)=62=31 …………………………………………….. (2)
Let E2 be the event of getting 1, 2, 3 or 4 when a dice is thrown thrice. Similarly for event E2 the total number of outcomes obtained is 4 and total number of possible outcomes is 6. Hence probability of eventE2is given by
p(E2)=64=32 …………………………………………….. (3)
Let A be the event of getting exactly one head. When a coin is tossed once then the total number of possible outcomes is 2 (H, T). When it is tossed thrice then the total number of possible outcomes is 8(HHH, HHT, HTH, THH, HTT, THT, TTH, TTT).
Let p(A∣E1) be the conditional probability of getting exactly one head when a coin is tossed thrice where event E1 has already occurred. Here the number of outcomes obtained that contains is 3 (HTT, THT, TTH) out of 8 possible outcomes. Hence we get,
p(A∣E1)=83 …………………………………………….. (4)
Again let p(A∣E2) be the conditional probability of getting a head when the coin is tossed once where the event E2 is already occurred. Thus
p(A∣E2)=21 …………………………………(5)
We know that the Baye's formula is given by,
p(A∣B)=p(B∣A)p(A)+p(B∣Ac)p(Ac)p(B∣A)p(A) …………………. (6)
Where
p(A∣B) is the conditional probability that the event A will occur where B has already occurred. p(B∣A) is the conditional probability that the event B will occur where B has already occurred.
Ac is the complementary event of A.
But here E1 and E2 are complementary to each other as out of 6 outcomes E1 consists of 2 (5 or 6) and E2 consists of 4 (1, 2, 3 or 4).
Hence by applying Baye's formula, and substituting the values from equations (2), (3), (4), (5) we get the probability of happening of event E2 when the event A has already occurred is given by