a) Let us find the truth table for p⊕p and (p⊕p)⊕p:
p01p⊕p00(p⊕p)⊕p01
It follows that p⊕p≡0 and (p⊕p)⊕p≡p.
b) Let us find the truth table for (p⊕q)⊕r and p⊕(q⊕r):
p00001111q00110011r01010101p⊕q00111100(p⊕q)⊕r01101001q⊕r01100110p⊕(q⊕r)01101001
Since the formulas (p⊕q)⊕r and p⊕(q⊕r) have the same truth value in all cases, they are logically equivalent. It follows that (p⊕q)⊕r≡p⊕(q⊕r).
c) Let us find the truth table for (p⊕q)∧r and (p∧r)⊕(q∧r):
p00001111q00110011r01010101p⊕q00111100(p⊕q)∧r00010100p∧r00000101q∧r00010001p∧r⊕q∧r00010100
Since the formulas (p⊕q)∧r and (p∧r)⊕(q∧r) have the same truth value in all cases, they are logically equivalent. It follows that (p⊕q)∧r≡(p∧r)⊕(q∧r).