You have 3 free guides left 😟
Unlock your guides
You have 3 free guides left 😟
Unlock your guides

2.3 Truth Tables: Construction and Interpretation

3 min readjuly 22, 2024

Truth tables are powerful tools for analyzing logical statements. They help us determine the truth values of complex propositions by systematically evaluating all possible combinations of atomic propositions.

By constructing and interpreting truth tables, we can identify tautologies, contradictions, and contingencies. We can also use them to prove logical equivalence between different formulas, providing a foundation for more advanced logical reasoning.

Truth Tables

Truth tables for propositional formulas

Top images from around the web for Truth tables for propositional formulas
Top images from around the web for Truth tables for propositional formulas
  • Identify the atomic propositions (variables) in the formula (p, q, r)
  • Determine the number of rows needed in the
    • The number of rows is 2n2^n, where nn is the number of atomic propositions (23=82^3 = 8 rows for 3 variables)
  • List all possible combinations of truth values (T, F) for the atomic propositions
    • Use a , such as binary counting, to ensure all combinations are included (000, 001, 010, 011, 100, 101, 110, 111)
  • Evaluate the of the formula for each row
    • Apply the rules for each connective used in the formula
      • (¬\neg): If pp is true, then ¬p\neg p is false, and vice versa (NOT gate in digital logic)
      • (\land): pqp \land q is true only when both pp and qq are true (AND gate in digital logic)
      • (\lor): pqp \lor q is true when at least one of pp or qq is true (OR gate in digital logic)
      • (\rightarrow): pqp \rightarrow q is false only when pp is true and qq is false (if-then statement in programming)
      • (\leftrightarrow): pqp \leftrightarrow q is true when pp and qq have the same truth value (XNOR gate in digital logic)
  • Complete the truth table by filling in the truth values (T, F) for the formula in each row

Truth values of compound statements

  • Identify the connectives used in the compound statement (¬\neg, \land, \lor, \rightarrow, \leftrightarrow)
  • Break down the compound statement into its component propositions (simpler statements connected by connectives)
  • Assign truth values to the component propositions (T, F)
  • Apply the rules for each connective to determine the truth value of the compound statement
    1. Work from the innermost parentheses outward (order of operations)
    2. Use the truth values of the component propositions to evaluate each connective (refer to the rules for each connective)

Interpretation of truth tables

  • : A formula that is always true, regardless of the truth values of its atomic propositions
    • In the truth table, the formula column contains only true (T) values (e.g., p¬pp \lor \neg p)
  • : A formula that is always false, regardless of the truth values of its atomic propositions
    • In the truth table, the formula column contains only false (F) values (e.g., p¬pp \land \neg p)
  • : A formula that is neither a tautology nor a contradiction
    • In the truth table, the formula column contains both true (T) and false (F) values (e.g., pqp \land q)
  • Satisfiability: A formula is satisfiable if there exists at least one assignment of truth values to its atomic propositions that makes the formula true
    • In the truth table, the formula column contains at least one true (T) value (e.g., pqp \lor q)

Logical equivalence through truth tables

  • Construct truth tables for the formulas being compared (e.g., pqp \rightarrow q and ¬pq\neg p \lor q)
  • Ensure that the atomic propositions are listed in the same order for both truth tables (p, q)
  • Compare the formula columns of the truth tables
    • If the formula columns are identical, the formulas are logically equivalent (e.g., pq¬pqp \rightarrow q \equiv \neg p \lor q)
    • If the formula columns differ in at least one row, the formulas are not logically equivalent (e.g., pq≢pqp \land q \not\equiv p \lor q)
  • Common logical equivalences:
    • : ¬(pq)¬p¬q\neg (p \land q) \equiv \neg p \lor \neg q and ¬(pq)¬p¬q\neg (p \lor q) \equiv \neg p \land \neg q
    • : ¬(¬p)p\neg (\neg p) \equiv p
    • Implication: pq¬pqp \rightarrow q \equiv \neg p \lor q
    • Biconditional: pq(pq)(qp)p \leftrightarrow q \equiv (p \rightarrow q) \land (q \rightarrow p)
© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.


© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.

© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.
Glossary
Glossary