1 Set Theory Chapter 3. 2 Chapter 3 Set Theory 3.1 Sets and Subsets A well-defined collection of objects (the set of outstanding people, outstanding is.

Slides:



Advertisements
Similar presentations
Discrete Structures Chapter 6: Set Theory
Advertisements

Discrete Mathematics Lecture 5 Alexander Bukharovich New York University.
Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
Chapter 2 Probability. 2.1 Sample Spaces and Events.
1 集合論 Chapter 3. 2 Chapter 3 Set Theory 3.1 Sets and Subsets A well-defined collection of objects (the set of outstanding people, outstanding is very.
Denoting the beginning
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.
Sets 1.
Sets 1.
1 Chapter 3 Set Theory Yen-Liang Chen Dept of Information Management National Central University.
Mathematics.
Discrete Maths Objective to re-introduce basic set ideas, set operations, set identities , Semester 2, Set Basics 1.
Survey of Mathematical Ideas Math 100 Chapter 2
Sets.
Discrete Mathematics Unit - I. Set Theory Sets and Subsets A well-defined collection of objects (the set of outstanding people, outstanding is very subjective)
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 2 Probability.
Set theory Sets: Powerful tool in computer science to solve real world problems. A set is a collection of distinct objects called elements. Traditionally,
2.1 – Sets. Examples: Set-Builder Notation Using Set-Builder Notation to Make Domains Explicit Examples.
Chapter 3 – Set Theory  .
Set, Combinatorics, Probability & Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Set,
CS 103 Discrete Structures Lecture 10 Basic Structures: Sets (1)
Discrete Mathematics and Its Applications Sixth Edition By Kenneth Rosen Copyright  The McGraw-Hill Companies, Inc. Permission required for reproduction.
Discrete Structure Sets. 2 Set Theory Set: Collection of objects (“elements”) a  A “a is an element of A” “a is a member of A” a  A “a is not an element.
Mathematical Proofs. Chapter 1 Sets 1.1 Describing a Set 1.2 Subsets 1.3 Set Operations 1.4 Indexed Collections of Sets 1.5 Partitions of Sets.
CompSci 102 Discrete Math for Computer Science
Thinking Mathematically Chapter 2 Set Theory 2.1 Basic Set Concepts.
ELEMENTARY SET THEORY.
Chapter SETS DEFINITION OF SET METHODS FOR SPECIFYING SET SUBSETS VENN DIAGRAM SET IDENTITIES SET OPERATIONS.
Set Theory Chapter 3. Chapter 3 Set Theory 3.1 Sets and Subsets A well-defined collection of objects (the set of outstanding people, outstanding is very.
Set Notation and Description Kinds of Sets Operations on Sets By: Mr. Gerzon B. Mascariñas.
Chapter 2 With Question/Answer Animations. Section 2.1.
Rosen 1.6, 1.7. Basic Definitions Set - Collection of objects, usually denoted by capital letter Member, element - Object in a set, usually denoted by.
Introduction to Set theory. Ways of Describing Sets.
Sets Definition: A set is an unordered collection of objects, called elements or members of the set. A set is said to contain its elements. We write a.
Unit :1 Set Theory Prof. A.J. SHAKADWIPI. Sets and Subsets A well-defined collection of objects. finite sets, infinite sets, subset A={1,3,5,7,9} B={x|x.
Discrete Mathematics Set.
UNIT 3. OUTLINE: Sets and Subsets Set Operations the Laws of Set Theory Counting and Venn Diagrams. A First Word on Probability. The Axioms of Probability.
1 Mathematical Preliminaries. 2 Sets Functions Relations Graphs Proof Techniques.
Copyright © Cengage Learning. All rights reserved. CHAPTER 8 RELATIONS.
Module #3 - Sets 3/2/2016(c) , Michael P. Frank 2. Sets and Set Operations.
Set Operations Section 2.2.
Fr: Discrete Mathematics by Washburn, Marlowe, and Ryan.
Introduction to Graph Theory & its Applications
Section 6.4. Powers of Binomial Expressions Definition: A binomial expression is the sum of two terms, such as x + y. (More generally, these terms can.
Binomial Coefficients and Identities
The Basic Concepts of Set Theory. Chapter 1 Set Operations and Cartesian Products.
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.
“It is impossible to define every concept.” For example a “set” can not be defined. But Here are a list of things we shall simply assume about sets. A.
Chapter 1: Outcomes, Events, and Sample Spaces men 1.
Discrete Math by R.S. Chang, Dept. CSIE, NDHU1 Set Theory Two's company, three is none. Chapter 3.
Sets, Permutations, and Combinations. Lecture 4-1: Sets Sets: Powerful tool in computer science to solve real world problems. A set is a collection of.
Dr. Ameria Eldosoky Discrete mathematics
Sets Finite 7-1.
Set Definition: A set is unordered collection of objects.
CHAPTER 3 SETS, BOOLEAN ALGEBRA & LOGIC CIRCUITS
CSNB 143 Discrete Mathematical Structures
Set, Combinatorics, Probability & Number Theory
Sets Section 2.1.
CS 2210:0001 Discrete Structures Sets and Functions
Taibah University College of Computer Science & Engineering Course Title: Discrete Mathematics Code: CS 103 Chapter 2 Sets Slides are adopted from “Discrete.
CSE 2353 – September 22nd 2003 Sets.
        { } Sets and Venn Diagrams Prime Numbers Even Numbers
Algebra 1 Section 1.1.
Session – 2 SETS & Operations of SETS
Set – collection of objects
Two's company, three is none.
Sets, Unions, Intersections, and Complements
Presentation transcript:

1 Set Theory Chapter 3

2 Chapter 3 Set Theory 3.1 Sets and Subsets A well-defined collection of objects (the set of outstanding people, outstanding is very subjective) finite sets, infinite sets, cardinality of a set, subset A={1,3,5,7,9} B={x|x is odd} C={1,3,5,7,9,...} cardinality of A=5 (|A|=5) A is a proper subset of B. C is a subset of B.

3 Chapter 3 Set Theory 3.1 Sets and Subsets set equality subsets

4 Chapter 3 Set Theory 3.1 Sets and Subsets null set or empty set : {},  universal set, universe: U power set of A: the set of all subsets of A A={1,2}, P(A)={ , {1}, {2}, {1,2}} If |A|=n, then |P(A)|=2 n.

5 Chapter 3 Set Theory 3.1 Sets and Subsets For any finite set A with |A|=n  0, there are C(n,k) subsets of size k. Counting the subsets of A according to the number, k, of elements in a subset, we have the combinatorial identity

6 Chapter 3 Set Theory 3.1 Sets and Subsets Ex Number of nonreturn-Manhattan paths between two points with integer coordinated From (2,1) to (7,4): 3 Ups, 5 Rights 8!/(5!3!)=56R,U,R,R,U,R,R,U permutation 8 steps, select 3 steps to be Up {1,2,3,4,5,6,7,8}, a 3 element subset represents a way, for example, {1,3,7} means steps 1, 3, and 7 are up. the number of 3 element subsets=C(8,3)=8!/(5!3!)=56

7 Chapter 3 Set Theory 3.1 Sets and Subsets Ex The number of compositions of an positive integer 4=3+1=1+3=2+2=2+1+1=1+2+1=1+1+2= has 8 compositions. (4 has 5 partitions.) Now, we use the idea of subset to solve this problem. Consider 4= st plus sign 2nd plus sign 3rd plus sign The uses or not-uses of these signs determine compositions. compositions=The number of subsets of {1,2,3}=8

8 Chapter 3 Set Theory 3.1 Sets and Subsets Ex For integer n, r with provecombinatorially. Let Consider all subsets of A that contain r elements. those exclude r those include r all possibilities

9 Chapter 3 Set Theory 3.1 Sets and Subsets Ex The Pascal's Triangle binomial coefficients

10 Chapter 3 Set Theory 3.1 Sets and Subsets common notations (a) Z=the set of integers={0,1,-1,2,-1,3,-3,...} (b) N=the set of nonnegative integers or natural numbers (c) Z + =the set of positive integers (d) Q=the set of rational numbers={a/b| a,b is integer, b not zero} (e) Q + =the set of positive rational numbers (f) Q*=the set of nonzero rational numbers (g) R=the set of real numbers (h) R + =the set of positive real numbers (i) R*=the set of nonzero real numbers (j) C=the set of complex numbers

11 Chapter 3 Set Theory 3.1 Sets and Subsets common notations (k) C*=the set of nonzero complex numbers (l) For any n in Z +, Z n ={0,1,2,3,...,n-1} (m) For real numbers a,b with a<b, closed interval open interval half-open interval

12 u 習題 P134 Exercises3.1 8,12,14,20 Chapter 3 Set Theory

13 Chapter 3 Set Theory 3.2 Set Operations and the Laws of Set Theory Def. 3.5 For A,B a) b) c) union intersection symmetric difference Def.3.6 mutually disjoint Def 3.7 complement Def 3.8 relative complement of A in B

14 Chapter 3 Set Theory 3.2 Set Operations and the Laws of Set Theory Theorem 3.4 For any universe U and any set A,B in U, the following statements are equivalent: a) b) c) d) reasoning process

