SlideShare a Scribd company logo
BOOLEAN ALGEBRA
Let X be a nonempty set with two binary operations + and ∗, a unary
operation ‘, and two distinct elements 0 and 1. Then X is called a Boolean
algebra if the following axioms hold where A, B, C are any elements in X:
Commutative Laws
A + B = B + A
A ∗ B = B ∗ A
Distributive Laws
A ∗ B + C = (A ∗ B) + (A ∗ C)
A + B ∗ C = A + B ∗ (A + C)
Complement Laws
A + A = 1
A ∗ A = 0
Identity Laws
A + 0 = A
A ∗ 1 = A
BOOLEAN ALGEBRA
The operations +, ∗, and ‘ are called sum, product, and complement,
respectively.
Boolean Algebra is the mathematics of digital systems.
Definition of terms
 Variable- symbol used to represent a logical quantity. Any variable can
have a value of 1 or 0.
 Complement- inverse of a variable. A or A
 Literal is a variable/ complement of a variable.
Boolean addition is equivalent to the OR operation.
Basic rules for Boolean addition:
0 + 0 = 0 0 + 1 = 1 1 + 0 = 1 1 + 1 = 1
In Boolean algebra, a sum term is a sum of literals. e.g. A + B
BOOLEAN ALGEBRA
Basic rules useful in manipulating and simplifying Boolean expressions:
Idempotent laws:
𝐀 ∗ 𝐀 = 𝐀 𝐀 + 𝐀 = 𝐀
Boundedness laws:
𝐀 + 1 = 𝟏 𝐀 ∗ 𝟎 = 𝟎
Absorption laws:
𝐀 + 𝐀 ∗ 𝐁 = 𝐀 𝐀 ∗ (𝐀 + 𝐁) = 𝐀
Involution law: 𝐀 = 𝐀
𝐀 + A𝐁 = 𝐀 + 𝐁 𝐀 + 𝐁 𝐀 + 𝐂 = 𝐀 + 𝐁𝐂
Boolean multiplication is equivalent to the AND operation.
Basic rules for Boolean multiplication:
0 ∗ 0 = 0 0 ∗ 1 = 1 1 ∗ 0 = 1 1 ∗ 1 = 1
In Boolean algebra, a product term is a product of literals. e.g A ∗ B
BOOLEAN ALGEBRA
De Morgan Laws
The complement of a product of variables is equal to the sum of the
complements of the variables
XY = X + Y
The complement of a sum of variables is equal to the product of the
complements of the variables
X + Y = X. Y
BOOLEAN ALGEBRA
Simplification of Boolean expressions using Boolean Algebra
 Its reducing a particular expression to its simplest form or change its form
to a more convenient one.
 Use basic laws, rules and theorems of Boolean Algebra
 Simplified Boolean expression uses the fewest gates possible to implement
a given expression.
Example:
Simplify the following Boolean Expression:
𝐀𝐁 + 𝐀𝐂 + 𝐀𝐁𝐂
= 𝐀𝐁 𝐀𝐂 + 𝐀𝐁𝐂 apply De Morgan law
= ( 𝐀 + 𝐁 )(𝐀 + 𝐂) + 𝐀𝐁𝐂 apply De Morgan law
= (𝐀 + 𝐁𝐂) + 𝐀𝐁𝐂 apply the rule 𝐀 + 𝐁 𝐀 + 𝐂 = 𝐀 + 𝐁𝐂
= 𝐀 𝟏 + 𝐁𝐂 + 𝐁𝐂 apply the rule 𝟏 + 𝐀 = 𝟏
= 𝐀 + 𝐁𝐂
BOOLEAN ALGEBRA
Truth Table
 It is a table showing the inputs and the corresponding outputs of a logic
expression or circuit.
Steps taken when constructing a truth table
 List the input variables combinations of 0s and 1s in a binary sequence
( 2n combinations for n inputs).
 Place a 1 or 0 in the output column for each combination of input
variables that was determined in the evaluation.
Example
Construct a truth table and put the results of logic circuit A(B + CD)
 4 variables means 24
combinations for n inputs.
A B C D A(B + CD)
0 0 0 0 0
0 0 0 1 0
0 0 1 0 0
0 0 1 1 0
0 1 0 0 0
0 1 0 1 0
0 1 1 0 0
0 1 1 1 0
1 0 0 0 0
1 0 0 1 0
1 0 1 0 0
1 0 1 1 1
1 1 0 0 1
1 1 0 1 1
1 1 1 0 1
1 1 1 1 1
BOOLEAN ALGEBRA
Logic Gates
 A logic gate is an circuit that perform basic logical operation.
 In reality, gates consist of one to six transistors, but digital designers
think of them as a single unit.
 Integrated circuits contain collections of gates suited to a particular
purpose.
 The three simplest gates:
 AND
 OR
 NOT
BOOLEAN ALGEBRA
Distinctive Shape
Symbol
Truth Table
BOOLEAN ALGEBRA
Not gate/ Inverter
 performs inversion/ complementation operation- changes one logic level
to the opposite level
 The negation indicator is a bubble.
BOOLEAN ALGEBRA
And Gate
 Its composed of 2/ more inputs and a single output.
 the total number of possible combinations of binary inputs is given
by N = 2n where N is the input combinations and n is the number of
input variables.
 performs logical multiplication
 produces a HIGH output when all of the inputs are HIGH
BOOLEAN ALGEBRA
Or Gate
 Its composed of 2/ more inputs and a single output.
 performs logical addition.
 produces a HIGH output when any of the inputs is HIGH.
BOOLEAN ALGEBRA
NAND gate
 Contraction of NOT-AND i.e. AND function with a complemented output.
 produces a LOW output only when all of the inputs are HIGH; the output
will be HIGH when any of the inputs is LOW.
 DeMorgan’s Theorem: AB = A + B
NOR gate
 Contraction of NOT-OR i.e. OR function with a complemented output.
 produces a LOW output when any of the inputs are HIGH; the output will
