Conditional probability sounds more complicated than it really is. Most of the work is just decoding the language.
Normal probability asks: What is the chance of an event happening out of everything that could possibly occur?
Conditional probability changes the rules. It asks: What is the chance of event A happening, given that we already know event B definitely happened?
Seeing it with a deck of cards
The moment we are given information, the total sample space is hijacked. We are no longer allowed to look at the whole group; we are locked inside a smaller sub-group.
Conditional probability with cards
See how the probability of pulling the king of hearts changes depending on the information we are given.
Full deck
Given information: none.
We are counting inside the entire deck, so the denominator is all 52 cards.
Hearts
Given information: the card is a heart.
The sample space shrinks to the 13 hearts. Now we only ask whether that heart is the king.
Face cards
Given information: the card is a face card.
The sample space shrinks to the 12 jacks, queens, and kings. The king of hearts is one of those 12 cards.
The target card never changes. What changes is the sample space we are allowed to count inside: first the full deck, then only the hearts, then only the face cards. Conditional probability is really about choosing the correct smaller world before you count.
The vertical bar
In mathematics, we write conditional probability using a vertical line:
Think of that vertical bar as a wall. It tells you that everything on the right side has already happened. It represents your brand new denominator.
Reading it from a table
Let’s see how this works using a simple class survey of 50 students tracking how they get to school and whether they arrived on time.
| Transport | Late | On time | Total |
|---|---|---|---|
| Bus | 6 | 14 | 20 |
| Walk | 2 | 18 | 20 |
| Car | 4 | 6 | 10 |
| Total | 12 | 38 | 50 |
If we pick a student completely at random, the ordinary probability that they are late uses the grand total of 50 as our denominator:
Now let us shift the question: what is the probability that a student is late, given that they catch the bus?
Given bus: only look inside the bus row
There are 20 bus students total. Out of those 20 bus students, 6 are late.
Notice the denominator is not 50 anymore. The word given successfully narrowed our entire focus group down to 20.
Why order matters
Conditional phrases can sound very similar, but changing the order completely flips the group you are allowed to look at. Watch how the denominators change:
P(late | bus)
Condition: Bus Students
Zoom in on the Bus row only. Out of the 20 bus students, 6 are late.
P(bus | late)
Condition: Late Students
Zoom in on the Late column only. Out of the 12 late students, 6 caught the bus.
Key takeaways
- Conditional probability calculates the likelihood of an event after another fact is already known.
- The restricted conditional group always becomes your new, shrunken denominator.
- The order matters completely: and evaluate entirely different sub-groups.