Complement Math Example 2

Follow the full solution, then compare it with the other examples linked below.

Example 2

medium
Let U={1,2,3,4,5,6,7,8,9,10}U = \{1,2,3,4,5,6,7,8,9,10\}, A={1,2,3,4,5}A = \{1,2,3,4,5\}, B={4,5,6,7}B = \{4,5,6,7\}. Find (AB)(A \cap B)'.

Solution

  1. 1
    Work from the inside out. First find ABA \cap B: elements in both A={1,2,3,4,5}A = \{1,2,3,4,5\} and B={4,5,6,7}B = \{4,5,6,7\} are {4,5}\{4,5\}.
  2. 2
    Now take the complement of {4,5}\{4,5\} relative to U={1,2,3,4,5,6,7,8,9,10}U = \{1,2,3,4,5,6,7,8,9,10\}: remove 4 and 5 from UU.
  3. 3
    (AB)={1,2,3,6,7,8,9,10}(A \cap B)' = \{1,2,3,6,7,8,9,10\}. By De Morgan's law this also equals ABA' \cup B'; verify: A={6,7,8,9,10}A' = \{6,7,8,9,10\}, B={1,2,3,8,9,10}B' = \{1,2,3,8,9,10\}, and their union is {1,2,3,6,7,8,9,10}\{1,2,3,6,7,8,9,10\} ✓.

Answer

(AB)={1,2,3,6,7,8,9,10}(A \cap B)' = \{1,2,3,6,7,8,9,10\}
To find the complement of an intersection, first compute the intersection, then take its complement. By De Morgan's Law, this equals ABA' \cup B'.

About Complement

The complement of set AA relative to a universal set UU is the set of all elements in UU that do not belong to AA, written AcA^c or AA'.

Learn more about Complement →

More Complement Examples