In addition to classifying formulas, we use truth tables to identify interesting relationships between formulas. To illustrate, consider a truth table for the formulas P∧Q, ¬(P∧Q), ¬P∨¬Q and ¬P∧¬Q:
P
Q
(P∧Q)
¬(P∧Q)
(¬P∨¬Q)
(¬P∧¬Q)
T
T
T
F
F
F
T
F
F
T
T
F
F
T
F
T
T
F
F
F
F
T
T
T
This truth table reveals the following realtionships between the four formulas:
In every row, P∧Q and ¬(P∧Q) have different truth values.
In every row, ¬(P∧Q) and ¬P∨¬Q have the same truth value.
The formulas P∧Q and ¬P∧¬Q are never true in the same row, but there are rows in which they are both false (rows 2 and 3).
There is a row in which the formulas ¬P∨¬Q and ¬P∧¬Q are both true (row 4).
We introduce the following terminology to classify the relationship between formulas.
Tautologically Equivalent
The formulas X and Y are tautologically equivalent if every truth value assignment gives the same truth value to X and Y.
Contradcitory
The formulas X and Y are contradictory if every truth value assignment gives the different truth values to X and Y.
Mutually Exclusive
The formulas X and Y are mutually exclusive, also called contraries, if there is no truth value assignment in which X and Y are both true.
Satisfiable
The formulas X and Y are satisfiable if there is a truth value assignment in which both X and Y are true.
The following is a summary of the procedure to use a truth table to classify two formulas X and Y as either tautologically equivalent, contradictory, satisfiable or mutually exclusive:
There are two important observations about classifying two formulas:
If X and Y are contradictory, then they are also mutually exclusive. But, if X and Y are mutually exclusive, then they may not be contradictory (since there may be a truth value assignment that makes both false).
If X and Y are tautologically equivalent, then they may or may not be satisfiable. For instance, if X and Y are both contradictions, then they are tautologically equivalent, but they are not satisfiable.