Business Mathematics and Basic Statistics · Ch 9 — Sets — Operations and Functions
Set Operations — Union and Intersection
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 and , written , is the set of all elements that belong to , or to , or to both:
The intersection of and , written , is the set of elements common to both and :
For example, if and , then
Every element that appears in or (or both) is collected once into — note that a shared element such as 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 quick property to notice
is generally not simply , because any elements shared between and would then be counted twice. In the example above, and , but , not — the two shared elements, and , must be subtracted once. This idea returns, fully developed, as the inclusion-exclusion principle later in this chapter. …
— every element belonging to , to , or to both, …
— every element common to bot …