<<

Sets and

Set - A collection of objects. The specific objects within the are called the elements or members of the set. Capital letters are commonly used to name sets. Examples: 푆푒푡 퐴 = {푎, 푏, 푐, 푑} 표푟 푆푒푡 퐵 = {1,2,3,4} Set Notation - Braces { } can be used to list the members of a set, with each member separated by a comma. This is called the “Roster Method.” A description can also be used in the braces. This is called “Set-builder” notation.

Example: Set A: The natural from 1 to 10. Roster Method Members of A: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 Set Notation: 퐴 = {1,2,3,4,5,6,7,8,9,10} Set Builder Not.: {푥 푥 푖푠 푎 푛푎푡푢푟푎푙 푛푢푚푏푒푟 푓푟표푚 1 푡표 10}

Ellipsis - Three dots (…) used within the braces to indicate that the list continues in the established pattern. This is helpful notation to use for long lists or infinite lists. If the dots come at the of the list, they indicate that the list goes on indefinitely (i.. an ). Examples: Set A: Lowercase letters of the English alphabet Set Notation: {푎, 푏, 푐,…, 푧}

Cardinality of a Set – The of distinct elements in a set. Example: Set 퐴: The days of the week Members of Set A: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday of Set 퐴 = 풏(푨) =7

Equal Sets – Two sets that contain exactly the same elements, regardless of the listed or possible repetition of elements.

Example: 퐴 = {1,1,2,3,4} , 퐵 = {4,3,2,1,2,3,4, } . Sets 퐴 푎푛푑 퐵 are equal because they contain exactly the same elements (i.e. 1, 2, 3, & 4). This can be written as 푨 = 푩.

1

Equivalent Sets – Two sets that contain the same number of distinct elements.

Example: 퐴 = {퐹표표푡푏푎푙푙, 퐵푎푠푘푒푡푏푎푙푙, 퐵푎푠푒푏푎푙푙, 푆표푐푐푒푟} Both Sets have 4 퐵 = {푝푒푛푛푦, 푛푖푐푘푒푙, 푑푖푚푒, 푞푢푎푟푡푒푟} elements

푛(퐴) = 4 푎푛푑 푛(퐵) = 4 퐴 푎푛푑 퐵 푎푟푒 퐸푞푢푖푣푎푙푒푛푡 푆푒푡푠, 푚푒푎푛푖푛푔 푛(퐴) = 푛(퐵).

Note: If two sets are Equal, they are also Equivalent!

Example: 푆푒푡 퐴 = {푎, 푏, 푐, 푑} 푆푒푡 퐵 = {푑, 푑, 푐, 푐, 푏, 푏, 푎, 푎}

Are Sets A and B Equal? Sets A and B have the  Yes! exact same elements!

{푎, 푏, 푐, 푑}

Are Sets A and B Sets A and B have the Equivalent? exact same number of  Yes! distinct elements!

푛(퐴) = 푛(퐵) = 4

The (or ) – The set that contains no elements. It can be represented by either { } 표푟 ∅.

Note: Writing the empty set as {∅} is not correct!

Symbols commonly used with Sets – ∈ → 푖푛푑푖푐푎푡푒푠 푎푛 표푏푗푒푐푡 푖푠 푎푛 풆풍풆풎풆풏푡 표푓 푎 푠푒푡.

∈ → 푖푛푑푖푐푎푡푒푠 푎푛 표푏푗푒푐푡 푖푠 풏풐풕 푎푛 푒푙푒푚푒푛푡 표푓 푎 푠푒푡.  → 푖푛푑푖푐푎푡푒푠 푎 푠푒푡 푖푠 푎 풔풖풃풔풆풕 표푓 푎푛표푡ℎ푒푟 푠푒푡.

 → 푖푛푑푖푐푎푡푒푠 푎 푠푒푡 푖푠 푎 풑풓풐풑풆풓 풔풖풃풔풆풕 표푓 푎푛표푡ℎ푒푟 푠푒푡. ∩ → 푖푛푑푖푐푎푡푒푠 푡ℎ푒 풊풏풕풆풓풔풆풄풕풊풐풏 표푓 푠푒푡푠. ∪ → 푖푛푑푖푐푎푡푒푠 푡ℎ푒 풖풏풊풐풏 표푓 푠푒푡푠.

2

Subsets - For Sets A and B, Set A is a of Set B if every in Set A is also in Set B. It is written as 푨  푩.

Proper Subsets - For Sets A and B, Set A is a Proper Subset of Set B if every element in Set A is also in Set B, but Set A does not equal Set B. (푨 ≠ 푩) It is written as 푨  푩.

