Boolean Algebra – II. Outline  Basic Theorems of Boolean Algebra  Boolean Functions  Complement of Functions  Standard Forms.

Slides:



Advertisements
Similar presentations
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.
Advertisements

CS2100 Computer Organisation
Logical Systems Synthesis.
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.
ECE 331 – Digital System Design
CS 151 Digital Systems Design Lecture 6 More Boolean Algebra A B.
MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 1 Boolean Function Boolean function is an expression form containing binary variable, two-operator binary which.
SYEN 3330 Digital SystemsJung H. Kim Chapter SYEN 3330 Digital Systems Chapter 2 -Part 2.
EECC341 - Shaaban #1 Lec # 5 Winter Switching Algebra: Principle of Duality Any theorem or identity in switching algebra remains true if.
1 Section 10.1 Boolean Functions. 2 Computers & Boolean Algebra Circuits in computers have inputs whose values are either 0 or 1 Mathematician George.
Boolean Algebra and Logic Gates
COMBINATIONAL LOGIC CIRCUITS C.L. x1 x2 xn Z Z = F (x1, x2, ……., Xn) F is a Binary Logic (BOOLEAN ) Function Knowing F Allows Straight Forward Direct Implementation.
ECE 301 – Digital Electronics Boolean Algebra and Standard Forms of Boolean Expressions (Lecture #4) The slides included herein were taken from the materials.
CS1104: Computer Organisation Lecture 3: Boolean Algebra
Boolean Algebra and Logic Simplification. Boolean Addition & Multiplication Boolean Addition performed by OR gate Sum Term describes Boolean Addition.
Chapter 2: Boolean Algebra and Logic Functions
9/15/09 - L5 Boolean AlgebraCopyright Joanne DeGroat, ECE, OSU1 Boolean Algebra.
Boolean Algebra Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2009.
CHAPTER 2 Boolean Algebra
CS1104: Computer Organisation School of Computing National University of Singapore.
©2004 Brooks/Cole FIGURES FOR CHAPTER 2 BOOLEAN ALGEBRA Click the mouse to move to the next page. Use the ESC key to exit this chapter. This chapter in.
Module 4.  Boolean Algebra is used to simplify the design of digital logic circuits.  The design simplification are based on: Postulates of Boolean.
Chapter 3 Gate-Level Minimization
Boolean Logic and Circuits ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.
CT455: Computer Organization Boolean Algebra
Boolean Algebra AND gate A B | AB 0 0 | | | | 1 OR gate A B | A + B 0 0 | | | | 1 NOT gate _ A | A or A’ 0 | 1 1 |
6 - 1 Simplification Theorems Useful for simplification of expressions & therefore simplification of the logic network which results. XY + XY' = ( X +
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.
ENGIN112 L6: More Boolean Algebra September 15, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 6 More Boolean Algebra A B.
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 
© BYU 03 BA1 Page 1 ECEn 224 Boolean Algebra – Part 1.
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,
BOOLEAN ALGEBRA – Digital Circuit 1 Choopan Rattanapoka.
Boolean Algebra and Logic Gates
C.S. Choy21 BOOLEAN ALGEGRA The Mathematics of logic Boolean variables have only two possible values (binary) Operators:. Product+ SumComplement A.B A+B.
Dale Roberts Department of Computer and Information Science, School of Science, IUPUI Dale Roberts, Lecturer Computer Science, IUPUI
Dale Roberts Department of Computer and Information Science, School of Science, IUPUI Dale Roberts, Lecturer Computer Science, IUPUI
ECE DIGITAL LOGIC LECTURE 8: BOOLEAN FUNCTIONS Assistant Prof. Fareena Saqib Florida Institute of Technology Spring 2016, 02/11/2016.
CEC 220 Digital Circuit Design Boolean Algebra II Fri, Sept 4 CEC 220 Digital Circuit Design Slide 1 of 13.
Boolean Algebra. BOOLEAN ALGEBRA Formal logic: In formal logic, a statement (proposition) is a declarative sentence that is either true(1) or false (0).
Boolean Algebra ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.
Lecture 5 More Boolean Algebra A B. Overview °Expressing Boolean functions °Relationships between algebraic equations, symbols, and truth tables °Simplification.
Function Simplification. Outline  Function Simplification  Algebraic Simplification  Half Adder  Introduction to K-maps  Venn Diagrams.
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.
Basic Laws, theorems, and postulates of Boolean Algebra
Boolean Algebra How gates get picked. Boolean Arithmetic Boolean ≠ Binary – Boolean – 1/0 only, no places Boolean addition:
ECE 301 – Digital Electronics
CS2100 Computer Organisation
Chapter 2: Boolean Algebra and Logic Functions
Boolean Algebra.
ECE 20B, Winter 2003 Introduction to Electrical Engineering, II LECTURE NOTES #2 Instructor: Andrew B. Kahng (lecture)
CS 105 Digital Logic Design
CHAPTER 2 Boolean Algebra
CHAPTER 2 Boolean Algebra This chapter in the book includes:
Overview Part 1 – Gate Circuits and Boolean Equations
Princess Sumaya University
Boolean Algebra – Part 1 ECEn 224.
SLIDES FOR CHAPTER 2 BOOLEAN ALGEBRA
FIGURES FOR CHAPTER 2 BOOLEAN ALGEBRA
ECE/CS 352 Digital Systems Fundamentals
Lecture 3: Boolean Algebra
Boolean Algebra.
Boolean Algebra.
Boolean Algebra & Logic Circuits
COMS 361 Computer Organization
Presentation transcript:

Boolean Algebra – II

Outline  Basic Theorems of Boolean Algebra  Boolean Functions  Complement of Functions  Standard Forms

Outline  Basic Theorems of Boolean Algebra  Boolean Functions  Complement of Functions  Standard Forms

Basic Theorems of Boolean Algebra (1/5)  Apart from the axioms/postulates, there are other useful theorems. 1. Idempotency (a) x + x = x (b) x. x = x Proof of (a): x + x = (x + x).1 (identity) = (x + x).(x + x') (complementarity) = x + x.x' (distributivity) = x + 0 (complementarity) = x (identity)

Basic Theorems of Boolean Algebra (2/5) 2. Null elements for + and. operators (a) x + 1 = 1 (b) x. 0 = 0 3. Involution (x')' = x 4. Absorption (a) x + x.y = x(b) x.(x + y) = x 5. Absorption (variant) (a) x + x'.y = x+y(b) x.(x' + y) = x.y

Basic Theorems of Boolean Algebra (3/5) 6. DeMorgan (a) (x + y)' = x'.y' (b) (x.y)' = x' + y' 7. Consensus (a) x.y + x'.z + y.z = x.y + x'.z (b) (x+y).(x'+z).(y+z) = (x+y).(x'+z)

Basic Theorems of Boolean Algebra (4/5)  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 (5/5)  Theorem 4a (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 4b: x.(x+y) = x  Try to prove this by algebraic manipulation.

Outline  Basic Theorems of Boolean Algebra  Boolean Functions  Complement of Functions  Standard Forms

Boolean Functions (1/2)  Boolean function is an expression formed with binary variables, the two binary operators, OR and AND, and the unary operator, NOT, parenthesis and the equal sign.  Its result is also a binary value.  We usually use. for AND, + for OR, and ' for NOT. Sometimes, we may omit the. if there is no ambiguity.

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

Outline  Basic Theorems of Boolean Algebra  Boolean Functions  Complement of Functions  Standard Forms

Complement of Functions (1/2)  Given a function, F, the complement of this function, F', is obtained by interchanging 1 with 0 in the function’s output values. Example: F1 = x.y.z' Complement: F1' = (x.y.z')' = x' + y' + (z')' DeMorgan = x' + y' + z Involution

Complement of Functions (2/2)  More general DeMorgan’s theorem useful for obtaining complement functions: (A + B + C Z)' = A'. B'. C'. …. Z‘ (A. B. C.... Z)' = A' + B' + C' + … + Z'

Outline  Basic Theorems of Boolean Algebra  Boolean Functions  Complement of Functions  Standard Forms

Standard Forms (1/2)  Certain types of Boolean expressions lead to gating networks which are desirable from implementation viewpoint.  Two Standard Forms: Sum-of-Products and Product-of-Sums  Literals: a variable on its own or in its complemented form. Examples: x, x', y, y‘  Product Term: a single literal or a logical product (AND) of several literals. Examples: x, x.y.z', A'.B, A.B, x.y'.w.v  Sum Term: a single literal or a logical sum (OR) of several literals. Examples: x, x+y+z', A'+B, A+B, c+d+h'+j

Standard Forms (2/2)  Sum-of-Products (SOP) Expression: a product term or a logical sum (OR) of several product terms. Examples: x, x+y.z', x.y'+x'.y.z, A.B+A'.B', A + B'.C + A.C' + C.D  Product-of-Sums (POS) Expression: a sum term or a logical product (AND) of several sum terms. Examples: x, x.(y+z'), (x+y').(x'+y+z), (A+B).(A'+B'), (A+B+C).D'.(B'+D+E')  Every Boolean expression can either be expressed as sum-of products or product-of-sums expression.