04 - Boolean Algebra_1
04 - Boolean Algebra_1
04 - Boolean Algebra_1
x+xy=x
Example
◼ Verify DeMorgan’s Theorem by Truth Table
X y x + y (x + y)’ x’ y’ x’y’
0 0 0 1 1 1 1
0 1 1 0 1 0 0
1 0 1 0 0 1 0
1 1 1 0 0 0 0
(x + y)’ = x’ y’
Boolean function
◼ Binary variables (0 or1)
◼ Binary Operators: OR and AND
◼ Unary Operator NOT
◼ Parentheses
◼ An equal sign
Implementing functions
F1 = x + y’z F2 = x’y’z + x’yz + xy’
Gate Implementation of
F1 = x + y’z
Gate Implementation of
F2= x’y’z + x’yz + xy’
Simplifying F2
◼ F2 = x’y’z + x’yz + xy’
= x’z(y’ + y) + xy’
= x’z + xy’ (reduced form)
Gate Implementation of reduced
F2 = x’z + xy’
Simplify the following Boolean
Functions
◼ F = x(x’ + y)
= xx’ + xy
= 0 + xy
= xy
Simplify the following Boolean
Functions
◼ F = x + x’y
= (x + x’)(x + y)
= 1(x + y)
= (x + y)
Simplify the following Boolean
Functions
◼ F = (x + y)(x+ y’)
= x + xy + xy’ +yy’
= x(1 + y + y’) (yy’= 0)
=x (y+y’=1)
Complement Function
◼ Generalized form of DeMorgan’s Theorem
(A+ B + C)’ = (A + X)’ Let B + C = X
= A’ X’ DeMorgan’sTheorem
= A’ (B + C)’ B+C = X
= A’(B’C’) DeMorgan’s Theorem
= A’B’C’ Associative Law
(A+B+C+D+E+F)’ = A’B’C’D’E’F’
Example
◼Find the Complement Function of:
F1 = x’yz’ + x’y’z
F1’ = (x’yz’ + x’y’z)’
= (x’yz’)’ . (x’y’z)’
= (x + y’ + z) (x + y + z’)
Example
◼Find the Complement Function of:
F2 = x(y’z’ + yz)
F2’ = [x(y’z’ + yz)]’
= x’ + (y’z’ + yz)’
= x’ + [(y’z’)’ . (yz)’]
= x’ + (y + z) (y’ + z’)