Encyclopedia > Symmetric difference

  Article Content

Symmetric difference

In mathematics, the symmetric difference of two sets is the set of elements which are in one of either set, but not in both. It is thus the set-theoretic equivalent of the XOR operation in Boolean logic.

Notations vary. The symmetric difference of sets A and B can be written as:

<math>A \triangle B</math>

The symmetic difference is equivalent to the union of both complements, that is:

<math>A \triangle B = A \setminus B \cup B \setminus A</math>



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Holtsville, New York

... of age or older. The average household size is 3.19 and the average family size is 3.47. In the town the population is spread out with 28.2% under the age of 18, 7.5% from ...

 
 
 
This page was created in 48.5 ms