skip to content

Why does P(A or B) = P(A) + P(B) give the wrong answer when A and B overlap?

level: middleimportance: must knowfreq 68%

answer

  1. the shared part is counted twice
  2. subtract exactly one copy
  3. P(A) + P(B) - P(A and B)
  4. plain addition needs disjoint events
  5. red cards and face cards share six

basics

~20 s

Adding P(A) and P(B) counts outcomes in both events twice. The addition rule subtracts the overlap: P(A or B) = P(A) + P(B) - P(A and B). For one card, P(red or face) = 26/52 + 12/52 - 6/52 = 8/13.

solid answer

~40 s

Adding the two probabilities counts each outcome that lies in both events twice, so the sum overstates the union. The general addition rule corrects for that: `P(A ∪ B) = P(A) + P(B) - P(A ∩ B)`. Draw one card from a standard 52-card deck: 26 cards are red, 12 are face cards (jack, queen, king in four suits), and 6 are both red and a face card. Naive addition gives `38/52`, but the right answer is `26/52 + 12/52 - 6/52 = 32/52 = 8/13`, roughly 0.615. The plain sum is correct only in the special case where `A ∩ B` is empty, that is, when the events are mutually exclusive and `P(A ∩ B) = 0`. "Or" in probability is always inclusive: `A ∪ B` includes outcomes where both happen.

go deeper

for a junior

Memorise the rule and the reason for the minus sign: shared outcomes get counted twice. Be able to work a small deck or dice example end to end without dropping the overlap term.

for a middle

Derive the rule from additivity over disjoint sets rather than quoting it, and state precisely when plain addition is exact. Expect a follow-up on why mutual exclusivity is not independence.

for a senior

Demonstrate what you do when the overlap is unknown: quote the union bound and the minimum possible intersection instead of inventing a joint probability, and explain the business cost of the double-counted version.

for a principal

Own the reporting standard: decide whether segment metrics are published as overlapping rates or as a deduplicated union, and make sure one definition is used everywhere so headline numbers stay comparable.

## The rule For any two events `A` and `B` in the same sample space, `P(A ∪ B) = P(A) + P(B) - P(A ∩ B)` This is the **general addition rule**, also called two-set inclusion-exclusion. The subtracted term is the whole point: outcomes belonging to both events were counted once inside `P(A)` and again inside `P(B)`, so they must be removed once to leave them counted exactly once. ## Where it comes from The rule is not an extra assumption; it follows from the additivity axiom, which says probabilities of **disjoint** events add. Split the union into two disjoint pieces: `A ∪ B = A ∪ (B minus A)` These two pieces share no outcome, so `P(A ∪ B) = P(A) + P(B \ A)`. Now split `B` the same way: `B = (A ∩ B) ∪ (B \ A)`, again disjoint, so `P(B) = P(A ∩ B) + P(B \ A)`, which rearranges to `P(B \ A) = P(B) - P(A ∩ B)`. Substituting gives `P(A ∪ B) = P(A) + P(B) - P(A ∩ B)`. Every step used only additivity over disjoint sets, which is why the rule holds for *any* two events, however they are related. ## The worked example Draw one card at random from a standard 52-card deck. All 52 outcomes are equally likely. - `R` = the card is red: 26 outcomes, `P(R) = 26/52 = 1/2`. - `F` = the card is a face card, meaning jack, queen or king: three per suit across four suits, so 12 outcomes, `P(F) = 12/52 = 3/13`. - `R ∩ F` = the card is a red face card: jack, queen and king of hearts plus the same three of diamonds, so 6 outcomes, `P(R ∩ F) = 6/52`. Apply the rule: `P(R ∪ F) = 26/52 + 12/52 - 6/52 = 32/52 = 8/13 ≈ 0.615` The naive sum `38/52 ≈ 0.731` is wrong by exactly `6/52`, the size of the overlap. You can confirm the correct value by direct counting: 26 red cards plus the 6 black face cards that are not already counted equals 32. ## The special case When `A ∩ B` is empty, the events are **mutually exclusive** (also called disjoint): they cannot both occur on the same trial. Then `P(A ∩ B) = 0` and the rule collapses to the simple form `P(A ∪ B) = P(A) + P(B)`. That is the only situation in which plain addition is exact. The most frequent error here is confusing mutual exclusivity with **independence**. They are different, in fact opposed: if `A` and `B` are mutually exclusive and both have positive probability, then learning that `A` occurred tells you `B` definitely did not, so they are strongly dependent. ## Companion results Several other rules fall out of the same additivity idea and are worth having ready: - **Complement rule**: `P(A^c) = 1 - P(A)`, because `A` and its complement are disjoint and together fill the sample space. When "at least one" is awkward to count directly, computing the complement is often far easier. - **Monotonicity**: if every outcome in `A` is also in `B`, then `P(A) ≤ P(B)`. - **Union bound**: dropping the subtracted term can only inflate the result, so `P(A ∪ B) ≤ P(A) + P(B)` always. This upper bound holds even when you know nothing about the overlap. - **Lower bound on the overlap**: since `P(A ∪ B) ≤ 1`, rearranging gives `P(A ∩ B) ≥ P(A) + P(B) - 1`. With `P(A) = 0.6` and `P(B) = 0.5`, the two events must overlap on at least 0.1 of the probability, no matter how they are arranged. ## Interview framing Interviewers like this question because the failure mode is quiet. A candidate who adds two marketing segment rates and reports 73% reach rather than 62% has produced a number that looks fine on a slide. Say the rule, name the overlap term, and state explicitly that the simple version needs disjointness. If you are given only the two marginal probabilities and no overlap, say so and give the bounds rather than inventing a joint value. ## Traps to avoid - Reading "or" as exclusive. In probability `A ∪ B` includes the outcomes where both events happen; if you truly want exactly one of them, that is `P(A) + P(B) - 2 P(A ∩ B)`. - Multiplying to get the overlap when the events are not independent. `P(A ∩ B) = P(A) P(B)` is a statement about independence, not a general identity. - Reporting a union probability above 1 and not noticing that this alone proves double counting.

  • If you know only P(A) = 0.6 and P(B) = 0.5, what can you say about P(A or B)?
    It lies between 0.6 and 1.0. The union is at least as large as the bigger of the two events, and the union bound caps it at `P(A) + P(B) = 1.1`, which the total probability of 1 tightens to 1. Equivalently the overlap is at least `0.6 + 0.5 - 1 = 0.1`. Without the joint probability you should quote the range, not a point value.
  • How would you compute the probability that exactly one of A and B occurs?
    Take the union and remove the overlap a second time: `P(exactly one) = P(A) + P(B) - 2 P(A ∩ B)`. The intersection is stripped out entirely rather than counted once, because outcomes where both events happen are not "exactly one". For the card draw that gives `26/52 + 12/52 - 12/52 = 26/52`.
  • Why is mutual exclusivity not the same as independence?
    Mutual exclusivity says the events share no outcome, so `P(A ∩ B) = 0`. Independence says one event carries no information about the other. If two mutually exclusive events both have positive probability, learning that one occurred rules the other out completely, which is the strongest possible dependence. The two conditions can only coexist when one event has probability zero.

saying these in an interview costs you the question

  • Adding two probabilities without checking whether the events overlap
  • Treating mutually exclusive and independent as the same condition
  • Using P(A) times P(B) as the overlap when events are not independent
  • Reading or as exclusive rather than inclusive
  • Reporting a union probability above 1 without noticing the contradiction

context