Lably
Skip to content

Exclusive or

True when either but not both inputs are true

  • 9 min read
  • 9 chapters

Related on Lably

Through Logical connective, If and only if and Parity (mathematics)

It gains the name "exclusive or" because the meaning of "or" is ambiguous when both operands are true. XOR excludes that case. Some informal ways of describing XOR are "one or the other but not both", "either one or the other", and "A or B, but not A and B".

It is symbolized by the prefix operator J and by the infix operators XOR ( or ), EOR, EXOR, ∨˙, ∨¯, ∨_, ⩛, ⊕, ↮, ≢, and ^.

Definition

The truth table of A↮B shows that it outputs true whenever the inputs differ:

Sign in to keep reading

8 more chapters are free with a Lably account.

More in Topics in mathematics