Definition and Notation of Conditional Probability
What you'll learn: How to formally express and calculate the probability of an event occurring given that another event has already happened.
The Core Idea
Imagine you're at a weather station analyzing storm data. The probability of heavy rainfall tomorrow might be 20%. But what if dark clouds have already formed today? That additional knowledge changes everything—the probability of rain given clouds is much higher than 20%.
Conditional probability captures exactly this: the probability of event A happening when we already know event B has occurred. We write this as P(A|B), read as "the probability of A given B."
The Formal Definition
The mathematical formula is:
P(A|B) = P(A ∩ B) / P(B)
Where:
- P(A|B) is the conditional probability (what we want to find)
- P(A ∩ B) is the probability that both A and B occur (the intersection)
- P(B) is the probability that B occurs (and must be greater than 0)
What This Means
We're essentially restricting our sample space to only those outcomes where B happened, then asking: "Within that smaller world, what fraction also includes A?"
Example: If 10% of people have a disease and test positive [P(Disease ∩ Positive) = 0.10], and 25% of people test positive overall [P(Positive) = 0.25], then:
P(Disease|Positive) = 0.10 / 0.25 = 0.40
So 40% of those who test positive actually have the disease.
Key Takeaway: Conditional probability P(A|B) = P(A∩B)/P(B) narrows the sample space to outcomes where B occurred, then measures how often A also happens within that restricted context.