be HIGH when all of the inputs are LOW.
 DeMorgan’s Theorem: A + B = AB
BOOLEAN ALGEBRA
Truth Table Distinctive Shape
Symbol
BOOLEAN ALGEBRA
 Boolean algebra provides a concise way to express the operation of a logic
circuit formed by a combination of logic gates so that the output can be
determined for various combinations of input values.
 To derive a Boolean expression for a given logic circuit, begin at the left-
most inputs and work towards the final output, writing the expression for
each gate.
Example:
𝐀
𝐀 + 𝐁
𝐀 𝐀 + 𝐁 = 𝐀𝐁
𝐀
𝐁
𝐀 + 𝐁 + 𝐀𝐁
BOOLEAN ALGEBRA
Standard Forms of Boolean Expressions
 Standardization makes the evaluation, simplification and implementation of
Boolean expression much more systematic and easier.
 Domain of Boolean expression is the set of variables contained in the
expression in complemented or un complemented form.
 The domain of the expression 𝐀 + 𝐀𝐁𝐂 + 𝐁𝐂𝐃 is the set of variables
A, B, C ,D.
 All Boolean expressions, regardless of their form can be converted into 2
standard forms:
 Sum-of-Product
 Product-of-Sum
BOOLEAN ALGEBRA
Sum of Products
 Its formed when 2 or more product terms that are summed by Boolean
addition.
 It can contain a single-variable term as in 𝐀 + 𝐀𝐁𝐂 + 𝐁𝐂𝐃
 In SOP expression, a single overbar cannot extend over more than one
variable.
 SOP expression can have 𝐀𝐁𝐂 but not 𝐀𝐁𝐂
 Implementing a SOP expression simply ORing the outputs of 2 or more AND
gates( AND-OR implementation of SOP expression).
 SOP can be implemented by NAND-NOR.
 Conversion of a general expression to SOP form is done using Boolean
algebra techniques.
 A standard SOP expression is one in which all the variables in the domain
appear in each product term in the expression
NB : Important in constructing truth table and in the K-map simplification
method
BOOLEAN ALGEBRA
 To converting product terms to standard SOP
 Multiply each nonstandard product term by A + A = 1 where A is the
missing variable.
 Repeat the step above until all resulting product terms contain all
variables in the domain.
 A standard product term = 1 for only one combination of variable values.
 A product term is implemented with an AND gate whose output is 1 only if
each of its inputs is 1.
 SOP expression is =1 only if one or more product terms in the expression =1.
ABCD = 1010 = 1
BOOLEAN ALGEBRA
Example:
Convert ABC + AB + ABCD into standard SOP form.
Standardize the first product term
ABC(D + D) = ABCD + ABCD
Standardize the second product term
AB (C + C) = ABC + ABC
ABC(D + D) = ABCD + ABCD
ABC (D + D) = ABCD + ABCD
Standard SOP
ABCD+ ABCD + ABCD+ ABCD + ABCD+ ABCD + ABCD
BOOLEAN ALGEBRA
Product of Sums
 Formed when 2 or more sum terms multiplied.
 A POS expression can contain a single-variable term.
 In a POS expression, a single overbar cannot extend over more than
one variable.
 Implementing a POS expression requires ANDing the outputs of 2 or
more OR gates.
 A standard POS expression is one in which all variables in the domain
is in each sum term.
To convert sum terms to standard POS
 Add to each non-standard product term AA = 0 where A is the
missing variable.
 Apply rule A + BC = A + B A + C
 Repeat step 1, until all resulting sum terms contain all variables in
the domain.
BOOLEAN ALGEBRA
 A standard sum term =0 for only one combination of variable values and is 1
for all other combinations of values for variables.
A + B + C + D = 0 + 1 + 0 + 1 = 0
 A sum term is implemented with OR gate whose output is 0 only if each of
its inputs =0.
 A POS expression = 0 only if one or more of the sum in the expression =0.
BOOLEAN ALGEBRA
Standard SOP to Standard POS Conversion
 Binary values of the product terms in a given standard SOP expression are
present in the equivalent standard POS expression.
 To converting standard SOP to standard POS
 Evaluate each product term in the SOP. Determine the numbers that
represent the product term.
REMEMBER: Standard product term =1
 Determine all binary not included in the evaluation in 1
 Write the equivalent sum term for each binary number from step 2 and
expression in POS form.
BOOLEAN ALGEBRA
Example
Convert the SOP expression to an equivalent POS expression:
ABC + ABC + ABC + ABC + ABC
Binary values are 000, 010, 011, 101,111
There are 3 variables in the domain of this expression and 23
possible
combinations.
SOP expression contains 5 of these combinations so the POS must contain the
other which are 001, 100 and 110.
A + B + C A + B + C (A + B + C)
 To convert a standard POS to a standard SOP
 Evaluate each sum term in the POS. Determine the numbers that
represent the sum term.
REMEMBER: Standard sum term =0
 Determine all binary not included in the evaluation in 0
 Write the equivalent product term for each binary number from step 2
BOOLEAN ALGEBRA
 Steps considered when entering a SOP expression into the TRUTH Table
 Convert the SOP expression standard form
 List all possible combinations of binary values of the variables in the
variables in the expressions.
 Place 1 in the output column for each binary value that makes the
standard SOP =1.
 Place 0 for all the remaining binary values.
Example
Develop a truth table for the standard SOP expression ABC + ABC + ABC.
ABC: 001 ABC: 100 ABC: 111
BOOLEAN ALGEBRA
Inputs Output
A B C X Product Term
0 0 0 0
0 0 1 1 ABC
0 1 0 0
0 1 1 0
1 0 0 1 ABC
1 0 1 0
1 1 0 0
1 1 1 1 ABC
BOOLEAN ALGEBRA
 Steps considered when entering a POS expression into the
TRUTH Table
 Convert the POS expression standard form
 List all possible combinations of binary values of the variables in the
variables in the expressions.
 Place 0 in the output column for each binary value that makes the
