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.

Slides:



Advertisements
Similar presentations
THE WELL ORDERING PROPERTY Definition: Let B be a set of integers. An integer m is called a least element of B if m is an element of B, and for every x.
Advertisements

Chapter 3 Elementary Number Theory and Methods of Proof.
Chapter 3 Elementary Number Theory and Methods of Proof.
Discrete Structures Chapter 6: Set Theory
1 In this lecture  Number Theory ● Rational numbers ● Divisibility  Proofs ● Direct proofs (cont.) ● Common mistakes in proofs ● Disproof by counterexample.
Chapter 3 Elementary Number Theory and Methods of Proof.
(CSC 102) Lecture 12 Discrete Structures. Previous Lecture Summary Floor and Ceiling Functions Definition of Proof Methods of Proof Direct Proof Disproving.
Prof. Johnnie Baker Module Basic Structures: Sets
Discrete Structures & Algorithms Basics of Set Theory EECE 320 — UBC.
Instructor: Hayk Melikya
(CSC 102) Discrete Structures Lecture 14.
Elementary Number Theory and Methods of Proof
– Alfred North Whitehead,
Copyright © Cengage Learning. All rights reserved.
Regular operations Sipser 1.1 (pages 44 – 47). CS 311 Mount Holyoke College 2 Building languages If L is a language, then its complement is L’ = {w |
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.
1 Indirect Argument: Contradiction and Contraposition.
CSE115/ENGR160 Discrete Mathematics 02/14/12 Ming-Hsuan Yang UC Merced 1.
EE1J2 - Slide 1 EE1J2 – Discrete Maths Lecture 12 Number theory Mathematical induction Proof by induction Examples.
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 Number Theory and Methods of Proof Content: Properties of integer, rational and real numbers. Underlying theme: Methods of mathematical proofs.
Rosen 1.6. Approaches to Proofs Membership tables (similar to truth tables) Convert to a problem in propositional logic, prove, then convert back Use.
1.2 Sample Space.
Part B Set Theory What is a set? A set is a collection of objects. Can you give me some examples?
1 Methods of Proof Proof techniques in this handout –Direct proof –Division into cases –Proof by contradiction In this handout, the proof techniques will.
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.
What is a set? A set is a collection of objects.
CS201: Data Structures and Discrete Mathematics I
Copyright © Cengage Learning. All rights reserved.
Week 6 - Friday.  What did we talk about last time?  Solving recurrence relations.
Naïve Set Theory. Basic Definitions Naïve set theory is the non-axiomatic treatment of set theory. In the axiomatic treatment, which we will only allude.
1 Introduction to Abstract Mathematics Sets Section 2.1 Basic Notions of Sets Section 2.2 Operations with sets Section 2.3 Indexed Sets Instructor: Hayk.
Discrete Mathematical Structures 4 th Edition Kolman, Busby, Ross © 2000 by Prentice-Hall, Inc. ISBN
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:
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.
Snick  snack Supplement: Worked Set Proofs Based on work by Meghan Allen.
UNIT - 2.  A binary operation on a set combines two elements of the set to produce another element of the set. a*b  G,  a, b  G e.g. +, -, ,  are.
Basic Definitions of Set Theory Lecture 24 Section 5.1 Fri, Mar 2, 2007.
Discrete Mathematics Set.
1 CS 140 Discrete Mathematics Combinatorics And Review Notes.
Copyright © Cengage Learning. All rights reserved. CHAPTER 8 RELATIONS.
Strings and Languages Denning, Section 2.7. Alphabet An alphabet V is a finite nonempty set of symbols. Each symbol is a non- divisible or atomic object.
1 Topic Sets (5.1, 5.2, 5.3). 2 Original author of the slides: Vadim Bulitko University of Alberta Modified by.
Basic Definitions of Set Theory Lecture 23 Section 5.1 Mon, Feb 21, 2005.
Module #3 - Sets 3/2/2016(c) , Michael P. Frank 2. Sets and Set Operations.
Chapter 1 Random events and the probability §1. Random event.
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.
Discrete Mathematics CS 2610 August 31, Agenda Set Theory Set Builder Notation Universal Set Power Set and Cardinality Set Operations Set Identities.
Section 9.1. Section Summary Relations and Functions Properties of Relations Reflexive Relations Symmetric and Antisymmetric Relations Transitive Relations.
Theorem What’s that? Any two consecutive integers have opposite parity. Jon Campbell – Introduction James Kendall – Proof Rob Chalhoub – Example,
Section 6.1 Set and Set Operations. Set: A set is a collection of objects/elements. Ex. A = {w, a, r, d} Sets are often named with capital letters. Order.
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.
Relations Chapter 9 Copyright © McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill.
The Relation Induced by a Partition
Methods of Proof Proof techniques in this handout
The Language of Sets If S is a set, then
Set Theory.
Discrete Mathematical The Set Theory
Chapter 2 Sets and Functions.
CS100: Discrete structures
Set Theory A B C.
Session – 2 SETS & Operations of SETS
The sum of any two even integers is even.
Discrete Mathematics CS 2610
CSC102 - Discrete Structures (Discrete Mathematics) Set Operations
THE WELL ORDERING PROPERTY
Presentation transcript:

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 of set S”. {x  S | P(x)} is the set of all those x from S such that P(x) is true. E.g., T={x  Z | 0<x<10}. Notes: 1) {a,b,c}, {b,a,c}, {c,b,a,b,b,c} all represent the same set. 2) Sets can themselves be elements of other sets, e.g., S={ {Mary, John}, {Tim, Ann}, …}

3 Relations between sets Definition: Suppose A and B are sets. Then A is called a subset of B: A  B iff every element of A is also an element of B. Symbolically, A  B   x, if x  A then x  B. A  B   x such that x  A and x  B. B A A B B A A  BA  B

4 Relations between sets Definition: Suppose A and B are sets. Then A equals B: 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. Example: Let A = {m  Z | m=2k+3 for some integer k}; B = the set of all odd integers. Then A=B.

Operations on Sets Definition: Let A and B be subsets of a set U. 1. Union of A and B: A  B = {x  U | x  A or x  B} 2. Intersection of A and B: A  B = {x  U | x  A and x  B} 3. Difference of B minus A: B  A = {x  U | x  B and x  A} 4. Complement of A: A c = {x  U | x  A} Ex.: Let U=R, A={x  R | 3<x<5}, B ={x  R| 4<x<9}. Then 1) A  B = {x  R | 3<x<9}. 2) A  B = {x  R | 4<x<5}. 3) B  A = {x  R | 5 ≤x<9}, A  B = {x  R | 3<x ≤4}. 4) A c = {x  R | x ≤3 or x≥5}, B c = {x  R | x ≤4 or x≥9}

6 Properties of Sets  Theorem 1 (Some subset relations): 1) A  B  A 2) A  A  B 3) If A  B and B  C, then A  C.  To prove that A  B use the “element argument”: 1. suppose that x is a particular but arbitrarily chosen element of A, 2. show that x is an element of B.

7 Proving a Set Property Theorem 2 (Distributive Law): For any sets A,B and C: A  (B  C) = (A  B)  (A  C). Proof: We need to show that (I) A  (B  C)  (A  B)  (A  C) and (II) (A  B)  (A  C)  A  (B  C). Let’s show (I). Suppose x  A  (B  C) (1) We want to show that x  (A  B)  (A  C) (2)

8 Proving a Set Property Proof (cont.): x  A  (B  C)  x  A or x  B  C. (a) Let x  A. Then x  A  B and x  A  C  x  (A  B)  (A  C) (b) Let x  B  C. Then x  B and x  C. Thus, (2) is true, and we have shown (I). (II) is shown similarly (left as exercise).■