Presentation is loading. Please wait.

Presentation is loading. Please wait.

CSE 321 Discrete Structures

Similar presentations


Presentation on theme: "CSE 321 Discrete Structures"— Presentation transcript:

1 CSE 321 Discrete Structures
Winter 2008 Lecture 7 Set Theory and Operations

2 Announcements Reading for this week Homework 3
Today: 2.1, 2.2 (5th Edition: 1.6, 1.7) Thursday: 2.3 (5th Edition: 1.8 ) Friday: 3.4, 3.5 (5th Edition: 2.4, 2.5) Homework 3 Due Wednesday, January 30 Note: problems are not necessarily of the same degree of difficulty

3 Highlights from Lecture 6
Direct Proofs Chomp! Challenges Develop optimal strategy for 6  8 Chomp! Create a Chomp! program that uses an optimal algorithm Generalizations of Chomp!

4 Set Theory Formal treatment dates from late 19th century
Direct ties between set theory and logic Important foundational language

5 Definition: A set is an unordered collection of objects
Give some examples: Finite sets, Multiple domains N, Z, Q, R Emptyset Sets containing sets

6 Definitions A and B are equal if they have the same elements
A is a subset of B if every element of A is also in B A = B   x (x  A  x  B) A  B   x (x  A  x  B) A  B

7 Empty Set and Power Set

8 Cartesian Product : A  B
A  B = { (a, b) | a  A  b  B}

9 Set operations / _ / A  B = { x | x  A  x  B }
A = { x | x  A } /

10 De Morgan’s Laws A  B = A  B A  B = A  B A B Proof technique:
To show C = D show x  C  x  D and x  D  x  C Prove A  B = A  B Begin with x  A  B  x  A  x  B

11 Distributive Laws A  (B  C) = (A  B)  (A  C)

12 Russell’s Paradox S = { x | x  x } /


Download ppt "CSE 321 Discrete Structures"

Similar presentations


Ads by Google