Presentation is loading. Please wait.

Presentation is loading. Please wait.

Review of Sets and Set Operations

Similar presentations


Presentation on theme: "Review of Sets and Set Operations"β€” Presentation transcript:

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: 𝐺=


Download ppt "Review of Sets and Set Operations"

Similar presentations


Ads by Google