Conditioning restricts the space
P(A|B) counts the outcomes in A among those in B. The denominator is |B|, not |S|.
P(A | B) = P(A ∩ B)/P(B) is not a new axiom: it is the original counting restricted to the outcomes where B holds. The traps are all about which of P(A|B) and P(B|A) you have computed.
Core ideas
Conditioning is re-counting inside a subset. Everything difficult about it is about interpretation, not arithmetic.
P(A|B) counts the outcomes in A among those in B. The denominator is |B|, not |S|.
P(test positive | disease) and P(disease | test positive) differ by the base rate, often by orders of magnitude.
P(A ∩ B ∩ C) = P(A)P(B|A)P(C|A∩B) — useful for sequential draws, where each step conditions on the previous ones.
The material
The definition, why it is a definition rather than a theorem, and the standard traps.
For events A, B with P(B) > 0, P(A | B) = P(A ∩ B) / P(B).
In the equally-likely model this is transparent: P(A|B) = (|A ∩ B|/|S|)/(|B|/|S|) = |A ∩ B|/|B|. The outcomes outside B have been discarded, and B is now the sample space.
For fixed B with P(B) > 0, the function A ↦ P(A|B) satisfies all three axioms. So every theorem about probability holds for conditional probability too.
P(A ∩ B) = P(A|B)P(B) = P(B|A)P(A), and more generally P(A₁ ∩ ⋯ ∩ A_n) = P(A₁)P(A₂|A₁)P(A₃|A₁∩A₂)⋯.
Two cards from a deck without replacement. P(both aces) = P(first ace) · P(second ace | first ace) = (4/52)(3/51) = 1/221. Conditioning is exactly what handles "without replacement": the second probability changes because the first draw changed the deck.
Roll two dice. P(sum is 7 | first die is 4) = 1/6, since among the six outcomes with a 4 first, exactly one has sum 7. But P(first die is 4 | sum is 7) = 1/6 too — a coincidence arising from symmetry, not a rule.
P(is a mammal | is a dog) = 1, while P(is a dog | is a mammal) is small. The two conditionals share a numerator P(A ∩ B) and have different denominators, and the ratio of the denominators is exactly how much they differ.
Three doors, a prize behind one. You pick door 1. The host, who knows where the prize is, opens a different door with no prize behind it — say door 3 — and offers you a switch. Should you?
The step people miss is that the host's action is not random: he knows and is constrained to open a losing door. That constraint is information, and conditioning on it is what makes switching better. If the host opened a door at random and it happened to be empty, the answer would be 1/2 — a different problem with the same picture.
Interactive
Exact fractions, every outcome listed
Method
Say which event is the condition, out loud.
P(A|B) conditions on B. Writing the sentence "given that B happened" prevents the swap.
In the equally-likely model, count within B. The denominator changes and the numerator becomes |A ∩ B|.
Each draw conditions on the previous ones. Without replacement, the denominators shrink.
The two are related by Bayes, which is “Bayes' Theorem”. Computing the wrong one is the most consequential error in this course.
A family has two children. The sample space is {BB, BG, GB, GG}, equally likely.
The difference is real and not a trick: "at least one is a boy" and "the elder is a boy" restrict the sample space to sets of different sizes. Almost every disputed probability puzzle turns out to be an ambiguity about which restriction was intended.
For each conditional probability you compute, write down explicitly which outcomes remain. That sentence catches the swap, the wrong denominator and the ambiguity all at once.
Something to change about this lesson? Write it down, tick it off when it is handled, and export the list when you want to act on it. Kept in this browser only: nothing is sent anywhere, and nobody is notified.
No recommendations yet for this lesson.