Skip to content

Mathematics · Ch 14 — Sets and Relations

Cardinality Properties of Sets

14.1.5.5

Cardinality Properties of Sets

Given sets A, B (and sometimes a third set C, all subsets of a universal set), the following cardinality (counting) formulas hold:

  1. n(A∪B)=n(A)+n(B)−n(A∩B)n(A\cup B) = n(A)+n(B)-n(A\cap B) — the general two-set union formula.
  2. When A and B are DISJOINT (A∩B=ϕA\cap B=\phi, so n(A∩B)=0n(A\cap B)=0), this simplifies to n(A∪B)=n(A)+n(B)n(A\cup B)=n(A)+n(B).
  3. n(A∩B′)+n(A∩B)=n(A)n(A\cap B') + n(A\cap B) = n(A) — A splits into the part outside B and the part inside B.
  4. n(A′∩B)+n(A∩B)=n(B)n(A'\cap B) + n(A\cap B) = n(B) — similarly, B splits into the part outside A and the part inside A.
  5. n(A∩B′)+n(A∩B)+n(A′∩B)=n(A∪B)n(A\cap B') + n(A\cap B) + n(A'\cap B) = n(A\cup B) — the union splits into three disjoint pieces.
  6. For any three sets A, B, C: n(A∪B∪C)=n(A)+n(B)+n(C)−n(A∩B)−n(B∩C)−n(A∩C)+n(A∩B∩C)n(A\cup B\cup C) = n(A)+n(B)+n(C) - n(A\cap B) - n(B\cap C) - n(A\cap C) + n(A\cap B\cap C) — each individual set is counted once, each pairwise overlap is then subtracted (since it was counted twice), and the triple overlap is finally added back (since it was subtracted three times in the pairwise step but should be counted once).
  7. If n(A)=mn(A)=m, then n[P(A)]=2mn[P(A)]=2^m, where P(A) is the power set of A.
  8. n(AΔB)=n(A)+n(B)−2n(A∩B)n(A\Delta B) = n(A)+n(B)-2n(A\cap B) — since the shared part is excluded entirely from the symmetric difference (subtracted twice, once from each set's count). …
Figure 1Fig. 5.17 — three-set Venn diagram for exam failures

What this figure shows. A three-circle Venn diagram inside a rectangle labelled with the total surveyed population, with the three circles labelled P (failed Physics), C (failed Chemistry) and M (failed Maths); each of the seven regions (three 'only-one-subject' crescents, three 'exactly-two-subjects' lens shapes, and the central 'all-three' region) is where the corresponding count from Ex. 8 belongs, used to visually organise the given numbers before applying …

Figure 2Fig. 5.18 — three-set Venn diagram for consumer product preference

What this figure shows. A three-circle Venn diagram inside a rectangle labelled with the total number of consumers studied, with the three circles labelled A, B and C for the three products; as in Fig. 5.17, each of the seven regions corresponds to a count worked out in Ex. 9 (liked only one product, liked exactly two, or liked all three), used to organise the given percentages/counts before solving for the unknown triple-overlap reg …