Question #267845

Show that A ⊕ B = (A ∪ B) - (A ∩ B).


Expert's answer

A⊕B={x∣x∈A⊕B}A \oplus B=\{x \mid x \in A \oplus B\}

 By the definition of symmetric difference A⊕BA \oplus B , xx then has to be an element of A or an element of B, but not an element of both.

 ={x∣(x∈A∨x∈B)∧¬(x∈A∧x∈B)}=\{x \mid(x \in A \vee x \in B) \wedge \neg(x \in A \wedge x \in B)\}

 By the definition of the union:

={x∣(x∈A∪B)∧¬(x∈A∧x∈B)}=\{x \mid(x \in A \cup B) \wedge \neg(x \in A \wedge x \in B)\}  

By the definition of the intersection:

 ={x∣(x∈A∪B)∧¬(x∈A∩B)}=\{x \mid(x \in A \cup B) \wedge \neg(x \in A \cap B)\}

By the definition of the difference:

 ={x∣x∈(A∪B)−(A∩B)}=(A∪B)−(A∩B)\begin{gathered} =\{x \mid x \in(A \cup B)-(A \cap B)\} \\ =(A \cup B)-(A \cap B) \end{gathered}

Hence Proved

 


 



 


LATEST TUTORIALS
APPROVED BY CLIENTS