Answer: B
To find which identity is NOT valid, let us analyze each option systematically:
-
Option A: (x⊕y)⊕z=x⊕(y⊕z)
This is valid because the Exclusive-OR (XOR) operation is associative.
-
Option B: (x+y)⊕z=x⊕(y+z)
We can verify this using a counterexample. Let x=1, y=1, and z=0:
LHS=(1+1)⊕0=1⊕0=1
RHS=1⊕(1+0)=1⊕1=0
Since LHS=RHS, this identity is NOT valid.
-
Option C: x⊕y=x+y, if xy=0
The condition xy=0 means x and y cannot both be 1 simultaneously.
- If x=0,y=0: 0⊕0=0 and 0+0=0 (Equal)
- If x=1,y=0: 1⊕0=1 and 1+0=1 (Equal)
- If x=0,y=1: 0⊕1=1 and 0+1=1 (Equal)
Thus, this identity is valid.
-
Option D: x⊕y=(xy+x’y’)’
The expression xy+x′y′ represents the XNOR operation (x⊙y). Since XOR is the complement of XNOR:
(xy+x′y′)′=(x⊙y)′=x⊕y
Thus, this identity is valid.