Lec 2 Boolean Algebra
Lec 2 Boolean Algebra
0 0 0
0 1 0
1 0 0
1 1 1
OR operator
0 0 0
0 1 1
1 0 1
1 1 1
NOT operator
0 0 0 0 0 0
1 0 0 1 0 1
2 0 1 0 0 0
3 0 1 1 0 1
4 1 0 0 0 0
5 1 0 1 0 1
6 1 1 0 1 1
7 1 1 1 1 1
Tautology & Fallacy
The AND gate is an electronic circuit that gives a high output only
if all its inputs are high.
AND gate takes two or more input signals and produce only one
output signal.
0 0 0
0 1 0
1 0 0
1 1 1
OR gate
The OR gate is an electronic circuit that gives a high output only if one or
more its inputs are high.
OR gate also takes two or more input signals and produce only one output
signal.
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 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.
0 1
1 0
Principle of Duality
T1: Properties of 0
Properties of 1
Basic Theorem of Boolean Algebra
Associate Law
Basic Theorem of Boolean Algebra
T9: Involution
In above examples both are in SOP and POS respectively but they are
not in Standard SOP and POS
Canonical Form of Boolean
Expression (Standard Form)
In standard SOP and POS each of Boolean expression
must contain all the literals (with and without bar) that
has been used in Boolean expression.
If the above condition is satisfied by the Boolean
expression, that expression is called Canonical form of
Boolean expression.
Canonical Form of Boolean Expression
(Standard Form) contd..
0 0 0
0 1 1
1 0 2
1 1 3
For Maxterms:
‘0’ means the variable is “Not Complemented” and
“1” means the variable is “Complemented”
Solved Problem
Write SOP form of a Boolean Function , which is represented
by the following truth table.
0 0 0 0
0 0 1 1
0 1 0 0
0 1 1 0
1 0 0 0
1 0 1 0
1 1 0 1
1 1 1 1
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
Exercise