7.1 Sets This presentation is copyright by Paul Hendrick © 2003-2007, Paul Hendrick All rights reserved.

Slides:



Advertisements
Similar presentations
Learning Objectives for Section 7.2 Sets
Advertisements

Introduction to Set Theory
Instructor: Hayk Melikya
Sets DISCRETE STRUCTURE ABDUL BASIT TAHIR, KAMRAN ALI, FAIZAN ILLAHI, NOMAN AHMAD, ARSALAN MUBASHIR.
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
Set Theory.
Ch 9 Inequalities and Absolute Value
Chapter 2 The Basic Concepts of Set Theory
2.1 – Symbols and Terminology Definitions: Set: A collection of objects. Elements: The objects that belong to the set. Set Designations (3 types): Word.
Subsets and Set Operations
Set Notation.
This section will discuss the symbolism and concepts of set theory
©1999 Indiana University Trustees Basic Set Theory Definitions A set is a collection of objects or elements An element is an object that make up a set.
Objectives: By the end of class, I will be able to:  Identify sets  Understand subsets, intersections, unions, empty sets, finite and infinite sets,
Introduction to Set Theory. Introduction to Sets – the basics A set is a collection of objects. Objects in the collection are called elements of the set.
CS 103 Discrete Structures Lecture 10 Basic Structures: Sets (1)
Chapter 7 Logic, Sets, and Counting Section 2 Sets.
Set Theory Dr. Ahmed Elmoasry. Contents Ch I: Experiments, Models, and Probabilities. Ch II: Discrete Random Variables Ch III: Discrete Random Variables.
Section 2.2 Subsets and Set Operations Math in Our World.
Sets Digital Lesson. Copyright © by Houghton Mifflin Company, Inc. All rights reserved. 2 Definition of Set A set is a collection of objects called elements.
1 Introduction to Abstract Mathematics Sets Section 2.1 Basic Notions of Sets Section 2.2 Operations with sets Section 2.3 Indexed Sets Instructor: Hayk.
ELEMENTARY SET THEORY.
Chapter SETS DEFINITION OF SET METHODS FOR SPECIFYING SET SUBSETS VENN DIAGRAM SET IDENTITIES SET OPERATIONS.
CSNB143 – Discrete Structure Topic 1 - Set. Topic 1 - Sets Learning Outcomes – Student should be able to identify sets and its important components. –
Sets & venn diagrams; probability
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.
Real Numbers Natural Numbers – {1,2,3,4,5,6….}
1 Chapter Two Basic Concepts of Set Theory –Symbols and Terminology –Venn Diagrams and Subsets.
Discrete Mathematics Lecture # 10. Set Theory  A well defined collection of {distinct} objects is called a set.  The objects are called the elements.
Welcome to Form 4 Mathematics Topic for the day SETS.
College Algebra: Section 8.1 Sets and Counting Objectives of this Section Find All the Subsets of a Set Find All the Subsets of a Set Find the Intersection.
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 2.3 Venn Diagrams and Set Operations.
Thinking Mathematically Venn Diagrams and Set Operations.
Union and Intersection of Sets. Definition - intersection The intersection of two sets A and B is the set containing those elements which are and elements.
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.
Numbers and Sets. A set is a collection of objects. So, any collection of things, such as numbers, can be called a set. To show that we have a set, we.
Unit 4, Section 1 – Subsets and Set Operations Applied Math 1.
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.
 2012 Pearson Education, Inc. Slide Chapter 2 The Basic Concepts of Set Theory.
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 Page 746.
Sets Finite 7-1.
Set Definition: A set is unordered collection of objects.
CHAPTER 3 SETS, BOOLEAN ALGEBRA & LOGIC CIRCUITS
Venn Diagrams and Subsets
Sets Section 2.1.
Chapter 2 The Basic Concepts of Set Theory
ALGEBRA II H/G - SETS : UNION and INTERSECTION
Counting and Probability Section 12.1: Sets and Counting IBTWW…
Intro to Set Theory The Math of Santa’s Bag.
Section 2.3 Venn Diagrams and Set Operations
CS100: Discrete structures
Set and Set Operations Grab a sheet from front.
        { } Sets and Venn Diagrams Prime Numbers Even Numbers
The Basic Concepts of Set Theory
Algebra 1 Section 1.1.
CHAPTER 1 - Sets and Intervals
CHAPTER 1 - Sets and Intervals
Chapter 2 The Basic Concepts of Set Theory
ALGEBRA I - SETS : UNION and INTERSECTION
SETS Sets are denoted by Capital letters Sets use “curly” brackets
2 Chapter Numeration Systems and Sets
Section 2.2 – Subsets and Set Operations
Chapter 7 Logic, Sets, and Counting
ALGEBRA II H/G - SETS : UNION and INTERSECTION
2.1 – Symbols and Terminology
Introduction A set is a collection of objects.
Presentation transcript:

7.1 Sets This presentation is copyright by Paul Hendrick © , Paul Hendrick All rights reserved

7.1 Sets Definitions & Examples A set is a well-defined collection of objects –The objects in a set are called its members or elements –Sets are usually named by capital letters, such as A, B, X, Y, etc. –(If the elements of a set are letters, it’s usually best to use lower-case for these.) The English alphabet: A = {a, b, c, …, z} –(note: 26, not 52; i.e., capital & l.c. not considered different) Be sure to use the set brackets { }

7.1 Sets Definitions & Examples (cont.) –Example: let F={1,2,3,4,5}, the first five counting #s. –Example: let P = {x | x is a prime # and x  10} P could also be given as follows: P={2,3,5,7} Set-builder notation vs. roster notation –Sets A and B are equal iff they contain the same elements F={1,3,5,4,2} same as original F Order doesn’t matter. F={1,2,3,4,5,4,3,2,1} same as original F! –Note: still only 5 elements! Repeats don’t count. –The last is considered bad form! (It’s misleading.) –DON’T do this!

The Universal set, , in any given situation, is the set of all possible elements from which elements for a set could be taken. –E.g., if we want set B to be the set of students taking this course and section, then  could be the set of all Blinn math students at the Bryan campus, or all Blinn students at any campus, or all students in the world. –E.g., if we want the set C = some set of cards in a poker hand, we would have to change  (it’s a different situation!) 7.1 Sets Definitions & Examples (cont.)

The Empty set is the set that has no elements. Also called the null set –Designated either by { } or by  Don’t write it as {  } !! (that’s a set with 1 element!) –Let W = the set of all students who cut all the major exams and make an “A” in this class. W = . –Let X = the set of all aliens (extra-terrestrial) living amongst us. X = { }. –This is the instructor’s personal opinion! 7.1 Sets Definitions & Examples (cont.)

A set A is a subset of a set B iff every element of A is also an element of B. We write A  B (note the _, as an “equal” possibility, similar to x  4 or 4  4 ) –A set A is a proper subset of a set B iff A is a subset of B, but A is not the same as B. We write A  B (note NO _, as an “equal” possibility, similar to x < 4 or 3 < 4 ) –E.g., recall F={1,2,3,4,5} and P={2,3,5,7} –If T={1,2,3,…,9,10}, then F  T or F  T, but F  P –Note: A  B and B  A iff A = B.

7.1 Sets Definitions & Examples (cont.) –Don’t confuse elements and subsets! –Recall P={2,3,5,7} 2  P {2}  P 2  P {2}  P   P –The null set is a subset of every set!   P Y   –Every set is a subset of the Universal set!

7.1 Sets Definitions & Examples (cont.) 7.1 #54 (p. 322) Let B={a,b,c,{d},{e,f}}. True or false each? {a}  B –False a is an element of B, but {a} is not {b,c,d}  B –False b and c are elements of B, but d is not; {d} is. {d}  B –True {d}  B –False {d} is an element of B, but d is not {e,f}  B –True {a,{e,f}}  B –True {e,f}  B –False {e,f} is an element of B, so {{e,f}} IS a proper subset

