Discrete Structures Chapter 6: Set Theory

Slides:



Advertisements
Similar presentations
TWO STEP EQUATIONS 1. SOLVE FOR X 2. DO THE ADDITION STEP FIRST
Advertisements

Homework Answers 1. {3} 2. {1, 3} 5. {3, 4, 6} 6. {} 10. {2, 3, 4}
Mathematical Preliminaries
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
1 Chapter 40 - Physiology and Pathophysiology of Diuretic Action Copyright © 2013 Elsevier Inc. All rights reserved.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
0 - 0.
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
MULTIPLYING MONOMIALS TIMES POLYNOMIALS (DISTRIBUTIVE PROPERTY)
ADDING INTEGERS 1. POS. + POS. = POS. 2. NEG. + NEG. = NEG. 3. POS. + NEG. OR NEG. + POS. SUBTRACT TAKE SIGN OF BIGGER ABSOLUTE VALUE.
SUBTRACTING INTEGERS 1. CHANGE THE SUBTRACTION SIGN TO ADDITION
MULT. INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
Addition Facts
Learning Objectives for Section 7.2 Sets
© S Haughton more than 3?
Linking Verb? Action Verb or. Question 1 Define the term: action verb.
Introduction to Set Theory
Set Operations and Venn Diagrams 2.2 – 2.3. The intersection of sets A and B, denoted by, is the set of all elements that are common to both. That is,.
Addition 1’s to 20.
25 seconds left…...
Test B, 100 Subtraction Facts
Week 1.
1 Unit 1 Kinematics Chapter 1 Day
Counting Techniques: Permutations of Selected Elements Addition Rule, Difference Rule, Inclusion/Exclusion Rule.
Chapter 6 Languages: finite state machines
Equivalence Relations
Discrete Mathematics Lecture 5 Alexander Bukharovich New York University.
Denoting the beginning
Sets Definition of a Set: NAME = {list of elements or description of elements} i.e. B = {1,2,3} or C = {x  Z + | -4 < x < 4} Axiom of Extension: A set.
Discrete Structures Chapter 3 Set Theory Nurul Amelina Nasharuddin Multimedia Department.
Chapter 4 Sets. A set is a well-defined collection of objects. There are two ways to define a set: (1) by listing all the members of the set, and (2)
Sets 1.
Sets 1.
1 Set Theory. 2 Set Properties Commutative Laws: Associative Laws: Distributive Laws:
1 Set Theory. Notation S={a, b, c} refers to the set whose elements are a, b and c. a  S means “a is an element of set S”. d  S means “d is not an element.
1 Set Theory. Notation S={a, b, c} refers to the set whose elements are a, b and c. a  S means “a is an element of set S”. d  S means “d is not an element.
Discrete Mathematics Unit - I. Set Theory Sets and Subsets A well-defined collection of objects (the set of outstanding people, outstanding is very subjective)
Set, Combinatorics, Probability & Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Set,
Sets --- A set is a collection of objects. Sets are denoted by A, B, C, … --- The objects in the set are called the elements of the set. The elements are.
CS 103 Discrete Structures Lecture 10 Basic Structures: Sets (1)
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.
Copyright © Cengage Learning. All rights reserved.
Week 6 - Friday.  What did we talk about last time?  Solving recurrence relations.
ELEMENTARY SET THEORY.
Chapter SETS DEFINITION OF SET METHODS FOR SPECIFYING SET SUBSETS VENN DIAGRAM SET IDENTITIES SET OPERATIONS.
Sets 2/10/121. What is a Set? Informally, a collection of objects, determined by its members, treated as a single mathematical object Not a real definition:
CSNB143 – Discrete Structure Topic 1 - Set. Topic 1 - Sets Learning Outcomes – Student should be able to identify sets and its important components. –
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.
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.
Basic Definitions of Set Theory Lecture 23 Section 5.1 Wed, Mar 8, 2006.
Discrete Mathematics Set.
Sets.
Copyright © Cengage Learning. All rights reserved. CHAPTER 8 RELATIONS.
Basic Definitions of Set Theory Lecture 23 Section 5.1 Mon, Feb 21, 2005.
1 Set Theory Second Part. 2 Disjoint Set let A and B be a set. the two sets are called disjoint if their intersection is an empty set. Intersection of.
Chapter 7 Sets and Probability Section 7.1 Sets What is a Set? A set is a well-defined collection of objects in which it is possible to determine whether.
Discrete Mathematics CS 2610 August 31, Agenda Set Theory Set Builder Notation Universal Set Power Set and Cardinality Set Operations Set Identities.
The Relation Induced by a Partition
The set of whole numbers less than 7 is {1, 2, 3, 4, 5, 6}
The Language of Sets If S is a set, then
Set Theory.
CSNB 143 Discrete Mathematical Structures
Sets Section 2.1.
Week 7 - Monday CS322.
Taibah University College of Computer Science & Engineering Course Title: Discrete Mathematics Code: CS 103 Chapter 2 Sets Slides are adopted from “Discrete.
Algebra 1 Section 1.1.
Discrete Mathematics CS 2610
ICOM 5016 – Introduction to Database Systems
Presentation transcript:

Discrete Structures Chapter 6: Set Theory 6.1 Set Theory: Definitions and the Element Method of Proof The introduction of suitable abstractions is our only mental aid to organize and master complexity. – E. W. Dijkstra, 1930 – 2002 Erickson 6.1 Set Theory - Definitions and the Element Method of Proof

