Conditional
Probability
Master the art of calculating probabilities given that something has already happened. Explore \( P(A|B) \), independence, and real-world applications.
What Is Conditional Probability?
Conditional probability measures the likelihood of an event occurring given that another event has already occurred. Instead of looking at the entire sample space, we restrict our attention to a smaller subset.
Think of it this way: if you know it is raining, the probability you carry an umbrella changes. That updated probability is a conditional probability.
Visualizing with Venn Diagrams
Why Does It Matter?
The Core Formula
The Multiplication Rule
Rearranging the conditional probability formula gives us a powerful tool: the multiplication rule for dependent events.
This tells us the probability that both events happen equals the probability of one event times the conditional probability of the other, given the first occurred.
Independent vs Dependent Events
| Independent | Dependent | |
|---|---|---|
| Definition | Knowing B does not change the probability of A | Knowing B changes the probability of A |
| Formula test | \( P(A|B) = P(A) \) | \( P(A|B) \neq P(A) \) |
| Multiplication | \( P(A \cap B) = P(A) \cdot P(B) \) | \( P(A \cap B) = P(A|B) \cdot P(B) \) |
| Example | Two coin flips | Drawing cards without replacement |
Using Tree Diagrams
Tree diagrams are a powerful visual tool for conditional probability. Each branch shows a conditional probability, and multiplying along a path gives the joint probability of that outcome.
Step-by-Step Method
Example 1: Basic Calculation
A bag contains 3 red and 7 blue marbles. Two marbles are drawn without replacement. Find the probability the second marble is red, given the first was blue.
Example 2: Two-Way Table
A survey of 200 students recorded whether they play a sport and whether they play a musical instrument. Find \( P(\text{Sport} | \text{Music}) \).
| Music: Yes | Music: No | Total | |
|---|---|---|---|
| Sport: Yes | 40 | 60 | 100 |
| Sport: No | 35 | 65 | 100 |
| Total | 75 | 125 | 200 |
Example 3: Testing Independence
Using the same table, are the events "plays sport" and "plays music" independent?
Example 4: Venn Diagram Problem
In a class of 30 students: 18 study biology, 12 study chemistry, and 6 study both. A student is chosen at random. Find \( P(\text{Chemistry} | \text{Biology}) \).
Common Mistakes to Avoid
Key Formulas Summary
| Concept | Formula | When to Use |
|---|---|---|
| Conditional Probability | \( P(A|B) = \frac{P(A \cap B)}{P(B)} \) | Finding probability given a condition |
| Multiplication Rule | \( P(A \cap B) = P(A|B) \cdot P(B) \) | Finding joint probability of dependent events |
| Independence Test | \( P(A \cap B) = P(A) \cdot P(B) \) | Checking if events are independent |
| Independence (alt) | \( P(A|B) = P(A) \) | Knowing B does not change A |
Question 1 of 4
If \( P(A) = 0.4 \), \( P(B) = 0.5 \), and \( P(A \cap B) = 0.2 \), what is \( P(A|B) \)?
Question 2 of 4
Events A and B are such that \( P(A) = 0.3 \), \( P(B) = 0.6 \), and \( P(A \cap B) = 0.18 \). Are A and B independent?
Question 3 of 4
A box has 5 green and 3 yellow balls. Two are drawn without replacement. What is the probability the second ball is green, given the first was yellow?
Question 4 of 4
In a group of 100 people, 40 like tea, 30 like coffee, and 15 like both. Find \( P(\text{Tea} | \text{Coffee}) \).