Question

Difficulty: MediumSets and Set Operations

Given the universal set U={xZ:1x30}\mathcal{U} = \{x \in \mathbb{Z} : 1 \le x \le 30\}, let A={xU:x is a multiple of 4}A = \{x \in \mathcal{U} : x \text{ is a multiple of } 4\} and B={xU:x is a perfect square}B = \{x \in \mathcal{U} : x \text{ is a perfect square}\}. What is the number of elements in (AB)(A \cup B)'?

  1. 20Answer
  2. B
    18
  3. C
    10
  4. D
    22

Answer

The cardinality of (AB)(A \cup B)' is 20.
The universal set has 30 elements. Set AA has 7 elements (multiples of 4 up to 30) and set BB has 5 elements (perfect squares up to 30). The numbers 4 and 16 belong to both sets, so the intersection has 2 elements. By the principle of inclusion-exclusion, the union ABA \cup B contains 7+52=107 + 5 - 2 = 10 elements. The complement (AB)(A \cup B)' contains all elements in the universal set that are not in the union, giving 3010=2030 - 10 = 20 elements.

Step-by-Step Solution

1
Determine the elements and cardinality of the universal set U\mathcal{U}.
U={1,2,3,,30}\mathcal{U} = \{1, 2, 3, \dots, 30\}, so n(U)=30n(\mathcal{U}) = 30.
The universal set bounds all possible elements under consideration.
2
List the elements of set AA and set BB, and find their individual cardinalities.
A={4,8,12,16,20,24,28}    n(A)=7A = \{4, 8, 12, 16, 20, 24, 28\} \implies n(A) = 7.
B={1,4,9,16,25}    n(B)=5B = \{1, 4, 9, 16, 25\} \implies n(B) = 5.
Identify multiples of 4 and perfect squares within the range 1 to 30.
3
Find the intersection ABA \cap B and compute the cardinality of the union ABA \cup B.
AB={4,16}    n(AB)=2A \cap B = \{4, 16\} \implies n(A \cap B) = 2.
n(AB)=n(A)+n(B)n(AB)=7+52=10n(A \cup B) = n(A) + n(B) - n(A \cap B) = 7 + 5 - 2 = 10.
Apply the principle of inclusion-exclusion to avoid double-counting elements belonging to both sets.
4
Calculate the cardinality of the complement (AB)(A \cup B)'.
n((AB))=n(U)n(AB)=3010=20n((A \cup B)') = n(\mathcal{U}) - n(A \cup B) = 30 - 10 = 20.
The complement set consists of all elements in the universal set that are not in ABA \cup B.

Key Concept

Complement of Set Union and Inclusion-Exclusion Principle
Rate this question