Professional Documents
Culture Documents
Truth Tables
Truth Tables
P Q (PQ)
T T T
T F T
F T T
F F F
Example 2
Let p be “I will clean the kitchen.”
Let q be “I will clean the bathroom.”
Solution
The statement, “I will clean the kitchen or I will clean the
bathroom” is the required disjunction. It will be false only
if both components are false and will be true otherwise.
P Q (PQ)
T T T
T F T
F T T
F F F
Example 3
Let p be “I will pass the math quiz.”
Let q be “I will flunk the math quiz.”
Solution
The statement, “I will pass the math quiz or I
will flunk it” is the required disjunction. It will
only be true when exactly one of the two
components is true. Otherwise, it will be false.
DISJUNCTIONS
b. EXCLUSIVE OR
One or the other, not both
Table 3: Truth Table for the Exclusive Conjunction P or Q (PQ)
P Q (PQ)
T T F
T F T
F T T
F F F
Unless otherwise meant or stated, a disjunction is considered inclusive by default.
NEGATION
If we negate P and P is true, then ~P must be false, and if P
is false, then the ~P must be true. This type of analysis is
shown in Table 4.
Table 4: Truth Table for a Simple Proposition’s Negation
P ~P
T F
F T
Example 4
Construct a truth table for:
a. ~(PQ)
b. ~(PQ)
c. ~(P ~Q)
Solutions
a. ~(PQ)
P Q PQ ~(PQ)
T T
T F
F T
F F
Solutions
b. ~(PQ)
P Q PQ ~(PQ)
T T
T F
F T
F F
Solutions
c. ~(P ~Q)
P Q ~Q P ~Q ~(P ~Q)
T T
T F
F T
F F
INFORMATION
The truth table of compound proposition of n
component statements, each represented by a
different letter, hasnumber of rows.
c. Q ~(PQ)