Business Mathematics and Statistics · Ch 3 — Set Theory
Cardinality and the Inclusion-Exclusion Principle
Cardinality and the Inclusion-Exclusion Principle
The cardinality of a finite set , written , is simply the count of its distinct elements. ; if is a singleton, .
A natural question follows: given and separately, can we find ? Simply adding over-counts every element lying in both sets, since it gets counted once inside and again inside . Correcting for that double count gives the inclusion-exclusion principle for two sets:
The same idea extends to three sets, where elements can now be over-counted in more than one way — every pairwise overlap is subtracted once, but the triple overlap, having been subtracted three times over (once within each pairwise term), must be added back exactly once:
Worked illustration. Suppose a market survey of 120 customers of an Odisha handicrafts store finds 70 customers buy textile products (), 50 buy pottery products (), and 25 buy both. Then
customers buy at least one of the two, and customers buy neither.
<!-- FIGURE-NEEDED: Venn diagram, rectangle U labelled 120 total, two overlapping circles A (textile, only-region shows 45) and B (pottery, only-region shows 25), overlap region shows 25, and 25 shown outside both circles but inside U, illustrating the worked inclusion-exclusion example --> …The number of distinct elements in a finite set , writ …
— the overlap is subtracted once to correct for …
$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 …