standard POS=0.
 Place 1 for all the remaining binary values.
Example
Develop a truth table for the standard POS expression 𝐀𝐁𝐂 + 𝐀𝐁𝐂 +
𝐀𝐁𝐂.
𝐀𝐁𝐂: 001 𝐀𝐁𝐂: 𝟏𝟎𝟎 𝐀𝐁𝐂: 111
BOOLEAN ALGEBRA
Karnaugh Map
 K map provides a systematic method for simplifying Boolean expression and
if properly used will introduce the simplest SOP/ POS expression
possible(minimum expression).
 Its an array of cells in which each cell represents a binary value of the input
variable.
 Cells are arranged in a way so that simplification of a given expression is a
matter of grouping the cells.
 K-map can be used for expressions with 2,3,4 and 5 variables.
 The Quine McClusky method can be used for higher numbers of variables.
 The number of cells in a K-map = total number of possible input variable
combinations.
BOOLEAN ALGEBRA
3 variable K-map array of 8 cells
 Cells in a K-maps are arranged so that there is a single-variable change
between adjacent cells( adjacency is defined by a single-variable change).
 Physically, each cell is adjacent to the cells that are immediately next to it on
any of its 4 sides( a cell is not adjacent to the cells to any of its corner –cells
that diagonally touch each other)
C
AB 0 1
00
01
11
10
ABC ABC
ABC ABC
ABC ABC
ABC ABC
BOOLEAN ALGEBRA
 Top row cells are adjacent to the corresponding bottom row cells.
 Cells in the outer left column are adjacent to the corresponding cells in the
outer right column( wrap- around adjacency).
K-map SOP Minimization
 For an SOP expression in standard form, a 1 is placed on the K-map for each
product term in the expression.
 The cells that do not have 1 are the cells for which the expression is 0.
 When working with SOP expressions the 0s are left off the map.
BOOLEAN ALGEBRA
Example
Map the standard SOP expression on the K-map ABC + ABC + ABC +
ABC
 For a nonstandard SOP expression , convert it to standard form before
you use a K-map.
C
AB 0 1
00
01
11
10
1
1
1 1
ABC
ABC
ABC
ABC
BOOLEAN ALGEBRA
 Simplification of SOP expressions using K-maps is the process of
getting the fewest possible terms with the fewest possible
variables(minimum expression)
 The minimum expression is obtained by grouping 1s i.e. enclosing
those adjacent cells containing 1s.
RULES
 Groups must contain either 1,2,4,8 or 16 cells(2n cells).
 Each cell in the group must be adjacent to 1 or more cells in that same
group.
 Include the largest possible number of 1s in a group.
 Each 1 on the map must be included in at least 1 group. The 1s
already in a group can be included in another group.
 Groups may overlap.
 Maximize the size the groups and minimize the number of groups.
BOOLEAN ALGEBRA
Determination of SOP expressions from K-map
 Each group of cells containing 1s creates one product term composed of
variables that stay the same within a group . i.e. variables that do not change
from in complemented to uncomplemented or vice versa.
 Determine the minimum product term for each group.
3 variable map
1 cell group yields a 3 variable term.
2 cell group yields a 2 variable term.
4 cell group yields a 1 variable term.
8 cell group yields a value of 1 for expression.
4 variable map
1 cell group yields a 4 variable term.
2 cell group yields a 3 variable term.
4 cell group yields a 2 variable term.
8 cell group yields a 1 variable term.
16 cell group yields a value of 1 for expression.
BOOLEAN ALGEBRA
Example
Minimize 𝐁𝐂𝐃 + 𝐀𝐁𝐂𝐃 + 𝐀𝐁𝐂𝐃 + 𝐀𝐁𝐂𝐃 + 𝐀𝐁𝐂𝐃 + 𝐀𝐁𝐂𝐃 +
𝐀𝐁𝐂𝐃 + 𝐀𝐁𝐂𝐃 + 𝐀𝐁C𝐃 using a K-map.
The first product term is not in standard form. Converting it into
standard form it becomes A𝐁𝐂 𝐃 + 𝐀𝐁𝐂 𝐃
A group of 8 cells
formed by adjacent
outer column produces
𝐃
A group of 4 cells
formed by adjacent
outer column produces
𝐁𝐂
Minimum expression 𝐁𝐂 + 𝐃
CD
AB 00 01 11 10
00
01
11
10
1 1 1
1 1
1 1
1 1 1
BOOLEAN ALGEBRA
 With POS expressions in standard form, 0s representing the standard terms
are on the K-map.
Example
Map the standard POS expression on the K-map
(𝐀 + 𝐁 + 𝐂 + 𝐃)(𝐀 + 𝐁 + 𝐂 + 𝐃)(𝐀 + 𝐁 + 𝐂 + 𝐃)(𝐀 + 𝐁 + 𝐂 + 𝐃)
 For a nonstandard POS expression , convert it to standard form before you
use a K-map.
K-maps POS Minimization
1. Determine the binary value of each sum term in the standard POS
expression with binary value =0.
2. Group the 0s to minimum sum terms
Example
Map the standard POS expression on the K-map
(𝐁 + 𝐂 + 𝐃)(𝐀 + 𝐁 + 𝐂 + 𝐃)(𝐀 + 𝐁 + 𝐂 + 𝐃)(𝐀 + 𝐁 + 𝐂 + 𝐃)(𝐀 + 𝐁 +
𝐂 + 𝐃)
BOOLEAN ALGEBRA
Conversion between POS and SOP using the K-map
 With POS expressions, all cells that do not contain 0s contain 1s from which
SOP expression is derived.
 Likewise for an SOP expression, all the cells that do not contain 1s contain
0s, from which the POS expression is derived.
 This provides a good way to compare both minimum forms of an expression