Example: 푆푒푡 퐴 = {2,4,6} 푆푒푡 퐵 = {0,2,4,6,8}

{2,4,6}  {0,2,4,6,8} and {2,4,6}  {0,2,4,6,8}

Set A is a Subset of Set B Set A is a Proper Subset of Set B because every element in A is because every element in A is also also in B. 푨  푩 in B, but A ≠ 퐵. 푨  푩

Note: The Empty Set is a Subset of every Set. The Empty Set is also a Proper Subset of every Set except the Empty Set.

Number of Subsets – The number of distinct subsets of a set containing n elements is given by ퟐ풏.

Number of Proper Subsets – The number of distinct proper subsets of a set containing n elements is given by ퟐ풏 − ퟏ.

Example: How many Subsets and Proper Subsets does Set A have?

푆푒푡 퐴 = {푏푎푛푎푛푎푠, 표푟푎푛푔푒푠, 푠푡푟푎푤푏푒푟푟푖푒푠} 푛 =3

Subsets = 2 = 2 =8 Proper Subsets = 2 −1=7

Example: List the Proper Subsets for the Example above.

1. {푏푎푛푎푛푎푠} 5. {푏푎푛푎푛푎푠, 푠푡푟푎푤푏푒푟푟푖푒푠} 2. {표푟푎푛푔푒푠} 6. {표푟푎푛푔푒푠, 푠푡푟푎푤푏푒푟푟푖푒푠} 3. {푠푡푟푎푤푏푒푟푟푖푒푠} 7. ∅ 4. {푏푎푛푎푛푎푠, 표푟푎푛푔푒푠}

Intersection of Sets – The of Sets A and B is the set of elements that are in both A and B, i.e. what they have in common. It can be written as 푨 ∩ 푩. 3

Union of Sets – The of Sets A and B is the set of elements that are members of Set A, Set B, or both Sets. It can be written as 푨 ∪ 푩.

Example: Find the Intersection and the Union for the Sets A and B.

푆푒푡 퐴 = {푅푒푑, 퐵푙푢푒, 퐺푟푒푒푛} Set A and B only 푆푒푡 퐵 = {푌푒푙푙표푤, 푂푟푎푛푔푒, 푅푒푑, 푃푢푟푝푙푒, 퐺푟푒푒푛} have 2 elements in common. Intersection: 푨 ∩ 푩 = {푅푒푑, 퐺푟푒푒푛} Union: 푨 ∪ 푩 = {푅푒푑, 퐵푙푢푒, 퐺푟푒푒푛, 푌푒푙푙표푤, 푂푟푎푛푔푒, 푃푢푟푝푙푒}

List each distinct element only once, even

if it appears in both Set A and Set B. of a Set - The Complement of Set A, written as A’ , is the set of all elements in the given (U), that are not in Set A. Example: Let 푈 = {1,2,3,4,5,6,7,8,9,10} and 퐴 = {1,3,5,7,9}

Find 퐴′ . Cross off everything in U that is also in A. What is left over will be the elements that are in A’

푈 = {1,2,3,4,5,6,7,8,9,10} So, 퐴 = {2,4,6,8,10} Try these on your own! Given the set descriptions below, answer the following questions.

푈 = 퐴푙푙 퐼푛푡푒푔푒푟푠 푓푟표푚 1 푡표 10. 퐴 = 푂푑푑 퐼푛푡푒푔푒푟푠 푓푟표푚 1 푡표 10, 퐵 = 퐸푣푒푛 퐼푛푡푒푔푒푟푠 푓푟표푚 1 푡표 10, 퐶 = 푀푢푙푡푖푝푙푒푠 표푓 2 푓푟표푚 1 푡표 10.

1. Write each of the sets in roster notation. 푈 = {1,2,3,4,5,6,7,8,9,10} , 퐴 = {1,3,5,7,9} , 퐵 = {2,4,6,8,10} , 퐶 = {2,4,6,8,10} 2. What is the cardinality of Sets U and A? Cardinality: U 10, A  5 3. Are Set B and Set C Equal? Yes, they are Equal 4. Are Set A and Set C Equivalent? Yes, they are Equivalent 5. How many Proper Subsets of Set 푈are there? 2 −1 = 1023 6. Find 푩 푎푛푑 푪′ 퐵 = 퐶 = {1,3,5,7,9} 7. Find 푨 ∪ 푪′ 퐴 ∪ 퐶 = {1,3,5,7,9} 8. Find 푩 ∩ 푪 퐵 ∩ 퐶 = { } or ∅ 4