Union of sets
First taught in High school statistics
Definition
The union of two sets and , written , is the set of all elements that are in , in , or in both.
Advertisement
Example: and .
Elements that are in both sets (2 and 4) are listed only once.
Think of the word "or": an element is in if it is in or in .
Counting: to find how many elements are in the union, add the two sets and subtract the overlap so it is not counted twice:
The same idea gives the addition rule in probability: . Compare with the intersection.