The chance of picking the biased coin is 1/1000. The chance of seeing 10 heads from a fair coin is (1/2)^10 = 1/1024. These are nearly equal, so given that you've seen 10 heads, there is a 50/50 chance of having a biased coin. So the probability the next flip shows a head is
P(H) = P(biased) * P(H|biased) + P(fair) * P(H|fair)
= 0.75
The long answer -Yo want to figure out P(biased | 10H). Using Bayes rule this is
P(biased | 10H) = P(10H | biased) * P(biased) / P(10H)
= P(10H | biased) * P(biased) / (P(10H|biased) * P(biased) + P(10H|fair) * P(fair))
= 1 * (1/1000) / (1 * 1/1000 + 1/1024 * 999/1000)
~ 0.5
and you now compute the probability of the next toss being a head as above.The OP is only asking what the outcome of the NEXT flip is, not the probability of flipping 11 heads in a row. Or did I read this wrong?
I disagree. The coin is the coin. It didn't magically transport itself or change state after flipping it 10, 100, or a billion times.
Lets change the puzzle to the simplest state: you pull a coin from the 1000-coin jar and flip it just once. What's the probability of heads?
This is why roulette and baccarat tables in Vegas have those signs showing previous outcomes. It's meant to mess with your head. Previous history has no effect on future outcomes. A fair coin could come up heads a billion times in a row as well. The next flip will still be 0.5.
"The OP is only asking what the outcome of the NEXT flip is, not the probability of flipping 11 heads in a row"
This is correct, however the history of flips gives us an information on the type of coin we have in our hands
Would be interesting to see the probabilities if we had gotten 11 heads, 15 heads or 20 heads in a row.
"Given that you see 10 heads, what is the probability that the next toss of that coin is also a head?"
He didn't ask you to identify the coin. He just wants to know if the flip is going to be heads.
When we have the double heads coin, the probability of getting 10 heads is 1: P(10 heads|fake) = 1. When we have a normal coin, the probability of getting 10 heads is P(10 heads|fair) = 0.5^10.
The quantity we want to compute is
P(heads|10 heads) = P(fair|10 heads)*0.5 + P(fake|10 heads)*1
= P(fair|10 heads)*0.5 + (1-P(fair|10 heads))
= 1 - P(fair|10 heads)*0.5.
To compute P(fair|10 heads) we use Bayes' rule: P(fair|10 heads) = P(10 heads|fair) * P(fair)/P(10 heads)
Here P(10 heads) = P(10 heads|fake)*P(fake) + P(10 heads|fair)*P(fair)
= 1*0.001 + 0.5^10*0.999.
We fill in the formula we got by Bayes' rule: P(fair|10 heads) = 0.5^10 * 0.999 / (1*0.001 + 0.5^10*0.999)
Then we fill in the original formula: P(heads|10 heads) = 1 - 0.5^10 * 0.999 / (1*0.001 + 0.5^10*0.999) * 0.5
= 0.75308947108