Class12 Boolean Algebra
Class12 Boolean Algebra
Class12 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 Input Output
A B 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 can be 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
T8 : Complementary Law
(a) X+X’=1
(b) X.X’=0
T9 : Involution
(a) x’’ = x
T10 : De Morgan's Theorem
(a) (X+Y)’=X’.Y’
(b) (X.Y)’=X’+Y’
Exercise
Sol. AB + AC
AB(C+C’) + AC(B+B’)
ABC+ABC’+ABC+AB’CDistributive law
ABC+ABC’+AB’C
Canonical form of Boolean
Expression (Standard form) Contd..
Sol. (A+B).(A+C)
(A+B)+(C.C’) . (A+C)+(B.B’)
(A+B+C).(A+B+C’).(A+B+C)(A+B’+C) Distributive law
(A+B+C).(A+B+C’)(A+B’+C) Remove duplicates
Canonical form of Boolean
Expression (Standard form) Contd..
x y z F Minterm
0 0 0 0
0 0 1 1 m1 = x’ y’ z Focus on the
0 1 0 0 ‘1’ entries
0 1 1 0
1 0 0 0
1 0 1 0
1 1 0 1 m6 = x y z’
1 1 1 1 m7 = x y z
F = m1 + m6 + m7 = ∑ (1, 6, 7) = x y z + x y z + x y z
Exercise
.
i)Algebraic
ii)Using Karnaugh Map (K-Map).
Minimization of Boolean
Expression (Contd…)
Algebraic Method
Solved Problem
Minimize the following Boolean Expression:
1. a’bc + ab’c’ + ab’c + abc’ +abc
= a’bc + ab’ + ab
= a’bc + a
Exercise
Karnaugh Map
A B P B B’ B
0 0 1 A 0 1
0 1 1 A’ 0 1 1
1 0 0
1 1 1 A 1 1
0 1 0 1 A 00 01 11 10
0 1 1 0
0 1
1 0 0 1
1 0 1 0 1 1 1
1 1 0 1
1 1 1 0 One square filled in for
each minterm.
Notice the code sequence:
00 01 11 10 – a Gray code.
Three Variable K-Map (Contd…)
equates to B.C as
BC A is eliminated.
A 00 01 11 10
0 1
1 1 1
QUAD = A’BC+A’BC’+ABC+ABC’
= A’B+AB
=B
Karnaugh Maps - Four Variable K-Map
CD
00 01 11 10
AB
00 A.B.C.D A.B.C.D A.B.C.D A.B.C.D
AB’[10]
A’B’[00] 1 1
A’B[01] 1 1
AB[11] 1 1
AB’[10] 1 1
Karnaugh Maps - Four Variable K-Map
Octet Reduction
AB[11]
AB’[10] 1 1 1 1
A’B’[00] 1 1
A’B[01] 1 1
AB[11] 1 1
AB’[10] 1 1
Karnaugh Maps - Four Variable K-Map
Quad Reduction
AB’[10]
A’B’[00] 1
A’B[01] 1
AB[11] 1
AB’[10] 1
Karnaugh Maps - Four Variable K-Map
Quad Reduction
AB’[10]
A’B’[00] 1 1
A’B[01]
AB[11]
AB’[10] 1 1
Karnaugh Maps - Four Variable K-Map
Quad Reduction
AB’[10]
A’B’[00] 1 1
A’B[01]
AB[11]
AB’[10] 1 1