Symmetric difference
From Citizendium, the Citizens' Compendium
In set theory, the symmetric difference of two sets is the set of elements that belong to exactly one (that is either one or the other but not both) of the sets.
Formally, we define
It can also be expressed as the union of the relative complements
The notations
and
are also seen.
In terms of the characteristic function we have

