DS Lec 2
DS Lec 2
DS Lec 2
Lecture 2
Logical Equivalence
Definition:
Two proposition form are called logically Equivalent if and only if
they have identical truth values for each possible substitution of
proposition for their proposition variable.
P≡Q
Equivalence of two compound
proposition P and Q
Solution:
p ¬p ¬(¬p)
T F T
F T F
F T T F F T F
F F T T F T T
De Morgan’s Law
De Morgan’s Law States that:
1. ¬(pʌq) ≡ ¬p˅¬q
2. ¬(p ˅ q) ≡ ¬pʌ¬q
Applying De Morgan’s Law)
-1>=x OR x>4
Tautology and Contradiction
Definition: A tautology is a proposition form that is
always true regardless of the truth values of the
individual proposition substituted for its proposition
variables. A proposition whose form is tautology is
called tautological proposition.
p ¬p p˅¬p pʌ¬p
T F T F
F T T F
2. Associative laws:
pʌ(qʌr) ≡ (pʌq)ʌr; p˅(q˅r) ≡ (p˅q)˅r
3. Distributive laws:
pʌ (q˅r) ≡ (pʌq)v(pʌr)
p ˅ (qʌr) ≡ (pvq) ʌ(pvr)
Laws of Logic cont…
1. Identity laws:
pʌt ≡ p; p˅c ≡ p
2. Negation laws:
pv¬p ≡ t; pʌ¬p ≡ c
pvt ≡ t; pʌc ≡ c
9. Absorption Laws:
pʌ(pvq) ≡ p; pv(pʌq) ≡ p
10. Negation of t and c
¬t ≡ c; ¬c ≡t
Compound Propositions
Lecture Summery
• Logical equivalence
• Equivalence Check
• Tautologies and Contradictions
• Laws of logic
• Simplification of compound proposition