Symbolic LogicTruth Tables

Logical Equivalence

Two formulas are logically equivalent when they have the same truth value in every row; then their biconditional is a tautology.

Not started Jump to practice

Two formulas can look different and still say the same thing. Truth tables (Tautologies, Contradictions and Contingent Statements) let us make that precise.

Key idea

Two formulas are logically equivalent when they have the same truth value in every row of a joint truth table. Then their biconditional is a tautology.

Why it works

A formula's meaning, as far as logic is concerned, is its column: the rows where it is true. If two formulas have identical columns, there is no situation in which one is true and the other false, so either one can stand in for the other in any argument. That is also exactly when $A \leftrightarrow B$ is true in every row, since a biconditional is true when the sides match.
Equivalent: the two main columns match in every row.

Worked examples

Worked example: Conditional and disjunction

Are $p \to q$ and $\neg p \lor q$ equivalent?
  1. Column for $p \to q$: T, F, T, T.
  2. Column for $\neg p \lor q$: $\neg p$ is F, F, T, T, so the disjunction is T, F, T, T.
  3. The columns match.

Answer: Equivalent

Worked example: A look-alike that is not

Are $(p \land q) \to r$ and $(p \to q) \to r$ equivalent?
  1. Try the row $p$ F, $q$ F, $r$ F.
  2. $(p \land q) \to r$: F → F is T.
  3. $(p \to q) \to r$: $p \to q$ is T, and T → F is F.

Answer: Not equivalent: they differ in that row.

Worked example: Use the biconditional

How could you test the first example with one column?
  1. Build $(p \to q) \leftrightarrow (\neg p \lor q)$.
  2. If it is T in every row, the two are equivalent.

Answer: It is a tautology, so they are equivalent.

Worked example: Two ways to say if and only if

Are $p \leftrightarrow q$ and $(p \land q) \lor (\neg p \land \neg q)$ equivalent?
  1. $p \leftrightarrow q$ is T when the values match: rows TT and FF.
  2. $(p \land q) \lor (\neg p \land \neg q)$ is T when both are T or both are F: the same two rows.
  3. Both are F in the other two rows.

Answer: Equivalent

Notice the difference between being equivalent and merely having the same value in one row. In the row where $p$ and $q$ are both true, $p \land q$ and $p \lor q$ are both T, but they are not equivalent: in the row $p$ T, $q$ F they differ. Equivalence is a claim about every row.

Common mistake

Comparing only the rows where the formulas are true, or deciding by how alike they look. Two formulas can share every T row and still differ where one is F and the other T only if you skipped rows; check every row, T and F alike. And look-alikes are often not equivalent: $(p \land q) \to r$ and $(p \to q) \to r$ differ, as the second example shows.

Equivalences are the raw material of the rules of replacement later in the course (Rules of Replacement). Each of those rules is a pair of equivalent forms, checked once by a truth table and then used anywhere.

More on Teddy Rook BookLogical Equivalence and De Morgan's Laws

Practice

Pass with 3 right answers, the last 2 in a row. Each right answer earns 2 XP.

Loading practice…

Builds on

Leads to

Sources and further reading

  • Patrick J. Hurley and Lori Watson, A Concise Introduction to Logic, 13th ed., section 6.3, comparing statements
  • forall x: Calgary, an open introduction to formal logic (P. D. Magnus, Tim Button and others; Open Logic Project), chapter on semantic concepts, equivalence
@teddyrookbook GitHub