Partially borrowed from Florida State University

Slides:



Advertisements
Similar presentations
Set and Set Operations Section 2.1.
Advertisements

Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
Week 21 Basic Set Theory A set is a collection of elements. Use capital letters, A, B, C to denotes sets and small letters a 1, a 2, … to denote the elements.
2.1 Sets. DEFINITION 1 A set is an unordered collection of objects. DEFINITION 2 The objects in a set are called the elements, or members, of the set.
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.
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.
Chapter 5 Section 1 Sets Basics Set –Definition: Collection of objects –Specified by listing the elements of the set inside a pair of braces. –Denoted.
Chapter 2 The Basic Concepts of Set Theory
Sets 1.
Sets 1.
Set Theory.
Ch 9 Inequalities and Absolute Value
CSC 2300 Data Structures & Algorithms January 16, 2007 Chapter 1. Introduction.
Chapter 2 The Basic Concepts of Set Theory © 2008 Pearson Addison-Wesley. All rights reserved.
1 Learning Objectives for Section 7.2 Sets After today’s lesson, you should be able to Identify and use set properties and set notation. Perform set operations.
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
Set Notation.
This section will discuss the symbolism and concepts of set theory
Objectives: By the end of class, I will be able to:  Identify sets  Understand subsets, intersections, unions, empty sets, finite and infinite sets,
2.1 – Sets. Examples: Set-Builder Notation Using Set-Builder Notation to Make Domains Explicit Examples.
Set Theory. What is a set?  Sets are used to define the concepts of relations and functions. The study of geometry, sequences, probability, etc. requires.
CS 103 Discrete Structures Lecture 10 Basic Structures: Sets (1)
Chapter 7 Logic, Sets, and Counting Section 2 Sets.
Chapter 2: The Basic Concepts of Set Theory. Sets A set is a collection of distinguishable objects (called elements) Can define in words Can list elements.
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
Chapter 2 Section 1 - Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
Slide Section 2-1 Symbols and Terminology. SYMBOLS AND TERMINOLOGY Designating Sets Sets of Numbers and Cardinality Finite and Infinite Sets Equality.
ELEMENTARY SET THEORY.
Sets of Numbers Unions, Intersections, and Venn Diagrams
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.
Chapter P Prerequisites: Fundamental Concepts of Algebra 1 Copyright © 2014, 2010, 2007 Pearson Education, Inc. 1 P.1 Algebraic Expressions, Mathematical.
Discrete Mathematics SETS. What is a set? ^A set is a unordered collection of “objects”  People in a class: {A yşe, B arış, C anan }  Cities in Turkey.
Module #3 - Sets 3/2/2016(c) , Michael P. Frank 2. Sets and Set Operations.
Set Operations Section 2.2.
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.
Thinking Mathematically Venn Diagrams and Set Operations.
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.
Sets and Operations TSWBAT apply Venn diagrams in problem solving; use roster and set-builder notation; find the complement of a set; apply the set operations.
Set Builder Notation. If you recall, a set is a collection of objects which we write using brackets and name using a capital letter. Remember also that:
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.
Dr. Ameria Eldosoky Discrete mathematics
Sets Page 746.
1.1 Subsets of Real Numbers
CHAPTER 3 SETS, BOOLEAN ALGEBRA & LOGIC CIRCUITS
CSNB 143 Discrete Mathematical Structures
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
The Basic Concepts of Set Theory
Sets Section 2.1.
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
CS100: Discrete structures
Set and Set Operations Grab a sheet from front.
Set Operations Section 2.2.
The Basic Concepts of Set Theory
2.1 Sets Dr. Halimah Alshehri.
CHAPTER 1 - Sets and Intervals
Chapter 2 The Basic Concepts of Set Theory
CHAPTER 1 - Sets and Intervals
The aim of education is to teach students how to think rather than what to think. Sets The set is the fundamental discrete structure on which all other.
Chapter 2 The Basic Concepts of Set Theory
Chapter 7 Logic, Sets, and Counting
Introduction A set is a collection of objects.
Set – collection of objects
Sets, Unions, Intersections, and Complements
Presentation transcript:

Partially borrowed from Florida State University Set and Set Operations CMPS 2433- Chapter 2 Partially borrowed from Florida State University Some developed by Dr. H

Introduction A set is a collection of objects The order of the elements does not matter Objects in a set are called elements A well – defined set is a set in which we can determine if an element belongs to that set. Examples: The set of all movies in which John Wayne appears is well – defined. The set of all courses taught by Dr. Halverson The set of best TV shows of all time is not well – defined. (It is a matter of opinion.)

