12.1 Boolean Functions Flashcards
Boolean Complement
-
x ≡ ¬x
x + y=
x ∨ y
0 + 0 =
0
0 + 1 =
1
Boolean Sum
x ∨ y, only 0 if 0+0
Boolean Product
x ∧ y, only 1 if 1*1
Boolean Product
x ∧ y, only 1 if 1*1
Boolean Functions
is the set of all possible
n-tuples of 0s and 1s. The variable x is called a Boolean variable if it assumes values only from
B, that is, if its only possible values are 0 and 1. A function from Bn
to B is called a Boolean
function of degree n
Boolean Expressions
The Boolean expressionsin the variables, x1, x2, . . . , xn are defined recursively as 0, 1, x1, x2, . . . , xn. . Each Boolean expression represents a Boolean function.
Duality
The dual of a Boolean expression is obtained by interchanging Boolean sums and Boolean products
and interchanging 0s and 1s.
• Identity laws:
x ∨ 0 = x
x ∧ 1 = x
• Complement laws:
x ∨ ¬x = 1
x ∧ ¬x = 0
• Complement laws:
x ∨ ¬x = 1
x ∧ ¬x = 0
Associative laws:
(x ∨ y) ∨ z = x ∨ (y ∨ z)
x ∧ y) ∧ z = x ∧ (y ∧ z
Commutative laws:
x ∨ y = y ∨ x
x ∧ y = y ∧ x
Commutative laws:
x ∨ y = y ∨ x
x ∧ y = y ∧ x
Distributive laws:
x ∨ (y ∧ z) = (x ∨ y) ∧ (x ∨ z)
x ∧ (y ∨ z) = (x ∧ y) ∨ (x ∧ z)