MMW Module 2 Math Logic
MMW Module 2 Math Logic
Prepared by:
Ma. Nelia B. Abiera-Soriano, MAEd
The invention of logic is attributed to the ff:
ˇ Disjunction or
→
Conditional If - then
↔
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 pq p pq (pq) (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 1r p r2
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
pq qp
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
pq qp
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
pq qp
inverses contra positives inverses
converses
p q q p
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
Example