Notation Usually denote a set with a capital letter. Roster notation is the method of describing a set by listing each element of the set. Example: Let C = set of all even integers less than 12 but greater than zero. C = {2, 4, 6, 8, 10} = {10, 6, 8, 4, 2} Example: Let T = set of all courses taught by Dr. Halverson in summer 2014. T = {CMPS 1013}

More on Notation Sometimes impossible list all elements of a set. Z = The set of integers . The dots mean continue on in this pattern forever and ever. Z = { …-3, -2, -1, 0, 1, 2, 3, …} Dots can ONLY be used if the pattern is unmistakable W = {0, 1, 2, 3, …} = the set of whole numbers.

Set – Builder Notation Set-Builder Notation: specify the rule that determines set membership First: indicate type of elements in set Second: specify distinguishing rule V = { people | citizens registered to vote in Wichita County} A = {x is a real number | x > 5} The symbol | is read as “such that”

Special Sets of Numbers N = The set of natural numbers. = {1, 2, 3, …}. W = The set of whole numbers. ={0, 1, 2, 3, …} Z = The set of integers. = { …, -3, -2, -1, 0, 1, 2, 3, …} Q = The set of rational numbers. ={x| x=p/q, where p and q are elements of Z and q ≠ 0 } H = The set of irrational numbers. R = The set of real numbers. C = The set of complex numbers.

Universal Set and Subsets Universal Set (denoted by U) - set of all possible elements used in a problem Universal set  Whole numbers (if counting) Universal set  Rational numbers (if measuring) Subset: B A if every element of B is also an element A Example A={1, 2, 3, 4, 5} and B={2, 3} Let S={1,2,3}, list all the subsets of S. The subsets of S are , {1}, {2}, {3}, {1,2}, {1,3}, {2,3}, {1,2,3}.

The Empty Set Empty Set: set containing no elements; zero elements denoted as { } or Empty Set  of all sets Do not be confused by this question: Is this set {0} empty? It is not empty! It contains one element - zero

Intersection of sets Intersection of sets A & B is denoted A ∩ B A ∩ B = {x| x is an element of A and x is an element of B} A={1, 3, 5, 7, 9} & B={1, 2, 3, 4, 5} A ∩ B = {1, 3, 5} B ∩ A = {1, 3, 5}

Union of sets Union of two sets A, B is denoted A U B and is defined A U B = {x| x is in A or x is in B} A={1, 3, 5, 7, 9} & B={1, 2, 3, 4, 5} A U B = {1, 2, 3, 4, 5, 7, 9}. NOTE: Order of listing sets does not matter Never repeat elements

Difference of Sets Difference of sets A & B denoted A-B A-B = {x|x is in A but x is NOT in B} Like subtraction A={1, 3, 5, 7, 9} & B={1, 2, 3, 4, 5} A-B = {7, 9} B-A = {2, 4}

Mutually Exclusive Sets Two sets A and B are Disjoint (aka Mutually Exclusive) if A ∩ B = I.E. No elements in common Think of this as two events that can not happen at the same time.

Complement of a Set Complement of set A is denoted by Ᾱ or by Ac Ᾱ = {x | x is in the universal set but x is not in set A} U={1,2,3,4,5} & A={1,2}, Ᾱ = {3,4,5}

Cardinal Number |{ } | = ??? (Cardinality of the empty set?) Cardinality of a set is the number of elements in the set and is denoted by |A| or n(A) A={2,4,6,8,10}, then |A|=5. Cardinality formula |A U B|=|A| + |B| – |A∩B| |{ } | = ??? (Cardinality of the empty set?)

Theorem 2.1 (pg. 43) Commutative Law Associative Law Distributive Law A U B = B U A and B ∩ A = A ∩ B Associative Law (A U B) U C = A U (B U C) (A ∩ B) ∩ C = A ∩ (B ∩ C) Distributive Law A U (B ∩ C) = (A U B) ∩ (A U C) A U (B ∩ C) = (A ∩ B) U (A ∩ C) See others on Page 43

Ordered Pair Order is significant (a,b) ≠ (b,a) An Ordered Pair of elements a & b is denoted (a,b) Order is significant (a,b) ≠ (b,a)

Cartesian Product Cartesian Product of sets A & B Denoted A X B is the set consisting of all ordered pairs (a,b) where a is an element of A and b is an element of B A X B = { (a,b)| a is in A & b is in B} If |A| = 3 and |B| = 7, what is |A X B|? Can you list them?

De Morgan’s Laws (pg. 45) See Page 45 – Memorize Study Proofs also! And YOU prove the part not proven in the book

Homework – 2.1 Pages 46 & 47 1-8, 13-28