Properties of Sets Lecture 26 Section 5.2 Tue, Mar 6, 2007.

Slides:



Advertisements
Similar presentations
CS 151 Digital Systems Design Lecture 5 Boolean Algebra.
Advertisements

SIMPLIFY using a Venn Digram or Laws of Set Algebra Pamela Leutwyler.
CSE 20 Lecture 9 Boolean Algebra: Theorems and Proofs CK Cheng April 26, 2011 Lecture notes 1.
Discrete Mathematics I Lectures Chapter 6
Discrete Structures & Algorithms Basics of Set Theory EECE 320 — UBC.
Instructor: Hayk Melikya
(CSC 102) Discrete Structures Lecture 14.
Boolean rules for simplification Dr. Ahmed Telba.
1 Section 1.7 Set Operations. 2 Union The union of 2 sets A and B is the set containing elements found either in A, or in B, or in both The denotation.
SET.   A set is a collection of elements.   Sets are usually denoted by capital letters A, B, Ω, etc.   Elements are usually denoted by lower case.
Discrete Structures Chapter 3 Set Theory Nurul Amelina Nasharuddin Multimedia Department.
Syllabus Every Week: 2 Hourly Exams +Final - as noted on Syllabus
מבנה המחשב + מבוא למחשבים ספרתיים תרגול 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.
1 CSE 20: Lecture 8 Boolean Postulates and Theorems CK Cheng 4/26/2011.
Boolean Algebra cont’ The digital abstraction מבנה המחשב + מבוא למחשבים ספרתיים תרגול 2#
Logic Gate Level Combinational Circuits, Part 1. Circuits Circuit: collection of devices physically connected by wires to form a network Net can be: –
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.
Operations on Sets – Page 1CSCI 1900 – Discrete Structures CSCI 1900 Discrete Structures Operations on Sets Reading: Kolman, Section 1.2.
Copyright © 2014, 2010, 2007 Pearson Education, Inc. Section 2.3, Slide 1 Set Theory 2 Using Mathematics to Classify Objects.
Course Outline Book: Discrete Mathematics by K. P. Bogart Topics:
Geometry Unit 2 Power Points Montero to 2.3 Notes and Examples Patterns, Conditional Statements, and BiConditional Statements Essential Vocabulary.
CS1502 Formal Methods in Computer Science
Module 4.  Boolean Algebra is used to simplify the design of digital logic circuits.  The design simplification are based on: Postulates of Boolean.
Sets Defined A set is an object defined as a collection of other distinct objects, known as elements of the set The elements of a set can be anything:
CT214 – Logical Foundations of Computing Lecture 9 Revision.
CS 381 DISCRETE STRUCTURES Gongjun Yan Aug 25, November 2015Introduction & Propositional Logic 1.
Lecture 2.2: Set Theory* CS 250, Discrete Structures, Fall 2011 Nitesh Saxena *Adopted from previous lectures by Cinda Heeren.
Discrete Mathematics CS 2610 February 12, Agenda Previously Finished functions Began Boolean algebras And now Continue with Boolean algebras.
--- 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.
Extra slides for Chapter 3: Propositional Calculus & Normal Forms Based on Prof. Lila Kari’s slides For CS2209A, 2009 By Dr. Charles Ling;
Set Theory Using Mathematics to Classify Objects 2 © 2010 Pearson Education, Inc. All rights reserved.
Introduction to Set theory. Ways of Describing Sets.
Lecture # 12 Set Identities
Dale Roberts Department of Computer and Information Science, School of Science, IUPUI Dale Roberts, Lecturer Computer Science, IUPUI
Ch. 2 Basic Structures Section 1 Sets. Principles of Inclusion and Exclusion | A  B | = | A | + | B | – | A  B| | A  B  C | = | A | + | B | + | C.
Lecture 4 Boolean Algebra. Logical Statements °A proposition that may or may not be true: Today is Monday Today is Sunday It is raining °Compound Statements.
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 
Lecture 2.2: Set Theory CS 250, Discrete Structures, Fall 2015 Nitesh Saxena Adopted from previous lectures by Cinda Heeren.
Discrete Mathematics CS 2610 January 27, part 2.
ELEC Digital Logic Circuits Fall 2015 Boolean Algebra (Chapter 2) Vishwani D. Agrawal James J. Danaher Professor Department of Electrical and.
Discrete Mathematics Set.
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 4 Dr. Shi Dept. of Electrical and Computer Engineering.
Boolean Algebras Lecture 24 Section 5.3 Wed, Mar 22, 2006.
Chapter 2 1. Chapter Summary Sets (This Slide) The Language of Sets - Sec 2.1 – Lecture 8 Set Operations and Set Identities - Sec 2.2 – Lecture 9 Functions.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Introduction to Digital Electronics Lecture.
CHAPTER 2 Boolean algebra and Logic gates
Direct Proof and Counterexample III Part 2 Lecture 16 Section 3.3 Tue, Feb 13, 2007.
Boolean Algebra How gates get picked. Boolean Arithmetic Boolean ≠ Binary – Boolean – 1/0 only, no places Boolean addition:
2. The Logic of Compound Statements Summary
Discrete Structures – CNS 2300
Week 7 - Monday CS322.
CHAPTER 2 Boolean Algebra
Discussion #10 Logical Equivalences
LATTICES AND BOOLEAN ALGEBRA
Boolean Algebra A Boolean algebra is a set B of values together with:
Set Operations Section 2.2.
Propositional Equivalences
Sets and Logic…. Chapter 3
CSE 20 Lecture 9 Boolean Algebra: Theorems and Transformations
Boolean Algebra Introduction CSCI 240
CS 250, Discrete Structures, Fall 2013
Boolean Algebra How gates get picked.
Instructor: Alexander Stoytchev
Design of Digital Circuits Lab 1 Supplement: Drawing Basic Circuits
CSC102 - Discrete Structures (Discrete Mathematics) Set Operations
Presentation transcript:

