- Home
- /
- Math
- /
- Statistics & Probability
- /
- Conditional Probability
The conditional probability P(A|B) is the probability of event A occurring given that event B has already occurred. Conditional probability is fundamental to Bayes' theorem, medical testing, and any reasoning where new information changes what you know about an outcome.
Definition
The conditional probability P(A|B) is the probability of event A occurring given that event B has already occurred.
๐ก Intuition
If I know B happened, what's the chance of A? Updates probability with new info.
๐ฏ Core Idea
Given B, you're only considering the subset where B occurred.
Example
Formula
Notation
P(A|B) reads 'probability of A given B'; the vertical bar means 'given that'
๐ Why It Matters
Conditional probability is fundamental to Bayes' theorem, medical testing, and any reasoning where new information changes what you know about an outcome.
๐ญ Hint When Stuck
Shrink your sample space to only the cases where the 'given' event happened. Now count the favorable cases within that smaller group.
Formal View
Related Concepts
๐ง Common Stuck Point
P(A|B) \neq P(B|A). P(\text{disease}|\text{positive test}) \neq P(\text{positive test}|\text{disease}).
โ ๏ธ Common Mistakes
- Swapping the condition: treating P(A|B) as if it were P(B|A)
- Using the total sample size as the denominator instead of the size of the given condition subset
- Forgetting that P(A|B) restricts the sample space to only outcomes where B occurred
Go Deeper
Frequently Asked Questions
What is Conditional Probability in Math?
The conditional probability P(A|B) is the probability of event A occurring given that event B has already occurred.
Why is Conditional Probability important?
Conditional probability is fundamental to Bayes' theorem, medical testing, and any reasoning where new information changes what you know about an outcome.
What do students usually get wrong about Conditional Probability?
P(A|B) \neq P(B|A). P(\text{disease}|\text{positive test}) \neq P(\text{positive test}|\text{disease}).
What should I learn before Conditional Probability?
Before studying Conditional Probability, you should understand: probability, independent events.
Prerequisites
Cross-Subject Connections
How Conditional Probability Connects to Other Ideas
To understand conditional probability, you should first be comfortable with probability and independent events.
Visualization
StaticVisual representation of Conditional Probability