to determine if one of them can be implemented with fewer gates than the
other.
Example
Convert the following standard POS expression into a minimum POS
expression, a standard SOP expression and a minimum SOP expression
(𝐀 + 𝐁 + 𝐂 + 𝐃)(𝐀 + 𝐁 + 𝐂 + 𝐃)(𝐀 + 𝐁 + 𝐂 + 𝐃)(𝐀 + 𝐁 + 𝐂 + 𝐃)(𝐀 +
𝐁 + 𝐂 + 𝐃) (𝐀 + 𝐁 + 𝐂 + 𝐃)(𝐀 + 𝐁 + +𝐂 + 𝐃)

More Related Content

What's hot

Arithmetic circuits
Arithmetic circuitsArithmetic circuits
Arithmetic circuits
Sanjay Saluth
 
BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE
Tamim Tanvir
 
KMAP
KMAPKMAP
KMAP
princy75
 
KARNAUGH MAP(K-MAP)
KARNAUGH MAP(K-MAP)KARNAUGH MAP(K-MAP)
KARNAUGH MAP(K-MAP)
mihir jain
 
13 Boolean Algebra
13 Boolean Algebra13 Boolean Algebra
13 Boolean Algebra
Praveen M Jigajinni
 
Fixed point and floating-point numbers
Fixed point and  floating-point numbersFixed point and  floating-point numbers
Fixed point and floating-point numbers
MOHAN MOHAN
 
Combinational circuits
Combinational circuits Combinational circuits
Combinational circuits
DrSonali Vyas
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmetic
Meenakshi Paul
 
BINARY SUBTRACTION
BINARY SUBTRACTIONBINARY SUBTRACTION
BINARY SUBTRACTION
UoHCollegeScienceOfComputer
 
Logic gate
Logic gateLogic gate
Half adder and full adder
Half adder and full adderHalf adder and full adder
Half adder and full adder
SanjuktaBanik
 
Binary codes
Binary codesBinary codes
Binary codes
Revathi Subramaniam
 
Digital Logic & Design
Digital Logic & DesignDigital Logic & Design
Digital Logic & Design
Rokonuzzaman Rony
 
Subtractor
SubtractorSubtractor
Subtractor
Syed Saeed
 
presentation on (Boolean rules & laws)
presentation on (Boolean rules & laws)presentation on (Boolean rules & laws)
presentation on (Boolean rules & laws)
kinza arshad
 
Binary arithmetic
Binary arithmeticBinary arithmetic
Binary arithmetic
Elizabeth de Leon Aler
 
Kmap..(karnaugh map)
Kmap..(karnaugh map)Kmap..(karnaugh map)
Kmap..(karnaugh map)
Zain Jafri
 
Karnaugh map
Karnaugh mapKarnaugh map
Karnaugh map
chandkec
 
Boolean algebra And Logic Gates
Boolean algebra And Logic GatesBoolean algebra And Logic Gates
Boolean algebra And Logic Gates
Kumar
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmetic
gavhays
 

What's hot (20)

Arithmetic circuits
Arithmetic circuitsArithmetic circuits
Arithmetic circuits
 
BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE
 
KMAP
KMAPKMAP
KMAP
 
KARNAUGH MAP(K-MAP)
KARNAUGH MAP(K-MAP)KARNAUGH MAP(K-MAP)
KARNAUGH MAP(K-MAP)
 
13 Boolean Algebra
13 Boolean Algebra13 Boolean Algebra
13 Boolean Algebra
 
Fixed point and floating-point numbers
Fixed point and  floating-point numbersFixed point and  floating-point numbers
Fixed point and floating-point numbers
 
Combinational circuits
Combinational circuits Combinational circuits
Combinational circuits
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmetic
 
BINARY SUBTRACTION
BINARY SUBTRACTIONBINARY SUBTRACTION
BINARY SUBTRACTION
 
Logic gate
Logic gateLogic gate
Logic gate
 
Half adder and full adder
Half adder and full adderHalf adder and full adder
Half adder and full adder
 
Binary codes
Binary codesBinary codes
Binary codes
 
Digital Logic & Design
Digital Logic & DesignDigital Logic & Design
Digital Logic & Design
 
Subtractor
SubtractorSubtractor
Subtractor
 
presentation on (Boolean rules & laws)
presentation on (Boolean rules & laws)presentation on (Boolean rules & laws)
presentation on (Boolean rules & laws)
 
Binary arithmetic
Binary arithmeticBinary arithmetic
Binary arithmetic
 
Kmap..(karnaugh map)
Kmap..(karnaugh map)Kmap..(karnaugh map)
Kmap..(karnaugh map)
 
Karnaugh map
Karnaugh mapKarnaugh map
Karnaugh map
 
Boolean algebra And Logic Gates
Boolean algebra And Logic GatesBoolean algebra And Logic Gates
Boolean algebra And Logic Gates
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmetic
 

Similar to Boolen Algebra Lecture Notes.pdf

Lecture 05-Logic expression and Boolean Algebra.pptx
Lecture 05-Logic expression and Boolean Algebra.pptxLecture 05-Logic expression and Boolean Algebra.pptx
Lecture 05-Logic expression and Boolean Algebra.pptx
WilliamJosephat1
 
BOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATEBOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATE
Ideal Eyes Business College
 
Boolean Algebra - R.D.Sivakumar
Boolean Algebra - R.D.SivakumarBoolean Algebra - R.D.Sivakumar
Boolean Algebra - R.D.Sivakumar
Sivakumar R D .
 
Simplification
SimplificationSimplification
Simplification
AsikurRahman25
 
Logic gates ,flip flop ,registers and
Logic gates ,flip flop ,registers andLogic gates ,flip flop ,registers and
Logic gates ,flip flop ,registers and
MuruganandhanD
 
3 further logic concepts
3 further logic concepts3 further logic concepts
3 further logic concepts
chandkec
 
Chapter 2: Boolean Algebra and Logic Gates
Chapter 2: Boolean Algebra and Logic GatesChapter 2: Boolean Algebra and Logic Gates
Chapter 2: Boolean Algebra and Logic Gates
Er. Nawaraj Bhandari
 
