Symmetric difference

From Citizendium, the Citizens' Compendium

Revision as of 15:13, 23 December 2008 by Richard Pinch (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search


This article is a stub and thus not approved.
Main Article
Talk
Related Articles  [?]
Bibliography  [?]
External Links  [?]
 
This is a draft article, under development and not meant to be cited but you can help to improve it. These unapproved articles are subject to a disclaimer.

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

A \bigtriangleup B = \{ x \in A \cup B : (x \in A \wedge x \not\in B) \vee (x \not\in A \wedge x \in B) \} .\,

It can also be expressed as the union of the relative complements

A \bigtriangleup B = (A \setminus B) \cup (B \setminus A). \,

The notations A + B\, and A \oplus B are also seen.

In terms of the characteristic function we have

\chi_{A \bigtriangleup B} = \chi_A + \chi_B \pmod 2 .
Views
Personal tools