Conditional Probability
& Independence
Master how knowing one event changes the probability of another, and learn when events don't affect each other at all.
What Is Conditional Probability?
Conditional probability measures the likelihood of an event occurring given that another event has already occurred. It narrows the sample space from the entire set of outcomes to only those where the condition is met.
Visualizing with a Venn Diagram
Why Does This Matter?
Conditional probability is the backbone of Bayesian reasoning, medical testing, spam filters, and everyday decision-making. Whenever new information arrives, you are computing a conditional probability, whether you realize it or not.
The Conditional Probability Formula
How the Formula Shrinks the Space
Conditioning on B discards everything outside the green circle. The amber intersection divided by the total green area gives \( P(A \mid B) \).
What Is Independence?
Two events are independent if knowing one occurred gives no information about the other. The conditional probability equals the original probability:
Dependent vs. Independent
| Dependent Events | Independent Events | |
|---|---|---|
| Definition | \( P(A \mid B) \neq P(A) \) | \( P(A \mid B) = P(A) \) |
| Product Rule | \( P(A \cap B) = P(A \mid B) \cdot P(B) \) | \( P(A \cap B) = P(A) \cdot P(B) \) |
| Example | Drawing cards without replacement | Flipping a coin, then rolling a die |
| Learning B... | Changes the probability of A | Does not change the probability of A |
How to Apply the Concepts
Example 1: Fair Dice
A fair six-sided die is rolled. Let A = "roll is even" and B = "roll is greater than 3." Find \( P(A \mid B) \) and determine whether A and B are independent.
Example 2: Two-Way Table
A survey of 200 students asks about exercise and GPA. Find \( P(\text{High GPA} \mid \text{Exercises}) \) and test independence.
| Exercises | Doesn't Exercise | Total | |
|---|---|---|---|
| High GPA | 60 | 30 | 90 |
| Low GPA | 40 | 70 | 110 |
| Total | 100 | 100 | 200 |
Example 3: Proving Independence
A card is drawn from a standard 52-card deck. Let A = "card is a King" and B = "card is a Heart." Are A and B independent?
Tree Diagrams & the Multiplication Rule
A tree diagram breaks multi-stage experiments into sequential branches. Each branch is labeled with a conditional probability, and the probability of any path is the product of all branch probabilities along that path.
Bayes' Theorem: Reversing the Condition
What if you know \( P(B \mid A) \) but need \( P(A \mid B) \)? Bayes' Theorem lets you reverse the direction of conditioning:
Common Mistakes to Avoid
Summary of Key Formulas
| Concept | Formula | When to Use |
|---|---|---|
| Conditional Probability | \( P(A \mid B) = \frac{P(A \cap B)}{P(B)} \) | Finding P of A given B happened |
| Multiplication Rule | \( P(A \cap B) = P(A \mid B) \cdot P(B) \) | Finding joint probability |
| Independence Test | \( P(A \cap B) = P(A) \cdot P(B) \) | Checking if events affect each other |
| Bayes' Theorem | \( P(A \mid B) = \frac{P(B \mid A) \cdot P(A)}{P(B)} \) | Reversing the condition direction |
| Total Probability | \( P(B) = \sum P(B \mid A_i) \cdot P(A_i) \) | Finding P(B) across all branches |
Question 1 of 5
If \( P(A) = 0.4 \), \( P(B) = 0.5 \), and \( P(A \cap B) = 0.2 \), what is \( P(A \mid B) \)?
Question 2 of 5
Events A and B are independent with \( P(A) = 0.3 \) and \( P(B) = 0.6 \). What is \( P(A \cap B) \)?
Question 3 of 5
If two events are mutually exclusive (and both have non-zero probability), can they be independent?
Question 4 of 5
A disease affects 1% of a population. A test is 95% accurate (detects the disease when present) and has a 3% false positive rate. If a person tests positive, what is the probability they actually have the disease?
Question 5 of 5
From the tree diagram earlier: \( P(\text{Rain}) = 0.3 \), \( P(\text{Late} \mid \text{Rain}) = 0.5 \), \( P(\text{Late} \mid \text{No Rain}) = 0.1 \). What is \( P(\text{Rain} \mid \text{Late}) \)?