Symmetric difference in sets

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 5K views
Uiiop
Messages
15
Reaction score
0

Homework Statement



There is a symmetric difference in sets X & Y, X Y is defined to be the sets of elements that are either X or Y but not both
Prove that for any sets X,Y & Z that
(X[itex]\oplus[/itex]Y)[itex]\oplus[/itex](Y[itex]\oplus[/itex]Z) = X[itex]\oplus[/itex]Z

Homework Equations



[itex]\oplus[/itex] = symmetic difference

The Attempt at a Solution


i can see it in the venn diagams, but I am not good at converting what i see into set statements this is my attempt in words

the symmetric difference of A and C is contained in the union of the symmetric difference of A and B and that of B and C because the symmetric difference of two repeated symmetric differences is the repeated symmetric difference of the join of the two multisets, where for each double set both can be removed.

i don't have a clue how to show that properly in subsets etc that why i need some help
 
Physics news on Phys.org
How did you define [itex]X\oplus Y[/itex] in symbols??

You can split the proof up in this parts:
- Associativity: show that [itex]X\oplus (Y\oplus Z)=(X\oplus Y)\oplus Z[/itex]
- Show that [itex]Y\oplus Y=\emptyset[/itex]
- Show that [itex]Y\oplus \emptyset=Y[/itex]

(this actually implies that [itex]\oplus[/itex] forms a group operation). These three things together imply what you want to show, do you see that?
 
ok here is my revised attempt at the answer with your help:

In order to prove that (X⊕Y)⊕(Y⊕Z) = X⊕Z you must imply that ⊕ forms a group operation this proof is split up into three parts

The symmetric difference is associative which means that
(X⊕Y)⊕(Y⊕Z)= (Y⊕Y)⊕(X⊕Z) --I think that is correct?--
or X⊕(Y⊕Z ) = (X⊕Y) ⊕Z

The symmetric difference of the same set yields an empty set, Y⊕Y= ∅

The symmetric difference of a set and empty set yields a Y⊕∅= Y

so (Y⊕Y) = ∅
∅ ⊕(X⊕Z)= X⊕Z
hence for any sets X,Y & Z ,(X⊕Y)⊕(Y⊕Z) = X⊕Z

THAT ALL CORRECT?
 
Uiiop said:
ok here is my revised attempt at the answer with your help:

In order to prove that (X⊕Y)⊕(Y⊕Z) = X⊕Z you must imply that ⊕ forms a group operation this proof is split up into three parts

The symmetric difference is associative which means that
(X⊕Y)⊕(Y⊕Z)= (Y⊕Y)⊕(X⊕Z) --I think that is correct?--
or X⊕(Y⊕Z ) = (X⊕Y) ⊕Z

Well, you're using commutativity here (which is fine, but you must first show that you can do that). IF you don't want to do that, then

[tex](X\oplus Y)\oplus (Y\oplus Z)=X\oplus (Y\oplus Y)\oplus Z=X\oplus \emptyset \oplus Z=X\oplus Z[/tex]

is also fine...

The symmetric difference of the same set yields an empty set, Y⊕Y= ∅

The symmetric difference of a set and empty set yields a Y⊕∅= Y

so (Y⊕Y) = ∅
∅ ⊕(X⊕Z)= X⊕Z
hence for any sets X,Y & Z ,(X⊕Y)⊕(Y⊕Z) = X⊕Z

THAT ALL CORRECT?