Conditional
Probability
Explore how prior knowledge changes the likelihood of events: from \( P(A \mid B) \) to independence tests and real-world applications.
What Is Conditional Probability?
Conditional probability measures the likelihood of an event occurring given that another event has already occurred. We write it as \( P(A \mid B) \), read "the probability of \( A \) given \( B \)."
For example, the probability of drawing an ace from a standard deck is \( \frac{4}{52} \). But if you already know the card is a heart, the probability becomes \( \frac{1}{13} \) because the sample space shrinks to 13 hearts.
Visualising with a Venn Diagram
Why Does It Matter?
The Core Formula
The Tree Diagram View
Conditional vs Unconditional
| Conditional \( P(A \mid B) \) | Unconditional \( P(A) \) | |
|---|---|---|
| Sample space | Restricted to B | Entire space S |
| Formula | \( \frac{P(A \cap B)}{P(B)} \) | \( \frac{n(A)}{n(S)} \) |
| Notation | Vertical bar " | " | No bar |
| Information used | Outcome of B is known | No extra information |
Testing for Independence
Two events \( A \) and \( B \) are independent if and only if any one of these equivalent conditions holds:
How to Apply the Formula
Example 1: Two-Way Table
A survey of 200 students asks about sport and music participation:
| Plays Sport | No Sport | Total | |
|---|---|---|---|
| Plays Music | 30 | 50 | 80 |
| No Music | 70 | 50 | 120 |
| Total | 100 | 100 | 200 |
Example 2: Cards and the Formula
Two cards are drawn without replacement from a standard 52-card deck. Find the probability that both are aces.
Example 3: Independence Test
A bag contains 5 red and 3 blue marbles. Two marbles are drawn with replacement. Let \( R_1 \) = first is red, \( R_2 \) = second is red. Are \( R_1 \) and \( R_2 \) independent?
Example 4: Dependent Events
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)} \) | Given B occurred |
| Multiplication rule | \( P(A \cap B) = P(A \mid B) \cdot P(B) \) | Finding intersections |
| Independence test | \( P(A \cap B) = P(A) \cdot P(B) \) | Checking independence |
| Dependent events | \( P(A \mid B) \neq P(A) \) | Events influence each other |
Question 1 of 5
If \( P(A) = 0.5 \), \( P(B) = 0.4 \), 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
A bag has 6 red and 4 blue balls. Two balls are drawn without replacement. What is the probability the second ball is red given the first was blue?
Question 4 of 5
Given \( P(A) = 0.4 \), \( P(B) = 0.5 \), and \( P(A \cap B) = 0.15 \). Are \( A \) and \( B \) independent?
Question 5 of 5
In a class, \( P(\text{Maths}) = 0.6 \), \( P(\text{Physics}) = 0.5 \), and \( P(\text{Maths} \mid \text{Physics}) = 0.7 \). Find \( P(\text{Maths} \cap \text{Physics}) \).