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.

Slides:



Advertisements
Similar presentations
Set and Set Operations Section 2.1.
Advertisements

Lesson 1.3 Unit 1, Lesson 3. Set:A collection of distinct objects Elements:All of the objects that make up a set.
Lecture 2 Introduction To Sets CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
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.
Math 010 Unit 6 Lesson 4. Objectives: to write a set in roster notation to write a set in set-builder notation to graph an inequality on the number line.
Chapter 2 The Basic Concepts of Set Theory © 2008 Pearson Addison-Wesley. All rights reserved.
1 Learning Objectives for Section 7.2 Sets After today’s lesson, you should be able to Identify and use set properties and set notation. Perform set operations.
Sets & Set Notation.
5.1 Sets Sets and Elements Union and Intersection Subset and Empty Set
Set Notation.
This section will discuss the symbolism and concepts of set theory
Set theory Sets: Powerful tool in computer science to solve real world problems. A set is a collection of distinct objects called elements. Traditionally,
Partially borrowed from Florida State University
Math 002 College Algebra Final Exam Review.
Understanding Set Notation
Relations And Functions. A relation from non empty set A to a non empty set B is a subset of cartesian product of A x B. This is a relation The domain.
Homework: p odd, odd, odd, odd, and odd.
Set, Combinatorics, Probability & Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Set,
Chapter 7 Logic, Sets, and Counting Section 2 Sets.
Chapter P Prerequisites: Fundamental Concepts of Algebra 1 Copyright © 2014, 2010, 2007 Pearson Education, Inc. 1 P.9 Linear Inequalities and Absolute.
11.2 Sets and Compound Inequalities 11.3 Absolute Value Equations 11.4 Absolute Value Inequalities.
Copyright © 2014 Curt Hill Sets Introduction to Set Theory.
REAL Numbers Rational #’s Irrational #’s Whole #’s 0, 1, 2, 3 … Integers: …-2, -1, 0, 1, 2 … Rational #’s ( ) (1/2, 2/3, 5/1, 0.5, 0.666…, 5) e …
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.
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
Chapter 2 Section 1 - Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
Sets CSLU Fall 2007 Cameron McInally Fordham University.
Chapter SETS DEFINITION OF SET METHODS FOR SPECIFYING SET SUBSETS VENN DIAGRAM SET IDENTITIES SET OPERATIONS.
Set Notation Subset Element Union Intersection Not a Subset
Module Code MA1032N: Logic Lecture for Week Autumn.
Sets of Numbers Unions, Intersections, and Venn Diagrams
Relations And Functions. A relation is a set of ordered pairs {(2,3), (-1,5), (4,-2), (9,9), (0,-6)} This is a relation The domain is the set of all x.
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.
Sets.
Chapter P Prerequisites: Fundamental Concepts of Algebra 1 Copyright © 2014, 2010, 2007 Pearson Education, Inc. 1 P.1 Algebraic Expressions, Mathematical.
Section 2.6 Set Operations and Compound Inequalities.
Module #3 - Sets 3/2/2016(c) , Michael P. Frank 2. Sets and Set Operations.
Relations And Functions © 2002 by Shawna Haider. A relation is a set of ordered pairs. {(2,3), (-1,5), (4,-2), (9,9), (0,-6)} This is a relation The domain.
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.
1.1 – SETS AND SYMBOLS. Goals SWBAT understand basic set notation and set symbols SWBAT solve simple sentences with a given domain SWBAT graph sets of.
Set Builder Notation. If you recall, a set is a collection of objects which we write using brackets and name using a capital letter. Remember also that:
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.
CISC1100: Sets Fall 2014 Xiaolan Zhang
Set & Interval Notation
Aim #P. 1 How do we evaluate algebraic expressions
Sets Page 746.
CHAPTER 2 Set Theory A B C.
CHAPTER 3 SETS, BOOLEAN ALGEBRA & LOGIC CIRCUITS
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
Sets CSLU Fall 2007 Cameron McInally
The Basic Concepts of Set Theory
Sets Section 2.1.
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
Taibah University College of Computer Science & Engineering Course Title: Discrete Mathematics Code: CS 103 Chapter 2 Sets Slides are adopted from “Discrete.
Intro to Set Theory The Math of Santa’s Bag.
Set and Set Operations Grab a sheet from front.
The Basic Concepts of Set Theory
Review of Sets and Set Operations
Set-Builder Notation.
CHAPTER 1 - Sets and Intervals
Chapter 2 The Basic Concepts of Set Theory
CHAPTER 1 - Sets and Intervals
Chapter 2 The Basic Concepts of Set Theory
Chapter 7 Logic, Sets, and Counting
Copyright © Cengage Learning. All rights reserved.
Relations And Functions.
Lecture Sets 2.2 Set Operations.
SETS, RELATIONS, FUNCTIONS
Introduction A set is a collection of objects.
Presentation transcript:

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 by commas Some examples of sets include:

Called the empty set

There are two very small rules about the stuff in the Set 1.You don’t list anything more than once 2.The order you list things in doesn’t matter

Is not the correct way to write out this set (it repeats an element)

Both of these would be considered identical Sets since they have all the same elements and only the order is different.

So what if I get tired of writing out all of these Sets? Just as with logic we can make up place holders (variables) to refer to any Set we specify. Typically we use single capital letters to do this. So now I can just use A and we all know what I mean.

Let’s consider the following sets How many items are in each of the sets on the left? |A| = 6|C| = 2 |B| =3|D| = 4 |E| = 0

Some well known and named sets “N” is the natural numbers {0, 1, 2, 3, 4, 5, …} “Z” is the set of integers {…-2,-1,0,1,2,…} “Q” is the set of rational numbers (any number that can be written as a fraction “R” is the set of real numbers (all the numbers/fractions/decimals that you can imagine

Cardinality This is just asking how many elements are in the set…

Cardinality This is just asking how many elements are in the set… and we just learned how to do it.

Solve the following problems 1.What is |A|? 3 2.What is |B|+|C| 6 3.What is |D|+|E|-|A|? 1

Set Builder Notation We don’t always have the ability or want to directly list every element in a set. So Mathematicians have invented “Set Builder Notation” This can be read as “All x’s such that x is an element of the Natural Numbers”

Set Builder Notation Two key symbols that we will see: This means “is an element of” This means “is subset of”

For example We can say

Set Builder Notation consists of two halves The first half gives a description of what values we want to include in our set The second half places constrains on which of the values mentioned in the first half we will actually use.

Examples

Example Answers

Examples

More Practice Understanding Set Builder Notation

Set Operations Just like in logic there are lots of ways we can perform operation on sets. Most of these operations are different ways of combining two different sets buy some (like Cardinality) only apply to a single set.

Union Create a new set by combining all of the elements or two sets

Union Examples

Intersection Create a new set using the elements the two sets have if common

Intersection Examples

Difference Create a new set by taking all of the elements of the first set (A) and removing all of the elements in the second set (B)

Difference Examples

Practice with Set Operations Set Operations

Power Set Create a set that consists of all of the subsets of the set that is given (A) or

Power Set Examples

Cartesian Product Create a new set consisting of coordinate pairs by combining pairs of elements (one from each set) in all possible combinations.

What is a coordinate pair Its just like what you learned about when you learned about graphing or points It is something written in the form (x, y) The first value in the parentheses is the x- coordinate The second value in the parentheses is the y- coordinate

Cartesian Product Examples