15 Chapter 3 Set Theory 3.2 Set Operations and the Laws of Set Theory The Laws of Set Theory

16 Chapter 3 Set Theory 3.2 Set Operations and the Laws of Set Theory The Laws of Set Theory

17 Chapter 3 Set Theory 3.2 Set Operations and the Laws of Set Theory s dual of s (s d ) Theorem 3.5 (The Principle of Duality) Let s denote a theorem dealing with the equality of two set expressions. Then s d is also a theorem.

18 Chapter 3 Set Theory 3.2 Set Operations and the Laws of Set Theory Ex What is the dual of Since Venn diagram U A A A B

19 Chapter 3 Set Theory 3.2 Set Operations and the Laws of Set Theory

20 Chapter 3 Set Theory 3.2 Set Operations and the Laws of Set Theory Def I: index set Theorem 3.6 Generalized DeMorgan's Laws

21 u 習題 P146 Exercises3.2 4,8, 9,10, Chapter 3 Set Theory

22 Chapter 3 Set Theory 3.3 Counting and Venn Diagrams Ex In a class of 50 college freshmen, 30 are studying BASIC, 25 studying PASCAL, and 10 are studying both. How many freshmen are studying either computer language? U AB

23 Chapter 3 Set Theory 3.3 Counting and Venn Diagrams Given 100 samples set A: with D 1 set B: with D 2 set C: with D 3 Ex Defect types of an AND gate: D 1 : first input stuck at 0 D 2 : second input stuck at 0 D 3 : output stuck at 1 with |A|=23, |B|=26, |C|=30,, how many samples have defects? A B C Ans:57

24 Chapter 3 Set Theory 3.3 Counting and Venn Diagrams Ex 3.27There are 3 games. In how many ways can one play one game each day so that one can play each of the three at least once during 5 days? set A: without playing game 1 set B: without playing game 2 set C: without playing game 3 balls containers g1 g2 g3

25 u 習題 P150 Exercises3.3 4,6,10 Chapter 3 Set Theory