Understanding Bayes' Theorem: From Librarians to Treasure Hunts

 3 min read

YouTube video ID: HZGCoVF3YvM

Source: YouTube video by 3Blue1BrownWatch original video

PDF

Why Bayes' Theorem Matters

Bayes' theorem is one of the most powerful formulas in probability. It underpins scientific discovery, machine‑learning algorithms, and even real‑world treasure hunts – like the 1980s search that recovered a ship carrying the modern equivalent of $700 million in gold.

Levels of Understanding

  1. Know the parts – be able to plug numbers into the formula.
  2. Know why it works – grasp the logical derivation.
  3. Know when to use it – recognize situations where evidence should update beliefs rather than replace them.

The Steve Example (Kahneman & Tversky)

  • Scenario: Steve is described as “meek and tidy.” Which is more likely? Librarian or farmer?
  • Common intuition: Librarian, because the description matches the stereotype.
  • Rational analysis: In the U.S. the ratio of farmers to librarians is about 20 : 1. If 40 % of librarians and 10 % of farmers fit the description, then in a sample of 200 farmers and 10 librarians we expect 20 farmers and 4 librarians to match. The probability Steve is a librarian given the description is 4 / 24 ≈ 16.7 %.
  • Lesson: New evidence (the description) updates, not overrides, prior odds (the population ratio).

Formalizing the Reasoning

  • Prior (P(H)) – probability of the hypothesis before seeing evidence (e.g., 1 / 21 for librarian).
  • Likelihood (P(E|H)) – probability of the evidence if the hypothesis is true (e.g., 0.40).
  • Evidence probability (P(E)) – overall chance of seeing the evidence, computed by splitting into true‑hypothesis and false‑hypothesis cases.
  • Posterior (P(H|E)) – updated belief after evidence, given by:

P(H|E) = [P(H) × P(E|H)] / P(E)

Geometric Interpretation

Imagine the entire outcome space as a 1 × 1 square. Each event occupies a region; probabilities are areas. The hypothesis occupies a vertical strip of width P(H). When evidence arrives, we restrict attention to the region where evidence holds, reshaping the strip. The posterior is simply the proportion of that restricted region belonging to the hypothesis.

The Linda Problem (Another Kahneman & Tversky Study)

  • Description: Linda is a philosophy major, outspoken, concerned with social justice.
  • Question: Which is more likely? (1) Linda is a bank teller, or (2) Linda is a bank teller and a feminist?
  • Typical error: 85 % choose option 2, violating basic set theory.
  • Fix: Ask participants to estimate numbers out of 100. The error disappears, showing that concrete counts (areas) align intuition with correct probability reasoning.

Practical Takeaways

  • Use representative samples to translate abstract probabilities into concrete counts.
  • Think in areas, not percentages, when visualizing how evidence restricts possibilities.
  • Never let evidence alone dictate belief; always weigh it against prior information.
  • Bayes' theorem is a systematic way to quantify belief updates, useful for scientists, AI developers, and anyone who wants to think more clearly about uncertainty.

How to Apply Without Memorizing the Formula

Draw the simple diagram: 1. Draw a square representing total possibilities. 2. Shade the left portion for the hypothesis (width = P(H)). 3. Within that, shade the part that also satisfies the evidence (height = P(E|H)). 4. Do the same for the complement of the hypothesis. 5. The posterior is the ratio of the shaded evidence‑and‑hypothesis area to the total evidence area.

This visual method works for any problem, no matter how complex, and avoids the need to memorize symbols.

Bayes' theorem teaches us that evidence should update, not replace, our prior beliefs; by treating probabilities as proportions—or areas—we can make rational updates intuitive and systematic.

Frequently Asked Questions

Who is 3Blue1Brown on YouTube?

3Blue1Brown is a YouTube channel that publishes videos on a range of topics. Browse more summaries from this channel below.

Does this page include the full transcript of the video?

Yes, the full transcript for this video is available on this page. Click 'Show transcript' in the sidebar to read it.

Helpful resources related to this video

If you want to practice or explore the concepts discussed in the video, these commonly used tools may help.

Links may be affiliate links. We only include resources that are genuinely relevant to the topic.

PDF