Boolean Algebra.pdf
Boolean Algebra.pdfBoolean Algebra.pdf
Boolean Algebra.pdf
ssusere02873
 
Logic Gates.pptx
Logic Gates.pptxLogic Gates.pptx
Logic Gates.pptx
DanicaHeusdens
 
Digital 1 8
Digital 1 8Digital 1 8
Digital 1 8
Sayan Chakraborty
 
boolean-algebra.pdf
boolean-algebra.pdfboolean-algebra.pdf
boolean-algebra.pdf
RameshK531901
 
Lec1 n
Lec1 nLec1 n
Boolean Aljabra.pptx of dld and computer
Boolean Aljabra.pptx of dld and computerBoolean Aljabra.pptx of dld and computer
Boolean Aljabra.pptx of dld and computer
itxminahil29
 
Boolean Algebra DLD
Boolean Algebra DLDBoolean Algebra DLD
Boolean Algebra DLD
Rokonuzzaman Rony
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
Manish Kumar
 
B sc ii sem unit 2(b) ba
B sc ii sem unit 2(b) baB sc ii sem unit 2(b) ba
B sc ii sem unit 2(b) ba
MahiboobAliMulla
 
07 boolean algebra
07 boolean algebra07 boolean algebra
07 boolean algebra
Sohail Akbar Goheer
 
Digital logic mohammed salim ch4
Digital logic mohammed salim ch4Digital logic mohammed salim ch4
Digital logic mohammed salim ch4
Asst Lect Mohammed Salim
 
combinational _logic_circuit_digital.pptx
combinational _logic_circuit_digital.pptxcombinational _logic_circuit_digital.pptx
combinational _logic_circuit_digital.pptx
NadzlinIbrahim3
 
FALLSEM2022-23_BECE102L_TH_VL2022230104428_Reference_Material_I_25-07-2022_Mo...
FALLSEM2022-23_BECE102L_TH_VL2022230104428_Reference_Material_I_25-07-2022_Mo...FALLSEM2022-23_BECE102L_TH_VL2022230104428_Reference_Material_I_25-07-2022_Mo...
FALLSEM2022-23_BECE102L_TH_VL2022230104428_Reference_Material_I_25-07-2022_Mo...
AntareepMajumder
 

Similar to Boolen Algebra Lecture Notes.pdf (20)

Lecture 05-Logic expression and Boolean Algebra.pptx
Lecture 05-Logic expression and Boolean Algebra.pptxLecture 05-Logic expression and Boolean Algebra.pptx
Lecture 05-Logic expression and Boolean Algebra.pptx
 
BOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATEBOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATE
 
Boolean Algebra - R.D.Sivakumar
Boolean Algebra - R.D.SivakumarBoolean Algebra - R.D.Sivakumar
Boolean Algebra - R.D.Sivakumar
 
Simplification
SimplificationSimplification
Simplification
 
Logic gates ,flip flop ,registers and
Logic gates ,flip flop ,registers andLogic gates ,flip flop ,registers and
Logic gates ,flip flop ,registers and
 
3 further logic concepts
3 further logic concepts3 further logic concepts
3 further logic concepts
 
Chapter 2: Boolean Algebra and Logic Gates
Chapter 2: Boolean Algebra and Logic GatesChapter 2: Boolean Algebra and Logic Gates
Chapter 2: Boolean Algebra and Logic Gates
 
Boolean Algebra.pdf
Boolean Algebra.pdfBoolean Algebra.pdf
Boolean Algebra.pdf
 
Logic Gates.pptx
Logic Gates.pptxLogic Gates.pptx
Logic Gates.pptx
 
Digital 1 8
Digital 1 8Digital 1 8
Digital 1 8
 
boolean-algebra.pdf
boolean-algebra.pdfboolean-algebra.pdf
boolean-algebra.pdf
 
Lec1 n
Lec1 nLec1 n
Lec1 n
 
Boolean Aljabra.pptx of dld and computer
Boolean Aljabra.pptx of dld and computerBoolean Aljabra.pptx of dld and computer
Boolean Aljabra.pptx of dld and computer
 
Boolean Algebra DLD
Boolean Algebra DLDBoolean Algebra DLD
Boolean Algebra DLD
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
B sc ii sem unit 2(b) ba
B sc ii sem unit 2(b) baB sc ii sem unit 2(b) ba
B sc ii sem unit 2(b) ba
 
07 boolean algebra
07 boolean algebra07 boolean algebra
07 boolean algebra
 
Digital logic mohammed salim ch4
Digital logic mohammed salim ch4Digital logic mohammed salim ch4
Digital logic mohammed salim ch4
 
combinational _logic_circuit_digital.pptx
combinational _logic_circuit_digital.pptxcombinational _logic_circuit_digital.pptx
combinational _logic_circuit_digital.pptx
 
FALLSEM2022-23_BECE102L_TH_VL2022230104428_Reference_Material_I_25-07-2022_Mo...
FALLSEM2022-23_BECE102L_TH_VL2022230104428_Reference_Material_I_25-07-2022_Mo...FALLSEM2022-23_BECE102L_TH_VL2022230104428_Reference_Material_I_25-07-2022_Mo...
FALLSEM2022-23_BECE102L_TH_VL2022230104428_Reference_Material_I_25-07-2022_Mo...
 

Recently uploaded

ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
JamalHussainArman
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
zubairahmad848137
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
jpsjournal1
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
co23btech11018
 
Question paper of renewable energy sources
Question paper of renewable energy sourcesQuestion paper of renewable energy sources
Question paper of renewable energy sources
mahammadsalmanmech
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
NidhalKahouli2
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
IJECEIAES
 
Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
mamunhossenbd75
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
gerogepatton
 
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball playEric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
enizeyimana36
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
camseq
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEMTIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
HODECEDSIET
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
Victor Morales
 
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMSA SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
IJNSA Journal
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
nooriasukmaningtyas
 

Recently uploaded (20)

ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
 
