If \(X=\{ a, b, c, d\}\) and \(Y=\{f,b,d,g\},\) find \(X-Y\)
CBSE Class 11 Maths · Sets
CBSE Class 11 Maths · Sets
Imagine two bags of fruit. Bag X has apples, bananas, cherries, and dates. Bag Y also has some of those fruits. We want to find what is ONLY in Bag X and nowhere in Bag Y. We go through Bag X one fruit at a time. If that fruit is also sitting in Bag Y, we toss it out. Whatever remains belongs only to Bag X. Here, the letters \( a \) and \( c \) survive because they are not found in \( Y \) at all.
Answer: \( X - Y = \{ a, c \} \)
The difference of two sets, written \( X - Y \), is the set of all elements that belong to \( X \) but do NOT belong to \( Y \). In symbols, \( X - Y = \{ x : x \in X \text{ and } x \notin Y \} \). So you keep only those elements of \( X \) that are missing from \( Y \). Note that \( X - Y \) is generally not the same as \( Y - X \); the order matters. We only ever look at the elements of the first set.
\( X - Y = \{ x : x \in X \text{ and } x \notin Y \} \)
\( X - Y = \{ a, c \} \)
A common mistake is to also include elements of \( Y \) that are not in \( X \) (like \( f \) and \( g \)). Those belong to \( Y - X \), not \( X - Y \). For \( X - Y \), consider ONLY the elements of \( X \).
\( X - Y = \{ a, c \} \)
One common mistake: Students sometimes include elements from \( Y \) that are not in \( X \) (like \( f \) or \( g \)) in the answer, or they confuse \( X - Y \) with \( Y - X \). Remember, \( X - Y \) only ever looks at elements of the FIRST set \( X \) and discards those also found in \( Y \).
Answer: \( X - Y = \{ a, c \} \)
Question: Let \( P = \{1, 3, 5, 7, 9\} \) and \( Q = \{2, 3, 7, 11, 13\} \). Find \( P - Q \).
Solution: We need to find all elements that are in \( P \) but NOT in \( Q \). The set \( P \) has elements: \( 1, 3, 5, 7, 9 \). Now we check each element of \( P \) against \( Q = \{2, 3, 7, 11, 13\} \): - \( 1 \notin Q \), so 1 is included. - \( 3 \in Q \), so 3 is excluded. - \( 5 \notin Q \), so 5 is included. - \( 7 \in Q \), so 7 is excluded. - \( 9 \notin Q \), so 9 is included. Therefore, \( P - Q = \{1, 5, 9\} \).
Answer: \( P - Q = \{1, 5, 9\} \)
Question: Let \( A = \{p, q, r, s, t\} \) and \( B = \{r, s, u, v\} \). Find \( A - B \) and \( B - A \), and verify that \( A - B \ne B - A \).
Solution: Step 1: Find \( A - B \). We keep elements of \( A = \{p, q, r, s, t\} \) that do NOT appear in \( B = \{r, s, u, v\} \): - \( p \notin B \), so p is included. - \( q \notin B \), so q is included. - \( r \in B \), so r is excluded. - \( s \in B \), so s is excluded. - \( t \notin B \), so t is included. Thus \( A - B = \{p, q, t\} \). Step 2: Find \( B - A \). We keep elements of \( B = \{r, s, u, v\} \) that do NOT appear in \( A = \{p, q, r, s, t\} \): - \( r \in A \), so r is excluded. - \( s \in A \), so s is excluded. - \( u \notin A \), so u is included. - \( v \notin A \), so v is included. Thus \( B - A = \{u, v\} \). Step 3: Verify \( A - B \ne B - A \). Since \( \{p, q, t\} \ne \{u, v\} \), we confirm that \( A - B \ne B - A \). This shows that set difference is NOT commutative in general.
Answer: \( A - B = \{p, q, t\} \) and \( B - A = \{u, v\} \)
Question: If \( P = \{1, 3, 5, 7, 9\} \) and \( Q = \{2, 3, 7, 11\} \), find \( P - Q \) and \( Q - P \).
Answer: \( P - Q = \{1, 5, 9\} \) and \( Q - P = \{2, 11\} \)