Logical Equivalence
Logical Equivalence
Equivalence
Logical Form and Logical Equivalence
The central concept of deductive logic is the concept of
argument form. An argument is a sequence of statements
aimed at demonstrating the truth of an assertion.
Example 1 –
Statements
5
Statements
Most of the definitions of formal logic have been developed
so that they agree with the natural or intuitive logic used by
people who have been educated to think clearly and use
language carefully.
Statements
In logic, the words sentence, true, and false are the
initial undefined terms.
7
Compound Statements
Compound Statements
We now introduce three symbols that are used to build
more complicated logical expressions out of simpler ones.
Compound Statements
Given another statement q, the sentence “p ∧ q” is read
“p and q” and is called the conjunction of p and q.
The sentence “p ∨ q” is read “p or q” and is called the
disjunction of p and q.
10
Compound Statements
In logical expressions, as in ordinary algebraic expressions,
the order of operations can be overridden through the use
of parentheses.
Solution:
a. The given sentence is equivalent to “It is not hot and it is
sunny,” which can be written symbolically as ~h ∧ s.
13
Truth Values
In Example 2 we built compound sentences out of
component statements and the terms not, and, and or.
14
Truth Values
The negation of a statement is a statement that exactly
expresses what it would mean for the statement to be
false.
The truth values for negation are summarized in a truth table.
15
Truth Values
The truth values for conjunction can also be summarized in
a truth table.
Truth Values
Here is the truth table for disjunction:
17
18
Evaluating the Truth of More General Compound
Statements
19
Evaluating the Truth of More General Compound Statements
20
21
Example 4 – Solution
Set up columns labeled p, q, p ∨ q, p ∧ q, ~(p ∧ q),
and (p ∨ q) ∧ ~(p ∧ q).
Example 4 – Solution
Next fill in the ~(p ∧ q) column Finally, fill in the (p ∨ q) ∧ ~(p
by taking the opposites of the ∧ q) column by considering
truth values for p ∧ q. the truth table for an and
statement together with the
computed truth values for p ∨ q
For example, the entry for ~(p
and ~(p ∧ q).
∧ q) in the first row is F
because in the first row the
cont’d
truth value of p ∧ q is T.
23
Example 4 – Solution
cont’d
24
Logical Equivalence
25
Logical Equivalence
The statements
Logical Equivalence
It has to do with the logical form of the statements.
27
Logical Equivalence
The table shows that for each combination of truth values
for p and q, p ∧ q is true when, and only when, q ∧ p is
true.
In such a case, the statement
forms are called logically
equivalent, and we say
that (1) and (2) are
logically equivalent
statements.
28
Logical Equivalence
Testing Whether Two Statement Forms P and Q Are
Logically Equivalent
29
Logical Equivalence
2. Check each combination of truth values of the
statement variables to see whether the truth value of P
is the same as the truth value of Q.
Solution:
31
Logical Equivalence
There are two ways to show that statement forms P and Q
are not logically equivalent. As indicated previously, one is
to use a truth table to find rows for which their truth values
differ.
The other way is to find concrete statements for each of the
two forms, one of which is true and the other of which is
false.
32
33
Example 7 – cont’d
Solution
b. This method uses an example to show that ~(p ∧ q) and
~p ∧ ~q are not logically equivalent. Let p be the
statement “0 < 1” and let q be the statement “1 < 0.”
Then
which is true.
which is false.
34
Example 7 – cont’d
Solution
This example shows that there are concrete statements
you can substitute for p and q to make one of the
statement forms true and the other false.
Logical Equivalence
The two logical equivalences are known as De
Morgan’s laws of logic in honor of Augustus De
Morgan, who was the first to state them in formal
mathematical terms.
36
Logical Equivalence
Symbolically we can represent the two logic equivalences
as:
and
37
pounds. b. The bus was not late and Tom’s watch was not
slow.
39
Doesn’t that violate De
Example 11 – A
Cautionary Morgan’s laws?
Example
Actually no violation occurs.
When it is so written, another The reason is that in formal
way to negate it is ~(p′): Jim is logic the words and and or are
not tall and thin. allowed only between
complete statements, not
between sentence fragments.
But in this form the negation
cont’d
looks like an and statement.
40
Example 11 – A Cautionary
apply De Morgan’s laws, you
Example must have complete
43
Example 13 – Logical Equivalence Involving Tautologies and Contradictions
If t is a tautology and c is a contradiction, show that
p ∧ t ≡ p and p ∧ c ≡ c.
Solution:
44
46
Solution:
Use the laws of Theorem 2.1.1 to replace sections of the
statement form on the left by logically equivalent
expressions.
48
Example 14 – Solution cont’d
Continue making replacements until you obtain the
statement form on the right.
49