In set theory, the symmetric difference of two sets A and B is the set of elements either in A or in B but not in both.
| Definition |
|---|
|
Given two sets A and B, |
Example[]
Suppose A = {1,3,5,7,9} and B = {1,2,3,4,5}:
See also[]
- Exclusive disjunction (equivalent in logic)
- Complement (set theory)
- Intersection (set theory)
- Union (set theory)