4.2 for teaching
4.2 for teaching
DEFINITION
Introduction: Boolean Algebra
A.B=B.A
The order in which two variables are AND’ed makes
no
difference.
A+B=B+A
The order in which two variables are OR’ed makes
no
difference.
A + (B + C) = (A + B) + C
OR Association Law
A.(B.C) = (A.B).C
AND Association Law
3. Distributive Law
Distributive law states the following condition
A + (B.C) = (A + B).(A + C)
OR Distribution Law
4. Annulment Law
A term AND´ed with a “0” equals 0
A term OR´ed with a “1” will equal 1
A . 0 = 0 A∩ ∅ = ∅
A variable AND’ed with 0 is always
equal to 0
A + 1 = 1 𝑨 𝖴 𝑼 = 𝑼
A variable OR’ed with 1 is always equal to 1
5. Identity Law
A term OR´ed with a “0” or AND´ed with a “1” will equal to that
term.
A+0=A
A variable OR’ed with 0 is always equal to the variable
A .1 = A
A variable AND’ed with 1 is always equal to the variable
6. Idempotent Law
An input that is AND´ed or OR´ed with itself is equal to that
input .
A+A=A
A variable OR’ed with itself is always equal to the variable
A .A = A
A variable AND’ed with itself is always equal to the variable
7. Complement Law
A term AND´ed with its complement is equals “0”
A term OR´ed with its complement is equals “1”
A.𝑨 =0
A variable AND’ed with itself complement is always equal to 0
A + 𝑨 =1
A variable OR’ed with itself complement is always equal to 1
8. Double Negation Law or Involution Law
A term inverted twice is equal to the original term
𝑨 =A
A double complement of a variable is always equal to the
variable
9. Absorption Law
This law enables a reduction in a complicated expression to a
simpler one by absorbing like terms.
𝑨 + (𝑨. 𝑩) = 𝑨
𝑨 𝖴𝑨 ∩ 𝑩 = 𝑨
OR Absorption Law
𝑨 . (𝑨 + 𝑩) = 𝑨
𝑨 ∩𝑨 𝖴 𝑩 = 𝑨
AND Absorption Law
10. De-Morgan’s Law
This law enables a reduction in a complicated expression to a
simpler one by absorbing like terms.
𝑨+𝑩= 𝑨. 𝑩
𝑨. 𝑩 = 𝑨+𝑩
Simplification/ Algebraic Manipulation of Boolean Expressions
Example 1
MINTERM &
MAXTERM
CNF & DNF
Disjunctive Normal Form
(DNF)
A Boolean expression is said to be in DNF, also
known as minterm canonical form , if the
expression is a Sum of Minterms (SOP).
𝒇 𝒂, 𝒃, 𝒄 = (𝒂 + 𝒃 + 𝒄) 𝖠 (𝒂 + 𝒃 + 𝒄′) 𝖠 (𝒂 + 𝒃′
+ 𝒄′)
𝒇 𝒂, 𝒃, 𝒄 = 𝒂+𝒃+𝒄 . 𝒂+𝒃+
or
𝒄′ . (𝒂 + 𝒃′ + 𝒄′)
Maxter
m
Suppose we are dealing with 𝒏 Boolean variables.
DNF of 𝒇 ′ = 𝒙𝒚𝒛 + 𝒙 ′ 𝒚𝒛 + 𝒙 ′ 𝒚𝒛 ′ + 𝒙
′ y’z’ CNF of 𝒇= (𝒇’)’ = (x’+y’+z’)(x+y’+z’)(x+y’+z)
Example 4: CNF
For the function 𝒇 𝒙, 𝒚, 𝒛
(POS) = 𝒙𝒚 ′ 𝒛 ′ + 𝒙
′ 𝒚 ′ 𝒛 + 𝒙 ′ 𝒚𝒛 ′
x y z f
1 1 1 0 (x’+y’+z’)
1 1 0 0 (x’+y’+z)
1 0 1 0 (x’+y+z’)
1 0 0 1 xy’z’
0 1 1 0 (x+y’+z’)
0 1 0 1 x’yz’
0 0 1 1 x’y’z
0 0 0 0 (x+y+z)
of 𝒇
DNF (1’s) (minterms)= xy’z’+x’yz’+x’y’z
CNF of 𝒇
(0’s) (maxterms)= (x’+y’+z’) (x’+y’+z) (x’+y+z’) (x+y’+z’) (x+y+z)
Example 4: CNF
For the function 𝒇 𝒙, 𝒚, 𝒛
(POS) = 𝒙𝒚 ′ 𝒛 ′ + 𝒙
′ 𝒚 ′ 𝒛 + 𝒙 ′ 𝒚𝒛 ′
x y z f
1 1 1 0 (x’+y’+z’)
1 1 0 0 (x’+y’+z)
1 0 1 0 (x’+y+z’)
1 0 0 1 xy’z’
0 1 1 0 (x+y’+z’)
0 1 0 1 x’yz’
0 0 1 1 x’y’z
0 0 0 0 (x+y+z)
of 𝒇
DNF (1’s) (minterms)= xy’z’+x’yz’+x’y’z
CNF of 𝒇
(0’s) (maxterms)= (x’+y’+z’) (x’+y’+z) (x’+y+z’) (x+y’+z’) (x+y+z)
KARNAUGH-MAP
(K-MAP)
Karnaugh Map (K-
Map)
1. In many digital circuits and practical problems we
need to find expression with minimum variables.
6. From the groups made in step 5 find the product terms and
sum them up for SOP form.
SUM OF PRODUCTS
(SOP)
Steps to solve K-
Map
Red = A’C
Green =AB
Output= A’C+AB
Steps to solve K-
Map
Steps to solve K-
Map
1 1
Red = QS
Green = Q’S’
Output= QS +Q’S’
PRODUCTS OF SUM
(POS)
Steps to solve K-Map: POS
Form
Brown =A +B + C
Red = A’+B’
Green = B’+C’
Output= (A+B+C)(A’+B’)(B’+C’)
Steps to solve K-
Map
3. Lesser number of gates: For reducing the number of gates that are used to
implement the given expression, simplification places an important role. So,
the 'don't care' makes the logic design more economical.
4. Prevention of Hazards: In the digital system, the 'don't care' place an important
role in hazards prevention.
F= A’ . (B' + C')
Minimize POS with Don’t
POS minimal form using K-Maps: F(A,B,C,D) = M(6,7,8,9) +
Care
d(10,11,12,13,14,15)
F= A’ . (B' + C')
Combinational/ Sequential Circuits
Combinational circuits are defined as the time independent circuits which do not
depends upon previous inputs to generate any output are termed as combinational
circuits.
Sequential circuits are those which are dependent on clock cycles and depends on
present as well as past inputs to generate any output.
THANK YOU
!