Intro to Set Theory The Math of Santa’s Bag.

Slides:



Advertisements
Similar presentations
Introduction to Set Theory
Advertisements

7.1 Sets This presentation is copyright by Paul Hendrick © , Paul Hendrick All rights reserved.
Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
Analytical Methods in CS (CIS 505)
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.
Chapter 2 The Basic Concepts of Set Theory
Ch 9 Inequalities and Absolute Value
Intro to Set Theory. Sets and Their Elements A set A is a collection of elements. If x is an element of A, we write x  A; if not: x  A. Say: “x is a.
2.1 – Symbols and Terminology Definitions: Set: A collection of objects. Elements: The objects that belong to the set. Set Designations (3 types): Word.
Set Notation.
This section will discuss the symbolism and concepts of set theory
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,
CS 103 Discrete Structures Lecture 10 Basic Structures: Sets (1)
Chapter 7 Logic, Sets, and Counting Section 2 Sets.
1. Set Theory Set: Collection of objects (“elements”) a  A “a is an element of A” “a is a member of A” a  A “a is not an element of A” A = {a 1, a 2,
CompSci 102 Discrete Math for Computer Science
ELEMENTARY SET THEORY.
Module Code MA1032N: Logic Lecture for Week Autumn.
Set Notation and Description Kinds of Sets Operations on Sets By: Mr. Gerzon B. Mascariñas.
Sets Goal: Introduce the basic terminology of set theory.
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.
Introduction to Set theory. Ways of Describing Sets.
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.
(CSC 102) Lecture 13 Discrete Structures. Previous Lectures Summary  Direct Proof  Indirect Proof  Proof by Contradiction  Proof by Contra positive.
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.
Basic Definitions of Set Theory Lecture 23 Section 5.1 Mon, Feb 21, 2005.
Module #3 - Sets 3/2/2016(c) , Michael P. Frank 2. Sets and Set Operations.
Introduction to Sets Definition, Basic and Properties of Sets
Set Theorem By Derek Mok, Alex Yau, Henry Tsang and Tommy Lee.
The Basic Concepts of Set Theory. Chapter 1 Set Operations and Cartesian Products.
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.
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. Outline Set and Set Elements Set Representation Subset, Proper Subset, Set Equality, and Null Set.
Sets.
CISC1100: Sets Fall 2014 Xiaolan Zhang
Sets Page 746.
Sets Finite 7-1.
Set Definition: A set is unordered collection of objects.
CHAPTER 3 SETS, BOOLEAN ALGEBRA & LOGIC CIRCUITS
Discrete Mathematical The Set Theory
Lecture 04 Set Theory Profs. Koike and Yukita
Set, Combinatorics, Probability & Number Theory
The Basic Concepts of Set Theory
Sets Section 2.1.
Chapter 1 Logic and Proofs Homework 2 Given the statement “A valid password is necessary for you to log on to the campus server.” Express the statement.
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.
The Basic Concepts of Set Theory
Set-Builder Notation.
CHAPTER 1 - Sets and Intervals
Chapter 2 The Basic Concepts of Set Theory
CHAPTER 1 - Sets and Intervals
ALGEBRA I - SETS : UNION and INTERSECTION
Chapter 2 The Basic Concepts of Set Theory
Chapter 7 Logic, Sets, and Counting
Which sets are equal? Which sets are equivalent?
2.1 – Symbols and Terminology
Integrated Math Section 1.2 Real Numbers.
Lecture Sets 2.2 Set Operations.
Introduction A set is a collection of objects.
Sets, Unions, Intersections, and Complements
Presentation transcript:

Intro to Set Theory The Math of Santa’s Bag

But first...

Now back to our regularly scheduled programming...

What is a set? (from Wikipedia) Definition: A set is a well-defined collection of distinct objects. The objects that make up a set (also known as the elements or members of a set) can be anything: numbers, people, letter of the alphabet, other sets, and so on. One of the founders of set theory Georg Cantor, gave the following definition: “A set is a gathering into a whole of definite, distinct objects of our perception or of our thought-which are called elements of the set.”

But really… what is a set? A set is a magic bag that can contain anything or nothing...

Familiar examples of sets Natural numbers (counting numbers) Integers (counting numbers and negatives) Rationals (fractions) Real numbers (fractions plus weird ones like pi etc.)

Write these to mean it’s Writing a set: First, we can list the elements: Write these to mean it’s a set

Writing a set: (no repetition) We don’t stutter when we write a set!

Writing a set: (ORDER IS NOT IMPORTANT)

Cardinality: We denote the number of elements of a set as

Example 3

Another Example: Special set: The Empty Set Look its empty!

Notation for sets: We will use capital letters to indicate sets Like: We also have a symbol for membership that is when x is an element of a set A we write:

Fun example: Pizza is in this set so we write: and say “pizza is in A”

In our Familiar Examples:

Notation for “not-in” We also have notation for not being a member of the set:

Fun example: Bob is not in this set so we write: and say “Bob is not in A”

Logic is back in the game! Membership of a set is a “statement” that is it has a truth value: This statement is true/false!

Subsets Definition: A subset is made of only the elements of another set. If A is a subset of B we write:

Subsets (logic definition) is true whenever the following statement is true for every x in A:

Weird conclusions... The empty set is a subset of any set:

There is nothing in the empty set!! WTF? Well is this statement true? This statement is FALSE!! There is nothing in the empty set!!

Universe (of discourse) We at times discuss the subsets of a given “larger set” this set is referred as The Universe of discourse, If this set doesn’t already have a name we usually denote it as:

Writing a set: “set builder notation” We can write conditions... “The set” “The statement p(x) is true” “Containing x’s” “Such that”

Example We can write the set of all even numbers:

Example We can write the set of real numbers whose square is less than 10:

Group Work: The set of real numbers bigger than 10 and less than 42 Use set builder notation to write the following sets: The set of real numbers bigger than 10 and less than 42 The set of prime natural numbers The set of of all real numbers whose cube is bigger than or equal to 27 The set of rational numbers whose denominator is 3

The Union: Definition: The Union of two sets A, B is Recall this means “OR” So it’s all the stuff in A or B…. so if it’s in A it’s in the union, also if it’s in B it must be in the union..

Let’s write the sets? First, Andy’s set:

Let’s write the sets? Now, Bob’s set:

Let’s see it:

The intersection: Definition: The intersection of two sets, is the set of elements that they share...

Let’s see it:

Group Work: (HP) (GR) (RC) (SL)

Complements (everything not in!) Definition: The complement of a set is the set of everything that’s in the universe but not the original set

Example

Group Work: 7 Given the universe above, find the complement of the following sets: 7

Venn Diagrams

Venn Diagrams (Bob and Andy)

Venn Diagrams (Union)

Venn Diagrams (Intersection)

Venn Diagrams (Complement)

Venn Diagrams (All Together)

Group Work: Shade in the indicated sets in a Venn Diagram for the following: