Review of Sets and Set Operations

Slides:



Advertisements
Similar presentations
Homework Answers 1. {3} 2. {1, 3} 5. {3, 4, 6} 6. {} 10. {2, 3, 4}
Advertisements

More Set Definitions and Proofs 1.6, 1.7. Ordered n-tuple The ordered n-tuple (a1,a2,…an) is the ordered collection that has a1 as its first element,
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.
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.
Introduction to Sets. A set is just a collection of stuff But the stuff must be written inside curly braces Each item in the curly braces is separated.
Survey of Mathematical Ideas Math 100 Chapter 2
5.1 Sets Sets and Elements Union and Intersection Subset and Empty Set
DP SL Studies Chapter 7 Sets and Venn Diagrams. DP Studies Chapter 7 Homework Section A: 1, 2, 4, 5, 7, 9 Section B: 2, 4 Section C: 1, 2, 4, 5 Section.
Objectives: By the end of class, I will be able to:  Identify sets  Understand subsets, intersections, unions, empty sets, finite and infinite sets,
Venn Diagrams/Set Theory   Venn Diagram- A picture that illustrates the relationships between two or more sets { } are often used to denote members of.
Set, Combinatorics, Probability & Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Set,
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Chapter 7 Review Important Terms, Symbols, Concepts 7.1. Logic A proposition is a statement (not a question.
1 ENM 503 Block 1 Algebraic Systems Lesson 2 – The Algebra of Sets The Essence of Sets What are they?
Copyright © 2014 Curt Hill Sets Introduction to Set Theory.
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.
Section 2.2 Subsets and Set Operations Math in Our World.
ELEMENTARY SET THEORY.
Copyright © 2006 Brooks/Cole, a division of Thomson Learning, Inc. Sets and Counting6 Sets and Set Operations The Number of Elements in a Finite Set The.
Chapter SETS DEFINITION OF SET METHODS FOR SPECIFYING SET SUBSETS VENN DIAGRAM SET IDENTITIES SET OPERATIONS.
Basic Principles (continuation) 1. A Quantitative Measure of Information As we already have realized, when a statistical experiment has n eqiuprobable.
SAT MATH Lesson 10.
CSNB143 – Discrete Structure Topic 1 - Set. Topic 1 - Sets Learning Outcomes – Student should be able to identify sets and its important components. –
Database System Concepts, 5th Ed. ©Silberschatz, Korth and Sudarshan See for conditions on re-usewww.db-book.com ICOM 5016 – Introduction.
Sets Definition: A set is an unordered collection of objects, called elements or members of the set. A set is said to contain its elements. We write a.
Chapter 2 Section 3 - Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
Set Operations Section 2.2.
Fr: Discrete Mathematics by Washburn, Marlowe, and Ryan.
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.
Discrete Mathematics CS 2610 August 31, Agenda Set Theory Set Builder Notation Universal Set Power Set and Cardinality Set Operations Set Identities.
CPCS 222 Discrete Structures I
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.
CISC1100: Sets Fall 2014 Xiaolan Zhang
Dr. Ameria Eldosoky Discrete mathematics
The set of whole numbers less than 7 is {1, 2, 3, 4, 5, 6}
Sets Page 746.
Sets Finite 7-1.
Chapter 2 Sets and Functions.
CHAPTER 2 Set Theory A B C.
Set Definition: A set is unordered collection of objects.
CHAPTER 3 SETS, BOOLEAN ALGEBRA & LOGIC CIRCUITS
CSNB 143 Discrete Mathematical Structures
Set, Combinatorics, Probability & Number Theory
Sets Section 2.1.
ALGEBRA II H/G - SETS : UNION and INTERSECTION
Taibah University College of Computer Science & Engineering Course Title: Discrete Mathematics Code: CS 103 Chapter 2 Sets Slides are adopted from “Discrete.
CS100: Discrete structures
Set and Set Operations Grab a sheet from front.
        { } Sets and Venn Diagrams Prime Numbers Even Numbers
Algebra 1 Section 1.1.
Textbook Handout We will go up by sections to get the Finite Book
Venn Diagrams and Partitions
Set-Builder Notation.
2.1 Sets Dr. Halimah Alshehri.
ALGEBRA I - SETS : UNION and INTERSECTION
SETS Sets are denoted by Capital letters Sets use “curly” brackets
Discrete Mathematics CS 2610
Chapter 7 Logic, Sets, and Counting
ALGEBRA II H/G - SETS : UNION and INTERSECTION
More about Sets.
Sets A set is simply any collection of objects
Number Talk What is a Number Talk?
ICOM 5016 – Introduction to Database Systems
VENN DIAGRAMS By Felicia Wright
ICOM 5016 – Introduction to Database Systems
Introduction A set is a collection of objects.

Terminology and Symbols
Presentation transcript:

Review of Sets and Set Operations Chapter 1-1 Review of Sets and Set Operations

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= 𝑧:𝑧 𝑖𝑠 𝑎𝑙𝑙 𝑜𝑑𝑑 𝑤ℎ𝑜𝑙𝑒 𝑛𝑢𝑚𝑏𝑒𝑟𝑠

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**

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?

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

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,12 2 and 12 are the only values in both sets

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. 𝐸∩𝐶= 𝐸∩𝑀= 𝐸∪𝐶= 𝐸∪𝑀= 𝑀∪𝐶= 𝑀∩𝐶=

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

Parentheses Matter! Let 𝐴= 𝑎,𝑏,𝑐 𝐵= 𝑎,𝑐,𝑒 𝐶= 𝑎,𝑑 Ex: 𝐴∩𝐵∩𝐶= Ex: 𝐴∪𝐵∪𝐶= Notice:

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 𝑋 ′ = 𝑌 ′ = 𝑍 ′ = 𝑌∩ 𝑍 ′ = 𝑋∩ 𝑍 ′ = 𝑍∩ 𝑌 ′ =

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. 𝑀,𝐴 , 𝑀,𝐵 , 𝑀,𝐶 , 𝑃,𝐴 , 𝑃,𝐵 ,(𝑃,𝐶)

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 (𝑦,𝑥)

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