Originally posted by: her209
Originally posted by: her209
Let's modify the the OP's question:
You have 20 coins. One of the coins is a trick coin that has both sides heads. The rest have heads/tails. Someone adds one trick coin that has both sides tails to the jar. You pick a random coin from the jar and flip it 4 times, and each time it comes up heads. What are the chances that the next flip will come up heads?
Since the question assumes that you picked a coin and flipped it 4 times and got heads, can we essentially ignore the coin with both sides tails from our calculations? In other words, the probability of picking the coin with both sides heads is 1/20 and not 1/21 since picking the coin both sides tails invalidates the question?
Bump!
Yes, the result will be the same, 51/70. You can essentially omit the tails/tails coin when considering the scenario of four heads flips. Here is the calculation if you include it.
Event TH = You choose the trick coin that is only heads
Event TT = You choose the trick coin that is only tails
Event N = You choose a normal coin
Event X1 = You flip the coin once and get heads
Event X4 = You flip the coin 4 times and get heads each time
Event X5 = You flip the coin 5 times and get heads each time
P(TH) = 1/21
P(TT) = 1/21
P(N) = 19/21
P(X4|TH) = 1
P(X4|TT) = 0
P(X4|N) = (1/2)(1/2)(1/2)(1/2) = 1/16
P(X4|TH') = P(X4|TT)P(TT) + P(X4|N)P(N) = (0)(1/21) + (1/16)(19/21) = 19/336
P(X4) = P(X4|TH)P(TH) + P(X4|TH') = (1)(1/21) + 19/336 = 5/48
P(TH|X4) = (P(X4|TH)P(TH)) / P(X4) = ((1)(1/21)) / (5/48) = 16/35
P(TT|X4) = (P(X4|TT)P(TT)) / P(X4) = 0
P(N|X4) = (P(X4|N)P(N)) / P(X4) = (1/16)(19/21)) / (5/48) = 19/35
P(X5) = P(TH|X4)P(X1|TH) +
P(TT|X4)P(X1|TT) + P(N|X4)P(X1|N)
= (16/35)(1) +
(0)(0) + (19/35)(1/2) = 51/70 = 0.7286
This makes sense logically, because as soon as you see heads you know you don't have the tails/tails coin and it ceases to have any effect on the probability of future flips.