1 CSE 20: Lecture 8 Boolean Postulates and Theorems CK Cheng 4/26/2011.

Slides:



Advertisements
Similar presentations
Presented by: Ms. Maria Estrellita D. Hechanova, ECE
Advertisements

Types of Logic Circuits
CSE 20 Lecture 9 Boolean Algebra: Theorems and Proofs CK Cheng April 26, 2011 Lecture notes 1.
ECE 2110: Introduction to Digital Systems Combinational Logic Design Principles.
Chapter 2 Logic Circuits.
1 CK Cheng CSE Dept. UC San Diego CS 140, Lecture 2 Combinational Logic.
(CSC 102) Discrete Structures Lecture 14.
1 CSE 20 – Discrete Math Lecture 10 CK Cheng 4/28/2010.
1 CK Cheng CSE Dept. UC San Diego CS 140, Lecture 2 Combinational Logic.
מבנה המחשב + מבוא למחשבים ספרתיים תרגול 1#
Boolean Algebra Discussion D6.1 Sections 13-3 – 13-6.
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 Module M4.1 Section 5.1. Boolean Algebra and Logic Equations Switching Algebra Theorems Venn Diagrams.
Lecture 1: Introduction to Digital Logic Design CK Cheng Thursday 9/26/02.
Logic Gate Level Combinational Circuits, Part 1. Circuits Circuit: collection of devices physically connected by wires to form a network Net can be: –
ENGIN112 L5: Boolean Algebra September 12, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 5 Boolean Algebra.
1 CSE 20: Lecture 7 Boolean Algebra CK Cheng 4/21/2011.
Rosen 1.6. Approaches to Proofs Membership tables (similar to truth tables) Convert to a problem in propositional logic, prove, then convert back Use.
Boolean Algebra and Logic Simplification. Boolean Addition & Multiplication Boolean Addition performed by OR gate Sum Term describes Boolean Addition.
Boolean Algebra Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2009.
CHAPTER 2 Boolean Algebra
Boolean Algebra – I. Outline  Introduction  Digital circuits  Boolean Algebra  Two-Valued Boolean Algebra  Boolean Algebra Postulates  Precedence.
Module 4.  Boolean Algebra is used to simplify the design of digital logic circuits.  The design simplification are based on: Postulates of Boolean.
Laws (Theorems) of Boolean algebra Laws of Complementation oThe term complement means, to invert or to change 1's to 0's and 0's to 1's, for which purpose.
Properties of Addition and Multiplication. Commutative Property In the sum you can add the numbers in any order. a+b = b+a In the product you can multiply.
CSE 140, Lecture 2 Combinational Logic
--- outputs logical functions of inputs --- new outputs appear shortly after changed inputs (propagation delay) --- no feedback loops --- no clock Sequential.
Boolean Algebras Lecture 27 Section 5.3 Wed, Mar 7, 2007.
CSE 20: Lecture 7 Boolean Algebra CK Cheng
Lecture 3. Combinational Logic 1 Prof. Taeweon Suh Computer Science Education Korea University 2010 R&E Computer System Education & Research.
Dale Roberts Department of Computer and Information Science, School of Science, IUPUI Dale Roberts, Lecturer Computer Science, IUPUI
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 
CEC 220 Digital Circuit Design Boolean Algebra Friday, January 17 CEC 220 Digital Circuit Design Slide 1 of 22.
Laws of Boolean Algebra Commutative Law Associative Law Distributive Law Identity Law De Morgan's Theorem.
Laws (Theorems) of Boolean algebra Laws of Complementation oThe term complement means, to invert or to change 1's to 0's and 0's to 1's, for which purpose.
BOOLEAN ALGEBRA Only involves in calculations of TRUE and FALSE; either be inputs or output. When a logic statement is TRUE it is assigned a Boolean logic.
ELEC Digital Logic Circuits Fall 2015 Boolean Algebra (Chapter 2) Vishwani D. Agrawal James J. Danaher Professor Department of Electrical and.
1 CK Cheng CSE Dept. UC San Diego CSE 140, Lecture 2 Combinational Logic.
Dale Roberts Department of Computer and Information Science, School of Science, IUPUI Dale Roberts, Lecturer Computer Science, IUPUI
ECE DIGITAL LOGIC LECTURE 6: BOOLEAN ALGEBRA Assistant Prof. Fareena Saqib Florida Institute of Technology Fall 2016, 02/01/2016.
CEC 220 Digital Circuit Design Boolean Algebra II Fri, Sept 4 CEC 220 Digital Circuit Design Slide 1 of 13.
1 Topic Sets (5.1, 5.2, 5.3). 2 Original author of the slides: Vadim Bulitko University of Alberta Modified by.
Boolean Algebras Lecture 24 Section 5.3 Wed, Mar 22, 2006.
Department of Computer Engineering. 2 By Ahmad Bilal Digital Logic & Design.
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.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Introduction to Digital Electronics Lecture.
Basic Laws, theorems, and postulates of Boolean Algebra
Hoda Roodaki Boolean Algebra Hoda Roodaki
Boolean Algebra.
Logic Gates and Boolean Algebra
CHAPTER 2 Boolean Algebra
CHAPTER 1 : INTRODUCTION
CHAPTER 2 Boolean Algebra This chapter in the book includes:
Lecture 3: Boolean Algebra
Boolean Algebra.
Propositional Equivalences
Boolean Algebra & Logic Circuits
Basic Logic Gates 1.
Chapter 2 Boolean Algebra and Logic Gate
Boolean Algebra.
CSE 370 – Winter Combinational Logic - 1
CSE 20 Lecture 9 Boolean Algebra: Theorems and Transformations
Boolean Algebra Introduction CSCI 240
COMS 361 Computer Organization
CSE 20: Lecture 8 Boolean Postulates and Theorems CK Cheng
Boolean Algebra How gates get picked.
Boolean Algebra: Theorems and Proofs
BOOLEAN ALGEBRA.
CSC102 - Discrete Structures (Discrete Mathematics) Set Operations
Boolean Algebra: Theorems and Proofs
Presentation transcript:

