I have the following problem in my assignment:
"Verify, using Boolean algebra, the following equality:
NOT((A AND NOT B) OR (NOT A AND B)) == ((A AND B) OR (NOT A AND NOT B)). "
I am able to do it with Karnaugh Maps and Truth tables, but I'm stuck on the formal procedure using Boolean Algebra.
Thanks in advance for your kind help!
I figured it out on my own:
Steps:
~((A AND ~B) AND (~A AND B)) .... Original Eqn.
((~A OR ~~B) AND (~~A OR ~B)) .... DeMorgan's Law
((~A OR B ) AND (A OR ~B) .... Elimination of double negation
Introducing mathematical symbols as it makes it a bit clearer in my opinion
(~A (~B + A) * B (~B + A) .... "Factor out" (~A * B) and carry out multiplication
(~A*~B)+(~AA)+(B~B)+(B*A) .... "Multiply out the terms"
(~A*~B) + 1 + 1 + (B*A) .... Excluded middle
(~A*~B) + (A*B) .... Required Answer