Both the Operations of Union and Intersection are Commutative. That is, given any 2 Sets \(A\) and \(B\)
\(A \cup B = B \cup A\)
\(A \cap B = B \cap A\)
Both the Operations of Union and Intersection are Associative. That is, given any 3 Sets \(A\), \(B\) and \(C\)
\((A \cup B ) \cup C = A \cup (B \cup C)\)
\((A \cap B ) \cap C = A \cap (B \cap C)\)
Union Operation Distributes over Intersection Operation. For example, given any 3 Sets \(A\), \(B\) and \(C\)
\(A \cup (B \cap C) = (A \cup B) \cap (A \cup C)\)
Intersection Operation Distributes over Union Operation. For example, given any 3 Sets \(A\), \(B\) and \(C\)
\(A \cap (B \cup C) = (A \cap B) \cup (A \cap C)\)
Union of Union of Sets with any of the Participating Set is the Union of Sets. For example, given any 3 Sets \(A\), \(B\) and \(C\)
\(A \cup (A \cup B \cup C) = (A \cup B \cup C)\)
\(B \cup (A \cup B \cup C) = (A \cup B \cup C)\)
\(C \cup (A \cup B \cup C) = (A \cup B \cup C)\)
Intersection of Intersection of Sets with any of the Participating Set is the Intersection of Sets. For example, given any 3 Sets \(A\), \(B\) and \(C\)
\(A \cap (A \cap B \cap C) = (A \cap B \cap C)\)
\(B \cap (A \cap B \cap C) = (A \cap B \cap C)\)
\(C \cap (A \cap B \cap C) = (A \cap B \cap C)\)
Intersection of Union of Sets with any of the Participating Set is the Participating Set. For example, given any 3 Sets \(A\), \(B\) and \(C\)
\(A \cap (A \cup B \cup C) = A\)
\(B \cap (A \cup B \cup C) = B\)
\(C \cap (A \cup B \cup C) = C\)
Union of Intersection of Sets with any of the Participating Set is the Participating Set. For example, given any 3 Sets \(A\), \(B\) and \(C\)
\(A \cup (A \cap B \cap C) = A\)
\(B \cup (A \cap B \cap C) = B\)
\(C \cup (A \cap B \cap C) = C\)
The following are the 2 De Morgan's Laws of Set Theory
The Complement of the Union of Sets is same as the Intersection of the Complement of Each Set. That is, given \(N\) Sets \(A_1, A_2, A_3, ..., A_N\)
The Elements and/or Cardinality of Union of \(N\) Number of Sets can be found out using the Principle of Inclusion and Exclusion as follows
Include the Elements / Add the Cardinalities of all the \(N\) Sets.
Exclude the Elements / Subtract the Cardinalities of the Intersection of all Combinations of 2 Sets from the Resultant Set / Resultant Cardinatily Value of the previous step.
Include the Elements / Add the Cardinalities of the Intersection of all Combinations of 3 Sets to the Resultant Set / Resultant Cardinatily Value of the previous step.
Exclude the Elements / Subtract the Cardinalities of the Intersection of all Combinations of 3 Sets from the Resultant Set / Resultant Cardinatily Value of the previous step.
Continue till \(K \leq N\) to Include the Elements / Add the Cardinalities of the Intersection of all Combinations of \(K\) Sets to the Resultant Set / Resultant Cardinatily Value of the previous step if \(K\) is Odd and Exclude the Elements / Subtract the Cardinalities of the Intersection of all Combinations of \(K\) Sets from the Resultant Set / Resultant Cardinatily Value of the previous step if \(K\) is Even.
Using the Principle of Inclusion and Exclusion as explained above, following gives the formulae for Calculating the Cardinality of Union of 2 Sets \(A\) and \(B\), Union of 3 Sets \(A\), \(B\) and \(C\) and Union of 4 Sets \(A\), \(B\), \(C\) and \(D\)