2.1 Logical Form and Logical Equivalence: Irrational Numbers
2.1 Logical Form and Logical Equivalence: Irrational Numbers
3
Denition
If p and q are statement variables,
the of p is not p, denoted .
the of p and q is p and q, denoted .
the of p and q is p or q, denoted .
What is the dierence between and ?
Example 2
Write each of the following symbolically.
1. Let p = we vacation at Virginia Beach, q = we vacation at Disney World, and r = we
vacation at the Jersey Shore.
(a) We vacation at Virginia Beach and the Jersey Shore, but we do not vacation at
Disney World.
(b) We neither vacation at the Jersey Shore nor at Disney World, but we do vacation
at Virginia Beach.
2. a x b
4
Truth Table
Recall that if a sentence is a statement, then it must have well-dened .
The for a given statement form gives the truth values that correspond
for all combinations of truth values for the component statement variables.
p q p p q p q p q
T T
T F
F T
F F
Logical Equivalence
Denition
We say that two statement forms are if, and only if,
they have identical truth values for each possible substitution of statements for their
statement variables.
If statement forms P and Q are logically equivalent then we note that .
Example 3
1. Show that ( p) p.
2. Show that (p q) and p q are not logically equivalent.
What does this tell us?
5
In the previous example we showed that (p q) p q. So how do we negate the
disjunction of p and q?
De Morgans Laws
The negation of an statement is logically equivalent to the statement in
which each compound is negated.
(p q)
The negation of an statement is logically equivalent to the statement in
which each compound is negated.
(p q)
Example 4
Write the negations of the following.
1. Miley Cyrus is a timid, respectable performer.
2. It will either rain or it will be sunny tomorrow.
3. x < 2e
6
Denition
A is a statement form that is always true regardless of the truth values
of the individual statements substituted for its statement values. It is denoted by .
A is a statement form that is always false regardless of the truth
values of the individual statements substituted for its statement variables. It is denoted
by .
Example 5
1. Show that p p is a tautology and that p p is a contradiction.
p p p p p p
T
F
2. Show that p t p and p c c.
p t c p t p c
T
F
Is propositional calculus (logic) a Boolean algebra?
7
Table of Logical Equivalences
Commutative Laws p q q p p q q p
Associative Laws (p q) r p (q r) (p q) r p (q r)
Distributive Laws p (q r) (p q) (p r) p (q r) (p q) (p r)
Identity Laws p t p p c p
Negation Laws p p t p p c
Double Negative Laws ( p) p
Idempotent Laws p p p p p p
Universal Bound Laws p t t p c c
De Morgans Laws (p q) p q (p q) p q
Absorption Laws p (p q) p p (p q) p
Negation of t and c t c c t
Group Work
Complete the following problems in groups of 2 or 3.
1. Determine if (p q) (p r) and (p q) r are logically equivalent.
2. Determine if ( p q) (p q) is a tautology, contradiction, or neither.
3. Write the following statement using symbols. Then use De Morgans laws to negate it.
Virginia Tech is a football school and it is the largest collegiate fundraiser for Relay
for Life.
9