Logical biconditional
In logic and mathematics, the logical biconditional is a logical connective that joins two statements, P and Q. It makes the statement "P if and only if Q," often written as "P iff Q." In this statement, P is the antecedent and Q is the consequent. The logical biconditional has several other names, such as material biconditional, equivalence, bidirectional implication, biimplication, bientailment, and exclusive nor.
Today, equivalence is written with the symbols ↔, ⇔, or ≡. P↔Q is logically equivalent to both (P→Q)∧(Q→P) and (P∧Q)∨(¬P∧¬Q). It also matches the XNOR (exclusive NOR) Boolean operator. This means "both or neither."
A biconditional is different from a material conditional in one case. That case is when the antecedent is false but the consequent is true. Then the conditional is true, but the biconditional is false.
Both statements in a biconditional are true or false together. P and Q do not need to have the same meaning. For example, P could be "the triangle ABC has two equal sides," and Q could be "the triangle ABC has two equal angles." One common way to show a biconditional is to show that P→Q and Q→P are both true.
When a theorem and its reciprocal are both true, they form a biconditional. The hypothesis is then called the necessary and sufficient condition of the thesis. This means it is both the cause and the result of the thesis. Each part is also described as a necessary condition or a sufficient condition of the other.
Notations
People have used many different symbols to show equivalence. George Boole used = in 1847, and Frege used ≡ in 1879. Bernays used ∼ in 1918, and Hilbert used ⇄ in 1927. In 1928, Hilbert and Ackermann used ↔. Many people who studied logic later used this symbol too.
Other symbols were used as well. Łukasiewicz used E as a prefix in 1929 and Q as a prefix in 1951. Heyting used ⊃⊂ in 1930, Bourbaki used ⇔ in 1954, and Chazal used ⊂⊃ in 1996.
Definition
Logical equality, also called the biconditional, is an operation on two logical values, usually the values of two propositions. It gives true when both statements are true or both are false. Here is a truth table for A↔B:
When three or more statements are joined this way, the meaning can be unclear. The chain x1↔x2↔x3↔⋯↔xn could be read one pair at a time. It could also mean that all the statements are either true together or false together. These two ways of reading only give the same result when there are zero or two statements. The truth tables below show this.
The Venn diagram on the left and the lines (AB) in these tables show the same operation. In the Venn diagrams, red areas stand for true (as in and).
| A | B | A↔B |
|---|---|---|
| F | F | T |
| F | T | F |
| T | F | F |
| T | T | T |
Properties
Commutativity: Yes
Associativity: Yes
Distributivity: The biconditional does not spread over other operations, not even itself. But logical disjunction distributes over the biconditional.
Idempotency: No
Monotonicity: No
Truth-preserving: Yes. If all inputs are true, the output is true.
Falsehood-preserving: No. If all inputs are false, the output is not false.
Walsh spectrum: (2,0,0,2)
Nonlinearity: 0 (the function is linear)
| A↔B | ⇔ | B↔A |
| ⇔ |
| A | ↔ | (B↔C) | ⇔ | (A↔B) | ↔ | C | ||
| ↔ | ⇔ | ⇔ | ↔ |
| A | ↔ | A | ⇔ | 1 | ⇎ | A |
| ↔ | ⇔ | ⇎ |
| A→B | ⇏ | (A↔C) | → | (B↔C) | ||
| ⇏ | ⇔ | → |
| A∧B | ⇒ | A↔B |
| ⇒ |
| A↔B | ⇏ | A∨B |
| ⇏ |
Rules of inference
Main article: Rules of inference
Like other connecting words in logic, the biconditional has rules for how it can be used in proofs. One rule, biconditional introduction, lets someone conclude that A is true if and only if B is true, when B follows from A and A follows from B. For example, from "if I'm breathing, then I'm alive" and "if I'm alive, then I'm breathing," one can conclude that "I'm breathing if and only if I'm alive."
Another rule, biconditional elimination, lets someone take a conditional from a biconditional. If A ↔ B is true, then either A → B or B → A can be concluded. For example, if it is true that I'm breathing if and only if I'm alive, then it is true that if I'm breathing, then I'm alive. It is also true that if I'm alive, then I'm breathing.
Colloquial usage
In everyday English, a biconditional can be said as "b if a and a if b." People often leave out the words "if and only if." You could also say "b implies a and a implies b," or "a is necessary and sufficient for b."
The plain word "if" can sometimes mean a biconditional, especially in math definitions. So you need to look at the words around it to know what is meant.
For example, "I'll buy you a new wallet if you need one" can be understood as a biconditional. The speaker does not mean that buying the wallet happens when it is not needed. But "it is cloudy if it is raining" usually does not mean a biconditional. It can still be cloudy when it is not raining.

Quiz time!
4 questions about Logical biconditional
Which of these is another name for the logical biconditional?
Pictures
Keep exploring
This article is a child-friendly adaptation of the Wikipedia article on Logical biconditional, available under CC BY-SA 4.0.
Images from Wikimedia Commons. Tap any image to view credits and license.