properties of symmetric difference
Recall that the symmetric difference of two sets is the set . In this entry, we list and prove some of the basic properties of .
- 1.
(commutativity of ) , because and are commutative
.
- 2.
If , then , because and .
- 3.
, because , and .
- 4.
, because and .
- 5.
(hence the name symmetric difference).
Proof.
.∎
- 6.
, because .
- 7.
(distributivity of over ) .
Proof.
, which is , one of the properties of set difference (see proof here (http://planetmath.org/PropertiesOfSetDifference)). This in turns is equal to .∎
- 8.
(associativity of ) .
Proof.
Let be a set containing as subsets (take if necessary). For a given , let be a function defined by . Associativity of is then then same as showing that , since .
By expanding , we have
It is now easy to see that the last expression does not change if one exchanges and . Hence, and this shows that is associative.∎
Remark. All of the properties of on sets can be generalized to (http://planetmath.org/DerivedBooleanOperations) on Boolean algebras.