Sub topic 6
The addition rule for "or"
This chapter assumes you can find a probability as favorable outcomes over total outcomes, use the complement rule, and read a Venn diagram. It covers the formula for P(A or B), why it has two forms, and the mistakes that cost points on GRE questions.
What "or" means in probability
In probability, "A or B" is inclusive. It happens when A occurs, when B occurs, or when both occur. The everyday phrase "tea or coffee" often means one or the other. Here, "heart or king" includes the king of hearts.
Draw each event as a circle in a Venn diagram. "A or B" is everything inside either circle. The overlap is the outcomes in both events, "A and B".
Mutually exclusive events
Two events are mutually exclusive if they cannot both happen on the same trial. Their circles do not overlap, so P(A and B) = 0.
For these events, add the probabilities:
P(A or B) = P(A) + P(B)
Example: roll one fair die. Let A be "roll a 1" and B be "roll an even number". No roll is both, so P(A or B) = 1/6 + 3/6 = 4/6 = 2/3.
Overlapping events
If the events can happen together, adding P(A) and P(B) counts the overlap twice. Subtract it once:
P(A or B) = P(A) + P(B) - P(A and B)
Example: draw one card from a standard 52-card deck. Let A be "heart" and B be "king". The king of hearts is in both.
- P(heart) = 13/52
- P(king) = 4/52
- P(heart and king) = 1/52
- P(heart or king) = 13/52 + 4/52 - 1/52 = 16/52 = 4/13
You can check this by counting: 13 hearts plus 3 other kings gives 16 cards.
The first formula is a special case of the second. When events are mutually exclusive, the subtracted term is 0, so one formula covers both situations.
Checking the rule by listing outcomes
Two fair dice have 36 equally likely outcomes. Let A be "first die is 6" and B be "second die is 6". The outcome (6, 6) is in both events. The code counts the outcomes directly and then applies the formula.
from fractions import Fraction
from itertools import product
space = list(product(range(1, 7), repeat=2)) # two fair dice, 36 outcomes
def prob(event):
return Fraction(sum(1 for o in space if event(o)), len(space))
A = lambda o: o[0] == 6
B = lambda o: o[1] == 6
print(prob(lambda o: A(o) or B(o))) # 11/36
print(prob(A) + prob(B) - prob(lambda o: A(o) and B(o))) # 11/36Both lines print 11/36. Without the subtraction you would get 12/36, which is too large because (6, 6) was counted twice.
Using a table instead of a formula
GRE problems often give percentages instead of cards or dice. Suppose 60% of students take math, 45% take physics, and 25% take both. Then:
- P(math or physics) = 0.60 + 0.45 - 0.25 = 0.80
- P(neither) = 1 - 0.80 = 0.20
The 25% is the overlap. A common trap is to treat 60% and 45% as exclusive, which gives 105%. Any "probability" above 1 means you forgot to subtract the overlap.
You can also split each group into "only" regions:
| Region | Probability |
|---|---|
| Math only | 0.60 - 0.25 = 0.35 |
| Physics only | 0.45 - 0.25 = 0.20 |
| Both | 0.25 |
| Neither | 0.20 |
The four regions sum to 1. Math or physics is the first three rows: 0.35 + 0.20 + 0.25 = 0.80.
Working backward from the rule
The formula has four quantities, so any one can be the unknown. If you know P(A or B), P(A), and P(B), you can solve for the overlap:
P(A and B) = P(A) + P(B) - P(A or B)
Example: P(A) = 0.5, P(B) = 0.4, and P(A or B) = 0.7. Then P(A and B) = 0.5 + 0.4 - 0.7 = 0.2.
The formula also bounds the answer. Since P(A or B) cannot exceed 1, the overlap must be at least P(A) + P(B) - 1. The overlap also cannot exceed the smaller of P(A) and P(B). In the example, P(A and B) must lie between 0.5 + 0.4 - 1 = -0.1 (so no lower bound beyond 0) and 0.4.
Three events
For three events, adding all three probabilities counts overlaps more than once. The full correction is:
P(A or B or C) = P(A) + P(B) + P(C) - P(A and B) - P(A and C) - P(B and C) + P(A and B and C)
You rarely need this on the GRE. If the events are mutually exclusive, just add the three. Otherwise it is usually easier to use the complement:
P(A or B or C) = 1 - P(none of them)
Common traps
- Reading "or" as exclusive. "Heart or king" includes the king of hearts. Unless the problem says "exactly one", count the overlap case in the result.
- Forgetting the overlap. If the events are about the same trial and could coincide, ask what outcome belongs to both.
- Assuming exclusive means independent. These are different ideas, covered later in this tutorial. The addition rule depends only on whether the events overlap, not on independence.
- Using different sample spaces. P(A) and P(B) must be computed over the same set of outcomes. Do not add a probability for one draw to a probability for a different draw.
- Mixing "or" with "at most" or "at least". "Less than 3 or more than 4" on a die is exclusive: 1/3 + 1/3 = 2/3. That follows from the roll being in {1, 2} or in {5, 6}.
Practice
Exercise
A fair die is rolled once. Let A be "the result is even" and B be "the result is greater than 3". Find P(A or B).
Show answer
A = {2, 4, 6} and B = {4, 5, 6}, so P(A) = 3/6 and P(B) = 3/6. The overlap is {4, 6}, so P(A and B) = 2/6. Then P(A or B) = 3/6 + 3/6 - 2/6 = 4/6 = 2/3. Check by listing the union {2, 4, 5, 6}, which has 4 outcomes out of 6.
Exercise
In a club, P(a member plays chess) = 0.35, P(a member plays checkers) = 0.30, and P(a member plays neither) = 0.45. What is P(a member plays both)?
Show answer
P(chess or checkers) = 1 - 0.45 = 0.55. Then P(both) = 0.35 + 0.30 - 0.55 = 0.10.
Exercise
Events A and B satisfy P(A) = 0.6 and P(B) = 0.7. What is the smallest possible value of P(A or B), and what is the smallest possible value of P(A and B)?
Show answer
P(A or B) is at least the larger single probability, so the smallest is 0.7, when A lies entirely inside B. The overlap is smallest when P(A or B) is largest, which is 1. Then P(A and B) = 0.6 + 0.7 - 1 = 0.3.