Skip to content

Business Mathematics and Basic Statistics · Ch 9 — Sets — Operations and Functions

Set Operations — Union and Intersection

3

Set Operations — Union and Intersection

Just as numbers can be combined using addition and multiplication, sets can be combined using set operations. The two most basic ones are union and intersection.

The union of two sets AA and BB, written A∪BA \cup B, is the set of all elements that belong to AA, or to BB, or to both:

A∪B={x:x∈A or x∈B}.A \cup B = \{x : x \in A \text{ or } x \in B\}.

The intersection of AA and BB, written A∩BA \cap B, is the set of elements common to both AA and BB:

A∩B={x:x∈A and x∈B}.A \cap B = \{x : x \in A \text{ and } x \in B\}.

For example, if A={2,4,6,8,10}A = \{2, 4, 6, 8, 10\} and B={4,8,12,16}B = \{4, 8, 12, 16\}, then

A∪B={2,4,6,8,10,12,16},A∩B={4,8}.A \cup B = \{2, 4, 6, 8, 10, 12, 16\}, \qquad A \cap B = \{4, 8\}.

Every element that appears in AA or BB (or both) is collected once into A∪BA \cup B — note that a shared element such as 44 is written only once in the union, since a set never lists the same element twice; only elements genuinely appearing in both lists make it into A∩BA \cap B.

Note

A quick property to notice

n(A∪B)n(A \cup B) is generally not simply n(A)+n(B)n(A) + n(B), because any elements shared between AA and BB would then be counted twice. In the example above, n(A)=5n(A) = 5 and n(B)=4n(B) = 4, but n(A∪B)=7n(A \cup B) = 7, not 99 — the two shared elements, 44 and 88, must be subtracted once. This idea returns, fully developed, as the inclusion-exclusion principle later in this chapter. …

Definition 1Union of Two Sets

A∪B={x:x∈A or x∈B}A \cup B = \{x : x \in A \text{ or } x \in B\} — every element belonging to AA, to BB, or to both, …

Definition 2Intersection of Two Sets

A∩B={x:x∈A and x∈B}A \cap B = \{x : x \in A \text{ and } x \in B\} — every element common to bot …