Constantly flipping a coin would at some point result

  • Thread starter Holocene
  • Start date
  • Tags
    Point
In summary, the conversation discusses the possibility of getting 1 million consecutive heads or tails when flipping a coin an unlimited number of times. While the probability of this happening is extremely small, it is not impossible and could potentially happen within a single lifetime. This idea is related to the infinite monkey theorem, which states that given enough time, a monkey randomly typing on a keyboard will eventually produce a specific piece of literature.
  • #1
237
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?
 
Mathematics news on Phys.org
  • #2
It will almost surely happen. (Look up 'almost surely' on wikipedia)
 
  • #3
Have you seen the infinite monkey theorem? [http://en.wikipedia.org/wiki/Infinite_monkey_theorem] [Broken]

What is the probability of getting 1 million consecutive heads? It would be [itex]p = 0.5^{1000000}[/itex], a truly small number. The probability of not getting 1 million heads in a row would be [itex]q = 1 - p[/itex], 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 [itex]2^{1000000-1}[/itex] 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 [itex]2^{1000000-46} > 10^{249988}[/itex] years, if my calculation is correct. Estimates of the current age of the universe are on the order of [itex]10^{10}[/itex] years, for comparison.

** No guarantees on my calculations ;)
 
Last edited by a moderator:
  • #4
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.
 
  • #5
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 [itex]10^{-301021}[/itex] on that probability.
 

Suggested for: Constantly flipping a coin would at some point result

Back
Top