Constantly flipping a coin would at some point result

  • Context: Undergrad 
  • Thread starter Thread starter Holocene
  • Start date Start date
  • Tags Tags
    Point
Click For Summary
SUMMARY

The discussion centers on the probability of flipping a coin and achieving 1,000,000 consecutive heads or tails given unlimited time. The probability of achieving this outcome is calculated as p = 0.51000000, which is an extremely small number, while the probability of not achieving it is q = 1 - p, remaining close to 1. However, with an unlimited number of trials, the likelihood of achieving this outcome approaches certainty over time. The conversation also references the infinite monkey theorem to illustrate the concept of probability in infinite trials.

PREREQUISITES
  • Understanding of basic probability theory
  • Familiarity with the concept of infinite trials
  • Knowledge of the infinite monkey theorem
  • Basic mathematical calculations involving exponents
NEXT STEPS
  • Research the implications of the infinite monkey theorem in probability theory
  • Study advanced probability concepts such as "almost surely" events
  • Explore the mathematical calculations behind large probabilities and their implications
  • Investigate real-world applications of probability in statistical modeling
USEFUL FOR

Mathematicians, statisticians, educators, and anyone interested in probability theory and its applications in real-world scenarios.

Holocene
Messages
237
Reaction score
0
Not sure if this really a math issue, I think it is, but I was just wondering about something.

If given an unlimited amount of time, do you think constantly flipping a coin would at some point result in flipping 1,000,000 consecutive heads...or tails?

Obviously it could never happen in a single lifetime, or even the lifetime of the planet for all we know. But is it safe to conclude that if given an unlimited amount of time, it not only could happen, but will happen?
 
Physics news on Phys.org
It will almost surely happen. (Look up 'almost surely' on wikipedia)
 
Have you seen the infinite monkey theorem? [http://en.wikipedia.org/wiki/Infinite_monkey_theorem]

What is the probability of getting 1 million consecutive heads? It would be p = 0.5^{1000000}, a truly small number. The probability of not getting 1 million heads in a row would be q = 1 - p, very close to 1. But, given an unlimited amount of time, we have an unlimited number of trials. If flipping a coin 1 million times is a trial, and we do many trials, q slowly gets smaller and smaller and p gets larger and larger.

p gets larger very slowly. A quick estimate shows that if you did 2^{1000000-1} such trials, you would have a probability of getting that run of 1 million of about 0.4. If it takes one trillionth of a second to flip a coin, it would take more than 2^{1000000-46} > 10^{249988} years, if my calculation is correct. Estimates of the current age of the universe are on the order of 10^{10} years, for comparison.

** No guarantees on my calculations ;)
 
Last edited by a moderator:
Holocene said:
Obviously it could never happen in a single lifetime, or even the lifetime of the planet for all we know.

I am not sure that this is obvious. Saying something could never happen means that its probability is zero. As mentioned above the probability is small, but not 0. If you could flip a coin ever second, it would take between 11 and 12 days for you to flip it one million times.

Since we are able to flip a coin 1 million times in the range of our lifetime, it is possible that we could get 1 million heads in a row in our lifetime. (I wouldn't bet on it though).

As others pointed out this is closely related to the infinite monkey theorem. I suggest you think carefully about what you say can never happen, and what you say will surely happen.
 
Diffy said:
Since we are able to flip a coin 1 million times in the range of our lifetime, it is possible that we could get 1 million heads in a row in our lifetime. (I wouldn't bet on it though).

I get a rough upper bound of 10^{-301021} on that probability.
 

Similar threads

  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 20 ·
Replies
20
Views
6K
Replies
8
Views
1K
  • · Replies 10 ·
Replies
10
Views
5K
  • · Replies 126 ·
5
Replies
126
Views
9K
  • · Replies 45 ·
2
Replies
45
Views
6K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
3
Views
4K
  • · Replies 1 ·
Replies
1
Views
970