Truth table for discrete math

chillerbros17

New member
Joined
Nov 19, 2006
Messages
4
The exclusive or operation is defined by the following truth table:

p q p V q
--------------------
T T F
T F T
F T T
F F F

a. express p V q in terms of p,q, v, ^, ~


b. express p v q in terms of p, q, ^, ~, v

c. Show that one of the distributive laws no longer holds when v is replaced by v.
[/code]
 
Many text denote the exclusive or as pq\displaystyle p\underline \vee q.

Now for part (a):
pq(pq)(pq)\displaystyle p\underline \vee q \equiv \left( {p \wedge \sim q} \right) \vee \left( { \sim p \wedge q} \right).

Part (b):
pq(pq)\displaystyle p \vee q \equiv \sim \left( { \sim p \wedge \sim q} \right).
 
Top