MathLabs
TheoremProved

Addition rule for disjoint sets

Statement

Let A1A_1, A2A_2, …\dots, AkA_k be pairwise disjoint finite sets, meaning Ai∩Aj=∅A_i \cap A_j = \emptyset whenever i≠ji \neq j. Then ∣A1∪A2∪⋯∪Ak∣=∣A1∣+∣A2∣+⋯+∣Ak∣|A_1 \cup A_2 \cup \cdots \cup A_k| = |A_1| + |A_2| + \cdots + |A_k|.

Why is it true?

This formalizes the everyday habit of counting each disjoint case separately and adding: it is valid precisely because disjointness prevents any outcome from being counted twice.

Proof sketch

Step 1 (base case k=2k=2): suppose A1A_1 and A2A_2 are disjoint, so A1∩A2=∅A_1 \cap A_2 = \emptyset. Every element of A1∪A2A_1 \cup A_2 lies in A1A_1 or in A2A_2, and disjointness rules out lying in both. Splitting A1∪A2A_1 \cup A_2 into the two disjoint pieces A1A_1 and A2A_2 and counting each piece once therefore gives ∣A1∪A2∣=∣A1∣+∣A2∣|A_1 \cup A_2| = |A_1| + |A_2|.

Step 2 (induction on kk): assume the formula already holds for any k−1k-1 pairwise disjoint sets, so ∣A1∪⋯∪Ak−1∣=∣A1∣+⋯+∣Ak−1∣|A_1 \cup \cdots \cup A_{k-1}| = |A_1| + \cdots + |A_{k-1}|. Set B=A1∪⋯∪Ak−1B = A_1 \cup \cdots \cup A_{k-1}. Because AkA_k is disjoint from every AiA_i with i<ki < k, it is also disjoint from their union BB. Applying the base case to BB and AkA_k gives ∣B∪Ak∣=∣B∣+∣Ak∣|B \cup A_k| = |B| + |A_k|.

Step 3 (combine): substituting the inductive hypothesis for ∣B∣|B| into the last equality gives ∣A1∪⋯∪Ak∣=∣A1∣+⋯+∣Ak−1∣+∣Ak∣|A_1 \cup \cdots \cup A_k| = |A_1| + \cdots + |A_{k-1}| + |A_k|, which is exactly the addition rule for kk sets. Since the base case k=2k=2 holds and each step from k−1k-1 to kk preserves the formula, it holds for every k≥2k \geq 2 by induction.

Topics that use this theorem

Step-by-step proofs

No step-by-step proof yet for this theorem.

References

  1. Richard A. Brualdi (2009). Introductory Combinatorics
  2. Kenneth H. Rosen (2019). Discrete Mathematics and Its Applications