Download presentation
Presentation is loading. Please wait.
1
Review of Sets and Set Operations
Chapter 1-1 Review of Sets and Set Operations
2
Whatβs a Set? A set is a collection whose members are specified by a list or rule In the list, only have each element listed once (no need to have a duplicate element in a set) Ex: π= π΄ππππππ, π΄πππ ππ, π΄πππ§πππ, π΄πππππ ππ Set S is the set of states starting with the letter A When a rule is used to specify a set you will see it written as: π= π₯:β¦ This is read βS is a set of all x such thatβ¦ Nothing can be partially in a set. It is either in the set, or it isnβt. Finite sets have a finite number of elements within it Ex: π= π¦:π¦ ππ πππ ππ£ππ π€βπππ ππ’πππππ πππ π π‘βππ 10 Infinite sets have infinite number of elements within it Ex: Z= π§:π§ ππ πππ πππ π€βπππ ππ’πππππ
3
Elements The set I of even positive integers less than 15 can be written a couple ways Ex: πΌ= π:π ππ ππ ππ£ππ πππ ππ‘ππ£π πππ‘ππππ πππ π π‘βππ 15 Ex: πΌ= 2,4,6,8,10,12,14 To indicate x is an element of a set X, we write π₯βπ To indicate x is not an element of set X, we write π₯βπ Ex: 2βπΌ β2 is an element of set Iβ **important note: lowercase letters indicate the element, uppercase letters indicate the set**
4
Subsets A set A is a subset of a set B, written π΄ π΅, if every element in A is also in B. If A B and B A, then B and A have exactly the same elements, in which case we say π΄=π΅ Ex: π΄= 2,4,8,12 π΅= 2,6,10,12,14 πΌ= 2,4,6,8,10,12,14 Since all elements in A are also in I, A I Since all elements in B are also in I, B I Is A B? Is B A?
5
Unions A Union is a combination of all the elements of 2 sets
Let A and B be sets. The set π΄βͺπ΅, called the union of A and B, consists of all elements which are in A or B or both. π΄βͺπ΅= π₯:π₯βπ΄ ππ π₯βπ΅ Ex: π΄= 2,4,8,12 π΅= 2,6,10,12,14 π΄βͺπ΅= 2,4,6,8,10,12,14 Even though 2 is in both sets, we do not need to write 2 twice in the Union set
6
Intersections Intersections are like Unions, but opposite.
An intersection of sets contains only elements that are in common in both sets Let A and B be sets. The set π΄β©π΅, is called the intersection of A and B, consists of all elements which are in both A and B π΄β©π΅= π₯:π₯βπ΄ πππ π₯βπ΅ Ex: π΄= 2,4,8,12 π΅= 2,6,10,12,14 π΄β©π΅= 2, and 12 are the only values in both sets
7
Try this Let sets S, E, C, and M be defined as
π= CT, MA, MD, CA, CO, MI, MN πΈ= CT,MA,MD πΆ= CA,CO,CT π= MA,MD, MI,MN Name any subsets you see. πΈβ©πΆ= πΈβ©π= πΈβͺπΆ= πΈβͺπ= πβͺπΆ= πβ©πΆ=
8
Empty Set The set which contains no elements is known as the empty set, and is denoted by β
. By convention, the empty set is a subset of every set Since the empty set has no elements, we say π΄β©β
=β
and Aβͺβ
=π΄ Two sets A and B are disjoint if π΄β©π΅=β
This means sets A and B have no elements in common
9
Parentheses Matter! Let π΄= π,π,π π΅= π,π,π πΆ= π,π Ex: π΄β©π΅β©πΆ= Ex: π΄βͺπ΅βͺπΆ=
Notice:
10
Universal Set and Complements
A set U is said to be a universal set for a problem if all sets being considered in the problem are subsets of U. Let A be subset of U, then Aβ is the complement of A, meaning Aβ contains all the elements that are not in A. Aβ is said βA Primeβ Ex: Let π= CA,CO,CT,IL,IN π= CA,CT,IL π= CO,CT, IN π= CO,IN π β² = π β² = π β² = πβ© π β² = πβ© π β² = πβ© π β² =
11
Cartesian Product The Cartesian Product of sets A and B, denoted π΄Γπ΅, is the set of all ordered pairs π,π where πβπ΄ and πβπ΅ π΄Γπ΅= π,π :πβπ΄, πβπ΅ Ex: A survey can be conducted by either mail (M) or phone (P) in one of three cities: Atlanta (A), Boston (B), or Cincinnati (C). You must first choose a method (M, P) then a city (A, B, C). Each possible survey can be denoted as an ordered pair. π,π΄ , π,π΅ , π,πΆ , π,π΄ , π,π΅ ,(π,πΆ)
12
Cartesian Product (You Try)
Let π΄= π,π,π π΅= π,π,π πΆ= π,π \ Find π΄ΓπΆ= Find π΅ΓπΆ= Find πΆΓπΆ= The order of elements within the braces is not important but the order of the symbols within the parentheses is! (π₯,π¦) is very different from (π¦,π₯)
13
Order Matters! A football league consists of 4 teams: Aardvarks (A), Bisons (B), Coyotes (C), and Dingos (D). Each game can be denoted as an ordered pair in which the first entry denotes the home team. Games: πΊ=
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.