The symmetric difference (disjunctive union/disunion) of sets A and B (A ^ B
) is the set of all elements that are in set A or in set B but not both. Symmetric difference is also commutative, meaning A ^ B == B ^ A
.
The symmetric difference (disjunctive union/disunion) of sets A and B (A ^ B
) is the set of all elements that are in set A or in set B but not both. Symmetric difference is also commutative, meaning A ^ B == B ^ A
.