1 CSE 20: Lecture 8 Boolean Postulates and Theorems CK Cheng 4/26/2011

2 Outline Interpretation of Boolean Algebra using Logic Operations Boolean Algebra and Gates Theorems and Proofs

Logic OR: x 18 We will go rain or shine. –Either one is good AND: x 8 CSE20 is fun and useful. –Both need to be true 3

4 Section 1: Interpretation of Boolean Algebra using Logic Operations Logic Symbols, 0, 1; and AND, OR Gates. a =1 => a is true, a =0 => a is false. ida b a OR b Ida b a AND b

5 Interpretation of P1 and P2 in Logic P1: Commutative a is true OR b is true = b is true OR a is true a is true AND b is true = b is true AND a is true P2: Distributive a is true OR (b is true AND c is true) = (a is true OR b is true) AND (a is true OR c is true) a is true AND (b is true OR c is true) = (a is true AND b is true) OR (a is true AND c is true)

6 Interpretation of P3 and P4 in Logic P3: Identity 0: one false statement, 1: one true statement a is true OR one false statement = a is true a is true AND one true statement = a is true P4: Complement Negate the statement a is true OR a is false = one true statement a is true AND a is false = one false statement

7 Section 2: Boolean Algebra and Gates P1: Commutative Laws A B A+B B A B+A A B AB B A BA

8 P2: Distributive Laws a·(b+c) = (a·b)+(a·c) a+(b·c) = (a+b)·(a+c) IDabcb+ca· (b+c)a· ba· c(a· b)+(a· c)

9 P2: Distributive Laws, cont. a· (b+c) (a·b)+(a·c) a+(b·c)(a+b)·(a+c)

10 P3 Identity a+0 = a, 0 input to OR is passive a·1 = a, 1 input to AND is passive A 1 A A 0 A

11 P4 Complement a+a' = 1a·a' = 0

12 Section 3, Theorems and Proofs Theorem 1: Principle of Duality Every algebraic identity that can be proven by Boolean algebra laws, remains valid if we swap all ‘+’ and ‘·’, 0 and 1. Proof: Visible by inspection – all laws remain valid if we interchange all ‘+’ and ‘·’, 0 and 1

13 Theorem 2 Uniqueness of Complement: For every a in B, its complement a' is unique. Proof: We prove by contradiction. Suppose that a’ is not unique, i.e. a 1 ', a 2 ' in B & a 1 ' ≠ a 2 ’. We have a 1 ' = a 1 ' * 1 (Postulate 3) = a 1 ' * (a + a 2 ') (Postulate 4) = (a 1 ' * a) + (a 1 ' * a 2 ') (Postulate 2) = 0 + (a 1 ' * a 2 ') (Postulate 4) = a 1 '*a 2 ' (Postulate 3). Likewise, we can also prove the same with a 2 ', i.e. a 2 ' = a 1 '*a 2 '. Consequently, we have a 1 ' = a 2 ', which contradicts our initial assumption that a 1 ' ≠ a 2 '.

14 Theorem 3 Boundedness: For all elements a in B, a+1=1; a*0=0. Proof: a+1 = 1 *(a+1) (Postulate 3) = (a + a')*(a+1) (Postulate 4) = a + a'*1(Postulate 2) = a + a' (Postulate 3) = 1 (Postulate 4) Comments: '1' dominates as input in OR gates. ’0' dominates as input in AND gates. A 0 0 A 1 1

15 Theorem 4 Statement: The complement of element 1 is 0 and vice versa, i.e. 0' = 1, 1' = 0. Proof: = 1 and 0 * 1 = 0 (Postulate 3) Thus 0’= 1, 1’= 0 (Postulate 4 and Theorem 2)

16 Theorem 5: Idempotent Laws Statement: For every a in B, a + a = a and a * a = a. Proof: a + a = (a + a) * 1 (Postulate 3) = (a + a) * (a + a') (Postulate 4) = a + (a*a') (Postulate 2) = a + 0 (Postulate 4) = a (Postulate 3) A A A A A A