Professional Documents
Culture Documents
3
Logic
3
Truth Tables
In this section, we consider methods of constructing truth
tables for a statement that involves a combination of
conjunctions, disjunctions, and/or negations.
Solution:
a. Start with the standard truth table form and then include
a column.
5
Example 1 – Solution cont’d
6
Example 1 – Solution cont’d
the following.
7
Example 1 – Solution cont’d
10
Alternative Method for the Construction of a Truth Table
11
Example 3 – Use the Alternative Procedure to Construct a Truth Table
Solution:
Step 1: The given statement has the two
simple statements p and q. Thus we start with a
standard form that has 22 = 4 rows.
12
Example 3 – Solution cont’d
13
Example 3 – Solution cont’d
14
Example 3 – Solution cont’d
15
Equivalent Statements
16
Equivalent Statements
Two statements are equivalent if they both have the same
truth value for all possible truth values of their simple
statements. Equivalent statements have identical truth
values in the final columns of their truth tables.
17
Example 4 – Verify That Two Statements Are Equivalent
Solution:
Construct two truth tables and compare the results. The
truth tables below show that and have the
same truth values for all possible truth values of their
simple statements. Thus the statements are equivalent.
18
Equivalent Statements
These equivalences are known as De Morgan’s laws for
statements.
19
Example 5 – State an Equivalent Form
Use one of De Morgan’s laws to restate the following
sentence in an equivalent form.
It is not true that, I graduated or I got a job.
Solution:
Let p represent the statement “I graduated.” Let q represent
the statement “I got a job.” In symbolic form, the original
sentence is . One of De Morgan’s laws states that
this is equivalent to .
21
Tautologies and Self-Contradictions
A tautology is a statement that is always true.
22
Example 6 – Verify Tautologies and Self-Contradictions
Solution:
Enter the truth values for each simple statement and its
negation as shown in the columns numbered 1, 2, and 3.
23
Example 6 – Solution cont’d
Thus is a tautology.
24