Lecture 3
Lecture 3
Lecture: 3
p q ∼p ∼p∧ q
T T F F
T F F F
F T T T
F F T F
Example 2
Show that ∼(p∧q) and ∼p ∧ ∼q are not logically equivalent
Example 7
The statement form p ∨ ∼ p is tautology:
p ∼p p∨ (∼ p)
T F T
F T T
p∨ (∼ p)=t
Example 9
The statement form p ∧ ∼ p is Contradiction:
p ∼p p∧ (∼ p)
T F F
F T F
p∧ (∼ p)=c
p→q ≡ ∼p∨q
Statement Reason
∼(p→q)≡ ∼(∼p∨ q)
≡ ∼(∼ p) ∧ ∼q by De Morgan’s law
≡p ∧∼q Double Negative Law
Example 12
(1) If today is Friday, then 2 + 3 = 5.
If 2 + 3 =6 5, then today is not Friday.
(2) If it snows today, I will ski tomorrow.
I will not ski tomorrow only if it does not snow today.
(3) If P is a square, then P is a rectangle.
If P is not a rectangle then P is not a square.
(4) If my car is in the repair shop, then I cannot get to class.
If I get to the class, then my car is not in the repair shop.
The last two columns imply that the expressions are equivalent.
Lecture: 3 Discrete Structure 20/10