7.1 Sets Definitions & Examples / Power Set How many subsets does the set {a,b,c,d} have? Subsets of size 0: { } 1 Subsets of size 1: {a}, {b}, {c}, {d} 4 Subsets of size 2: {a,b}, {a,c}, {a,d}, {b,c}, {b,d}, {c,d} 6 Subsets of size 3: {a,b,c}, {a,b,d}, {a,c,d}, {b,c,d} 4 Subsets of size 4: {a,b,c,d} 1 –16 subsets in all (15 proper subsets) –The set { { }, {a}, {b}, {c}, {d}, {a,b}, {a,c}, {a,d}, {b,c}, {b,d}, {c,d}, {a,b,c}, {a,b,d}, {a,c,d}, {b,c,d}, {a,b,c,d} } is called the power set for the set {a,b,c,d}. –The set of all possible subsets of a set A is called the POWER SET for the set A, and is designated by 2 A. –If n(A) designates the size of set A, then n(2 A ) = 2 n(A)

7.1 Sets Tree Diagrams –Tree diagrams can be useful for illustrating various processes for probability problems –Branches connect nodes in the tree diagram A B E D C G F H I J K A is a root node B is a branch node D is a terminal node AB is a branch GK is a branch ABEI is a path (could also be called AI) 6 – the same as # of terminal nodes! How many paths in this tree?

7.1 Sets Tree Diagrams –Tree diagrams can be used to illustrate the building of a subset –(illustration of tree diagram on board) –Each branch in the tree diagram represents a choice to include or not include a given element in the subset –Each path in the tree diagram represents all the choices made, over all of the original elements –If a path has n choices to be made, with 2 outcomes on each choice, then there are 2 n possible ways to make all the choices.

7.1 Sets Set operations –Complement –Union –Intersection

7.1 Sets Set operations -- Complement –The complement of a set A is the set of all elements that are not in A (but which, of course, are in  ). In symbols, A = {x | x   and x  A} Since it’s understood that every element is in , usually don’t bother to say it! A = {x | x  A}

7.1 Sets Set operations -- Union –The union of two sets A and B is the set of all elements that are in A or are in B (or are in both). This is called the “inclusive or”. (Of course, all are in U, so we don’t need to bother to say anything about that!) A  B = {x | x  A or x  B } –E.g., recall F={1,2,3,4,5} and P={2,3,5,7} F  P = {x | x  F or x  P } = {1,2,3,4,5,2,3,5,7} = {1,2,3,4,5,7}

7.1 Sets Set operations -- Intersection –The intersection of two sets A and B is the set of all elements that are in A and are in B (at the same time). A  B = {x | x  A and x  B } –E.g., recall F={1,2,3,4,5} and P={2,3,5,7} F  P = {x | x  F and x  P } = {1,2,3,4,5}  {2,3,5,7} = {1,2,3,4,5} in F, less what’s not in P = {2,3,5} //

7.1 Sets Set operations – Union and Intersection –Recall that for F={1,2,3,4,5} and P={2,3,5,7} F  P = {1,2,3,4,5,7} F  P = {2,3,5} –Note that F  P  F  P –For any two sets A and B, A  B  A  B Can the intersection and union ever be equal? When?

7.1 Sets Set operations -- Intersection –If the intersection of two sets A and B is empty, that is, the two sets have nothing in common, then the sets are said to be disjoint. E.g., let E = {2,4,6,8,10} (even integers in T), and let O = {1,3,5,7,9} (odd integers in T), then E and O have no elements in common. E  O =  E and O are disjoint.

7.1 Sets Set operations vs words –Complement vs. “not” A = {x | x  , x is not an element of A} –Union vs “or” A  B = {x | x  A or x  B } –Intersection vs. “and” A  B = {x | x  A and x  B }

7.1 Sets Definitions & Examples (cont.) Venn diagrams are useful in representing sets, subsets, and operations with sets –These were invented by the English logician John Venn –These consist of circles representing sets inside of one rectangle representing the Universal set –The inside of a circle represents the contents of the set –A subset of another set is shown by a circle within another circle –(illustration of Venn diagrams on board)