Answer to Question #267729 in Discrete Mathematics for omar mahdy

Question #267729

 Show that p ↔ q and (p ∧ q) ∨ (¬p ∧ ¬q) are logically equivalent.



1
Expert's answer
2021-11-18T09:42:44-0500

1)First method

Lets make truth value table of both statements. Lets denote p ↔ q as S1, (p ∧ q) as A, (¬p ∧ ¬q) as B, (p ∧ q) ∨ (¬p ∧ ¬q) as S2.

| p | q | A | B | S2 | S1 |

| T | T | T | F | T | T |

| T | F | F | F | F | F |

| F | T | F | F | F | F |

| F | F | F | T | T | T |

2)Second method

"p \u2194 q = (p \\to q) \\land (q \\to p) = (\\lnot p \\lor q) \\land (\\lnot q \\lor p) ="

"=(\\lnot p \\land( \\lnot q \\lor p)) \\lor (q \\land (\\lnot q \\lor p))=((\\lnot p \\land \\lnot q)\\lor(\\lnot p \\land p)) \\lor ((q \\land \\lnot q)\\lor(p \\land q))"

"(\\lnot p \\land p)" is always false, as well as "(q \\land \\lnot q)", since "(x \\lor False)" is true only if x is true, "(x \\lor False) =x". Using this we can remove "(\\lnot p \\land p)" and "(\\lnot q \\land q)", which gives as

"p \u2194 q =(p \\land q) \\lor (\\lnot p \\land \\lnot q)"


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS