SlideShare a Scribd company logo
Boolean Algebra
2020
1
Binary Logic and Gates
• Binary variables take on one of two values.
• Logical operators operate on binary values and
binary variables.
• Basic logical operators are the logic functions AND,
OR and NOT.
• Logic gates implement logic functions.
• Boolean Algebra: a useful mathematical system for
specifying and transforming logic functions.
• We study Boolean algebra as a foundation for
designing and analyzing digital systems!
Boolean Algebra and Logic
Gates 2
Boolean Variables and Values
A Boolean variable, usually denoted in
common letters, as a, b,..x. y etc can take
only two values 0 and 1.
So we can say x = 0 or x = 1 and y = 0 or y
= 1 but these are the ONLY values the
Boolean variables x and y can take.
3
Boolean functions
• A Boolean function F(x, y) takes Boolean
variables and outputs a Boolean value.
• For instance, we can have
F(x, y) = x + x.y where x and y are
Boolean variables.
• Again, F(x, y) = xy’ as taken from the Unit
notes
4
Logical Operators
• In the last slide, we had the Boolean
function F(x, y) = x + x.y
• Does the function expression involve
operators?
5
Logical Operators
F(x, y) = x + x.y
6
What are these operators?
Logical Operators
• Logical operators operate on
binary values and binary variables.
• For instance 0.1 = 0 and 1 + 1 = 1
so we have to learn a new
arithmetic!
7
George Boole (1815-1864)
8
George Boole was
a largely self-taught
English
mathematician,
philosopher and
logician, most of
whose short career
was spent as the
first professor of
mathematics at
Queen's College,
Cork in Ireland.
Boolean Arithmetic
4–9
OR AND
0 + 0 = 0 0 * 0 = 0
0 + 1 = 1 0 * 1 = 0
1 + 0 = 1 1 * 0 = 0
1 + 1 = 1 1 * 1 = 1
NEGATION
0’ = 1 1’ = 0
Boolean Single Value Theorems
4–10
x 1 x + 1
0 1 1
1 1 1
We can prove the above assertions using
truth tables as follows:
How can you
interpret this
truth table?
11
Absorption Law
Use a truth table to show that for two
Boolean variables x, y and z: x + xy = x
x y xy x + xy
0 0
0 1
1 0
1 1
12
Absorption Law
Use a truth table to show that for two
Boolean variables x, y and z: x + xy = x
x y xy x + xy
0 0 0 0
0 1 0 0
1 0 0 1
1 1 1 1
Boolean Expression Calculator
13
https://www.dcode.fr/boolean-expressions-calculator
Boolean Algebra Theorems
4–14
Boolean Algebraic Proofs
• Our primary reason for doing proofs is to
learn:
– Careful and efficient use of the identities and
theorems of Boolean algebra, and
– How to choose the appropriate identity or
theorem to apply to make forward progress,
irrespective of the application.
Boolean Algebra and Logic
Gates 15
Boolean Algebra
16
Boolean algebra refers to symbolic manipulation of expressions made up of boolean
variables and boolean operators. The familiar identity, commutative, distributive, and
associative axioms from algebra define the axioms of Boolean algebra, along with the
two complementary axioms.
Use Boolean algebra to prove that: x + x · y = x
Proof Steps Justification
x + x · y
= x · 1 + x · y Identity element: x · 1 = x
= x · ( 1 + y) Distributive
= x · 1 1 + y = 1
= x Identity element
Boolean Algebra and Logic
Gates 17
Boolean Algebra
18
In addition, we also have the following;
Use Boolean algebra to show that (x + y) (x + z) = x + yz
19
Proof Steps Justification
(x + y)(x + z)
= x x + xz + yx + yz Expanding
= x + xz + yx + yz Idempotent Law of
Multiplication
= x + x (z + y) + yz Distributive Law
= x + yz Absorption Law
Use Boolean algebra to show that (x + y) (x + z) = x + yz
20
Proof Steps Justification
(x + y)(x + z)
= x + yz Absorption Law
Is it still true that: (x + y)(x + z) = x(x + z) + y (x + z)
21
x y z x + y x + z (x +y)(x + z) x(x + z) y(x + z) x(x+z)+y(x+z)
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
Is it still true that: (x + y)(x + z) = x(x + z) + y (x + z)
22
x y z x + y x + z (x +y)(x + z) x(x + z) y(x + z) x(x+z)+y(x+z)
0 0 0 0 0 0 0 0 0
0 0 1 0 1 0 0 0 0
0 1 0 1 0 0 0 0 0
0 1 1 1 1 1 0 1 1
1 0 0 1 1 1 1 0 1
1 0 1 1 1 1 1 0 1
1 1 0 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1
Boolean Functions
23
A Boolean function accepts binary inputs and outputs a single
binary value.
A Boolean function is a mathematical function that maps
arguments to a value where the allowable values of range (the
function arguments) and domain (the function value) are just
one of two values, 0 or 1.
We usually denote Boolean functions as F(x, y) where x and y
are Boolean variables. We use truth tables to evaluate the
functions.
https://introcs.cs.princeton.edu/java/71boolean/
Boolean function
• We can define a Boolean function:
F(x, y) = (x AND y) OR (NOT x AND NOT y)
• We write: F(x, y, z) = xy + x’y’
• and then write a “truth table” for it:
24
x y x’ y’ xy x’y’ F(x, y ,z) = xy + x’y’)
0 0 1 1 0 1 1
0 1 1 0 0 0 0
1 0 0 1 0 0 0
1 1 0 0 1 0 1
• Finally, use gates to implement the function: F(x, y) = xy + x’y
• We use two AND gates and one OR gate.
Boolean function
• Another example:
F(x, y, z) = (x AND y AND (NOT z))
OR (x AND (NOT y) AND z)
OR ((NOT x) AND Y AND Z)
OR xyz
• We write this as:
F(x, y, z) = xyz’ + xy’z + x’yz + xyz
25
• Can this function be simplified?
• We can use the Boolean Expression Calculator to help with
this…
Boolean Expression Calculator
26
https://www.dcode.fr/boolean-expressions-calculator
Logicly [logicly.ly]
The application “Logicly” can be used to simulate the circuit as
shown:
You can take a free trial and then either download it on your
computer to use it or use it online.
27
Building the circuit in logicly
28
The gate circuit and truth table
29
Logic Gate Circuit
30
What practical use would this circuit have? Suggestions…
Minterms
A minterm, denoted by mi, where 0
≤ I < 2n, is a product (AND) of the n
variables in which each variable is
complemented if the value
assigned to it is 0, and
uncomplemented if it is 1.
We speak of the 1-minterms =
minterms for which the function F =
1 and 0-minterms, the minterms for
which the function F = 0.
Any Boolean function can be
expressed as a sum (OR) of its 1-
minterms. We write F(x, y z) = ∑(3, 5, 6, 7)
Maxterms
32
Boolean Function F(x, y, z) = x + yz
33
The truth table can show us all the outputs of F(x, y, z) for various
values of the inputs:.
x y z yz x + yz
0 0 0 0 m0 = 0
0 0 1 0 m1 = 0
0 1 0 0 m2 = 0
0 1 1 1 m3 = 1
1 0 0 0 m4 = 1
1 0 1 0 m5 = 1
1 1 0 0 m6 = 1
1 1 1 1 m7 = 1
So here we have F(x, y, z) = x’yz + xy’z’ + xy’z + xyz’ +xyz
Boolean Expression Calculator
34
F(x, y, z) = x’yz + xy’z’ + xy’z + xyz’ +xyz
Spot the error?
Boolean Expression Calculator
35
Congratulations!!
Boolean Expression Calculator
36
F(x, y, z) = x’yz + xy’z’ + xy’z + xyz’ +xyz = x + yz
37
F(x, y, z) = x’yz + xy’z’ + xy’z + xyz’ +xyz = x + yz
How many gates does each of the expressions use?
Recall: (x + y) (x + z) = x + yz
and now we have
x + yz = x’yz + xy’z’ + xy’z + xyz’ +xyz
Is there a way to prove all this algebraically…
38
Proof Steps Justification
x’yz + xy’z’ + xy’z + xyz’ +xyz
= x’yz + xy’z’ + xy’z + xyz’ +xyz + xyz Idempotent
= (x’ + x) yz + xy (z + z’) + xy’(z + z’) Distributive
= yz + xy + xy’ Complement law
= x(y + y’) + yz Distributive Law
= x + yz Absorption law
Show that: x’yz + xy’z + xyz’ +xyz = xy + yz + + yz
39
Proof Steps Justification
x’yz + xy’z + xyz’ +xyz
= x’yz + xy’z + xyz’ +xyz +xyz + xyz Idempotent
= xy(z + z’) + xz (y + y’) + yz (x + x’) Distributive
= xy + yz + xz Complement law
We have seen that (x + y) (x + z) = x + yz
40
(x + y) (x + z) is a Product of Sums (POS)
expression
snd x + yz is a Sum of Products (SOP)
So F(x, y z) = (x + y)(x + z) = x + yz
Ie. The same function can be represented in
SOP or POS format.
Express the function F(x, y, z) = x + yz as a
POS expression.
41
Proof Steps Justification
x + yz
= x + x (z + y) + yz
= x + xz + xy + yz
= xx + xz + xy + yz
= (x + y)(x + z) as per required.
Definitions
42
The boolean expression that we construct is
known as the sum-of-products
representation is also known as the
disjunctive normal form of the function.
A boolean expression consisting entirely
either of minterm or maxterm is called
canonical expression.
43
Express the Boolean function F(a, b, c) = (b + ac’)’(ab’ + c) in
Sum-of-Products form using Boolean algebra laws and
theorems. Express in the minimal expression.
F(a, b, c) = (b + ac’)’(ab’ + c)
= (b’)(ac’)’(ab’ + c) De Morgan’s Law
= b’(a’ + c)(ab’ + c) De Morgan’s law
= (a’b’ + b’c)(ab’ + c) Distributive Law
= a’b’ab’ + a’b’c + b’cab’ + b’cc
= a’b’c + ab’c + b’c
= b’c(a’ + a + 1)
= b’c
44
We had earlier expressed the Boolean function F(a, b, c) = (b + ac’)’(ab’ +
c) in Sum-of-Products form using Boolean algebra laws and theorems.
Express this in canonical form.
F(a, b, c) = (b + ac’)’(ab’ + c)
a b c b’ c’ ac’ b + ac’ (b + ac’)’ ab’ ab’ + c F(a, b, c)
0 0 0 1 1 0 0 1 0 0 0
0 0 1 1 0 0 0 1 0 1 1
0 1 0 0 1 0 1 0 0 0 0
0 1 1 0 0 0 1 0 0 1 0
1 0 0 1 1 1 1 0 1 1 0
1 0 1 1 0 0 0 1 1 1 1
1 1 0 0 1 1 1 0 0 0 0
1 1 1 0 0 0 1 0 0 1 0
F(a, b, c) = a’b’c + ab’c
Canonical Form
• Express in canonical form…F(X, Y, Z) = X Y + Y ‘Z
X Y Z X Y Y’ Y ‘Z F = X Y + Y ‘Z
0 0 0 0 1 0 0
0 0 1 0 1 1 1
0 1 0 0 0 0 0
0 1 1 0 0 0 0
1 0 0 0 1 0 0
1 0 1 0 1 1 1
1 1 0 1 0 0 1
1 1 1 1 0 0 1
46
Claude Shannon
47
Shannon's work became the
foundation of digital circuit
design, as it became widely
known in the electrical
engineering community during
and after World War II. The
theoretical rigor of Shannon's
work superseded the ad hoc
methods that had prevailed
previously..
Boolean Algebra Simplification
Boolean Algebra and Logic
Gates 48
11 1 1
11 1 0
11 0 1
11 0 0
00 1 1
00 1 0
10 0 1
00 0 0
X Y Z F(x, y, z) From the minterms expansion, we have:
F(x, y, z) = x’y’z + xy’z’ +xy’z + xyz’ + xyz
= (x’ + x)y’z + xz’(y’ + y) + xyz
= y’z + xz’y’ + xz’y + xyz
= y’z + x(yz + yz’ + z’y’)
= y’z + x(yz + yz’ + (yz)’)
= y’z + x(1 + yz’)
= x + y’z
We can use the Boolean algebra laws to simplify a function. What is the
formula for F9x, y, z) from the following?
From the Boolean expression to the logic gate diagram…
Boolean Algebra and Logic
Gates 49
11 1 1
11 1 0
11 0 1
11 0 0
00 1 1
00 1 0
10 0 1
00 0 0
X Y Z F(x, y, z) F(x, y, z) = x’y’z + xy’z’ +xy’z + xyz’ + xyz
= (x’ + x)y’z + xz’(y’ + y) + xyz
= y’z + xz’y’ + xz’y + xyz
= y’z + x(yz + yz’ + z’y’)
= y’z + x(yz + yz’ + (yz)’)
= y’z + x(1 + yz’)
= x + y’z
We can use the Boolean algebra laws to simplify a function. What is the
formula for F9x, y, z) from the following?
X
Y F
Z
Logic gates…
50

More Related Content

What's hot

BOOLEAN ALGEBRA
BOOLEAN ALGEBRA BOOLEAN ALGEBRA
BOOLEAN ALGEBRA
Shaik Aman
 
Modified booth's algorithm Part 2
Modified booth's algorithm Part 2Modified booth's algorithm Part 2
Modified booth's algorithm Part 2
babuece
 
Introduction to digital logic
Introduction to digital logicIntroduction to digital logic
Introduction to digital logic
Kamal Acharya
 
Magnitude comparator
Magnitude comparatorMagnitude comparator
Magnitude comparator
Syed Saeed
 
Binary operations
 Binary operations Binary operations
Binary operations
NicolaMorris21
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
Hau Moy
 
presentation on (Boolean rules & laws)
presentation on (Boolean rules & laws)presentation on (Boolean rules & laws)
presentation on (Boolean rules & laws)kinza arshad
 
Boolean algebra.pptx
Boolean algebra.pptxBoolean algebra.pptx
Boolean algebra.pptx
Mhhh7
 
Binary division restoration and non restoration algorithm
Binary division restoration and non restoration algorithmBinary division restoration and non restoration algorithm
Binary division restoration and non restoration algorithm
Prasenjit Dey
 
KARNAUGH MAP(K-MAP)
KARNAUGH MAP(K-MAP)KARNAUGH MAP(K-MAP)
KARNAUGH MAP(K-MAP)
mihir jain
 
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
 
1551 limits and continuity
1551 limits and continuity1551 limits and continuity
1551 limits and continuity
Dr Fereidoun Dejahang
 
Complement in DLD
Complement in DLDComplement in DLD
Complement in DLD
shahzad ali
 
Magnitude Comparator and types of MC
Magnitude Comparator and types of MCMagnitude Comparator and types of MC
Magnitude Comparator and types of MC
Easy n Inspire L
 
Unit 1 quantifiers
Unit 1  quantifiersUnit 1  quantifiers
Unit 1 quantifiers
raksharao
 
Quick tutorial on IEEE 754 FLOATING POINT representation
Quick tutorial on IEEE 754 FLOATING POINT representationQuick tutorial on IEEE 754 FLOATING POINT representation
Quick tutorial on IEEE 754 FLOATING POINT representation
Ritu Ranjan Shrivastwa
 
Matrices and System of Linear Equations ppt
Matrices and System of Linear Equations pptMatrices and System of Linear Equations ppt
Matrices and System of Linear Equations ppt
Drazzer_Dhruv
 
M3 PPT 22ESC143.docx
M3 PPT 22ESC143.docxM3 PPT 22ESC143.docx
M3 PPT 22ESC143.docx
Jyothi122118
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmetic
Meenakshi Paul
 

What's hot (20)

BOOLEAN ALGEBRA
BOOLEAN ALGEBRA BOOLEAN ALGEBRA
BOOLEAN ALGEBRA
 
Modified booth's algorithm Part 2
Modified booth's algorithm Part 2Modified booth's algorithm Part 2
Modified booth's algorithm Part 2
 
Introduction to digital logic
Introduction to digital logicIntroduction to digital logic
Introduction to digital logic
 
Magnitude comparator
Magnitude comparatorMagnitude comparator
Magnitude comparator
 
Binary operations
 Binary operations Binary operations
Binary operations
 
Boolean
BooleanBoolean
Boolean
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
presentation on (Boolean rules & laws)
presentation on (Boolean rules & laws)presentation on (Boolean rules & laws)
presentation on (Boolean rules & laws)
 
Boolean algebra.pptx
Boolean algebra.pptxBoolean algebra.pptx
Boolean algebra.pptx
 
Binary division restoration and non restoration algorithm
Binary division restoration and non restoration algorithmBinary division restoration and non restoration algorithm
Binary division restoration and non restoration algorithm
 
KARNAUGH MAP(K-MAP)
KARNAUGH MAP(K-MAP)KARNAUGH MAP(K-MAP)
KARNAUGH MAP(K-MAP)
 
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
 
1551 limits and continuity
1551 limits and continuity1551 limits and continuity
1551 limits and continuity
 
Complement in DLD
Complement in DLDComplement in DLD
Complement in DLD
 
Magnitude Comparator and types of MC
Magnitude Comparator and types of MCMagnitude Comparator and types of MC
Magnitude Comparator and types of MC
 
Unit 1 quantifiers
Unit 1  quantifiersUnit 1  quantifiers
Unit 1 quantifiers
 
Quick tutorial on IEEE 754 FLOATING POINT representation
Quick tutorial on IEEE 754 FLOATING POINT representationQuick tutorial on IEEE 754 FLOATING POINT representation
Quick tutorial on IEEE 754 FLOATING POINT representation
 
Matrices and System of Linear Equations ppt
Matrices and System of Linear Equations pptMatrices and System of Linear Equations ppt
Matrices and System of Linear Equations ppt
 
M3 PPT 22ESC143.docx
M3 PPT 22ESC143.docxM3 PPT 22ESC143.docx
M3 PPT 22ESC143.docx
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmetic
 

Similar to DM2020 boolean algebra

Chapter 4 logic design
Chapter 4   logic designChapter 4   logic design
Chapter 4 logic design
Burhanuddin Mohammad
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
blaircomp2003
 
Chapter 2.pptx
Chapter 2.pptxChapter 2.pptx
Chapter 2.pptx
AliaaTarek5
 
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
arunachalamr16
 
Boolean Algebra SOP POS_Computer Architecture.pdf
Boolean Algebra SOP POS_Computer Architecture.pdfBoolean Algebra SOP POS_Computer Architecture.pdf
Boolean Algebra SOP POS_Computer Architecture.pdf
SangitaBose2
 
M3 PPT 22ESC143.docx
M3 PPT 22ESC143.docxM3 PPT 22ESC143.docx
M3 PPT 22ESC143.docx
Jyothi122118
 
Boolean expression org.
Boolean expression org.Boolean expression org.
Boolean expression org.
mshoaib15
 