Properties of Sets Lecture 26 Section 5.2 Tue, Mar 6, 2007

Proving Basic Properties Theorem: Let A and B be sets. Then A  B  A. Proof: Let x  A  B. Then x  A and x  B. Therefore, x  A. So A  B  A.

Comments The proof uses the logic that S  T if and only if x  S  x  T. A Venn diagram alone does not constitute a proof. This theorem is suggestive of the “specialization” argument form (p. 40) p  q  p What is the connection?

Identity Laws Theorem: Let A be any set. Then A  U = A, A   = A.

DeMorgan’s Laws Theorem: Let A and B be any two sets. Then (A  B) c = A c  B c, (A  B) c = A c  B c.

Set-Theoretic Proofs Theorem: Let A, B, and C be sets. Then (A – B)  (C – B) = (A  C) – B. Proof: Let x  (A – B)  (C – B). Then x  A – B and x  C – B,  x  A, and x  C, and x  B,  x  A  C and x  B,  x  (A  C) – B.

Set-Theoretic Proof It then follows that (A – B)  (C – B)  (A  C) – B. The second half of the proof will show that (A  C) – B  (A – B)  (C – B). However, the logic is exactly the reverse of the first half. We may handle that by saying “and conversely” at the end of the first half.

Comment The preceding theorem is equivalent to the logical equivalence (p  q)  (r  q) = (p  r)   q which is not hard (at all!) to prove. Proof: (p  q)  (r  q) = p  q  r  q = p  r  q = (p  r)   q.

Question Why was that so much easier than the original proof? Because we know a lot about the operators , , and . We could use the “algebra” of , , and . Is there an algebra of , , and complement?

Algebraic Properties of Sets See Theorem 1.1.1, p. 14. Commutative Laws: A  B = B  A. A  B = B  A. Associative Laws: (A  B)  C = A  (B  C). (A  B)  C = A  (B  C).

Algebraic Properties of Sets Distributive Laws: A  (B  C) = (A  B)  (A  C). A  (B  C) = (A  B)  (A  C). Identity Laws: A  U = A. A   = A.

Algebraic Properties of Sets Complement Laws: A  A c = U. A  A c = . Double Complement Law: (A c ) c = A. Idempotent Laws: A  A = A. A  A = A.

Algebraic Properties of Sets Universal Bound Laws: A  U = U. A   = . DeMorgan’s Laws: (A  B) c = A c  B c. (A  B) c = A c  B c.

Algebraic Properties of Sets Absorption Laws: A  (A  B) = A. A  (A  B) = A. Complements of U and . U c = .  c = U.

The Proof Revisited Theorem: Let A, B, and C be sets. Then (A – B)  (C – B) = (A  C) – B. Proof: (A – B)  (C – B) = (A  B c )  (C  B c ) = (A  C)  (B c  B c ) = (A  C)  B c = (A  C) – B.

The Proof Revisited Theorem: Let A, B, and C be sets. Then (A – B)  (C – B) = (A  C) – B. Proof: