# Leads in Coin Tossing

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram CDF Player or other Wolfram Language products.

Requires a Wolfram Notebook System

Edit on desktop, mobile and cloud with any Wolfram Language product.

Consider a game in which a fair coin is tossed repeatedly. When the cumulative number of heads is greater than the cumulative number of tails, heads is in the lead. Tails moves to the lead when the cumulative number of tails is greater than the cumulative number of heads. Intuition might suggest that with a large number of coin tosses, heads and tails would spend roughly equal time in the lead. In fact, it is much more likely that one side or the other will be lucky a high proportion of the time. When the blue line is above the horizontal, heads is in the lead; when it is below, tails is in the lead. Vary the random seed and observe how often one side or the other is in the lead close to 100% of the time.

Contributed by: Fiona Maclachlan (March 2011)

Open content licensed under CC BY-NC-SA

## Snapshots

## Details

W. Feller, "Fluctuations in Coin Tossing and Random Walks", *An Introduction to Probability Theory and Its Applications*, Vol. 1, New York: John Wiley & Sons, Inc., 1950 pp. 67-97.

## Permanent Citation

"Leads in Coin Tossing"

http://demonstrations.wolfram.com/LeadsInCoinTossing/

Wolfram Demonstrations Project

Published: March 7 2011