Tossing a Coin 100 Times: Probability of All Heads

  • Thread starter jk22
  • Start date
In summary: But if you start with t, you have an infinite number of possibilities for the longest run to be of length 1 or greater.
  • #1
jk22
729
24
Suppose I toss a fair coin 100 times. If I consider the order of apparition, then obtaining all head, or fifty times head has the same probability, namely (1/2)^100 ?
 
Physics news on Phys.org
  • #2
jk22 said:
Suppose I toss a fair coin 100 times. If I consider the order of apparition, then obtaining all head, or fifty times head has the same probability, namely (1/2)^100 ?
How did you get that answer for the second case, getting 50 heads?
 
  • #3
jk22 said:
Suppose I toss a fair coin 100 times. If I consider the order of apparition, then obtaining all head, or fifty times head has the same probability, namely (1/2)^100 ?
No, because there is only one way in which you can toss all heads, but there are many more ways in which you can obtain 50 heads in 100 tosses.
 
  • #4
I'm considering one particular order hhhh...ttttt... fifty time each.
 
  • #5
jk22 said:
I'm considering one particular order hhhh...ttttt... fifty time each.

Yep, in that case the probability is the same.
 
  • #6
But, intuitively, it seems to me that the serie htht... were more plausible than hhhh...ttt... ?
 
  • #7
jk22 said:
I'm considering one particular order hhhh...ttttt... fifty time each.
I'm a bit confused with your wording there, did you mean getting 50 consecutive heads followed by 50 consecutive tails and you want to know the chance of getting that particular order? If that's the case, it should be indeed (1/2)^100.
jk22 said:
But, intuitively, it seems to me that the serie htht... were more plausible than hhhh...ttt... ?
Then you may want to refine your intuition, getting one particular order is as hard as getting another different particular order.
 
  • Like
Likes S.G. Janssens
  • #8
Yes. I think I'm mixing with the statistics of the length of runs. The probability to obtain k times the same is 1/2^(k+1) hence if i write a program computing that statistics I should obtain an exponential decaying curve.

But that's where my problem arises above, since run length that are longer have less chance to appear, I would expect the case hhhh...tttt... were less likely to appear.

I did a computer simulation of throwing 100 times a coin, and repeating 100'000 times the experiment, storing run length values :
https://drive.google.com/file/d/0B9pGxyM9yy2fYlpIV08wMF9jVk0/view?usp=sharing
 
Last edited:
  • #9
jk22 said:
But that's where my problem arises above, since run length that are longer have less chance to appear, I would expect the case hhhh...tttt... were less likely to appear.
I think you may be confusing the statistics of run length and the maximum run length of a given outcome. On average, you will get many runs of length 1, but you have only one possibility (if you start by h) that the longest run is of length 1.
 

Related to Tossing a Coin 100 Times: Probability of All Heads

1. What is the probability of getting all heads when tossing a coin 100 times?

The probability of getting all heads when tossing a coin 100 times is extremely low, with a probability of approximately 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
3
Views
1K
  • Set Theory, Logic, Probability, Statistics
2
Replies
57
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
6
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
5
Views
910
  • Set Theory, Logic, Probability, Statistics
Replies
20
Views
4K
  • Set Theory, Logic, Probability, Statistics
2
Replies
41
Views
4K
  • Set Theory, Logic, Probability, Statistics
Replies
11
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
29
Views
3K
  • Set Theory, Logic, Probability, Statistics
2
Replies
45
Views
3K
Back
Top