DS Lecture 4
DS Lecture 4
DS Lecture 4
Biconditional
BICONDITIONAL
T T T T T T
T F F F T F
F T F T F F
F F T T T T
p q pq ~q ~p ~ q ~ p (pq) (~ q ~ p)
T T T F F T T
T F F T F F T
F T T F T T T
F F T T T T T
TRUTH TABLE FOR
(pq)(rq)
p q r pq rq (pq)(rq)
T T T T T T
T T F T F F
T F T F F T
T F F F T F
F T T F T F
F T F F F T
F F T T F F
F F F T T T
TRUTH TABLE FOR
p ~r qr
LOGICAL EQUIVALENCE
INVOLVING BICONDITIONAL
Show that ~pq and p~q are logically equivalent
p q ~p ~q ~pq p~q
T T F F F F
T F F T T T
F T T F T T
F F T T F F
same truth values
EXERCISE:
Show that ~(pq) and pq are logically equivalent
p q pq ~(pq) pq
T T F T T
T F T F F
F T T F F
F F F T T
same truth values
LAWS OF LOGIC:
1. Commutative Law: pqqp
2. Implication Laws: p q ~p q
~(p ~q)
3. Exportation Law: (p q)r p (q r)
4. Equivalence: p q (p q)(q p)
5. Reductio ad absurdum p q (p ~q) c
APPLICATION:
Rewrite the statement forms without using the symbols or
1. p~qr 2. (pr)(q r)
SOLUTION
1. p~qr (p~q)r order of operations
~(p~q) r implication law
2. (pr)(q r) (~p r)(~q r) implication law
[(~p r) (~q r)] [(~q r) (~p r)]
equivalence of biconditional
[~(~p r) (~q r)] [~(~q r) (~p r)]
implication law
Rewrite the statement form ~p q r ~q to a logically equivalent form that uses
only ~ and
SOLUTION
STATEMENT REASON
~p q r ~q Given statement form
(~p q) (r ~q) Order of operations
~[(~p q) ~ (r ~q)] Implication law pq ~(p~ q)
~[~(p ~q) (~r q)] De Morgan’s law
Show that ~(pq) p is a tautology without using truth tables.
SOLUTION
STATEMENT REASON
EXERCISE:
Suppose that p and q are statements so that pq is false. Find the truth values
of each of the following:
1. ~ p q
2. p q
3. q p
SOLUTION
1. TRUE
2. TRUE
3. FALSE