Professional Documents
Culture Documents
↔
Biconditional If and only if
Truth Tables for Compound Propositions
Logical Equivalences
Compound propositions that have the same
truth values in all possible cases are called
logically equivalent.
Definition
The propositions p and q are called
logically equivalent if p q is a tautology.
The notation p q denotes that p and q
are logically equivalent.
Illustration1
Show that p → q and p q are logically
equivalent.
p q p→q p pq (p→q) (pq)
T T T F T T
T F F F F T
F T T T T T
F F T T T T
Illustration 2
Show that the statements “ If you study hard and attend
every meeting then you get a good grade” and “ If you do
not get a good grade then you either do not study hard or
you do not attend every meeting” are logically equivalent.
Let p : You study hard.
q : You attend every meeting.
r : You get a good grade.
(p q) → r
If you study hard and attend every
meeting then you get a good grade.
r → ( p q)
If you do not get a good grade then you
either do not study hard or you do not
attend every meeting.
p q r p q r pq 1→r p r→2
q
1 2
T T T F F F T T F T
T T F F F T T F F F
T F T F T F F T T T
T F F F T T F T T T
F T T T F F F T T T
F T F T F T F T T T
F F T T T F F T T T
F F F T T T F T T T
There are three related conditional statements
that can be derived from a given conditional.
These are the converse, inverse, and
contrapositive.
• The converse of p → q is q → p.
• The inverse of p → q is p → q.
converses
p→q q→p
converses
p → q q → p
The Converse and the Inverse
• The converse of p → q is q → p.
• The inverse of p → q is p → q.
converses
p→q q→p
inverses inverses
converses
p → q q → p
The Converse and the Inverse
• The converse of p → q is q → p.
• The inverse of p → q is p → q.
converses
p→q q→p
inverses contra positives inverses
converses
p → q q → p
“If I get my salary today, then I treat you to dinner”
p:
q:
p→ q
RULES OF REPLACEMENT
pTp
pFp Identity Laws
p p F
pTT
Domination Laws
pFF
ppp
Idempotent Laws
ppp
(p) p Double Negation
pqqp
Commutative Laws
pq qp
(p q) r p (q r)
Associative Laws
(p q) r p (q r)
p (q r) (p q) (p r)
Distributive Laws
p (q r) (p q) (p r)
(p q) p q
De Morgan’s Laws
(p q) p q
(p → q) p q Material Implication
(p q) (p → q) (q → p) Material Equivalence
p (p q) p
Absorption
p (p q) p
(pvq)vr pv(qvr)
p q r pvq (p vq)vr pv (qvr)
Example
p q p (p q) (p q) (p q) p q
Show that q [(p q) (p q)] p q.
Show that [ p (p q) ] and p q
are logically equivalent.
p q [ p (p q) ] p (p q) (p q) (p q) p q
T T F T F T T F F F
T F F T T F T F F T
F T F T T F T T F F
F F F T T F F T T T
Show that q [(p q) (p q)] p q
T T T T T T T T
T F T T T F T T
F T T T T F T T
F F F F F F T F