Unit 3- Simplification of Boolean Function
Unit 3- Simplification of Boolean Function
Compiled by
Lochan Khatiwada
Unit 3
Simplification of
Boolean Function
Boolean Functions
Boolean functions deal with the binary variables and the symbols. A Boolean Function
is described by an algebraic expression called Boolean expression which consists of
binary variables, the constants 0 and 1, and the logic operation symbols. Consider the
following example.
F = XY + Z
here, F is a function of x, y, z
x, y, z are binary variables i.e. they can have only value 0 or 1
Representation Types:
Let us understand how we can implement the following Boolean function using basic
logic gates.
F = A B + A B’
In the given SOP function, we have one compliment term, B. So, to represent the
compliment input, we are using the NOT gates at the input side. And to represent the
product term, we use AND gates.
Another example:
Karnaugh-map or K-map
A Karnaugh Map (K-Map) is a graphical/pictorial representation of Boolean functions
that helps simplify logical expressions and design digital circuits. It is particularly useful
in digital circuit design and optimization. It was developed by Karnaugh in 1953.
Karnaugh map can produce Sumofproduct (SOP) or productofSum (POS) expression
considering which of the two (0,1) outputs are being grouped in it. The grouping of 0’s
result in Product of Sum expression & the grouping of 1’s result in Sum of Product
expression.
For a function with 'n' variables, the K-Map has 2n cells.
i.e.
Two variables
22 = 4 cells
BC
Three variables
23 = 8 cells
Four variables
24 = 16 cells
Examples:
K-map simplification for 2-variables
1. Simplify given function with minterms using k-map: f= Σ (0,2){or f=A'B'+AB'} Ans: B'
2. Simplify given function with minterms using k-map: f(A,B)= Σ (0,1,2) Ans: A'+B'
10 | C o m p i l e d b y : L o c h a n a n a n d a K h a t i w a d a ( M I T )
BIT 3rd semester Digital Logic Balmiki Lincoln College, Birtamode
11 | C o m p i l e d b y : L o c h a n a n a n d a K h a t i w a d a ( M I T )
BIT 3rd semester Digital Logic Balmiki Lincoln College, Birtamode
12 | C o m p i l e d b y : L o c h a n a n a n d a K h a t i w a d a ( M I T )
BIT 3rd semester Digital Logic Balmiki Lincoln College, Birtamode
13 | C o m p i l e d b y : L o c h a n a n a n d a K h a t i w a d a ( M I T )
BIT 3rd semester Digital Logic Balmiki Lincoln College, Birtamode
14 | C o m p i l e d b y : L o c h a n a n a n d a K h a t i w a d a ( M I T )
BIT 3rd semester Digital Logic Balmiki Lincoln College, Birtamode
F= A’B’ + A’C + AB
11
10
F= (A+C+D’) (A’+B)
15 | C o m p i l e d b y : L o c h a n a n a n d a K h a t i w a d a ( M I T )
BIT 3rd semester Digital Logic Balmiki Lincoln College, Birtamode
16 | C o m p i l e d b y : L o c h a n a n a n d a K h a t i w a d a ( M I T )
BIT 3rd semester Digital Logic Balmiki Lincoln College, Birtamode
Note: Each maxterm is the complement of its corresponding minterms and vice
versa.
17 | C o m p i l e d b y : L o c h a n a n a n d a K h a t i w a d a ( M I T )
BIT 3rd semester Digital Logic Balmiki Lincoln College, Birtamode
18 | C o m p i l e d b y : L o c h a n a n a n d a K h a t i w a d a ( M I T )
BIT 3rd semester Digital Logic Balmiki Lincoln College, Birtamode
Canonical example:
F (A, B, C) = ABC’ + A’BC + A’B’C (Here all the variables are present)
F (X, Y, Z) = (X+Y+Z’). (X+Y’+Z) (Here all the variables are present)
Here, in each expression, there is not all variables present. That is why, it is called
standard form. But if every variable were present, then it would be called as
canonical form.
=Π (0,2,3,6)
=Π (0,1,2,4)
19 | C o m p i l e d b y : L o c h a n a n a n d a K h a t i w a d a ( M I T )
BIT 3rd semester Digital Logic Balmiki Lincoln College, Birtamode
20 | C o m p i l e d b y : L o c h a n a n a n d a K h a t i w a d a ( M I T )