4.6.5 Boolean Algebra Flashcards
Define Boolean Algebra.
A way of working with logical values, where variables are either true or false.
It is used to represent and simplify logic circuits using a mathematical approach.
What are the identity laws?
A + 0 = A
A . 1 = A
What are the null laws?
A + 1 = 1
A . 0 = 0
What are the idempotent laws?
A + A = A
A . A = A
What are the inverse laws?
A + -A = 1
A . -A = 0
What is the commutative law?
The order of variables do not matter in the same operation.
What is the associative law?
Brackets can be removed as long as the operators are the same.
What is the absorption law?
Variables that do not affect the final output can be removed.
X + (X . Y) = X
X . (X + Y) = X
the symbols inside and outside the brackets have to be opposite.
What is the distributive law?
Considers the . operator as a multiply and the + operator as addition, equivalent of expanding brackets or factorising in normal algebra.
X + (Y . Z) = (X + Y) . (X + Z)
What are De Morgan’s Laws?
X . Y = -(-X + -Y)-
X + Y = -(-X . -Y)-
split the line and change the sign.
What is the order of precedence?
- Brackets
- NOT
- AND
- OR
(Boole never ate olives)