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
Why it works
Worked examples
Worked example: Conditional and disjunction
- Column for $p \to q$: T, F, T, T.
- Column for $\neg p \lor q$: $\neg p$ is F, F, T, T, so the disjunction is T, F, T, T.
- The columns match.
Answer: Equivalent
Worked example: A look-alike that is not
- Try the row $p$ F, $q$ F, $r$ F.
- $(p \land q) \to r$: F → F is T.
- $(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
- Build $(p \to q) \leftrightarrow (\neg p \lor q)$.
- 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
- $p \leftrightarrow q$ is T when the values match: rows TT and FF.
- $(p \land q) \lor (\neg p \land \neg q)$ is T when both are T or both are F: the same two rows.
- 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
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.