Conditional probability
P(A | B)
The idea
The probability of A when you already know that B happened.The board
- P(A | B) = P(A ∩ B)P(B) — you only look at the world where B is true.
- A die: P(6 | even) = 1/61/2 = 13 — of 2, 4, 6 only one is a 6.
- Independent: P(A | B) = P(A) — B tells you nothing about A.
- Then P(A ∩ B) = P(A) · P(B).
The most common mistake
Mixing up P(A | B) and P(B | A). P(sick | positive test) ≠ P(positive test | sick).The trick
The condition “shrinks the universe” — you count only inside it.Problems
A die. P(>3 | even)?
- 23
- 13
- 12
- 16
Show the answer
23 — Even: 2, 4, 6; >3: 4, 6.
Two coins. P(2 heads)?
- 14
- 12
- 1
- 13
Show the answer
14 — Independent: ½ · ½.