5/9 5. Truth Tables

A progressive guide to constructing truth tables, evaluating logical connectives, classifying propositions, testing equivalence, and assessing argument validity.

Basic propositions and connectives

A proposition is a statement that has one of two truth values: TT for true or FF for false. Lowercase letters such as pp, qq, and rr represent basic propositions. A compound proposition combines basic propositions with logical connectives.

A connective is truth-functional when the truth value of the compound expression is determined entirely by the truth values of its component propositions. The main connectives are:

  • Negation: ¬p\neg p, read as “not pp.” It reverses the truth value.

  • Conjunction: p∧qp \land q, read as “pp and qq.” It is true only when both components are true.

  • Disjunction: p∨qp \lor q, read as “pp or qq.” In standard logic, it is inclusive and is true when at least one component is true, including when both are true.

  • Conditional: p→qp \to q, read as “if pp, then qq.”

  • Biconditional: p↔qp \leftrightarrow q, read as “pp if and only if qq.”

The connective determines the truth condition for the compound proposition. For example, p∧qp \land q requires two true components, while p∨qp \lor q requires at least one true component.

Takeaway: Identify the basic propositions first, then identify the connective that determines how their truth values combine.

Truth conditions for the connectives

The individual connectives can be understood by focusing on the rows that make them true or false.

  • Negation: ¬p\neg p is true when pp is false, and false when pp is true.

  • Conjunction: p∧qp \land q is true only in the T,TT,T case. Every case containing at least one FF makes it false.

  • Disjunction: p∨qp \lor q is false only in the F,FF,F case. It is true in the other three cases.

  • Conditional: p→qp \to q is false only in the T,FT,F case. Here, the condition occurs but the promised result does not. The is pp, and the is qq.

  • Biconditional: p↔qp \leftrightarrow q is true when the two components match: both are true or both are false.

For example, if pp means “the light is on,” then ¬p\neg p means “the light is not on.” If pp means “the door is open” and qq means “the alarm is on,” then p∧qp \land q is true only when both statements are true.

Takeaway: Memorize the exceptional rows: conjunction is true only at T,TT,T; disjunction is false only at F,FF,F; a conditional is false only at T,FT,F; and a biconditional is true when values match.

Determining the number of rows

A must contain one row for every possible assignment of truth values to the distinct basic propositions. If there are nn distinct basic propositions, the table requires

2n2^n

rows. Thus, one proposition requires 21=22^1=2 rows, two propositions require 22=42^2=4 rows, three propositions require 23=82^3=8 rows, and four propositions require 24=162^4=16 rows.

For two propositions, the assignments are TTTT, TFTF, FTFT, and FFFF. Each assignment must appear exactly once. With three propositions, every combination of TT and FF across pp, qq, and rr must appear.

A is therefore complete only when it includes all assignments, without omissions or repetitions.

Takeaway: Count the distinct basic propositions before writing rows, and use 2n2^n to determine the required total.

Building a compound

Construct a compound-proposition table in a fixed sequence:

  1. List the distinct basic propositions.

  2. Calculate the number of rows with 2n2^n.

  3. List every possible assignment of TT and FF.

  4. Add a column for each important intermediate expression.

  5. Evaluate from the inside out, following parentheses and connective precedence.

  6. Use the final column to classify the proposition or answer the logical question.

Unless parentheses specify another grouping, the usual order is

¬before∧before∨before→before↔.\neg \quad\text{before}\quad \land \quad\text{before}\quad \lor \quad\text{before}\quad \to \quad\text{before}\quad \leftrightarrow.

For ¬p∨q\neg p \lor q, first calculate ¬p\neg p, then combine that result with qq. The final expression is false only when pp is true and qq is false.

For (p∨q)∧¬q(p \lor q) \land \neg q, calculate p∨qp \lor q and ¬q\neg q in separate intermediate columns. The final expression is true only when at least one of pp and qq is true while qq itself is false; this occurs when pp is true and qq is false.