6.1 Set Theory - Definitions and the Element Method of Proof Subsets Let’s write what it means for a set A to be a subset of a set B as a formal universal conditional statement: A  B  x, if x  A then x  B. Erickson 6.1 Set Theory - Definitions and the Element Method of Proof

6.1 Set Theory - Definitions and the Element Method of Proof Subsets The negation is existential A  B  x, if x  A and x  B. Erickson 6.1 Set Theory - Definitions and the Element Method of Proof

6.1 Set Theory - Definitions and the Element Method of Proof Subsets A proper subset of a set is a subset that is not equal to its containing set. A is a proper subset of B  A  B, and there is at least one element in B that is not in A. Erickson 6.1 Set Theory - Definitions and the Element Method of Proof

6.1 Set Theory - Definitions and the Element Method of Proof Element Argument Let sets X and Y be given. To prove that X  Y, Suppose that x is a particular but arbitrarily chosen element of X, Show that x is an element of Y. Erickson 6.1 Set Theory - Definitions and the Element Method of Proof

6.1 Set Theory - Definitions and the Element Method of Proof Example – pg. 350 # 4 Let A = {n | n = 5r for some integer r} and B = {m | m = 20s for some integer s}. Is A  B? Explain. Is B  A? Explain. Erickson 6.1 Set Theory - Definitions and the Element Method of Proof

6.1 Set Theory - Definitions and the Element Method of Proof Set Equality Given sets A and B, A equals B, written A = B, iff every element of A is in B and every element of B is in A. Symbolically, A = B  A  B and B  A Erickson 6.1 Set Theory - Definitions and the Element Method of Proof

6.1 Set Theory - Definitions and the Element Method of Proof Operations on Sets Let A and B be subsets of a universal set U. 1. The union of A and B denoted A  B, is the set of all elements that are in at least one of A or B. Symbolically: A  B = {x  U | x  A or x  B} Erickson 6.1 Set Theory - Definitions and the Element Method of Proof

6.1 Set Theory - Definitions and the Element Method of Proof Operations on Sets Let A and B be subsets of a universal set U. 2. The intersection of A and B denoted A  B, is the set of all elements that are common to both A or B. Symbolically: A  B = {x  U | x  A and x  B} Erickson 6.1 Set Theory - Definitions and the Element Method of Proof

6.1 Set Theory - Definitions and the Element Method of Proof Operations on Sets Let A and B be subsets of a universal set U. 3. The difference of B minus A (or relative complement of A in B) denoted B – A, is the set of all elements that are in B but not A. Symbolically: B – A = {x  U | x  B and x  A} Erickson 6.1 Set Theory - Definitions and the Element Method of Proof

6.1 Set Theory - Definitions and the Element Method of Proof Operations on Sets Let A and B be subsets of a universal set U. 4. The complement of A denoted Ac, is the set of all elements in U that are not A. Symbolically: Ac = {x  U | x  A} Erickson 6.1 Set Theory - Definitions and the Element Method of Proof

6.1 Set Theory - Definitions and the Element Method of Proof Example – pg. 350 # 11 Let the universal set be the set R of all real numbers and let A = {x  R | 0 < x  2}, B = {x  R | 1  x < 4}, and C = {x  R | 3  x < 9}. Find each of the following: a. A  B b. A  B c. Ac d. A  C e. A  C f. Bc g. Ac  Bc h. Ac  Bc i. (A  B)c j. (A  B)c Erickson 6.1 Set Theory - Definitions and the Element Method of Proof

Unions and Intersections of an Indexed Collection of Sets Given sets A0, A1, A2, … that are subsets of a universal set U and given a nonnegative integer n, Erickson 6.1 Set Theory - Definitions and the Element Method of Proof

Definitions Empty Set A set with no elements is called the empty set (or null set) and denoted by the symbol . Disjoint Two sets are called disjoint iff they have no elements in common. Symbolically: A and B are disjoint  A  B =  Erickson 6.1 Set Theory - Definitions and the Element Method of Proof

6.1 Set Theory - Definitions and the Element Method of Proof Mutually Disjoint Sets A1, A2, A3, … are mutually disjoint (or pairwise disjoint or nonoverlapping) iff no two sets Ai and Aj with distinct subscripts have any elements in common. More precisely, for all i, j = 1, 2, 3, … Ai  Aj =  whenever i  j. Erickson 6.1 Set Theory - Definitions and the Element Method of Proof

6.1 Set Theory - Definitions and the Element Method of Proof Example – pg. 305 # 23 Let for all positive integers i. Erickson 6.1 Set Theory - Definitions and the Element Method of Proof

6.1 Set Theory - Definitions and the Element Method of Proof Partition A finite or infinite collection of nonempty sets {A1, A2, A3, …} is a partition of a set A iff, A is the union of all the Ai The sets A1, A2, A3, …are mutually disjoint. Erickson 6.1 Set Theory - Definitions and the Element Method of Proof

6.1 Set Theory - Definitions and the Element Method of Proof Example – pg. 351 # 27 Erickson 6.1 Set Theory - Definitions and the Element Method of Proof

6.1 Set Theory - Definitions and the Element Method of Proof Power Set Given a set A, the power set of A is denoted (A), is the set of all subsets of A. Erickson 6.1 Set Theory - Definitions and the Element Method of Proof

6.1 Set Theory - Definitions and the Element Method of Proof Example – pg. 351 # 31 Suppose A = {1, 2} and B = {2, 3}. Find each of the following: Erickson 6.1 Set Theory - Definitions and the Element Method of Proof