We are asked to prove the following set identity:
(a∩b)∪(a−b)∪(b−a)=a∪b
Step-by-step Proof
Let’s denote sets as lowercase letters A and B for clarity.
We want to prove:
(A∩B)∪(A−B)∪(B−A)=A∪
1. Understand each component:
- A∩B: Elements that are in both A and B
- A−B: Elements in A but not in
So we are taking the union of:
- The intersection (elements common to both),
- Elements only in A,
- Elements only in B
This should intuitively give all elements in either A or B, i.e., A∪B
2. Prove both directions:
(i) LHS ⊆ RHS
We show that every element in
(A∩B)∪(A−B)∪(B−A)
is also in A∪B
Let x∈(A∩B)∪(A−B)∪(B−A)
Then x is in at least one of these three sets:
- If x∈A∩B, then x∈A and x∈B → so
Thus, in all cases, x∈A∪B. So:
(A∩B)∪(A−B)∪(B−A)⊆A∪
(ii) RHS ⊆ LHS
Now let x∈A∪B, so x∈A or x∈B
We consider cases:
- If x∈A and x∈B, then x∈A∩B → so
In all cases, x∈(A∩B)∪(A−B)∪(B−A)
Therefore:
A∪B⊆(A∩B)∪(A−B)∪(B−
3. Conclusion
Since both sides are subsets of each other, they must be equal:
(A∩B)∪(A−B)∪(B−A)=A
✅ Hence proved.
This is a consequence of basic logic: for any element x, and any two statements P and Q (here, “x∈A” and “x∈B”), the logical possibilities are:
You might think it's obvious, but in formal mathematics, even "obvious" facts need to be verified from definitions. The structure of the proof is:
But here, we’re not doing that. We're breaking down membership logically and showing that the union of those three disjoint pieces gives all possible ways an element can be in A or B. That’s just applying the law of excluded middle and set definitions.