Basic Laws, theorems, and postulates of Boolean Algebra

Slides:



Advertisements
Similar presentations
Boolean Algebra and Logic Gates
Advertisements

Lecture 5 EGRE 254 1/28/09. 2 Boolean algebra a.k.a. “switching algebra” –deals with Boolean values -- 0, 1 Positive-logic convention –analog voltages.
ECE 238L Computer Logic Design Spring 2010
Chapter 2 Logic Circuits.
ECE 331 – Digital System Design Boolean Algebra (Lecture #3) The slides included herein were taken from the materials accompanying Fundamentals of Logic.
CS 151 Digital Systems Design Lecture 6 More Boolean Algebra A B.
Boolean Algebra and Logic Gates
Boolean Algebra Module M4.1 Section 5.1. Boolean Algebra and Logic Equations Switching Algebra Theorems Venn Diagrams.
MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
CS1104: Computer Organisation Lecture 3: Boolean Algebra
Fall 2002CMSC Discrete Structures1 Yes, No, Maybe... Boolean Algebra.
Chapter Two Boolean Algebra and Logic Gate
Chapter 2: Boolean Algebra and Logic Functions
Boolean Algebra أ. زينب آل كاظم 1. Boolean Functions In Boolean algebra we work with the set {0,1}, where: 0 ≡ F (False) & 1 ≡ T (True). The 3 Operations.
Section Section Summary Introduction to Boolean Algebra Boolean Expressions and Boolean Functions Identities of Boolean Algebra Duality The Abstract.
9/15/09 - L5 Boolean AlgebraCopyright Joanne DeGroat, ECE, OSU1 Boolean Algebra.
CS1104: Computer Organisation School of Computing National University of Singapore.
Boolean Algebra – I. Outline  Introduction  Digital circuits  Boolean Algebra  Two-Valued Boolean Algebra  Boolean Algebra Postulates  Precedence.
Boolean Algebra and Logic Gates CE 40 B 18 June 2003.
Boolean Algebra and Digital Circuits
Digital Systems: Boolean Algebra and Logic Gates
Module 4.  Boolean Algebra is used to simplify the design of digital logic circuits.  The design simplification are based on: Postulates of Boolean.
Logic Design Dr. Yosry A. Azzam.
LOGIC GATES & BOOLEAN ALGEBRA
1 Boolean Algebra  Digital circuits Digital circuits  Boolean Algebra Boolean Algebra  Two-Valued Boolean Algebra Two-Valued Boolean Algebra  Boolean.
1 BOOLEAN ALGEBRA Basic mathematics for the study of logic design is Boolean Algebra Basic laws of Boolean Algebra will be implemented as switching devices.
Figure 2.6. A truth table for the AND and OR operations. 2.3 Truth Tables 1.
Computer Systems 1 Fundamentals of Computing Simplifying Boolean Expressions.
Boolean Algebra – II. Outline  Basic Theorems of Boolean Algebra  Boolean Functions  Complement of Functions  Standard Forms.
A. Abhari CPS2131 Chapter 2: Boolean Algebra and Logic Gates Topics in this Chapter: Boolean Algebra Boolean Functions Boolean Function Simplification.
1 Lect # 2 Boolean Algebra and Logic Gates Boolean algebra defines rules for manipulating symbolic binary logic expressions. –a symbolic binary logic expression.
Logic Circuits Lecture 3 By Amr Al-Awamry. Basic Definitions Binary Operators  AND z = x y = x yz=1 if x=1 AND y=1  OR z = x + y z=1 if x=1 OR y=1 
Boolean Algebra M. AL- Towaileb1. Boolean Functions In Boolean algebra we work with the set {0,1}, where: 0 ≡ F (False) & 1 ≡ T (True). The 3 Operations.
Binary Logic and Gates Boolean Algebra Canonical and Standard Forms Chapter 2: Boolean Algebra and Logic Gates.
CEC 220 Digital Circuit Design Boolean Algebra Friday, January 17 CEC 220 Digital Circuit Design Slide 1 of 22.
Module 5.  In Module 3, you have learned the concept of Boolean Algebra which consists of binary variables and binary operator.  A binary variable x,
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 4 Dr. Shi Dept. of Electrical and Computer Engineering.
1 Digital Design Debdeep Mukhopadhyay Associate Professor Dept of Computer Science and Engineering NYU Shanghai and IIT Kharagpur.
ECE DIGITAL LOGIC LECTURE 8: BOOLEAN FUNCTIONS Assistant Prof. Fareena Saqib Florida Institute of Technology Spring 2016, 02/11/2016.
CSE 461. Binary Logic Binary logic consists of binary variables and logical operations. Variables are designated by letters such as A, B, C, x, y, z etc.
Boolean Algebra.
CSE 260 BRAC University.
CHAPTER 2 Boolean algebra and Logic gates
Digital Logic Circuits, Digital Component and Data Representation Course: BCA-2 nd Sem Subject: Computer Organization And Architecture Unit-1 1.
ECE 331 – Digital System Design
CS2100 Computer Organisation
Chapter 2: Boolean Algebra and Logic Functions
ECE 20B, Winter 2003 Introduction to Electrical Engineering, II LECTURE NOTES #2 Instructor: Andrew B. Kahng (lecture)
CS 105 Digital Logic Design
CHAPTER 3 BOOLEAN ALGEBRA (continued)
CHAPTER 2 Boolean Algebra
… and now for the Final Topic:
CHAPTER 2 Boolean Algebra This chapter in the book includes:
Princess Sumaya University
Boolean Algebra.
Boolean Algebra.
Boolean Algebra.
CMSC Discrete Structures
Boolean Algebra & Logic Circuits
Chapter 2 Boolean Algebra and Logic Gate
2. Boolean Algebra and Logic Gates
Yes, No, Maybe... BooleanAlgebra 12/10/2018.
Boolean Algebra Introduction CSCI 240
CHAPTER 3 BOOLEAN ALGEBRA (continued)
COMS 361 Computer Organization
ECE 352 Digital System Fundamentals
Digital Logic Chapter-2
BOOLEAN ALGEBRA.
Chapter 4 Combinational Logic Design Principles. Overview Objectives -Define combinational logic circuit -Analysis of logic circuits (to describe what.
CMSC Discrete Structures
Presentation transcript:

Basic Laws, theorems, and postulates of Boolean Algebra EEE301 – Digital Electronics Rachaen M. Huq Dept. of EEE, BRACU Rachaen M. Huq

Logistics New website for scheduling an appointment with me. meetme.setmore.com Rachaen M. Huq

Associative Law In traditional algebra : (xy)z= x(yz) How would you prove this? Think of something simple. Rachaen M. Huq

Associative Law we would show that for any value of x,y and z, the identity would be true. In Boolean Algebra, (x.y).z = x.(y.z) How can we be sure? What would be true? ? Rachaen M. Huq

Associative Law The truth table x y z xy (xy)z 1 x y z yz X(yz) 1 1 x y z yz X(yz) 1 Rachaen M. Huq

Other laws x + x' = 1 x . x' = 0 x + y = y + x x . y = y . x Rachaen M. Huq

Other laws (x + y) + z = x + (y + z) = x + y + z 0 + x = x + 0 = x 1 . x = x . 1 = x Rachaen M. Huq

Other Laws x . (y + z) = (x . y) + (x . z) You can prove all these using .... ? Rachaen M. Huq

Duality – an interesting property of Boolean algebra every valid Boolean expression (equality) remains valid if the operators and identity elements are interchanged, as follows: +  . 1  0 Example: Given the expression a + (b.c) = (a+b).(a+c) The following would be true as well. a . (b+c) = (a.b) + (a.c)

Duality (x.y.z)' = x'+y'+z’ Duality gives free theorems If (x+y+z)' = x'.y.'z' is valid, then its dual is also valid: (x.y.z)' = x'+y'+z’ If x + 1 = 1 is valid, then its dual is also valid: x . 0 = 0

Important! Understand the difference between identities and equations (a+b)^2 = a^2 + 2ab + b^2 is an identity (can be compared with laws, theorems, postulates) X^2 -2x+1 = 0 ….. Is an equation, i.e for only a (limited) number of real values of x would satisfy both sides of the equal sign. Rachaen M. Huq

Basic Theorems/postulates of Boolean Algebra x+0=x ------------ x.1=x x+x’=1 ------------ x.x’=0 x+x=x --------------x.x=x x+1=1 -------------- x.0=0 (x’)’=x x+y=y+x -----------xy=yx x(yz)=(xy)z --------x+(y+z)=(x+y)+z x(y+z)=xy+xz ----- x+yz=(x+y)(x+z) (x+y)’=x’y’ -------- (xy)’=x’+y’ x+xy=x ------------- x(x+y)=x Table 2.1 Morris Mano Super important !

Why Boolean Algebra is interesting? Two different expressions carry the same meaning. If a Boolean Function is expressed by an expression, which has a shorter version (e.g. x+xy=x) then it is certainly interesting for us. Why? Because length of the expression is related to the size of chips (number of gates), in other words MONEY! Rachaen M. Huq

How Boolean Algebra reduce cost! Lets take an example of two Booleans functions: F1 = x+ xy (express in words what they mean) F2 = x (express in words what they mean) Draw the logic diagrams See the difference. Boolean algebra says that there was NO gate necessary at all, maybe just one buffer. Rachaen M. Huq

Basic Theorems of Boolean Algebra Theorems can be proved using the truth table method. (Exercise: Prove De-Morgan’s theorem using the truth table.) They can also be proved by algebraic manipulation using axioms/postulates or other basic theorems.

Basic Theorems of Boolean Algebra Theorem 6a (absorption) can be proved by: x + x.y = x.1 + x.y (identity) = x.(1 + y) (distributivity) = x.(y + 1) (commutativity) = x.1 (Theorem 2a) = x (identity) By duality, theorem 6b: x.(x+y) = x Try prove this by algebraic manipulation.

Boolean Functions (Solve ?) Examples: F1= xyz' F2= x + y'z F3=(x'y'z)+(x'yz)+(xy') F4=xy'+x'z From the truth table, F3=F4. Can you also prove by algebraic manipulation that F3=F4?

Switch to blackboard for more examples.

Drawing Logic Circuit – Trivial- See at home When a Boolean expression is provided, we can easily draw the logic circuit. Examples: (i) F1 = xz' (note the use of a 2-input AND gate) x z F1 z'

Drawing Logic Circuit (ii) F2 = x + y'z (can assume that variables and their complements are available) x y' z F2 y'z (iii) F3 = xy' + x'z x' z F3 x'z xy' x y'

Solve it yourself Q1. Draw a logic circuit for BD + BE + D’F A’BC + B’CD + BC’D + ABD’

Analysing Logic Circuit When a logic circuit is provided, we can analyse the circuit to obtain the logic expression. Example: What is the Boolean expression of F4? A'B' A' B' C F4 A'B'+C (A'B'+C)' F4 = (A'B'+C)' = (A+B).C'

Solve it yourself What is Boolean expression of F5? z F5 x y

There are always shortcuts (Format approaches) Shortcuts to derive Boolean expressions from the truth table directly and vice versa No intermediate columns (e.g. columns for x’ ,or xy’, or z’) are necessary. Using minterms (mostly used) / maxterms Can be derived by looking closely at the truth tables. Rachaen M. Huq

Canonical Forms Shortest way to express a Boolean Function. Gives the idea about what the function logically does to inputs. But no idea about how many gates required to implement it. Rachaen M. Huq