The problem: Prove that $p↔q$ is logically equivalent to $(p∧q)∨(¬p∧¬q)$.
Work so far:
$p↔q≡(p→q)∧(q→p)$
$≡(¬p∨q)∧(¬q∨p)$
$≡(¬p∨q)∧(p∨¬q)$ by communicative Law
My question: I was thinking I could use the distributive law for the final step, but the way they show it in the book (Discrete Mathematics and its Applications 7ed by Kenneth H. Rosen) it seems it's only applicable for
$(p∨(q∧r)≡(p∨q)∧(p∨r)$ or $(p∧(q∨r)≡(p∧q)∨(p∧r)$.
Am I going about this correctly so far?
v/r