Example 1
Question: Which of the following pairs of sets are equal? Justify your answer. Set P: \( P = \{ n : n \in \mathbb{Z} \text{ and } n^2 < 9 \} \) Set Q: \( Q = \{ x : x \in \mathbb{R} \text{ and } x^2 + x - 2 = 0 \} \)
Solution: Step 1: Find all elements of P. We need all integers n such that \( n^2 < 9 \). This means \( -3 < n < 3 \), so the integers satisfying this are \( n = -2, -1, 0, 1, 2 \). Therefore: \[ P = \{ -2, -1, 0, 1, 2 \} \] Step 2: Find all elements of Q. We solve the equation \( x^2 + x - 2 = 0 \) over the reals. Factorising: \[ x^2 + x - 2 = (x + 2)(x - 1) = 0 \] So \( x = -2 \) or \( x = 1 \). Therefore: \[ Q = \{ -2, 1 \} \] Step 3: Compare P and Q. Set P has elements \( \{ -2, -1, 0, 1, 2 \} \) and set Q has elements \( \{ -2, 1 \} \). Since \( -1 \in P \) but \( -1 \notin Q \), the sets are not equal. Also, \( 0 \in P \) but \( 0 \notin Q \), and \( 2 \in P \) but \( 2 \notin Q \). Therefore P \( \ne \) Q.
Answer: P and Q are NOT equal, since \( P = \{ -2, -1, 0, 1, 2 \} \) and \( Q = \{ -2, 1 \} \).
Example 2
Question: Which of the following pairs of sets are equal? Justify your answer. Set A: \( A = \{ n : n \in \mathbb{Z} \text{ and } |n| \le 2 \} \) Set B: \( B = \{ x : x \in \mathbb{R} \text{ and } x^3 - 4x = 0 \} \)
Solution: Step 1: Find all elements of A. We need all integers n such that \( |n| \le 2 \), which means \( -2 \le n \le 2 \). The integers in this range are \( n = -2, -1, 0, 1, 2 \). Therefore: \[ A = \{ -2, -1, 0, 1, 2 \} \] Step 2: Find all elements of B. We solve \( x^3 - 4x = 0 \) over the reals. Factorise: \[ x^3 - 4x = x(x^2 - 4) = x(x - 2)(x + 2) = 0 \] So \( x = 0 \) or \( x = 2 \) or \( x = -2 \). Therefore: \[ B = \{ -2, 0, 2 \} \] Step 3: Compare A and B. Set A has elements \( \{ -2, -1, 0, 1, 2 \} \) and set B has elements \( \{ -2, 0, 2 \} \). Since \( -1 \in A \) but \( -1 \notin B \), and \( 1 \in A \) but \( 1 \notin B \), the sets are not equal. Therefore A \( \ne \) B.
Answer: A and B are NOT equal, since \( A = \{ -2, -1, 0, 1, 2 \} \) and \( B = \{ -2, 0, 2 \} \).