Visual walkthrough — Conditional probability — P(A - B) = P(A∩B) - P(A)
This is a picture-first companion to the parent note. If a word here feels new, it will have a picture next to it.
Step 1 — Draw the whole world of outcomes
WHAT. An experiment (roll a die, draw a card) can end in several ways. Each possible ending is an outcome. Collect all of them into one box — that box is the sample space, written . See Sample space and events for the full idea; here we only need " = the box of all dots."
WHY. Before we can talk about "the chance of something", we need a fixed universe to measure inside. You cannot say "half" without knowing "half of what". is the "of what".
PICTURE. Each little chalk dot is one outcome. We will pretend for now that every dot is equally likely — same chance of being the winner. We write for the total number of dots.

Step 2 — Mark the two events and
WHAT. An event is just a chosen loop drawn around some of the dots — a subset of . We draw two loops: and . They usually overlap.
WHY. Conditional probability is a relationship between two events. We need both on stage before we can ask how one affects the other.
PICTURE. Blue loop , pink loop . The lens-shaped overlap — dots inside both loops — is written and read " and ". The symbol is a little cup that catches only what the two share.

- ::: the overlap region; dots that satisfy both events at once.
- ::: how many dots sit in that overlap.
Step 3 — Someone tells you " happened" → the world shrinks
WHAT. Now the key move. A friend peeks at the result and says: "I promise the outcome is inside ." Every dot outside is now impossible — rub it off the board.
WHY. This single fact — " happened" — is information. Information kills possibilities. The dots outside can no longer win, so they should no longer count. The pink loop becomes your new, smaller box.
PICTURE. Watch the greyed-out dots fade. What survives is exactly : a shrunken sample space with dots in it.

Step 4 — Ask the question inside the new box
WHAT. We are inside . Now ask: of the dots that survived, which also lie in ? Those are exactly the overlap dots — they are the only -dots that were not rubbed away.
WHY. Any -dot that lived outside died in Step 3. So inside our shrunken world, " happens" can only mean "an dot". This is why the overlap, not all of , is the star of the formula.
PICTURE. Yellow highlights the overlap dots — the winners inside the survivors.

Applying the count rule of Step 1, but inside the box (so the total is now , not ):
- numerator ::: yellow dots — survivors that are also in .
- denominator ::: all surviving dots — the new "total".
- the fraction ::: the slice of the shrunken box taken up by .
Notice: this is our first real formula, and it fell straight out of the picture.
Step 5 — Trade dot-counts for probabilities
WHAT. Counting dots only works when all dots are equally likely. To free ourselves from that assumption, divide the top and the bottom of the fraction by (the total dots in the whole board).
WHY. Dividing top and bottom of a fraction by the same number never changes its value — but it converts every count into a probability from Step 1. That swap is what makes the formula survive into worlds where outcomes are not equally likely.
PICTURE. Same fraction, relabelled: counts on the left morph into probabilities on the right.

- ::: overlap slice of the whole board.
- ::: pink slice of the whole board.
- their ratio ::: rescales "overlap out of everything" into "overlap out of ."
Step 6 — Why divide by and not by ?
WHAT. Test the formula on the one case whose answer we already know for sure: what is ? If you know happened, the chance happened must be — dead certain.
WHY. A correct rescaling must make the new box add up to full certainty. Divide by and it does; divide by and it does not — that alone forces the choice.
PICTURE. The pink box, fully certain, meter pinned at .

- ::: a set overlapped with itself is itself.
- result ::: exactly the certainty we demanded. Dividing by would have given — no reason to equal , so it must be wrong.
Step 7 — The forbidden case:
WHAT. What if is impossible — an empty loop, , so ?
WHY. Then the denominator is , and is undefined. But there is a deeper reason than "no dividing by zero": you cannot be told that an impossible event happened. There is no smaller box to stand inside — the box is empty. The question itself is meaningless.
PICTURE. An empty pink loop with a chalk cross through it — no dots to condition on.

Step 8 — Rearrange into the multiplication rule (bonus picture)
WHAT. Multiply both sides of the boxed formula by .
WHY. Sometimes you do not want ; you want — the chance both happen. This is exactly what a tree diagram chains, and what the multiplication rule states.
PICTURE. Two-branch tree: first branch weighted , second (conditional) branch weighted ; multiply along the path.

- ::: probability of the first thing (root branch).
- ::: probability of the second given the first (child branch).
- product ::: probability of walking the whole path, i.e. both.
And independence appears instantly: if learning changes nothing, , so . (For flipping a condition correctly, that is Bayes' Theorem; for summing conditionals over a partition, Law of total probability.)
The one-picture summary
Everything compressed: whole board shrink to count overlap out of rescale to probabilities.

Recall Feynman: tell the whole walkthrough to a 12-year-old
Picture a chalkboard covered in dots — every dot is a way the game could end (Step 1). Draw a blue loop and a pink loop around some dots; the little football-shaped bit where they cross is "both" (Step 2). Now a friend peeks and swears the real dot is inside the pink loop. Instantly, every dot outside pink is impossible — wipe them off. Your board just got smaller; the pink loop is your whole world now (Step 3). Ask: of the dots still alive, which are also in blue? Only the ones in that football-shaped crossing. So the chance is (football dots) ÷ (all pink dots) — that's (Step 4). To make it work even when dots aren't equally likely, divide top and bottom by the total dot count; the counts turn into probabilities and you get (Step 5). Why divide by pink and not blue? Because if the friend says "it's in pink" then "chance it's in pink" must be a rock-solid — and only dividing by gives that (Step 6). If the pink loop is empty, there's nothing to peek at, so the question makes no sense — that's why we need (Step 7). Flip the formula around and you get the "both" rule that trees use (Step 8). Done — you drew the definition.
Recall Quick self-check
Why is the denominator and not ? ::: Because is the new box we stand inside; only dividing by makes . Which dots survive after " happened"? ::: Only those inside ; the new total is . Why does only count, not all of ? ::: The -dots outside were wiped away, so inside "in " means "in the overlap". What breaks when ? ::: Division by zero, and there is no non-empty box to condition on — the question is meaningless.
Connections
- Sample space and events — the board of dots we started from.
- Multiplication rule of probability — Step 8's rearranged form.
- Independence of events — when .
- Tree diagrams — the picture of Step 8.
- Bayes' Theorem — flipping the condition safely.
- Law of total probability — summing conditionals over a partition.