Unit 1, lesson 6

The Addition Rule

Why the addition rule subtracts the overlap of two events, how the four disjoint regions of a Venn diagram give exactly one and neither, and how the union bound and monotonicity bracket a union when the overlap is unknown.

  • Video 6
  • The Axioms and Basic Rules

One of 30 numbered cards is drawn, each card equally likely. Twelve cards carry a blue mark, fifteen carry a star and five carry both. What is the probability that the drawn card is blue or starred? Adding 1212 and 1515 gives 2727, but the five cards with both marks have been counted twice. This lesson derives the addition rule from the disjoint regions of two events, uses the same regions for exactly one and neither, and bounds the probability of a union when the overlap is not known.

Key terms

Overlap

Definition The overlap of two events AA and BB is their intersection A∩BA \cap B, the set of outcomes that belong to both. The events are disjoint, or mutually exclusive, when A∩B=∅A \cap B = \varnothing. The sum P(A)+P(B)P(A) + P(B) includes the probability of the overlap twice, once inside each event.

In plain words Two descriptions can fit the same outcome without making it two outcomes. A card that is both blue and starred appears on both lists, but it is one card, so its probability belongs in the union once.

Example Number the cards 1 through 30, each drawn with probability 1/301/30. Let A={1,2,…,12}A = \{1, 2, \dots, 12\} be the blue cards and B={8,9,…,22}B = \{8, 9, \dots, 22\} the starred cards. The overlap is A∩B={8,9,10,11,12}A \cap B = \{8, 9, 10, 11, 12\}, with five cards. The total 12+15=2712 + 15 = 27 counts these five cards twice, and the union has 2222 cards.

Disjoint regions

Definition Two events AA and BB split Ω\Omega into four pairwise disjoint regions,

A∖B,A∩B,B∖A,(A∪B)c,\begin{gathered} A \setminus B, \quad A \cap B, \\[0.4em] B \setminus A, \quad (A \cup B)^{c}, \end{gathered}

the outcomes in AA only, in both, in BB only and in neither. Their union is Ω\Omega, so their probabilities add to 11. Each event is the union of two regions, so P(A)=P(A∖B)+P(A∩B)P(A) = P(A \setminus B) + P(A \cap B) and P(B)=P(B∖A)+P(A∩B)P(B) = P(B \setminus A) + P(A \cap B).

In plain words A Venn diagram of two events has four pieces, and every outcome lies in exactly one of them. A number written for a whole circle is an event total, the sum of the piece outside the other circle and the overlap.

Example For the cards, the region counts are 12−5=712 - 5 = 7 blue only, 55 with both marks, 15−5=1015 - 5 = 10 starred only and 88 with no mark. They add to 7+5+10+8=307 + 5 + 10 + 8 = 30. The numbers 1212 and 1515 are event totals, not region counts.

Addition rule

Definition For any two events AA and BB of a probability model,

P(A∪B)=P(A)+P(B)−P(A∩B).\begin{aligned} P(A \cup B) &= P(A) + P(B) \\[0.4em] &\quad - P(A \cap B). \end{aligned}

For the proof, the union is the disjoint union of A∖BA \setminus B, A∩BA \cap B and B∖AB \setminus A, so additivity gives

P(A∪B)=P(A∖B)+P(A∩B)+P(B∖A).\begin{aligned} P(A \cup B) &= P(A \setminus B) \\[0.4em] &\quad + P(A \cap B) \\[0.4em] &\quad + P(B \setminus A). \end{aligned}

Substituting P(A∖B)=P(A)−P(A∩B)P(A \setminus B) = P(A) - P(A \cap B) and P(B∖A)=P(B)−P(A∩B)P(B \setminus A) = P(B) - P(A \cap B) gives the rule. For disjoint events P(A∩B)=P(∅)=0P(A \cap B) = P(\varnothing) = 0, and the rule reduces to P(A∪B)=P(A)+P(B)P(A \cup B) = P(A) + P(B). The rule assumes neither equally likely outcomes nor independence.

In plain words Add the two event probabilities, then subtract the overlap once, because the sum counted it twice. The outcomes in the overlap are still part of the union, and the subtraction removes only the second copy of their probability.

Example With equally likely cards every probability is a count divided by 3030, so

P(A∪B)=1230+1530−530=2230=1115.\begin{aligned} P(A \cup B) &= \frac{12}{30} + \frac{15}{30} - \frac{5}{30} \\[0.4em] &= \frac{22}{30} = \frac{11}{15}. \end{aligned}

Now move the stars but keep P(A)=0.4P(A) = 0.4 and P(B)=0.5P(B) = 0.5. If the stars sit on cards 13 to 27, no card has both marks, and P(A∪B)=27/30=9/10P(A \cup B) = 27/30 = 9/10. If the stars sit on cards 1 to 15, every blue card is starred, so A⊆BA \subseteq B, the overlap is AA itself and P(A∪B)=P(B)=1/2P(A \cup B) = P(B) = 1/2. These two event probabilities alone do not determine the union. The overlap, or enough information to find it, is needed.

Exactly one of two events

Definition The event that exactly one of AA and BB occurs is (A∖B)∪(B∖A)(A \setminus B) \cup (B \setminus A), also written A△BA \triangle B. Its probability is

P(A△B)=P(A)+P(B)−2P(A∩B).\begin{aligned} P(A \triangle B) &= P(A) + P(B) \\[0.4em] &\quad - 2P(A \cap B). \end{aligned}

The event that neither occurs is (A∪B)c=Ac∩Bc(A \cup B)^{c} = A^{c} \cap B^{c}, and the complement rule gives it probability 1−P(A∪B)1 - P(A \cup B).

