Safekipedia

Logical biconditional

Discoverer · ages 10+Adapted from Wikipedia
A classical marble bust of Socrates, the ancient Greek philosopher who taught by asking questions.

In logic and mathematics, the logical biconditional is a logical connective that joins two statements, P and Q, to form 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 goes by several other names, including 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, which means "both or neither."

Venn diagram of P↔Q(true part in red)

A biconditional differs from a material conditional in only one case: when the antecedent is false but the consequent is true. In that case, the conditional is true, but the biconditional is false.

Both statements in a biconditional are true or false together. This means 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." A 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, meaning it is both the cause and the consequence 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 ↔, and many later followers adopted this symbol.

Other symbols were used too. Ł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:

x1↔⋯↔xnmeant as equivalent to¬ (¬x1⊕⋯⊕¬xn)The central Venn diagram below,and line (ABC  ) in this matrixrepresent the same operation.

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, or as saying that all the statements are either jointly true or jointly false. These two readings only match when there are zero or two statements. The truth tables below show this.

x1↔⋯↔xnmeant as shorthand for( x1∧⋯∧xn )∨ (¬x1∧⋯∧¬xn)The Venn diagram directly below,and line (ABC  ) in this matrixrepresent the same operation.

The left Venn diagram below and the lines (AB) in these matrices show the same operation. In the Venn diagrams, red areas stand for true (as in and).

ABA↔B
FFT
FTF
TFF
TTT

Properties

Commutativity: Yes

Associativity: Yes

Distributivity: The biconditional does not spread over any other operation, not even itself. However, 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 formal proofs. One rule, biconditional introduction, lets someone conclude that if B follows from A and A follows from B, then A if and only if 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, and also that if I'm alive, then I'm breathing.

Colloquial usage

In everyday English, one clear way to say a biconditional is "b if a and a if b," especially when the phrase "if and only if" is not used. One 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 mathematical definitions, so the surrounding context must be considered when reading these words.

For example, "I'll buy you a new wallet if you need one" may be understood as a biconditional, because the speaker does not mean that buying the wallet is a valid outcome when it is not needed. However, "it is cloudy if it is raining" is usually not meant as a biconditional, since it can still be cloudy when it is not raining.

Quiz time!

5 questions about Logical biconditional

Question 1 of 5

When does a biconditional (P if and only if Q) give true?

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.