Canadian flagMath101 · Independent Ontario learning libraryCreated and edited by Kamran
Discrete MathematicsUniversity3 min read

Truth Tables

A systematic guide to constructing truth tables, evaluating compound statements, and recognizing tautologies and equivalence.

Cheat sheet

Precise definition

A truth table lists the truth value of a compound proposition for every assignment of its atomic propositions. With $n$ distinct atomic propositions there are $2^n$ rows. A tautology is true on every row, a contradiction false on every row, and a contingency true on some rows and false on others.

Notation and mathematical language

Standard precedence is often $\neg$, then $\land$, then $\lor$, then $\to$, then $\leftrightarrow$, but parentheses are safest. The implication $P\to Q$ is false only on the row $P=T,Q=F$. Two formulas are equivalent when their final columns agree on all rows.

Conceptual picture

Intermediate columns turn a complicated sentence into small, checkable operations. A consistent row order—such as blocks of $T$ and $F$ whose lengths halve from left to right—ensures no assignment is omitted or duplicated.

Conditions and key results

Every distinct atomic variable must vary independently unless the problem gives a relationship. The table proves a truth-functional claim only when all $2^n$ rows are present. Natural-language predicates with unspecified domains may require quantifier analysis, not only propositional truth tables.

A reliable strategy

  1. List the atomic propositions and create exactly $2^n$ systematically ordered rows.
  2. Add columns from the innermost subexpressions outward, respecting parentheses.
  3. Compute each row using the connective definitions, especially the single false implication case.
  4. Use the final column to classify the formula or compare complete final columns for equivalence.

Fully worked example

Interpretation and application

Truth tables verify small digital circuits, access rules, and program conditions. Their row count grows exponentially, so algebraic laws, proof, or automated methods become preferable for many variables; the table remains an exact reference for the connectives.

Common mistakes

Verification and reasonableness

  • Count rows and verify each truth assignment appears exactly once.
  • Recompute the potential falsifying row of every implication.
  • For a claimed tautology or equivalence, scan the entire final column rather than selected examples.

Practice

  1. How many rows are required for four atomic propositions?
  2. Evaluate $T\to F$.
  3. What classification has final column $T,T,T,T$?
Answers and brief solutions
  1. $2^4=16$.
  2. False.
  3. A tautology.

Further deduction

Truth tables also test argument validity. For premises $P_1,\ldots,P_k$ and conclusion $C$, inspect only rows on which every premise is true; the argument is valid exactly when $C$ is true on all such rows. Equivalently, $(P_1\land\cdots\land P_k)\to C$ is a tautology. Rows with a false premise cannot be counterexamples to validity, which parallels the truth definition of implication. For modus ponens, the premises are $P\to Q$ and $P$. The only rows where both premises are true also have $Q$ true, so the argument is valid. For affirming the consequent, $P\to Q$ and $Q$ can both be true while $P$ is false, exposing the invalid pattern with one counterexample row.

A table for $n$ independent proposition letters has $2^n$ rows, so exhaustive enumeration grows exponentially. Structural equivalence laws, satisfiability algorithms, or a strategically chosen countervaluation can be more efficient, but each method must preserve the same Boolean semantics.

Check your understanding

Try it yourself

Hints are part of learning. Open one whenever it makes the next step feel possible.

1 practice question
Question 1Count truth-table rows · Standard

How many rows does a truth table with 5 independent propositions require?

End of lesson

Nice work making it this far.

Understanding grows through return visits. Save this lesson, try the practice, or continue when you are ready.

Lesson complete

That one is yours now.

Truth Tables is saved to My Learning. Take the win—you earned it.

1Your Math101 collectionlesson completed
Search 464 published lessons, 123 answer guides, courses, and learning tools.
Your experience

Settings

Ontario math tutoringWork with KamranBook ↗