In plain words In probability “A or B” is the inclusive or, meaning AA or BB or both. “Exactly one” leaves out the outcomes in both, so the overlap is subtracted twice, once for the duplicate count and once more to remove it altogether. “Neither” is everything outside the union.

Example For the cards, exactly one mark covers the 77 blue-only and the 1010 starred-only cards, so

P(A△B)=12+15−2⋅530=1730.\begin{aligned} P(A \triangle B) &= \frac{12 + 15 - 2 \cdot 5}{30} \\[0.4em] &= \frac{17}{30}. \end{aligned}

Neither covers the 88 unmarked cards, so its probability is 8/30=4/158/30 = 4/15, which agrees with 1−11/151 - 11/15. The events ”AA or BB”, “exactly one” and “neither” are different events with different probabilities, 22/3022/30, 17/3017/30 and 8/308/30.

Union bound

Definition For any two events AA and BB,

P(A∪B)≤P(A)+P(B),P(A∪B)≥P(A),P(A∪B)≥P(B).\begin{aligned} P(A \cup B) &\le P(A) + P(B), \\[0.4em] P(A \cup B) &\ge P(A), \\[0.4em] P(A \cup B) &\ge P(B). \end{aligned}

The first inequality is the union bound. It follows from the addition rule because P(A∩B)≥0P(A \cap B) \ge 0, and it is an equality exactly when P(A∩B)=0P(A \cap B) = 0. The other two follow from monotonicity, since AA and BB are contained in A∪BA \cup B. Together with P(A∪B)≤1P(A \cup B) \le 1, they place the union between the larger of P(A)P(A) and P(B)P(B) and the smaller of 11 and P(A)+P(B)P(A) + P(B). Applying the two-event bound repeatedly gives the union bound for finitely many events,

P(⋃i=1nAi)≤∑i=1nP(Ai).P\Bigl(\bigcup_{i=1}^{n} A_i\Bigr) \le \sum_{i=1}^{n} P(A_i).

In plain words When the overlap is unknown, the two event probabilities still bracket the probability of the union. The union is at least as likely as the more likely of the two events, and at most as likely as the two probabilities added, or 11 if that sum is larger. No independence is assumed. The sum P(A)+P(B)P(A) + P(B) is a ceiling that holds in every model, and it equals the probability of the union exactly when the overlap has probability 00.

Example For the cards P(A)=0.4P(A) = 0.4 and P(B)=0.5P(B) = 0.5, so any model with these two probabilities has 0.5≤P(A∪B)≤0.90.5 \le P(A \cup B) \le 0.9. The original answer 11/15≈0.73311/15 \approx 0.733 lies inside this range. The changed placements of the stars reach both ends, 1/21/2 when blue is contained in starred and 9/109/10 when the two events are disjoint. An answer below 0.50.5 or above 0.90.9 would signal a mistake, but a value inside the range still needs the overlap to be confirmed.

Check yourself

  1. One of the cards numbered 1 through 30 is drawn, each equally likely. Let CC be the event that the number is divisible by 33 and DD the event that it is greater than 2020. Find C∩DC \cap D and the probability of C∪DC \cup D.
Show the answer

The event C={3,6,9,…,30}C = \{3, 6, 9, \dots, 30\} has 1010 numbers and D={21,22,…,30}D = \{21, 22, \dots, 30\} has 1010. The overlap is C∩D={21,24,27,30}C \cap D = \{21, 24, 27, 30\}, with 44 numbers. The addition rule gives

P(C∪D)=10+10−430=1630=815.\begin{aligned} P(C \cup D) &= \frac{10 + 10 - 4}{30} \\[0.4em] &= \frac{16}{30} = \frac{8}{15}. \end{aligned}

The answer passes the bounds check, since it lies between 1/31/3 and 2/32/3.

  1. For the same events, find the probability that exactly one of CC and DD occurs and the probability that neither occurs. A classmate answers 16/3016/30 for exactly one. What went wrong?
Show the answer

Exactly one removes the overlap twice,

P(C△D)=10+10−2⋅430=1230=25.\begin{aligned} P(C \triangle D) &= \frac{10 + 10 - 2 \cdot 4}{30} \\[0.4em] &= \frac{12}{30} = \frac25. \end{aligned}

The twelve numbers are 3,6,9,12,15,183, 6, 9, 12, 15, 18 in CC only and 22,23,25,26,28,2922, 23, 25, 26, 28, 29 in DD only. Neither has the remaining 30−16=1430 - 16 = 14 numbers, so its probability is 14/30=7/1514/30 = 7/15, and 8/15+7/15=18/15 + 7/15 = 1 as it should. The classmate computed the inclusive or, which also counts the four numbers that are in both events.

  1. Two events have P(A)=0.7P(A) = 0.7 and P(B)=0.6P(B) = 0.6. Can they be disjoint? Which values can P(A∪B)P(A \cup B) and P(A∩B)P(A \cap B) take?
Show the answer

They cannot be disjoint, because disjoint events would give P(A∪B)=0.7+0.6=1.3P(A \cup B) = 0.7 + 0.6 = 1.3, which is more than 11. The bounds give 0.7≤P(A∪B)≤10.7 \le P(A \cup B) \le 1. The addition rule says P(A∩B)=1.3−P(A∪B)P(A \cap B) = 1.3 - P(A \cup B), so the overlap lies between 0.30.3 and 0.60.6.

Every value in these ranges is possible. For any xx with 0.3≤x≤0.60.3 \le x \le 0.6, give the four regions the probabilities xx for both, 0.7−x0.7 - x for AA only, 0.6−x0.6 - x for BB only and x−0.3x - 0.3 for neither. These are nonnegative and add to 11, so they define a valid model with P(A∩B)=xP(A \cap B) = x and P(A∪B)=1.3−xP(A \cup B) = 1.3 - x.

How this lesson connects