Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Exclusive or
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
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!
==Properties== {{glossary}} {{term|[[Commutative property|Commutativity]]: yes}}{{defn| {{aligned table | style=text-align:center; border:1px solid darkgrey; | rowstyle=; | cols=3 | <math>A \oplus B</math> | <math>\Leftrightarrow</math> | <math>B \oplus A</math> | [[File:Venn0110.svg|50px]] | <math>\Leftrightarrow</math> | [[File:Venn0110.svg|50px]] }} }} {{term|[[Associative property|Associativity]]: yes}}{{defn| {{aligned table | style=text-align:center; border:1px solid darkgrey; | rowstyle=; | cols=9 | <math>~A</math> | <math>~~~\oplus~~~</math> | <math>(B \oplus C)</math> | <math>\Leftrightarrow</math> | | | <math>(A \oplus B)</math> | <math>~~~\oplus~~~</math> | <math>~C</math> | [[File:Venn 0101 0101.svg|50px]] | <math>~~~\oplus~~~</math> | [[File:Venn 0011 1100.svg|50px]] | <math>\Leftrightarrow</math> | [[File:Venn 0110 1001.svg|50px]] | <math>\Leftrightarrow</math> | [[File:Venn 0110 0110.svg|50px]] | <math>~~~\oplus~~~</math> | [[File:Venn 0000 1111.svg|50px]] }} }} {{term|[[Distributive property|Distributivity]]:}}{{defn|The exclusive or does not distribute over any binary function (not even itself), but [[Logical conjunction#Properties|logical conjunction distributes over exclusive or]]. <math>C\land(A \oplus B )= (C\land A) \oplus (C\land B)</math> (Conjunction and exclusive or form the multiplication and addition operations of a [[Field (mathematics)|field]] [[GF(2)]], and as in any field they obey the distributive law.)}} {{term|[[Idempotence|Idempotency]]: no}}{{defn| {{aligned table | style=text-align:center; border:1px solid darkgrey; | rowstyle=; | cols=7 | <math>~A~</math> | <math>~\oplus~</math> | <math>~A~</math> | <math>\Leftrightarrow</math> | <math>~0~</math> | <math>\nLeftrightarrow</math> | <math>~A~</math> | [[File:Venn01.svg|36px]] | <math>~\oplus~</math> | [[File:Venn01.svg|36px]] | <math>\Leftrightarrow</math> | [[File:Venn00.svg|36px]] | <math>\nLeftrightarrow</math> | [[File:Venn01.svg|36px]] }} }} {{term|[[Monotone Boolean function|Monotonicity]]: no}}{{defn| {{aligned table | style=text-align:center; border:1px solid darkgrey; | rowstyle=; | cols=7 | <math>A \rightarrow B</math> | <math>\nRightarrow</math> | | | <math>(A \oplus C)</math> | <math>\rightarrow</math> | <math>(B \oplus C)</math> | [[File:Venn 1011 1011.svg|50px]] | <math>\nRightarrow</math> | [[File:Venn 1011 1101.svg|50px]] | <math>\Leftrightarrow</math> | [[File:Venn 0101 1010.svg|50px]] | <math>\rightarrow</math> | [[File:Venn 0011 1100.svg|50px]] }} }} {{term|Truth-preserving: no}}{{defn|When all inputs are true, the output is not true. {{aligned table | style=text-align:center; border:1px solid darkgrey; | rowstyle=; | cols=3 | <math>A \land B</math> | <math>\nRightarrow</math> | <math>A \oplus B</math> | [[File:Venn0001.svg|50px]] | <math>\nRightarrow</math> | [[File:Venn0110.svg|60px]] }} }} {{term|Falsehood-preserving: yes}}{{defn|When all inputs are false, the output is false. {{aligned table | style=text-align:center; border:1px solid darkgrey; | rowstyle=; | cols=3 | <math>A \oplus B</math> | <math>\Rightarrow</math> | <math>A \lor B</math> | [[File:Venn0110.svg|60px]] | <math>\Rightarrow</math> | [[File:Venn0111.svg|50px]] }} }} {{term|[[Hadamard transform|Walsh spectrum]]: (2,0,0,β2)}} {{term|Non-[[Linear#Boolean functions|linearity]]: 0}}{{defn|The function is linear.}} {{term|Involution:}}{{defn|Exclusive or with one specified input, as a function of the other input, is an [[Involution (mathematics)|involution]] or self-inverse function; applying it twice leaves the variable input unchanged. {{aligned table | style=text-align:center; border:1px solid darkgrey; | rowstyle=; | cols=5 | <math>~A\oplus B~</math> | <math>~\oplus~</math> | <math>~B~</math> | <math>\Leftrightarrow</math> | <math>~A~</math> | [[File:Venn0110.svg|50px]] | <math>~\oplus~</math> | [[File:Venn0011.svg|50px]] | <math>\Leftrightarrow</math> | [[File:Venn0101.svg|50px]] }} }} {{glossary end}} If using [[binary numeral system|binary]] values for true (1) and false (0), then ''exclusive or'' works exactly like [[addition]] [[Modular arithmetic|modulo]] 2.
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Exclusive or
(section)
Add topic