Boolean Algebra - Xor simplification I have a boolean equation: $e(g \oplus (g + b))$ and it is simplified to $e(\lnot g)b$.
I do not see how this simplification is done. What i did was the following:
$e(g \oplus (g + b)) --> e(g(\lnot(b+g)) + (\lnot g)(b + g))$
$--> e(g(\lnot b) + g(\lnot g) + (\lnot g)b + (\lnot g)g)$
$--> e(g(\lnot b) + (\lnot g)b)$
But this is not correct. What am i doing wrong and what is the correct way to reduce the boolean equation?

Your mistake was with De Morgan's Law.  $(b+g)'=b'g'$.  So you wind up with a $gb'g'$ term which goes away since g and not g can't both be true.
