Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Symmetric difference
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==''n''-ary symmetric difference== Repeated symmetric difference is in a sense equivalent to an operation on a multitude of sets (possibly with multiple appearances of the same set) giving the set of elements which are in an odd number of sets. The symmetric difference of a collection of sets contains just elements which are in an odd number of the sets in the collection: <math display="block"> \Delta M = \left\{ a \in \bigcup M: \left|\{A \in M:a \in A\}\right| \text{ is odd}\right\}.</math> Evidently, this is well-defined only when each element of the union <math display="inline">\bigcup M</math> is contributed by a finite number of elements of <math>M</math>. Suppose <math>M = \left\{M_1, M_2, \ldots, M_n\right\}</math> is a [[multiset]] and <math>n \ge 2</math>. Then there is a formula for <math>| \Delta M|</math>, the number of elements in <math> \Delta M</math>, given solely in terms of intersections of elements of <math>M</math>: <math display="block">| \Delta M| = \sum_{l=1}^n (-2)^{l-1} \sum_{1 \leq i_1 < i_2 < \ldots < i_l \leq n} \left|M_{i_1} \cap M_{i_2} \cap \ldots \cap M_{i_l}\right|.</math>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)