(A - B) union (B- A) = (A union B) - (A intersection B)

  • Context: Undergrad 
  • Thread starter Thread starter yitriana
  • Start date Start date
  • Tags Tags
    Intersection Union
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 3K views
yitriana
Messages
35
Reaction score
0
Why is this true: (A - B) union (B- A) = (A union B) - (A intersection B)

wouldn't the union of A and B everything that is in A or B? And since A - B and B - A don't contain any elements from the other set, wouldn't the union of these be equal to union of A and B?

So wouldn't it make sense for it to be: (A - B) union (B- A) = (A union B)?

I don't think that A union B contains elements in A or B AND A and B.
 
Physics news on Phys.org


yitriana said:
Why is this true: (A - B) union (B- A) = (A union B) - (A intersection B)
For an intuitive expalanation consider the Venn diagram here.

yitriana said:
So wouldn't it make sense for it to be: (A - B) union (B- A) = (A union B)?

This doesn't hold for A={1,2} and B={2,3}.