Lesson 7
Lesson 7
Learning Outcomes
By the end of this lesson, students will be able to;
P ≡ Q.
In other words P and Q are logically equivalent if the final columns of their truth tables are
the same.
Example 7.1
Show that the negation of p → q is logically equivalent to p ∧ ¬q.
Solution.
Consider the below truth table for P ≡ ¬(p → q) and Q ≡ p ∧ ¬q.
Comparing the columns of truth table for ¬(p → q) and for p ∧ ¬q we note that the
truth values are same for each row of the table. Thus ¬(p → q) and p ∧ ¬q are logically
equivalent.
1
2 ITE 1812 - Mathematic for IT
Example 7.2
Verify that the following two propositions, (a) and (b), are logically equivalent.
Solution.
We can define the following three propositions.
p : I go to the university.
q : I study a lot.
r : I0 ll be a graduate.
Comparing the columns for p → (q → r) and for (p ∧ q) → r we note that the truth
values are same for each raw. Therefore, p → (q → r) and (p ∧ q) → r are logically
equivalent.
2
Degree of Bachelor of Information Technology 3
Example 7.3
Solution.
To prove (p ∧ q) ⇒ (q ∧ p) we have to show that (p ∧ q) → (q ∧ p) is a tautology.
According to the above truth table only truth value ‘T’ occurs in the last column. There-
fore, (p ∧ q) → (q ∧ p) is a tautology.
Self-Assessment Exercises
1. Show that each of the following compound propositions are logically equivalent.
(a) p q ≡ ¬q ¬p
(b) ¬(p q) ≡ p ∧ (¬q)
(c) (p ↔ ¬q) ≡ (q ↔ ¬p)
(d) p → q ≡ ¬p ∨ q
(a) p ⇒ (q → p)
(b) [(p ∨ q) ∧ ¬q] ⇒ p
(c) (p ∧ q) ⇒ p
(d) p ∧ (p → q) ⇒ q
Suggested Reading
Chapter 1: Kenneth Rosen, (2011) Discrete Mathematics and Its Applications, 7th Edition,
McGraw-Hill Education.