DLD Chapter-2.pdf
DLD Chapter-2.pdfDLD Chapter-2.pdf
DLD Chapter-2.pdf
TamiratDejene1
 
Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)
MeghaSharma513
 
booleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).pptbooleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).ppt
michaelaaron25322
 
Boolean Algebra logic and De Morgan theorem
Boolean Algebra logic and De Morgan theoremBoolean Algebra logic and De Morgan theorem
Boolean Algebra logic and De Morgan theorem
balafet
 
Bitwise
BitwiseBitwise
Bitwise
Axel Ryo
 
Digital Electronics
Digital ElectronicsDigital Electronics
Digital Electronics
Benesh Selvanesan
 
Boolean algebra and logic gates
Boolean algebra and logic gatesBoolean algebra and logic gates
Boolean algebra and logic gates
Prof. Dr. K. Adisesha
 
boolean.pdf
boolean.pdfboolean.pdf
boolean.pdf
NirnayaNbstriker
 
Boolean alebra
Boolean alebraBoolean alebra
Boolean alebra
Manash Kumar Mondal
 
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
siliconvalley6203
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
LingalaSowjanya
 
Boolean algebra and Logic gates
Boolean algebra and Logic gatesBoolean algebra and Logic gates
Boolean algebra and Logic gates
Prof. Dr. K. Adisesha
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
Manish Kumar
 

Similar to DM2020 boolean algebra (20)

Chapter 4 logic design
Chapter 4   logic designChapter 4   logic design
Chapter 4 logic design
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
Chapter 2.pptx
Chapter 2.pptxChapter 2.pptx
Chapter 2.pptx
 
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
 
Boolean Algebra SOP POS_Computer Architecture.pdf
Boolean Algebra SOP POS_Computer Architecture.pdfBoolean Algebra SOP POS_Computer Architecture.pdf
Boolean Algebra SOP POS_Computer Architecture.pdf
 
M3 PPT 22ESC143.docx
M3 PPT 22ESC143.docxM3 PPT 22ESC143.docx
M3 PPT 22ESC143.docx
 
Boolean expression org.
Boolean expression org.Boolean expression org.
Boolean expression org.
 
DLD Chapter-2.pdf
DLD Chapter-2.pdfDLD Chapter-2.pdf
DLD Chapter-2.pdf
 
Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)
 
booleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).pptbooleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).ppt
 
Boolean Algebra logic and De Morgan theorem
Boolean Algebra logic and De Morgan theoremBoolean Algebra logic and De Morgan theorem
Boolean Algebra logic and De Morgan theorem
 
Bitwise
BitwiseBitwise
Bitwise
 
Digital Electronics
Digital ElectronicsDigital Electronics
Digital Electronics
 
Boolean algebra and logic gates
Boolean algebra and logic gatesBoolean algebra and logic gates
Boolean algebra and logic gates
 
boolean.pdf
boolean.pdfboolean.pdf
boolean.pdf
 
Boolean alebra
Boolean alebraBoolean alebra
Boolean alebra
 
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Boolean algebra and Logic gates
Boolean algebra and Logic gatesBoolean algebra and Logic gates
Boolean algebra and Logic gates
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 

More from Robert Geofroy

ESOL_COURSE_ INTRODUCTION_R_GEOFROY.pptx
ESOL_COURSE_ INTRODUCTION_R_GEOFROY.pptxESOL_COURSE_ INTRODUCTION_R_GEOFROY.pptx
ESOL_COURSE_ INTRODUCTION_R_GEOFROY.pptx
Robert Geofroy
 
This is the introductory set of slides for the Basic English course.
This is the introductory set of slides for the Basic English course.This is the introductory set of slides for the Basic English course.
This is the introductory set of slides for the Basic English course.
Robert Geofroy
 
Sampling Distribution of Sample proportion
Sampling Distribution of Sample proportionSampling Distribution of Sample proportion
Sampling Distribution of Sample proportion
Robert Geofroy
 
Dm2021 binary operations
Dm2021 binary operationsDm2021 binary operations
Dm2021 binary operations
Robert Geofroy
 
Set theory
Set theorySet theory
Set theory
Robert Geofroy
 
Permutations 2020
Permutations 2020Permutations 2020
Permutations 2020
Robert Geofroy
 
Datasets
DatasetsDatasets
Datasets
Robert Geofroy
 
Course project solutions 2018
Course project solutions 2018Course project solutions 2018
Course project solutions 2018
Robert Geofroy
 
Course project solutions 2019
Course project solutions 2019Course project solutions 2019
Course project solutions 2019
Robert Geofroy
 
Arguments and methods of proof
Arguments and methods of proofArguments and methods of proof
Arguments and methods of proof
Robert Geofroy
 
Using sage maths to solve systems of linear equations
Using sage maths to solve systems of linear equationsUsing sage maths to solve systems of linear equations
Using sage maths to solve systems of linear equations
Robert Geofroy
 

