# Probability Question.

**URL:** <https://boards.straightdope.com/t/probability-question/613477>\
**Category:** Factual Questions\
**Created:** [February 21, 2012, 12:24am UTC](https://boards.straightdope.com/t/probability-question/613477 "2012-02-21T00:24:40Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![pancakes3](https://avatars.discourse-cdn.com/v4/letter/p/ba9def/32.png) [@pancakes3](https://boards.straightdope.com/u/pancakes3)\
**Post date:** [February 21, 2012, 12:24am UTC](https://boards.straightdope.com/t/probability-question/613477/1 "2012-02-21T00:24:40Z")

</div>

Scenario: There’s a bag with 4 regular coins (tail-head) and 1 irregular coin (head-head). At random, you take a coin out of the bag and proceed to flip it five times and it comes up heads all five times.

Question: What is the probability that the coin you’re flipping is the irregular coin?

---

<div class="post-metadata">

**Author:** ![Capi1978](https://avatars.discourse-cdn.com/v4/letter/c/c5a1d2/32.png) [@Capi1978](https://boards.straightdope.com/u/Capi1978)\
**Post date:** [February 21, 2012, 12:33am UTC](https://boards.straightdope.com/t/probability-question/613477/2 "2012-02-21T00:33:32Z")

</div>

1 to 5, it doesn’t matter how often you flip the coin, the probability of getting the irregular one is always 1-5.

---

<div class="post-metadata">

**Author:** ![Chronos](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/chronos/32/134_2.png) [@Chronos](https://boards.straightdope.com/u/Chronos)\
**Post date:** [February 21, 2012, 12:40am UTC](https://boards.straightdope.com/t/probability-question/613477/3 "2012-02-21T00:40:41Z")

</div>

This is a textbook case of where you should apply [Bayes’ Theorem](http://en.wikipedia.org/wiki/Bayes%27_theorem). And I’ll leave it at that for now, in case this is a homework problem.

---

<div class="post-metadata">

**Author:** ![chrisk](https://avatars.discourse-cdn.com/v4/letter/c/6de8d8/32.png) [@chrisk](https://boards.straightdope.com/u/chrisk)\
**Post date:** [February 21, 2012, 12:41am UTC](https://boards.straightdope.com/t/probability-question/613477/4 "2012-02-21T00:41:38Z")

</div>

Well, let’s see…

IF you do pick the double-head, then the probability of getting 5 heads in a row is 100%

IF you pick one of the normal coins, then the probability of getting 5 heads in a row is .5 to the fifth power, or 3.125%

So, once you get 5 heads in a row, the probabilities remaining are:  
20% (double-headed coin,)  
80% \* 3.125% = 2.5% (ordinary coin that happened to get 5 heads in a row.)

Everything else has been eliminated. So, the chances that the coin you hold in your hand is 20/22.5, or 88.89% - exactly eight out of nine.

**Capi1978** , no, that’s not true. The original odds of 1 in 5 can definitely be altered based on the results of flipping the coin. Simple and obvious answer, if you pick a coin at random, flip it, and get tails, the odds that you picked the double-headed coin have dropped from 1 in 5 to zero.

**Chronos** , I’ll take the chance of having done somebody’s homework - I just hope I did it right. 😃

---

<div class="post-metadata">

**Author:** ![ZenBeam](https://avatars.discourse-cdn.com/v4/letter/z/3ab097/32.png) [@ZenBeam](https://boards.straightdope.com/u/ZenBeam)\
**Post date:** [February 21, 2012, 12:55am UTC](https://boards.straightdope.com/t/probability-question/613477/5 "2012-02-21T00:55:18Z")

</div>

> [@Chronos](#):
>
> This is a textbook case of where you should apply [Bayes’ Theorem](http://en.wikipedia.org/wiki/Bayes%27_theorem). And I’ll leave it at that for now, in case this is a homework problem.

I was intrigued by that [top picture](http://en.wikipedia.org/wiki/File:Bayes%27_Theorem_MMB_01.jpg). _Bayes’ theorem spelt out in blue neon at the offices of Autonomy in Cambridge._

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [February 21, 2012, 1:16am UTC](https://boards.straightdope.com/t/probability-question/613477/6 "2012-02-21T01:16:14Z")

</div>

> [@chrisk](#):
>
> Well, let’s see…
> 
> IF you do pick the double-head, then the probability of getting 5 heads in a row is 100%
> 
> IF you pick one of the normal coins, then the probability of getting 5 heads in a row is .5 to the fifth power, or 3.125%
> 
> So, once you get 5 heads in a row, the probabilities remaining are:  
> 20% (double-headed coin,)  
> 80% \* 3.125% = 2.5% (ordinary coin that happened to get 5 heads in a row.)
> 
> Everything else has been eliminated. So, the chances that the coin you hold in your hand is 20/22.5, or 88.89% - exactly eight out of nine.
> 
> **Capi1978** , no, that’s not true. The original odds of 1 in 5 can definitely be altered based on the results of flipping the coin. Simple and obvious answer, if you pick a coin at random, flip it, and get tails, the odds that you picked the double-headed coin have dropped from 1 in 5 to zero.
> 
> **Chronos** , I’ll take the chance of having done somebody’s homework - I just hope I did it right. 😃

This is all correct.

---

<div class="post-metadata">

**Author:** ![pancakes3](https://avatars.discourse-cdn.com/v4/letter/p/ba9def/32.png) [@pancakes3](https://boards.straightdope.com/u/pancakes3)\
**Post date:** [February 21, 2012, 3:41pm UTC](https://boards.straightdope.com/t/probability-question/613477/7 "2012-02-21T15:41:57Z")

</div>

it was a hw problem, but not mine. my sister asked me because her friends were debating it (with some outlandish conclusions).

the way i approached it was similar to **chrisk** ’s. i figured that out of all the different ways 5 heads could come up, 32 permutations were from the trick coin and 4 from the normal coins. 32/36 = 8/9.

i’m trying to do it with bayes’ theorum but i’m not getting it.

P(Q|W) = (P(W|Q)\*P(W))/(P(Q))

so, P(fake given 5 heads in a row) = P(5 heads in a row given fake) \* P(5 heads in a row) / P(fake)

= (1) \* (1/5_1/32+1/5_1/32+1/5_1/32+1/5_1/32_1/5_32/32) / (1/5)

= (1/5)\*(36/32)/(1/5)

= 36/32 = 9/8

?

---

<div class="post-metadata">

**Author:** ![Sicks\_Ate](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@Sicks\_Ate](https://boards.straightdope.com/u/Sicks_Ate)\
**Post date:** [February 21, 2012, 3:48pm UTC](https://boards.straightdope.com/t/probability-question/613477/8 "2012-02-21T15:48:55Z")

</div>

> [@pancakes3](#):
>
> Scenario: There’s a bag with 4 regular coins (tail-head) and 1 irregular coin (head-head). At random, you take a coin out of the bag and proceed to flip it five times and it comes up heads all five times.
> 
> Question: What is the probability that the coin you’re flipping is the irregular coin?

I was eager to see solutions to this, because it does sound clever.

> [@Capi1978](#):
>
> 1 to 5, it doesn’t matter how often you flip the coin, the probability of getting the irregular one is always 1-5.

But if the question you’re asking is the probability that the the coin is the irregular one, then the fact that you flipped it at all is irrelevant, right? The chances of picking it out of the bag are still 1:5.

Edit: Sorry, read and thought a little harder. Disregard me!

Of course there are several more complicated answers above, but this is what I’m thinking. 🙂

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [February 21, 2012, 4:21pm UTC](https://boards.straightdope.com/t/probability-question/613477/9 "2012-02-21T16:21:34Z")

</div>

> [@pancakes3](#):
>
> it was a hw problem, but not mine. my sister asked me because her friends were debating it (with some outlandish conclusions).
> 
> the way i approached it was similar to **chrisk** ’s. i figured that out of all the different ways 5 heads could come up, 32 permutations were from the trick coin and 4 from the normal coins. 32/36 = 8/9.
> 
> i’m trying to do it with bayes’ theorum but i’m not getting it.
> 
> P(Q|W) = (P(W|Q)\*P(W))/(P(Q))
> 
> so, P(fake given 5 heads in a row) = P(5 heads in a row given fake) \* P(5 heads in a row) / P(fake)
> 
> = (1) \* (1/5_1/32+1/5_1/32+1/5_1/32+1/5_1/32_1/5_32/32) / (1/5)
> 
> = (1/5)\*(36/32)/(1/5)
> 
> = 36/32 = 9/8
> 
> ?

The equation for the Bayesian update is P(Q|W) = P(W|Q)P(Q)/P(W).

---

<div class="post-metadata">

**Author:** ![pancakes3](https://avatars.discourse-cdn.com/v4/letter/p/ba9def/32.png) [@pancakes3](https://boards.straightdope.com/u/pancakes3)\
**Post date:** [February 21, 2012, 5:09pm UTC](https://boards.straightdope.com/t/probability-question/613477/10 "2012-02-21T17:09:47Z")

</div>

::embarrassed smiley::