Question paper of renewable energy sources
Question paper of renewable energy sourcesQuestion paper of renewable energy sources
Question paper of renewable energy sources
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
 
Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
 
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball playEric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEMTIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
 
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMSA SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
 

Boolen Algebra Lecture Notes.pdf

  • 1. BOOLEAN ALGEBRA Let X be a nonempty set with two binary operations + and ∗, a unary operation ‘, and two distinct elements 0 and 1. Then X is called a Boolean algebra if the following axioms hold where A, B, C are any elements in X: Commutative Laws A + B = B + A A ∗ B = B ∗ A Distributive Laws A ∗ B + C = (A ∗ B) + (A ∗ C) A + B ∗ C = A + B ∗ (A + C) Complement Laws A + A = 1 A ∗ A = 0 Identity Laws A + 0 = A A ∗ 1 = A
  • 2. BOOLEAN ALGEBRA The operations +, ∗, and ‘ are called sum, product, and complement, respectively. Boolean Algebra is the mathematics of digital systems. Definition of terms  Variable- symbol used to represent a logical quantity. Any variable can have a value of 1 or 0.  Complement- inverse of a variable. A or A  Literal is a variable/ complement of a variable. Boolean addition is equivalent to the OR operation. Basic rules for Boolean addition: 0 + 0 = 0 0 + 1 = 1 1 + 0 = 1 1 + 1 = 1 In Boolean algebra, a sum term is a sum of literals. e.g. A + B
  • 3. BOOLEAN ALGEBRA Basic rules useful in manipulating and simplifying Boolean expressions: Idempotent laws: 𝐀 ∗ 𝐀 = 𝐀 𝐀 + 𝐀 = 𝐀 Boundedness laws: 𝐀 + 1 = 𝟏 𝐀 ∗ 𝟎 = 𝟎 Absorption laws: 𝐀 + 𝐀 ∗ 𝐁 = 𝐀 𝐀 ∗ (𝐀 + 𝐁) = 𝐀 Involution law: 𝐀 = 𝐀 𝐀 + A𝐁 = 𝐀 + 𝐁 𝐀 + 𝐁 𝐀 + 𝐂 = 𝐀 + 𝐁𝐂 Boolean multiplication is equivalent to the AND operation. Basic rules for Boolean multiplication: 0 ∗ 0 = 0 0 ∗ 1 = 1 1 ∗ 0 = 1 1 ∗ 1 = 1 In Boolean algebra, a product term is a product of literals. e.g A ∗ B
  • 4. BOOLEAN ALGEBRA De Morgan Laws The complement of a product of variables is equal to the sum of the complements of the variables XY = X + Y The complement of a sum of variables is equal to the product of the complements of the variables X + Y = X. Y
  • 5. BOOLEAN ALGEBRA Simplification of Boolean expressions using Boolean Algebra  Its reducing a particular expression to its simplest form or change its form to a more convenient one.  Use basic laws, rules and theorems of Boolean Algebra  Simplified Boolean expression uses the fewest gates possible to implement a given expression. Example: Simplify the following Boolean Expression: 𝐀𝐁 + 𝐀𝐂 + 𝐀𝐁𝐂 = 𝐀𝐁 𝐀𝐂 + 𝐀𝐁𝐂 apply De Morgan law = ( 𝐀 + 𝐁 )(𝐀 + 𝐂) + 𝐀𝐁𝐂 apply De Morgan law = (𝐀 + 𝐁𝐂) + 𝐀𝐁𝐂 apply the rule 𝐀 + 𝐁 𝐀 + 𝐂 = 𝐀 + 𝐁𝐂 = 𝐀 𝟏 + 𝐁𝐂 + 𝐁𝐂 apply the rule 𝟏 + 𝐀 = 𝟏 = 𝐀 + 𝐁𝐂
  • 6. BOOLEAN ALGEBRA Truth Table  It is a table showing the inputs and the corresponding outputs of a logic expression or circuit. Steps taken when constructing a truth table  List the input variables combinations of 0s and 1s in a binary sequence ( 2n combinations for n inputs).  Place a 1 or 0 in the output column for each combination of input variables that was determined in the evaluation. Example Construct a truth table and put the results of logic circuit A(B + CD)  4 variables means 24 combinations for n inputs.
  • 7. A B C D A(B + CD) 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 1 0 0 1 0 0 0 0 1 0 1 0 0 1 1 0 0 0 1 1 1 0 1 0 0 0 0 1 0 0 1 0 1 0 1 0 0 1 0 1 1 1 1 1 0 0 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1
  • 8. BOOLEAN ALGEBRA Logic Gates  A logic gate is an circuit that perform basic logical operation.  In reality, gates consist of one to six transistors, but digital designers think of them as a single unit.  Integrated circuits contain collections of gates suited to a particular purpose.  The three simplest gates:  AND  OR  NOT
  • 10. BOOLEAN ALGEBRA Not gate/ Inverter  performs inversion/ complementation operation- changes one logic level to the opposite level  The negation indicator is a bubble.
  • 11. BOOLEAN ALGEBRA And Gate  Its composed of 2/ more inputs and a single output.  the total number of possible combinations of binary inputs is given by N = 2n where N is the input combinations and n is the number of input variables.  performs logical multiplication  produces a HIGH output when all of the inputs are HIGH
  • 12. BOOLEAN ALGEBRA Or Gate  Its composed of 2/ more inputs and a single output.  performs logical addition.  produces a HIGH output when any of the inputs is HIGH.
  • 13. BOOLEAN ALGEBRA NAND gate  Contraction of NOT-AND i.e. AND function with a complemented output.  produces a LOW output only when all of the inputs are HIGH; the output will be HIGH when any of the inputs is LOW.  DeMorgan’s Theorem: AB = A + B NOR gate  Contraction of NOT-OR i.e. OR function with a complemented output.  produces a LOW output when any of the inputs are HIGH; the output will be HIGH when all of the inputs are LOW.  DeMorgan’s Theorem: A + B = AB
  • 14. BOOLEAN ALGEBRA Truth Table Distinctive Shape Symbol
  • 15. BOOLEAN ALGEBRA  Boolean algebra provides a concise way to express the operation of a logic circuit formed by a combination of logic gates so that the output can be determined for various combinations of input values.  To derive a Boolean expression for a given logic circuit, begin at the left- most inputs and work towards the final output, writing the expression for each gate. Example: 𝐀 𝐀 + 𝐁 𝐀 𝐀 + 𝐁 = 𝐀𝐁 𝐀 𝐁 𝐀 + 𝐁 + 𝐀𝐁
  • 16. BOOLEAN ALGEBRA Standard Forms of Boolean Expressions  Standardization makes the evaluation, simplification and implementation of Boolean expression much more systematic and easier.  Domain of Boolean expression is the set of variables contained in the expression in complemented or un complemented form.  The domain of the expression 𝐀 + 𝐀𝐁𝐂 + 𝐁𝐂𝐃 is the set of variables A, B, C ,D.  All Boolean expressions, regardless of their form can be converted into 2 standard forms:  Sum-of-Product  Product-of-Sum
  • 17. BOOLEAN ALGEBRA Sum of Products  Its formed when 2 or more product terms that are summed by Boolean addition.  It can contain a single-variable term as in 𝐀 + 𝐀𝐁𝐂 + 𝐁𝐂𝐃  In SOP expression, a single overbar cannot extend over more than one variable.  SOP expression can have 𝐀𝐁𝐂 but not 𝐀𝐁𝐂  Implementing a SOP expression simply ORing the outputs of 2 or more AND gates( AND-OR implementation of SOP expression).  SOP can be implemented by NAND-NOR.  Conversion of a general expression to SOP form is done using Boolean algebra techniques.  A standard SOP expression is one in which all the variables in the domain appear in each product term in the expression NB : Important in constructing truth table and in the K-map simplification method
  • 18. BOOLEAN ALGEBRA  To converting product terms to standard SOP  Multiply each nonstandard product term by A + A = 1 where A is the missing variable.  Repeat the step above until all resulting product terms contain all variables in the domain.  A standard product term = 1 for only one combination of variable values.  A product term is implemented with an AND gate whose output is 1 only if each of its inputs is 1.  SOP expression is =1 only if one or more product terms in the expression =1. ABCD = 1010 = 1
  • 19. BOOLEAN ALGEBRA Example: Convert ABC + AB + ABCD into standard SOP form. Standardize the first product term ABC(D + D) = ABCD + ABCD Standardize the second product term AB (C + C) = ABC + ABC ABC(D + D) = ABCD + ABCD ABC (D + D) = ABCD + ABCD Standard SOP ABCD+ ABCD + ABCD+ ABCD + ABCD+ ABCD + ABCD
  • 20. BOOLEAN ALGEBRA Product of Sums  Formed when 2 or more sum terms multiplied.  A POS expression can contain a single-variable term.  In a POS expression, a single overbar cannot extend over more than one variable.  Implementing a POS expression requires ANDing the outputs of 2 or more OR gates.  A standard POS expression is one in which all variables in the domain is in each sum term. To convert sum terms to standard POS  Add to each non-standard product term AA = 0 where A is the missing variable.  Apply rule A + BC = A + B A + C  Repeat step 1, until all resulting sum terms contain all variables in the domain.
  • 21. BOOLEAN ALGEBRA  A standard sum term =0 for only one combination of variable values and is 1 for all other combinations of values for variables. A + B + C + D = 0 + 1 + 0 + 1 = 0  A sum term is implemented with OR gate whose output is 0 only if each of its inputs =0.  A POS expression = 0 only if one or more of the sum in the expression =0.
  • 22. BOOLEAN ALGEBRA Standard SOP to Standard POS Conversion  Binary values of the product terms in a given standard SOP expression are present in the equivalent standard POS expression.  To converting standard SOP to standard POS  Evaluate each product term in the SOP. Determine the numbers that represent the product term. REMEMBER: Standard product term =1  Determine all binary not included in the evaluation in 1  Write the equivalent sum term for each binary number from step 2 and expression in POS form.
  • 23. BOOLEAN ALGEBRA Example Convert the SOP expression to an equivalent POS expression: ABC + ABC + ABC + ABC + ABC Binary values are 000, 010, 011, 101,111 There are 3 variables in the domain of this expression and 23 possible combinations. SOP expression contains 5 of these combinations so the POS must contain the other which are 001, 100 and 110. A + B + C A + B + C (A + B + C)  To convert a standard POS to a standard SOP  Evaluate each sum term in the POS. Determine the numbers that represent the sum term. REMEMBER: Standard sum term =0  Determine all binary not included in the evaluation in 0  Write the equivalent product term for each binary number from step 2
  • 24. BOOLEAN ALGEBRA  Steps considered when entering a SOP expression into the TRUTH Table  Convert the SOP expression standard form  List all possible combinations of binary values of the variables in the variables in the expressions.  Place 1 in the output column for each binary value that makes the standard SOP =1.  Place 0 for all the remaining binary values. Example Develop a truth table for the standard SOP expression ABC + ABC + ABC. ABC: 001 ABC: 100 ABC: 111
  • 25. BOOLEAN ALGEBRA Inputs Output A B C X Product Term 0 0 0 0 0 0 1 1 ABC 0 1 0 0 0 1 1 0 1 0 0 1 ABC 1 0 1 0 1 1 0 0 1 1 1 1 ABC
  • 26. BOOLEAN ALGEBRA  Steps considered when entering a POS expression into the TRUTH Table  Convert the POS expression standard form  List all possible combinations of binary values of the variables in the variables in the expressions.  Place 0 in the output column for each binary value that makes the standard POS=0.  Place 1 for all the remaining binary values. Example Develop a truth table for the standard POS expression 𝐀𝐁𝐂 + 𝐀𝐁𝐂 + 𝐀𝐁𝐂. 𝐀𝐁𝐂: 001 𝐀𝐁𝐂: 𝟏𝟎𝟎 𝐀𝐁𝐂: 111
  • 27. BOOLEAN ALGEBRA Karnaugh Map  K map provides a systematic method for simplifying Boolean expression and if properly used will introduce the simplest SOP/ POS expression possible(minimum expression).  Its an array of cells in which each cell represents a binary value of the input variable.  Cells are arranged in a way so that simplification of a given expression is a matter of grouping the cells.  K-map can be used for expressions with 2,3,4 and 5 variables.  The Quine McClusky method can be used for higher numbers of variables.  The number of cells in a K-map = total number of possible input variable combinations.
  • 28. BOOLEAN ALGEBRA 3 variable K-map array of 8 cells  Cells in a K-maps are arranged so that there is a single-variable change between adjacent cells( adjacency is defined by a single-variable change).  Physically, each cell is adjacent to the cells that are immediately next to it on any of its 4 sides( a cell is not adjacent to the cells to any of its corner –cells that diagonally touch each other) C AB 0 1 00 01 11 10 ABC ABC ABC ABC ABC ABC ABC ABC
  • 29. BOOLEAN ALGEBRA  Top row cells are adjacent to the corresponding bottom row cells.  Cells in the outer left column are adjacent to the corresponding cells in the outer right column( wrap- around adjacency). K-map SOP Minimization  For an SOP expression in standard form, a 1 is placed on the K-map for each product term in the expression.  The cells that do not have 1 are the cells for which the expression is 0.  When working with SOP expressions the 0s are left off the map.
  • 30. BOOLEAN ALGEBRA Example Map the standard SOP expression on the K-map ABC + ABC + ABC + ABC  For a nonstandard SOP expression , convert it to standard form before you use a K-map. C AB 0 1 00 01 11 10 1 1 1 1 ABC ABC ABC ABC
  • 31. BOOLEAN ALGEBRA  Simplification of SOP expressions using K-maps is the process of getting the fewest possible terms with the fewest possible variables(minimum expression)  The minimum expression is obtained by grouping 1s i.e. enclosing those adjacent cells containing 1s. RULES  Groups must contain either 1,2,4,8 or 16 cells(2n cells).  Each cell in the group must be adjacent to 1 or more cells in that same group.  Include the largest possible number of 1s in a group.  Each 1 on the map must be included in at least 1 group. The 1s already in a group can be included in another group.  Groups may overlap.  Maximize the size the groups and minimize the number of groups.
  • 32. BOOLEAN ALGEBRA Determination of SOP expressions from K-map  Each group of cells containing 1s creates one product term composed of variables that stay the same within a group . i.e. variables that do not change from in complemented to uncomplemented or vice versa.  Determine the minimum product term for each group. 3 variable map 1 cell group yields a 3 variable term. 2 cell group yields a 2 variable term. 4 cell group yields a 1 variable term. 8 cell group yields a value of 1 for expression. 4 variable map 1 cell group yields a 4 variable term. 2 cell group yields a 3 variable term. 4 cell group yields a 2 variable term. 8 cell group yields a 1 variable term. 16 cell group yields a value of 1 for expression.
  • 33. BOOLEAN ALGEBRA Example Minimize 𝐁𝐂𝐃 + 𝐀𝐁𝐂𝐃 + 𝐀𝐁𝐂𝐃 + 𝐀𝐁𝐂𝐃 + 𝐀𝐁𝐂𝐃 + 𝐀𝐁𝐂𝐃 + 𝐀𝐁𝐂𝐃 + 𝐀𝐁𝐂𝐃 + 𝐀𝐁C𝐃 using a K-map. The first product term is not in standard form. Converting it into standard form it becomes A𝐁𝐂 𝐃 + 𝐀𝐁𝐂 𝐃 A group of 8 cells formed by adjacent outer column produces 𝐃 A group of 4 cells formed by adjacent outer column produces 𝐁𝐂 Minimum expression 𝐁𝐂 + 𝐃 CD AB 00 01 11 10 00 01 11 10 1 1 1 1 1 1 1 1 1 1
  • 34. BOOLEAN ALGEBRA  With POS expressions in standard form, 0s representing the standard terms are on the K-map. Example Map the standard POS expression on the K-map (𝐀 + 𝐁 + 𝐂 + 𝐃)(𝐀 + 𝐁 + 𝐂 + 𝐃)(𝐀 + 𝐁 + 𝐂 + 𝐃)(𝐀 + 𝐁 + 𝐂 + 𝐃)  For a nonstandard POS expression , convert it to standard form before you use a K-map. K-maps POS Minimization 1. Determine the binary value of each sum term in the standard POS expression with binary value =0. 2. Group the 0s to minimum sum terms Example Map the standard POS expression on the K-map (𝐁 + 𝐂 + 𝐃)(𝐀 + 𝐁 + 𝐂 + 𝐃)(𝐀 + 𝐁 + 𝐂 + 𝐃)(𝐀 + 𝐁 + 𝐂 + 𝐃)(𝐀 + 𝐁 + 𝐂 + 𝐃)
  • 35. BOOLEAN ALGEBRA Conversion between POS and SOP using the K-map  With POS expressions, all cells that do not contain 0s contain 1s from which SOP expression is derived.  Likewise for an SOP expression, all the cells that do not contain 1s contain 0s, from which the POS expression is derived.  This provides a good way to compare both minimum forms of an expression to determine if one of them can be implemented with fewer gates than the other. Example Convert the following standard POS expression into a minimum POS expression, a standard SOP expression and a minimum SOP expression (𝐀 + 𝐁 + 𝐂 + 𝐃)(𝐀 + 𝐁 + 𝐂 + 𝐃)(𝐀 + 𝐁 + 𝐂 + 𝐃)(𝐀 + 𝐁 + 𝐂 + 𝐃)(𝐀 + 𝐁 + 𝐂 + 𝐃) (𝐀 + 𝐁 + 𝐂 + 𝐃)(𝐀 + 𝐁 + +𝐂 + 𝐃)