What You'll Learn
You'll learn how to correctly calculate the probability of two events occurring when they can happen at the same time (overlapping events).
The Problem with Overlapping Events
In the previous lesson, you learned that for mutually exclusive events (events that can't happen together), you simply add their probabilities: P(A or B) = P(A) + P(B).
But what if events can occur together? If you just add their probabilities, you'll count the overlap twice—once in P(A) and once in P(B). This gives you an inflated, incorrect answer.
The General Addition Rule
To fix this double-counting problem, we subtract the overlap:
P(A or B) = P(A) + P(B) - P(A and B)
This formula works for any two events, whether they overlap or not. (If they're mutually exclusive, P(A and B) = 0, and you get back the simpler rule.)
An Intuitive Example
Imagine a class of 30 students:
- 18 students study Python (event A)
- 15 students study statistics (event B)
- 8 students study both Python and statistics (the overlap)
What's the probability a randomly selected student studies Python or statistics (or both)?
If you just add 18 + 15 = 33, you've counted the 8 students who study both subjects twice. The correct answer is:
P(Python or Stats) = 18/30 + 15/30 - 8/30 = 25/30 ≈ 0.833
By subtracting the intersection, you correct for the double-count.
When to Use This Rule
Use the General Addition Rule whenever you're calculating "A or B" probabilities and the events can potentially co-occur. Always check: can both things happen at once?
Key Takeaway: When events can overlap, calculate P(A or B) by adding P(A) and P(B), then subtracting P(A and B) to avoid double-counting the intersection.