More from Robert Geofroy (11)

ESOL_COURSE_ INTRODUCTION_R_GEOFROY.pptx
ESOL_COURSE_ INTRODUCTION_R_GEOFROY.pptxESOL_COURSE_ INTRODUCTION_R_GEOFROY.pptx
ESOL_COURSE_ INTRODUCTION_R_GEOFROY.pptx
 
This is the introductory set of slides for the Basic English course.
This is the introductory set of slides for the Basic English course.This is the introductory set of slides for the Basic English course.
This is the introductory set of slides for the Basic English course.
 
Sampling Distribution of Sample proportion
Sampling Distribution of Sample proportionSampling Distribution of Sample proportion
Sampling Distribution of Sample proportion
 
Dm2021 binary operations
Dm2021 binary operationsDm2021 binary operations
Dm2021 binary operations
 
Set theory
Set theorySet theory
Set theory
 
Permutations 2020
Permutations 2020Permutations 2020
Permutations 2020
 
Datasets
DatasetsDatasets
Datasets
 
Course project solutions 2018
Course project solutions 2018Course project solutions 2018
Course project solutions 2018
 
Course project solutions 2019
Course project solutions 2019Course project solutions 2019
Course project solutions 2019
 
Arguments and methods of proof
Arguments and methods of proofArguments and methods of proof
Arguments and methods of proof
 
Using sage maths to solve systems of linear equations
Using sage maths to solve systems of linear equationsUsing sage maths to solve systems of linear equations
Using sage maths to solve systems of linear equations
 

Recently uploaded

The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 

Recently uploaded (20)

The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 

