Sub topic 5
The Addition Rule and Mutually Exclusive Events
This chapter assumes you can list a sample space, compute classical probability as favourable over total, and use the complement rule. It also assumes you can count with permutations and combinations. Here you learn how to find the probability that at least one of two events happens, and how to tell mutually exclusive events from independent events.
The question the rule answers
Many CAT questions ask for the probability of "A or B". Examples are "the card is a king or a heart" and "the sum is even or greater than 9". In probability, "or" is inclusive. It means A happens, B happens, or both happen.
The difficulty is the "both" case. If you add P(A) and P(B), outcomes that belong to both events are counted twice. The addition rule corrects for that.
Mutually exclusive events
Two events are mutually exclusive (also called disjoint) if they cannot happen together. Their intersection is empty, so P(A and B) = 0.
For mutually exclusive events:
P(A or B) = P(A) + P(B)
Examples:
- On one die roll, "the result is 2" and "the result is 5" are mutually exclusive.
- On one card draw, "the card is a king" and "the card is a queen" are mutually exclusive.
- On one coin toss, "heads" and "tails" are mutually exclusive.
The rule extends to any number of pairwise exclusive events. P(A or B or C) = P(A) + P(B) + P(C). This is how you break a complicated event into simple cases and add them up.
The general addition rule
When events can overlap, subtract the overlap once:
P(A or B) = P(A) + P(B) − P(A and B)
The reason is counting. Outcomes in A only are counted once. Outcomes in B only are counted once. Outcomes in both are counted once in P(A) and once in P(B), so you subtract one copy.
Worked example 1: king or heart
A card is drawn from a standard 52-card deck. Find P(king or heart).
- P(king) = 4/52
- P(heart) = 13/52
- P(king and heart) = P(king of hearts) = 1/52
P(king or heart) = 4/52 + 13/52 − 1/52 = 16/52 = 4/13.
A direct check: the favourable cards are 13 hearts plus the 3 kings that are not hearts, which gives 16 cards.
Worked example 2: dice
Two fair dice are rolled. Find the probability that the sum is even or at least 10.
- A = sum is even. There are 18 outcomes out of 36, so P(A) = 1/2.
- B = sum is at least 10. The sums 10, 11 and 12 occur in 3 + 2 + 1 = 6 outcomes, so P(B) = 6/36.
- A and B = sum is 10 or 12. That is 3 + 1 = 4 outcomes, so P(A and B) = 4/36.
P(A or B) = 18/36 + 6/36 − 4/36 = 20/36 = 5/9.
You can confirm this by enumeration:
from itertools import product
from fractions import Fraction
outcomes = list(product(range(1, 7), repeat=2))
favourable = [o for o in outcomes if sum(o) % 2 == 0 or sum(o) >= 10]
print(Fraction(len(favourable), len(outcomes))) # 5/9Three events
For three events the overlaps must be handled with inclusion and exclusion:
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)
The triple overlap is added back because it was subtracted three times after being counted three times, which leaves it counted zero times.
Worked example 3: divisibility
A number is chosen at random from 1 to 100. Find the probability that it is divisible by 2, 3 or 5.
- Divisible by 2: 50. By 3: 33. By 5: 20.
- By 6: 16. By 10: 10. By 15: 6.
- By 30: 3.
Count = 50 + 33 + 20 − 16 − 10 − 6 + 3 = 74.
The probability is 74/100 = 37/50.
Here the complement is a useful check. Numbers not divisible by 2, 3 or 5 between 1 and 100 number 26, and 100 − 26 = 74.
count = sum(1 for n in range(1, 101) if n % 2 == 0 or n % 3 == 0 or n % 5 == 0)
print(count) # 74Mutually exclusive versus independent
Students often confuse these two ideas. They describe different things.
| Property | Mutually exclusive | Independent |
|---|---|---|
| Meaning | A and B cannot both occur | Knowing A occurred does not change P(B) |
| Key equation | P(A and B) = 0 | P(A and B) = P(A) × P(B) |
| Addition rule | P(A or B) = P(A) + P(B) | Still P(A) + P(B) − P(A and B) |
| Typical example | Heads and tails on one toss | Heads on toss 1 and heads on toss 2 |
Two events with non-zero probabilities cannot be both mutually exclusive and independent. If they are exclusive, then A occurring means B certainly did not occur, so A gives you information about B. That breaks independence.
You can verify with numbers. Suppose P(A) = 0.3 and P(B) = 0.4 are exclusive. Then P(A and B) = 0, but P(A) × P(B) = 0.12. The two are not equal, so the events are not independent.
Worked example 4: independent events with "or"
Two people attempt a problem independently. The first solves it with probability 0.6 and the second with probability 0.5. Find the probability that the problem is solved by at least one of them.
P(A and B) = 0.6 × 0.5 = 0.3.
P(A or B) = 0.6 + 0.5 − 0.3 = 0.8.
The complement gives the same answer faster: 1 − (0.4 × 0.5) = 0.8. Both methods are valid, and the complement is shorter when events are independent.
pa, pb = 0.6, 0.5
print(round(pa + pb - pa * pb, 10)) # 0.8
print(round(1 - (1 - pa) * (1 - pb), 10)) # 0.8Finding a missing overlap
CAT questions often give you P(A), P(B) and P(A or B) and ask for something else. Rearrange the rule:
P(A and B) = P(A) + P(B) − P(A or B)
Worked example 5
In a class, 60% of students like tea, 50% like coffee and 20% like neither. What percentage like both?
- P(tea or coffee) = 1 − 0.20 = 0.80
- P(both) = 0.60 + 0.50 − 0.80 = 0.30
So 30% like both. This is the same logic as a two-set Venn diagram problem. Probability with percentages and set counting are the same arithmetic.
Bounds on the overlap
Sometimes a question asks for the largest or smallest possible value of P(A and B). Use two facts:
- P(A and B) cannot exceed the smaller of P(A) and P(B).
- P(A or B) cannot exceed 1, so P(A and B) ≥ P(A) + P(B) − 1.
For P(A) = 0.7 and P(B) = 0.6, the overlap lies between 0.7 + 0.6 − 1 = 0.3 and min(0.7, 0.6) = 0.6.
Common errors
- Forgetting the overlap. Adding 4/52 and 13/52 for "king or heart" gives 17/52, which counts the king of hearts twice.
- Treating "or" as exclusive. Unless the problem says "exactly one of" or "either but not both", "or" includes both.
- Mixing up exclusive and independent. Exclusive events are dependent, as shown above.
- Subtracting a product when events are not independent. The overlap P(A and B) equals P(A) × P(B) only under independence. Otherwise you need a direct count or P(A) × P(B given A), which the conditional probability chapter covers.
- Stopping before adding back the triple overlap in three-event problems.
Exactly one of two events
When the question says "exactly one" or "either but not both", remove the overlap twice:
P(exactly one of A, B) = P(A) + P(B) − 2 × P(A and B)
For the problem-solving pair in example 4, this is 0.6 + 0.5 − 2 × 0.3 = 0.5.
Choosing between addition and complement
Use the addition rule when the event splits naturally into a few cases. Use the complement when "or" involves many events, since the complement of "A or B or C" is "none of them", which is often a single product or a single count. Example 3 shows both routes agreeing.
Exercise
A card is drawn from a standard 52-card deck. Find the probability that it is a spade or a face card (jack, queen or king). Then say whether "spade" and "face card" are mutually exclusive.
Show answer
P(spade) = 13/52 and P(face card) = 12/52. The overlap is the jack, queen and king of spades, so P(both) = 3/52. P(spade or face card) = 13/52 + 12/52 − 3/52 = 22/52 = 11/26. The events are not mutually exclusive because 3 cards are in both.
Exercise
For events A and B, P(A) = 0.5, P(B) = 0.4 and P(A or B) = 0.7. Find P(A and B). Then decide whether A and B are independent.
Show answer
P(A and B) = 0.5 + 0.4 − 0.7 = 0.2. Since P(A) × P(B) = 0.5 × 0.4 = 0.2, which equals P(A and B), the events are independent. They are not mutually exclusive, because the overlap is not zero.
Exercise
A number is chosen at random from 1 to 60. Find the probability that it is divisible by 4 or by 6.
Show answer
Multiples of 4: 15. Multiples of 6: 10. Multiples of both, which means multiples of 12: 5. Count = 15 + 10 − 5 = 20. Probability = 20/60 = 1/3.