1.3.1 · D2Probability & Statistics

Visual walkthrough — Sample spaces, events, and axioms of probability

2,040 words9 min readBack to topic

Before Step 1, let us fix the pictures and words we will lean on the whole way.

The whole derivation is a fight against one enemy: double counting. Keep that word in mind.


Step 1 — The picture that starts everything: two overlapping blobs

WHAT. We draw the sample space as a rectangle, and place two events and inside so that they overlap. The overlap is .

WHY. Overlap is the only interesting case. If the blobs don't touch, the answer is trivially "add the areas." We deliberately start with the hard case so the fix is visible.

PICTURE. Below, blob (blue) and blob (yellow) share a green lens in the middle — that lens is .

Figure — Sample spaces, events, and axioms of probability

Notice the trap: if you paint 's area, then paint 's area on top, the green lens gets painted twice. That is the double counting we must correct.


Step 2 — Slice into pieces that never touch

WHAT. We cut the union into two disjoint (non-overlapping) pieces:

WHY. Our only tool for adding probabilities is Axiom 3, and Axiom 3 is only allowed when the pieces are mutually exclusive (never happen together). So before we can add, we must rewrite the union as non-touching pieces. Here:

  • = the whole blue blob, and
  • = "the part of that is outside " — the yellow crescent minus the green lens.

PICTURE. The blue blob and the yellow crescent tile the union perfectly, with no shared area.

Figure — Sample spaces, events, and axioms of probability

Applying Axiom 3 (add disjoint pieces):

We are not done: is not something we were given. Step 3 fixes that.


Step 3 — Slice the same way to name the crescent

WHAT. Cut blob itself into its inside- part and its outside- part:

WHY. We want a formula for the mystery crescent . The cleanest way is to notice that is made of exactly two disjoint slabs: the part sitting inside (the green lens, ) and the part sitting outside (the crescent, ). Since these two slabs are disjoint, Axiom 3 applies to them too.

PICTURE. Blob split along the border of : green lens on one side, yellow crescent on the other.

Figure — Sample spaces, events, and axioms of probability

Now solve this for the crescent (just algebra — subtract from both sides):


Step 4 — Substitute and watch the double count cancel

WHAT. Put the crescent formula back into the union formula .

WHY. still had the mystery crescent in it; tells us what that crescent's probability equals in terms of things we do know ( and ). Substituting eliminates the mystery.

PICTURE. The green lens, once painted twice, gets subtracted exactly once — leaving each region painted exactly once.

Figure — Sample spaces, events, and axioms of probability

That is not a mysterious correction — it is the precise undoing of the double paint we spotted in Step 1. Inclusion–exclusion is derived.


Step 5 — Edge case: disjoint events (blobs don't touch)

WHAT. Suppose and never happen together, i.e. .

WHY. We must check our formula survives the degenerate case. The parent note's Axiom 3 was stated only for disjoint events — our formula should reduce to it, or something is wrong.

PICTURE. No overlap: no green lens to subtract.

Figure — Sample spaces, events, and axioms of probability

(That itself follows from the axioms: with disjoint gives , so .)


Step 6 — Edge case: nested events (one blob inside the other)

WHAT. Suppose — blob sits entirely inside blob .

WHY. Another degenerate shape. Here the overlap is all of : . We check the formula still behaves and, as a bonus, it hands us monotonicity (bigger event, bigger-or-equal probability).

PICTURE. Blue blob fully swallowed by yellow blob; the union is just the yellow blob.

Figure — Sample spaces, events, and axioms of probability

Step 7 — Worked numbers: the two-dice check

WHAT. Use the parent's example. Two fair dice, . Let "first die is 6", "sum is 10".

WHY. A concrete count proves the formula and shows how the naive add-only answer is wrong.

PICTURE. The grid of outcomes; blue column = , yellow diagonal = , green cell = their single shared outcome .

Figure — Sample spaces, events, and axioms of probability

The one-picture summary

Figure — Sample spaces, events, and axioms of probability

One rectangle, two blobs, one green lens — and the whole story is: paint , paint , then un-paint the lens once so nothing is double-counted. Every axiom used is labelled where it entered.

Recall Feynman retelling (say it like you're explaining to a friend)

Imagine a whiteboard that is your whole world of outcomes — its total "amount of certainty" is exactly . Draw two clouds on it, and , that overlap a bit. You want to know how much of the board is covered by at least one cloud, which we call . Naively you'd measure cloud , measure cloud , and add. But the little sliver where they overlap — call it — got measured in both clouds, so you counted it twice. The cure is to subtract that overlap once: . To prove it honestly we only used three rules: probabilities are never negative, the whole board is , and non-overlapping pieces just add. We chopped the union into "all of " plus "the part of outside " (those don't overlap, so we can add), then figured out that outside-part equals minus the overlap. Substitute, and out pops the formula. Two sanity checks seal it: if the clouds don't touch, the overlap is zero and we're back to plain adding; if one cloud sits fully inside the other, the union is just the bigger cloud and — bonus — the smaller cloud can never have more probability than the bigger one.

Recall Quick self-test

Why is the correction term subtracted, not added? ::: The overlap is included inside both and , so it is counted twice; subtracting it once leaves it counted exactly once. Which axiom lets us split into disjoint pieces and add them? ::: Axiom 3 (countable additivity) — but only after we make the pieces mutually exclusive. What does the formula reduce to when ? ::: , i.e. Axiom 3 itself. For , what inequality drops out? ::: Monotonicity: .

Where this goes next: the overlap term is the seed of Conditional Probability (which normalizes by ) and hence Bayes' Theorem. Counting outcomes on the dice grid is the finite-space version of Random Variables and Probability Distributions.