1

Says i have this logic :

X = (A & B) | ~B

Which can be shorten to :

X = ~(~A & B)

and then :

X = A | ~B

so :

(A & B) | ~B = A | ~B

About this one, i can prove it drawing a truth table, but i still can not shorten the logic. The guy gave me the shorten logic told me to use De Morgan, but I can't do it through i'm aware of basic De Morgan law

Likewise :

A AND (A OR B) <=> A

This one i have no idea how it can be shorten like that!

Any explanation is greatly appreciated !!!

f855a864
  • 301

1 Answers1

4

HINT

AND distributes over OR : $A~\&~(B|C) = (A\&B)~|~(A\&C) $

OR distributes over AND : $A~|~(B\&C) = (A|B)~\&~(A|C)$


Your last example : $A~ \& ~(A | B) = (A|0)~\&~(A|B) = A~|~(0\&B) = A~|~0 = A$

Refer this for a list of useful Boolean algebra laws/theorems/proofs

AgentS
  • 12,195