ArticleslgStudy

mathematics

Gambler's fallacy

Gambler's fallacy is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Gambler's fallacy rather than just read about it. In short: The gambler's fallacy, also known as the Monte Carlo fallacy or the fallacy of the maturity of chances, is the belief that an independent and equally probable outcome which happened less frequently than expected is more likely to happen in the future (or vice versa). The fallacy is commonly associated with gambling, where it may be mistakenly believed, for example, that the next dice roll is more likely to give '4'…

Gambler's fallacy — main illustration
Gambler's fallacy — illustration

Key takeaways

  • Gambler's fallacy belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Gambler's fallacy to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Gambler's fallacy from memory before moving on to harder problems.

Reference excerpt

The gambler's fallacy, also known as the Monte Carlo fallacy or the fallacy of the maturity of chances, is the belief that an independent and equally probable outcome which happened less frequently than expected is more likely to happen in the future (or vice versa). The fallacy is commonly associated with gambling, where it may be mistakenly believed, for example, that the next dice roll is more likely to give '4' because there have recently been fewer '4's than expected, when in reality the probability of the next outcome being '4' is always 1/6, for each dice roll is an independent event. A challenge to human intuition is that even though regression toward the mean is a genuine phenomenon, it does not change the odds of individual random events. The term Monte Carlo fallacy originates from an example of the phenomenon, in which the roulette wheel spun black 26 times in succession at the Monte Carlo Casino in 1913.

Examples

Coin toss

The gambler's fallacy can be illustrated by considering the repeated toss of a fair coin. The outcomes in different tosses are statistically independent and the probability of getting heads on a single toss is ⁠1/2⁠ (one in two). The probability of getting two heads in two tosses is ⁠1/4⁠ (one in four) and the probability of getting three heads in three tosses is ⁠1/8⁠ (one in eight). In general, if Ai is the event where toss i of a fair coin comes up heads, then:

Pr⁡(⋂i=1nAi)=∏i=1nPr⁡(Ai)=12n. If after tossing four heads in a row, the next coin toss also came up heads, it would complete a run of five successive heads. Since the probability of a run of five successive heads is ⁠1/32⁠ (one in thirty-two), a person might believe that the next flip would be more likely to come up tails rather than heads again. This is incorrect and is an example of the gambler's fallacy. The event "5 heads in a row" and the event "first 4 heads, then a tails" are equally likely, each having probability ⁠1/32⁠. Since the first four tosses turn up heads, the probability that the next toss is a head is:

Pr⁡(A5|A1∩A2∩A3∩A4)=Pr⁡(A5)=12. While a run of five heads has a probability of ⁠1/32⁠ = 0.03125 (a little over 3%), the misunderstanding lies in not realizing that this is the case only before the first coin is tossed. After the first four tosses in this example, the results are no longer unknown, so their probabilities are at that point equal to 1 (100%). The probability of a run of coin tosses of any length continuing for one more toss is always 0.5. The reasoning that a fifth toss is more likely to be tails because the previous four tosses were heads, with a run of luck in the past influencing the odds in the future, forms the basis of the fallacy.

Why the probability is ⁠1/2⁠ for a fair coin If a fair coin is flipped 21 times, the probability of 21 heads is 1 in 2,097,152. The probability of flipping a head after having already flipped 20 heads in a row is ⁠1/2⁠. Assuming a fair coin:

The probability of 20 heads, then 1 tail is 0.520 × 0.5 = 0.521 The probability of 20 heads, then 1 head is 0.520 × 0.5 = 0.521 The probability of getting 20 heads then 1 tail, and the probability of getting 20 heads then another head are both 1 in 2,097,152. When flipping a fair coin 21 times, the outcome is equally likely to be 21 heads as 20 heads and then 1 tail. These two outcomes are equally as likely as any of the other combinations that can be obtained from 21 flips of a coin. All of the 21-flip combinations will have probabilities equal to 0.521, or 1 in 2,097,152. Assuming that a change in the probability will occur as a result of the outcome of prior flips is incorrect because every outcome of a 21-flip sequence is as likely as the other outcomes. In accordance with Bayes' theorem, the likely outcome of each flip is the probability of the fair coin, which is ⁠1/2⁠.

Other examples The fallacy leads to the incorrect notion that previous failures will create an increased probability of success on subsequent attempts. For a fair 16-sided die, the probability of each outcome occurring is ⁠1/16⁠ (6.25%). If a win is defined as rolling a 1, the probability of a 1 occurring at least once in 16 rolls is:

1−[1516]16=64.39% The probability of a loss on the first roll is ⁠15/16⁠ (93.75%). According to the fallacy, the player should have a higher chance of winning after one loss has occurred. The probability of at least one win is now:

1−[1516]15=62.02% By losing one toss, the player's probability of winning drops by two percentage points. With 5 losses and 11 rolls remaining, the probability of winning drops to around 0.5 (50%). The probability of at least one win does not increase after a series of losses; indeed, the probability of success actually decreases, because there are fewer trials left in which to win. The probability of winning will eventually be equal to the probability of winning a single toss, which is ⁠1/16⁠ (6.25%) and occurs when only one toss is left.

Reverse position After a consistent tendency towards tails, a gambler may also decide that tails has become a more likely outcome. This is a rational and Bayesian conclusion, bearing in mind the possibility that the coin may not be fair; it is not a fallacy. Believing the odds to favor tails, the gambler sees no reason to change to heads. However, it is a fallacy that a sequence of trials carries a memory of past results which tend to favor or disfavor future outcomes. The inverse gambler's fallacy described by Ian Hacking is a situation where a gambler entering a room and seeing a person rolling a double six on a pair of dice may erroneously conclude that the person must have been rolling the dice for quite a while, as they would be unlikely to get a double six on their first attempt.

… excerpt ends here. Continue reading the full article.

Illustrations

Gambler's fallacy: The effect of gambler's fallacy on lottery selections, based on studies by Dek Terrell. After winning numbers are drawn, lottery players respond by reducing the number of times they select those numbers in following draws. This effect slowly corrects over time, as players become less affected by the fallacy.[28]
The effect of gambler's fallacy on lottery selections, based on studies by Dek Terrell. After winning numbers are drawn, lottery players respond by reducing the number of times they select those numbers in following draws. This effect slowly corrects over time, as players become less affected by the fallacy.[28]

Worked examples

Example 1 — a first encounter with Gambler's fallacy

Start with the simplest possible case. Write down what Gambler's fallacy claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Gambler's fallacy before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Gambler's fallacy ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Gambler's fallacy

In research
Gambler's fallacy appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Gambler's fallacy in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Gambler's fallacy is common in secondary-school and first-year university syllabi. It links to neighbouring topics Behavioral finance, Causal fallacies, Cognitive biases, so understanding it makes those chapters shorter.
In everyday life
Look for Gambler's fallacy outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Gambler's fallacy” →

How to study Gambler's fallacy in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Gambler's fallacy means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Gambler's fallacy out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Gambler's fallacy in simple terms?

The gambler's fallacy, also known as the Monte Carlo fallacy or the fallacy of the maturity of chances, is the belief that an independent and equally probable outcome which happened less frequently than expected is more likely to happen in the future (or vice versa). The fallacy is commonly associa…

Why does Gambler's fallacy matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Gambler's fallacy?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Gambler's fallacy.

Tags

  • Behavioral finance
  • Causal fallacies
  • Cognitive biases
  • Cognitive inertia
  • Gambling mathematics
  • Gambling terminology
  • Relevance fallacies
  • Statistical paradoxes

Keep exploring