Introduction to Conditional Probability
What you'll learn: How to calculate the probability of an event when you already know another event has occurred.
The Core Idea
Imagine you're drawing a card from a standard deck. The probability of getting an Ace is 4/52. But what if I tell you the card is red? Suddenly you're not considering all 52 cards anymore—only the 26 red ones. The probability of an Ace given that the card is red becomes 2/26.
This is conditional probability: the probability of event A occurring when we already know event B has happened.
Notation and Formula
We write P(A|B) and read it as "the probability of A given B."
The fundamental formula is:
P(A|B) = P(A ∩ B) / P(B)
provided P(B) > 0.
This says: to find the probability of A given B, take the probability that both A and B occur, and divide by the probability of B. We're essentially "zooming in" on the part of the sample space where B happened, and asking what fraction of that involves A.
Why It Makes Sense
The denominator P(B) "rescales" our sample space to only the outcomes where B occurs. The numerator P(A ∩ B) tells us how often both A and B happen together. The ratio gives us the proportion of B-outcomes that are also A-outcomes.
Think of it as narrowing your universe: once you know B happened, you're no longer working with the entire sample space—just the B-slice of it.
Key Takeaway: Conditional probability P(A|B) measures how likely A is within the reduced sample space where B is known to have occurred, calculated as P(A ∩ B) / P(B).