Skip to content

Tautologies and Logical Equivalence

Some propositions are true no matter what values their variables take. Recognising these, and recognising when two different-looking expressions always have the same value, is how we simplify logic in proofs, code and circuits.

TautologyAll Te.g. p ∨ ¬p
ContradictionAll Fe.g. p ∧ ¬p
ContingencyA mix of T and Fe.g. p → q
Classifying a proposition by its final truth-table column

Two propositions AA and BB are logically equivalent, written A≡BA \equiv B, if they have the same truth value in every row. Equivalently, A↔BA \leftrightarrow B is a tautology.

Worked example: p→q≡¬p∨qp \to q \equiv \lnot p \lor q

Section titled “Worked example: p→q≡¬p∨qp \to q \equiv \lnot p \lor qp→q≡¬p∨q”
ppqqp→qp \to q¬p\lnot p¬p∨q\lnot p \lor q
TTTFT
TFFFF
FTTTT
FFTTT

The columns for p→qp \to q and ¬p∨q\lnot p \lor q match in every row, so they are equivalent.

¬(p∧q)≡¬p∨¬q¬(p∨q)≡¬p∧¬q\lnot(p \land q) \equiv \lnot p \lor \lnot q \qquad \lnot(p \lor q) \equiv \lnot p \land \lnot q

In words: to negate an “and”, negate each part and switch to “or” (and vice versa). You use this every time you simplify a condition like !(a && b) in code.

  • Negating each part but forgetting to switch ∧\land and ∨\lor.
  • Checking only some rows. Equivalence needs every row to match.
  • Tautology: always true. Contradiction: always false. Contingency: neither.
  • A≡BA \equiv B means identical truth-table columns, i.e. A↔BA \leftrightarrow B is a tautology.
  • p→q≡¬p∨qp \to q \equiv \lnot p \lor q.
  • De Morgan: ¬(p∧q)≡¬p∨¬q\lnot(p \land q) \equiv \lnot p \lor \lnot q and ¬(p∨q)≡¬p∧¬q\lnot(p \lor q) \equiv \lnot p \land \lnot q.

4 questions. Pick an answer to check it, or open "Show answer".

  1. Which of the following is a tautology?

    Show answer

    Answer: B. p∨¬pp \lor \lnot p

    Explanation: Either pp or ¬p\lnot p is always true, so their disjunction is true in every row. p∧¬pp \land \lnot p is the opposite: a contradiction.

  2. By De Morgan’s law, ¬(p∨q)\lnot(p \lor q) is equivalent to:

    Show answer

    Answer: C. ¬p∧¬q\lnot p \land \lnot q

    Explanation: Negate each part and switch “or” to “and”. The tempting ¬p∨¬q\lnot p \lor \lnot q forgets to switch the connective; it is the negation of p∧qp \land q instead.

  3. Which expression is logically equivalent to p→qp \to q?

    Show answer

    Answer: B. ¬p∨q\lnot p \lor q

    Explanation: The truth tables match in every row. q→pq \to p (the converse) and ¬p→¬q\lnot p \to \lnot q (the inverse) are common traps; neither is equivalent to the original.

  4. A compound proposition is true in some rows and false in others. It is called a:

    Show answer

    Answer: C. Contingency

    Explanation: A contingency is neither always true nor always false. Most everyday propositions, like p→qp \to q, are contingencies.

© 2026 Navninder Singh Benipal. Free to read and study. Licensed under CC BY-NC-ND 4.0: share the link, but please don't republish or sell these notes.