DM2020 boolean algebra

  • 2. Binary Logic and Gates • Binary variables take on one of two values. • Logical operators operate on binary values and binary variables. • Basic logical operators are the logic functions AND, OR and NOT. • Logic gates implement logic functions. • Boolean Algebra: a useful mathematical system for specifying and transforming logic functions. • We study Boolean algebra as a foundation for designing and analyzing digital systems! Boolean Algebra and Logic Gates 2
  • 3. Boolean Variables and Values A Boolean variable, usually denoted in common letters, as a, b,..x. y etc can take only two values 0 and 1. So we can say x = 0 or x = 1 and y = 0 or y = 1 but these are the ONLY values the Boolean variables x and y can take. 3
  • 4. Boolean functions • A Boolean function F(x, y) takes Boolean variables and outputs a Boolean value. • For instance, we can have F(x, y) = x + x.y where x and y are Boolean variables. • Again, F(x, y) = xy’ as taken from the Unit notes 4
  • 5. Logical Operators • In the last slide, we had the Boolean function F(x, y) = x + x.y • Does the function expression involve operators? 5
  • 6. Logical Operators F(x, y) = x + x.y 6 What are these operators?
  • 7. Logical Operators • Logical operators operate on binary values and binary variables. • For instance 0.1 = 0 and 1 + 1 = 1 so we have to learn a new arithmetic! 7
  • 8. George Boole (1815-1864) 8 George Boole was a largely self-taught English mathematician, philosopher and logician, most of whose short career was spent as the first professor of mathematics at Queen's College, Cork in Ireland.
  • 9. Boolean Arithmetic 4–9 OR AND 0 + 0 = 0 0 * 0 = 0 0 + 1 = 1 0 * 1 = 0 1 + 0 = 1 1 * 0 = 0 1 + 1 = 1 1 * 1 = 1 NEGATION 0’ = 1 1’ = 0
  • 10. Boolean Single Value Theorems 4–10 x 1 x + 1 0 1 1 1 1 1 We can prove the above assertions using truth tables as follows: How can you interpret this truth table?
  • 11. 11 Absorption Law Use a truth table to show that for two Boolean variables x, y and z: x + xy = x x y xy x + xy 0 0 0 1 1 0 1 1
  • 12. 12 Absorption Law Use a truth table to show that for two Boolean variables x, y and z: x + xy = x x y xy x + xy 0 0 0 0 0 1 0 0 1 0 0 1 1 1 1 1
  • 15. Boolean Algebraic Proofs • Our primary reason for doing proofs is to learn: – Careful and efficient use of the identities and theorems of Boolean algebra, and – How to choose the appropriate identity or theorem to apply to make forward progress, irrespective of the application. Boolean Algebra and Logic Gates 15
  • 16. Boolean Algebra 16 Boolean algebra refers to symbolic manipulation of expressions made up of boolean variables and boolean operators. The familiar identity, commutative, distributive, and associative axioms from algebra define the axioms of Boolean algebra, along with the two complementary axioms.
  • 17. Use Boolean algebra to prove that: x + x · y = x Proof Steps Justification x + x · y = x · 1 + x · y Identity element: x · 1 = x = x · ( 1 + y) Distributive = x · 1 1 + y = 1 = x Identity element Boolean Algebra and Logic Gates 17
  • 18. Boolean Algebra 18 In addition, we also have the following;
  • 19. Use Boolean algebra to show that (x + y) (x + z) = x + yz 19 Proof Steps Justification (x + y)(x + z) = x x + xz + yx + yz Expanding = x + xz + yx + yz Idempotent Law of Multiplication = x + x (z + y) + yz Distributive Law = x + yz Absorption Law
  • 20. Use Boolean algebra to show that (x + y) (x + z) = x + yz 20 Proof Steps Justification (x + y)(x + z) = x + yz Absorption Law
  • 21. Is it still true that: (x + y)(x + z) = x(x + z) + y (x + z) 21 x y z x + y x + z (x +y)(x + z) x(x + z) y(x + z) x(x+z)+y(x+z) 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1
  • 22. Is it still true that: (x + y)(x + z) = x(x + z) + y (x + z) 22 x y z x + y x + z (x +y)(x + z) x(x + z) y(x + z) x(x+z)+y(x+z) 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 1 0 1 0 0 0 0 0 0 1 1 1 1 1 0 1 1 1 0 0 1 1 1 1 0 1 1 0 1 1 1 1 1 0 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
  • 23. Boolean Functions 23 A Boolean function accepts binary inputs and outputs a single binary value. A Boolean function is a mathematical function that maps arguments to a value where the allowable values of range (the function arguments) and domain (the function value) are just one of two values, 0 or 1. We usually denote Boolean functions as F(x, y) where x and y are Boolean variables. We use truth tables to evaluate the functions. https://introcs.cs.princeton.edu/java/71boolean/
  • 24. Boolean function • We can define a Boolean function: F(x, y) = (x AND y) OR (NOT x AND NOT y) • We write: F(x, y, z) = xy + x’y’ • and then write a “truth table” for it: 24 x y x’ y’ xy x’y’ F(x, y ,z) = xy + x’y’) 0 0 1 1 0 1 1 0 1 1 0 0 0 0 1 0 0 1 0 0 0 1 1 0 0 1 0 1 • Finally, use gates to implement the function: F(x, y) = xy + x’y • We use two AND gates and one OR gate.
  • 25. Boolean function • Another example: F(x, y, z) = (x AND y AND (NOT z)) OR (x AND (NOT y) AND z) OR ((NOT x) AND Y AND Z) OR xyz • We write this as: F(x, y, z) = xyz’ + xy’z + x’yz + xyz 25 • Can this function be simplified? • We can use the Boolean Expression Calculator to help with this…
  • 27. Logicly [logicly.ly] The application “Logicly” can be used to simulate the circuit as shown: You can take a free trial and then either download it on your computer to use it or use it online. 27
  • 28. Building the circuit in logicly 28
  • 29. The gate circuit and truth table 29
  • 30. Logic Gate Circuit 30 What practical use would this circuit have? Suggestions…
  • 31. Minterms A minterm, denoted by mi, where 0 ≤ I < 2n, is a product (AND) of the n variables in which each variable is complemented if the value assigned to it is 0, and uncomplemented if it is 1. We speak of the 1-minterms = minterms for which the function F = 1 and 0-minterms, the minterms for which the function F = 0. Any Boolean function can be expressed as a sum (OR) of its 1- minterms. We write F(x, y z) = ∑(3, 5, 6, 7)
  • 33. Boolean Function F(x, y, z) = x + yz 33 The truth table can show us all the outputs of F(x, y, z) for various values of the inputs:. x y z yz x + yz 0 0 0 0 m0 = 0 0 0 1 0 m1 = 0 0 1 0 0 m2 = 0 0 1 1 1 m3 = 1 1 0 0 0 m4 = 1 1 0 1 0 m5 = 1 1 1 0 0 m6 = 1 1 1 1 1 m7 = 1 So here we have F(x, y, z) = x’yz + xy’z’ + xy’z + xyz’ +xyz
  • 34. Boolean Expression Calculator 34 F(x, y, z) = x’yz + xy’z’ + xy’z + xyz’ +xyz Spot the error?
  • 36. Boolean Expression Calculator 36 F(x, y, z) = x’yz + xy’z’ + xy’z + xyz’ +xyz = x + yz
  • 37. 37 F(x, y, z) = x’yz + xy’z’ + xy’z + xyz’ +xyz = x + yz How many gates does each of the expressions use?
  • 38. Recall: (x + y) (x + z) = x + yz and now we have x + yz = x’yz + xy’z’ + xy’z + xyz’ +xyz Is there a way to prove all this algebraically… 38 Proof Steps Justification x’yz + xy’z’ + xy’z + xyz’ +xyz = x’yz + xy’z’ + xy’z + xyz’ +xyz + xyz Idempotent = (x’ + x) yz + xy (z + z’) + xy’(z + z’) Distributive = yz + xy + xy’ Complement law = x(y + y’) + yz Distributive Law = x + yz Absorption law
  • 39. Show that: x’yz + xy’z + xyz’ +xyz = xy + yz + + yz 39 Proof Steps Justification x’yz + xy’z + xyz’ +xyz = x’yz + xy’z + xyz’ +xyz +xyz + xyz Idempotent = xy(z + z’) + xz (y + y’) + yz (x + x’) Distributive = xy + yz + xz Complement law
  • 40. We have seen that (x + y) (x + z) = x + yz 40 (x + y) (x + z) is a Product of Sums (POS) expression snd x + yz is a Sum of Products (SOP) So F(x, y z) = (x + y)(x + z) = x + yz Ie. The same function can be represented in SOP or POS format.
  • 41. Express the function F(x, y, z) = x + yz as a POS expression. 41 Proof Steps Justification x + yz = x + x (z + y) + yz = x + xz + xy + yz = xx + xz + xy + yz = (x + y)(x + z) as per required.
  • 42. Definitions 42 The boolean expression that we construct is known as the sum-of-products representation is also known as the disjunctive normal form of the function. A boolean expression consisting entirely either of minterm or maxterm is called canonical expression.
  • 43. 43 Express the Boolean function F(a, b, c) = (b + ac’)’(ab’ + c) in Sum-of-Products form using Boolean algebra laws and theorems. Express in the minimal expression. F(a, b, c) = (b + ac’)’(ab’ + c) = (b’)(ac’)’(ab’ + c) De Morgan’s Law = b’(a’ + c)(ab’ + c) De Morgan’s law = (a’b’ + b’c)(ab’ + c) Distributive Law = a’b’ab’ + a’b’c + b’cab’ + b’cc = a’b’c + ab’c + b’c = b’c(a’ + a + 1) = b’c
  • 44. 44 We had earlier expressed the Boolean function F(a, b, c) = (b + ac’)’(ab’ + c) in Sum-of-Products form using Boolean algebra laws and theorems. Express this in canonical form. F(a, b, c) = (b + ac’)’(ab’ + c) a b c b’ c’ ac’ b + ac’ (b + ac’)’ ab’ ab’ + c F(a, b, c) 0 0 0 1 1 0 0 1 0 0 0 0 0 1 1 0 0 0 1 0 1 1 0 1 0 0 1 0 1 0 0 0 0 0 1 1 0 0 0 1 0 0 1 0 1 0 0 1 1 1 1 0 1 1 0 1 0 1 1 0 0 0 1 1 1 1 1 1 0 0 1 1 1 0 0 0 0 1 1 1 0 0 0 1 0 0 1 0 F(a, b, c) = a’b’c + ab’c
  • 45. Canonical Form • Express in canonical form…F(X, Y, Z) = X Y + Y ‘Z X Y Z X Y Y’ Y ‘Z F = X Y + Y ‘Z 0 0 0 0 1 0 0 0 0 1 0 1 1 1 0 1 0 0 0 0 0 0 1 1 0 0 0 0 1 0 0 0 1 0 0 1 0 1 0 1 1 1 1 1 0 1 0 0 1 1 1 1 1 0 0 1
  • 46. 46
  • 47. Claude Shannon 47 Shannon's work became the foundation of digital circuit design, as it became widely known in the electrical engineering community during and after World War II. The theoretical rigor of Shannon's work superseded the ad hoc methods that had prevailed previously..
  • 48. Boolean Algebra Simplification Boolean Algebra and Logic Gates 48 11 1 1 11 1 0 11 0 1 11 0 0 00 1 1 00 1 0 10 0 1 00 0 0 X Y Z F(x, y, z) From the minterms expansion, we have: F(x, y, z) = x’y’z + xy’z’ +xy’z + xyz’ + xyz = (x’ + x)y’z + xz’(y’ + y) + xyz = y’z + xz’y’ + xz’y + xyz = y’z + x(yz + yz’ + z’y’) = y’z + x(yz + yz’ + (yz)’) = y’z + x(1 + yz’) = x + y’z We can use the Boolean algebra laws to simplify a function. What is the formula for F9x, y, z) from the following?
  • 49. From the Boolean expression to the logic gate diagram… Boolean Algebra and Logic Gates 49 11 1 1 11 1 0 11 0 1 11 0 0 00 1 1 00 1 0 10 0 1 00 0 0 X Y Z F(x, y, z) F(x, y, z) = x’y’z + xy’z’ +xy’z + xyz’ + xyz = (x’ + x)y’z + xz’(y’ + y) + xyz = y’z + xz’y’ + xz’y + xyz = y’z + x(yz + yz’ + z’y’) = y’z + x(yz + yz’ + (yz)’) = y’z + x(1 + yz’) = x + y’z We can use the Boolean algebra laws to simplify a function. What is the formula for F9x, y, z) from the following? X Y F Z