Parentheses are essential. The expressions ¬(p∧q)\neg(p \land q) and (¬p)∧q(\neg p) \land q do not generally have the same truth value.

Takeaway: Intermediate columns make each operation visible and reduce errors in the final column.

Reading truth conditions

The truth conditions of a proposition describe exactly the circumstances under which it is true. A makes those circumstances explicit by checking every possible assignment.

  • p∧qp \land q is true when both pp and qq are true.

  • p∨qp \lor q is true when at least one of pp and qq is true.

  • p→qp \to q is false only when pp is true and qq is false.

  • p↔qp \leftrightarrow q is true when pp and qq have matching truth values.

This perspective is useful when explaining a result in words. Instead of merely reporting the final column, state which assignments make the proposition true or false.

For example, the proposition p∨¬pp \lor \neg p is true whether pp is true or false. Its truth condition covers every possible assignment. By contrast, p∧¬pp \land \neg p has no assignment under which it is true.

Takeaway: Read a completed table as a precise description of the situations in which the proposition succeeds or fails.

Classifying propositions

Inspect the final column after the table is complete.

  • A has only TT values. It is true under every possible assignment. For example, p∨¬pp \lor \neg p is a , and so is p→pp \to p.

  • A has only FF values. It cannot be true under any assignment. For example, p∧¬pp \land \neg p is a .

  • A has both TT and FF values. Its truth depends on the assignment. For example, p∧qp \land q is a because it is true when both components are true and false in the other cases.

Do not classify a proposition from a single row. The classification depends on the entire final column.

Takeaway: All TT means , all FF means , and a mixture means .

Testing logical equivalence

To test whether two propositions are , compare their truth values row by row using the same assignments. They are equivalent exactly when their columns match on every row. The notation is

P≡Q.P \equiv Q.

For example, De Morgan’s law states

¬(p∧q)≡¬p∨¬q.\neg(p \land q) \equiv \neg p \lor \neg q.

Build columns for p∧qp \land q, ¬(p∧q)\neg(p \land q), ¬p\neg p, ¬q\neg q, and ¬p∨¬q\neg p \lor \neg q. The two final expressions have identical values on all four rows, so the equivalence is established.

A difference on even one row is enough to show that the propositions are not .

Takeaway: Equivalence requires complete row-by-row agreement, not merely agreement on some examples.

Testing argument validity

Truth tables test an argument by looking for a counterexample: a row on which every premise is true while the conclusion is false. If no such row exists, the argument is .

An equivalent method combines the premises into one conjunction and makes the conclusion the of a conditional. For premises P1P_1, P2P_2, and so on, test

(P1∧P2∧⋯ )→C.(P_1 \land P_2 \land \cdots) \to C.

If this conditional is a , the argument is .

For the argument with premises p→qp \to q and pp, and conclusion qq, test

[(p→q)∧p]→q.[(p \to q) \land p] \to q.

Its final column contains only TT, so the argument is . The row where pp is true and qq is false cannot serve as a counterexample because the premise p→qp \to q is false on that row.

Takeaway: An argument fails only when all premises are true and the conclusion is false; otherwise, the argument is .

Avoiding common errors

Most errors come from incomplete enumeration or incorrect evaluation. Check the following points:

  • Use 2n2^n rows for nn distinct basic propositions.

  • Include every assignment exactly once.

  • Treat standard disjunction as inclusive: p∨qp \lor q is true when both components are true as well as when only one is true.

  • Remember that a conditional is false only in the T,FT,F case, not whenever its is false.

  • Respect parentheses; changing the grouping can change the proposition.

  • Compute intermediate expressions in separate columns.

  • Inspect all rows before deciding whether the result is a , , or .

A reliable final check is to compare the number of rows with 2n2^n, verify that each row is unique, and recalculate every final-column value from its intermediate columns.