Shrinking Universe: Conditional Probability
The moment you're told an event already happened, the entire universe of possibilities shrinks to fit it.
Probability with a condition attached
Ordinary probability asks “what fraction of all outcomes satisfy A?” Conditional probability asks a narrower question: “given that B has already happened, what fraction of those outcomes also satisfy A?” The word given changes everything — you are no longer looking at the whole universe of possibilities, only the slice of it where B is true.
A simple shrink: rolling a die
Roll one fair die. Before any information, P(roll is 4) = 1⁄6 out of all six faces. But suppose you're told the roll came up even. Now the universe shrinks from {1,2,3,4,5,6} down to just {2,4,6} — three equally likely outcomes — and you ask what fraction of those is a 4.
- The condition B = “roll is even” shrinks the sample space to {2, 4, 6}, so P(B) = 3⁄6 = ½.
- A = “roll is 4” is already inside B, so P(A and B) = P(roll = 4) = 1⁄6.
- P(A | B) = P(A and B) ÷ P(B) = (1⁄6) ÷ (3⁄6) = 1⁄3.
- P(cloudy) = 40⁄100 = 0.4.
- P(rain and cloudy) = 20⁄100 = 0.2.
- P(rain | cloudy) = P(rain and cloudy) ÷ P(cloudy) = 0.2 ÷ 0.4.
Check your understanding
- Conditional probability P(A|B) restricts the sample space to just the outcomes where B happens.
- The formula: P(A|B) = P(A and B) / P(B).
- You can often compute it directly by looking only inside the smaller, 'given' group.
- Independence means P(A|B) = P(A): knowing B happened changes nothing about A's likelihood.
- P(A|B) and P(B|A) are generally different questions with different answers — order matters.
🎓 Go deeper: external courses & trusted references
External sites are listed for reference only. This course is independent and has no affiliation with, or endorsement from, the institutions named.