Advertisement

Using the truth table, prove the following logical equivalence. p ↔ q ≡ ~(p ∧ ~q) ∧ ~(q ∧ ~p)

QUESTION

Miscellaneous Exercise 1 | Q 4.14 | Page 33

Using the truth table, prove the following logical equivalence.

p ↔ q ≡ ~(p ∧ ~q) ∧ ~(q ∧ ~p)


SOLUTION

12345678910
pq~p~qp↔qp∧~q~(p∧~q)(q∧~p)~(q∧~p)~(p∧~q)∧~(q ∧ ~p)
TTFFTFTFTT
TFFTFTFFTF
FTTFFFTTFF
FFTTTFTFTT

In the above truth table, the entries in columns 5 and 10 are identical.

∴ p ↔ q ≡ ~(p ∧ ~q) ∧ ~(q ∧ ~p)