Boolean Algebra
Boolean Algebra
Boolean Algebra
X X (means complement of x)
0 1
1 0
Truth Table
• Truth table is a table that contains all possible values
of logical variables/statements in a Boolean
expression.
0 1 0
1 0 0
1 1 1
OR gate
• The OR gate is an electronic circuit that gives a high
output (1) if one or more of its inputs are high.
• OR gate also takes two or more input signals and
produce only one output signal. Input
A
Input
B
Output
A+B
0 0 0
0 1 1
1 0 1
1 1 1
NOT gate
• The NOT gate is an electronic circuit that gives a high output (1) if its
input is low .
• NOT gate takes only one input signal and produce only one output signal.
• The output of NOT gate is complement of its input.
• It is also called inverter. Input A Output A
0 1
1 0
Principal of Duality
•In Boolean algebras the duality Principle is obtained by interchanging
AND and OR operators and replacing 0's by 1's and 1's by 0's.
Compare the identities on the left side with the identities on the
right.
Example
A+1 = 1 then A.0 = 0
Basic Theorem of Boolean Algebra
T1 : Properties of 0
(a) 0 + A = A
(b) 0 A = 0
T2 : Properties of 1
(a) 1 + A = 1
(b) 1 A = A
Basic Theorem of Boolean Algebra
T3 : Commutative Law
(a) A + B = B + A
(b) A B = B A
T4 : Associate Law
(a) (A + B) + C = A + (B + C)
(b) (A B) C = A (B C)
T5 : Distributive Law
(a) A (B + C) = A B + A C
(b) A + (B C) = (A + B) (A + C)
(c) A+A’B = A+B
Basic Theorem of Boolean Algebra
T6 : Indempotence (Identity ) Law
(a) A + A = A
(b) A A = A
Sol. AB + AC
AB(C+C’) + AC(B+B’)
Distributive law
ABC+ABC’+ABC+AB’C
ABC+ABC’+AB’C
Canonical form of Boolean Expression (Standard form) Contd..
Convert (A+B)(A+C) in Canonical SOP (Standard
SOP)
Sol. (A+B).(A+C)
((A+B)+(C.C’)) .((A+C)+(B.B’))
Distributive law
(A+B+C).(A+B+C’).(A+B+C)(A+B’+C)
Remove duplicates
(A+B+C).(A+B+C’)(A+B’+C)
Conversion between SOP and POS
Canonical form of Boolean Expression (Standard form) Contd..
F = m1 + m6 + m7 = ∑ (1, 6, 7) = x y z + x y z + x y z
Exercise
1. Write POS form of a Boolean Function F, Which is represented by
the following truth table x y z F
0 0 0 1
0 0 1 1
0 1 0 0
0 1 1 0
1 0 0 1
1 0 1 1
1 1 0 0
1 1 1 1
2. Write equivalent canonical Sum of Product expression for the following
Product of Sum Expression: F(X,Y,Z)=Π(1,3,6,7)
Minimization of Boolean Expression