Q.Let A = { 1, 2, 3, 4, 5, 6}, B = { 2, 4, 6, 8 }. Find A – B and B – A
Set difference keeps everything in that is not in ; keeps everything in that is not in . For the given sets, and .
The idea behind set difference is simple: you start with one set and remove any elements that also appear in the other set. Think of it like a filter — only the elements that belong exclusively to the first set survive.
For , we take set and delete every element that also lives in . For , we do the reverse: start with and remove anything that is also in .
Let’s work through it step by step.
-
List the elements of and clearly.
-
Find .
Go through each element of :
- is in but not in → keep it.
- is in and also in → remove it.
- is in but not in → keep it.
- is in and also in → remove it.
- is in but not in → keep it.
- is in and also in → remove it. So the survivors are . Hence .
-
Find .
Now go through each element of :
- is in and also in → remove it.
- is in and also in → remove it.
- is in and also in → remove it.
- is in but not in → keep it. Only remains. Hence .
A common mistake is to think and are the same thing, or that they always have the same number of elements. They are completely different sets — removes elements of from , while removes elements of from . Here, has three elements and has just one.
Notice that and are always disjoint (they share no elements). Also, the union is called the symmetric difference of and , often written . In this problem, .
The set is and the set is .
Unlock everything free for 14 days
- Full step-by-step solutions
- Concept-first explanations
- Methods, shortcuts & mistakes
- PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.