CSE 20 DISCRETE MATH Prof. Shachar Lovett Clicker frequency: CA.

Slides:



Advertisements
Similar presentations
CSE 20 DISCRETE MATH Prof. Shachar Lovett Clicker frequency: CA.
Advertisements

CSE 20 DISCRETE MATH Prof. Shachar Lovett Clicker frequency: CA.
CSE 20 DISCRETE MATH Prof. Shachar Lovett Clicker frequency: CA.
Prof. Shachar Lovett Clicker frequency: CA CSE 20 Discrete math Prof. Shachar Lovett
CSE 20 DISCRETE MATH Prof. Shachar Lovett Clicker frequency: CA.
Discrete Mathematics I Lectures Chapter 6
CSE 20 DISCRETE MATH Prof. Shachar Lovett Clicker frequency: CA.
Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
CSE 20 – Discrete Mathematics Dr. Cynthia Bailey Lee Dr. Shachar Lovett Peer Instruction in Discrete Mathematics by Cynthia Leeis licensed under a Creative.
CSE 20 DISCRETE MATH Prof. Shachar Lovett Clicker frequency: CA.
CSE 20 DISCRETE MATH Prof. Shachar Lovett Clicker frequency: CA.
Sets DISCRETE STRUCTURE ABDUL BASIT TAHIR, KAMRAN ALI, FAIZAN ILLAHI, NOMAN AHMAD, ARSALAN MUBASHIR.
Analytical Methods in CS (CIS 505)
Discrete Structures Chapter 3 Set Theory Nurul Amelina Nasharuddin Multimedia Department.
EE1J2 – Discrete Maths Lecture 7
CSE 20 DISCRETE MATH Prof. Shachar Lovett Clicker frequency: CA.
CSE 20 DISCRETE MATH Prof. Shachar Lovett Clicker frequency: CA.
CSE 20 DISCRETE MATH Prof. Shachar Lovett Clicker frequency: CA.
CSE 20 DISCRETE MATH Prof. Shachar Lovett Clicker frequency: CA.
CSE 20 DISCRETE MATH Prof. Shachar Lovett Clicker frequency: CA.
CSE 20 DISCRETE MATH Prof. Shachar Lovett Clicker frequency: CA.
SETS A set B is a collection of objects such that for every object X in the universe the statement: “X is a member of B” Is a proposition.
Chapter 2 The Basic Concepts of Set Theory © 2008 Pearson Addison-Wesley. All rights reserved.
CSE 20 DISCRETE MATH Prof. Shachar Lovett Clicker frequency: CA.
CSE 20 DISCRETE MATH Prof. Shachar Lovett Clicker frequency: CA.
CSE 20 – Discrete Mathematics Dr. Cynthia Bailey Lee Dr. Shachar Lovett Peer Instruction in Discrete Mathematics by Cynthia Leeis licensed under a Creative.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
2.3 – Set Operations and Cartesian Products Intersection of Sets: The intersection of sets A and B is the set of elements common to both A and B. A  B.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
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.
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
SECTION 2-3 Set Operations and Cartesian Products Slide
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.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
Probability: Terminology  Sample Space  Set of all possible outcomes of a random experiment.  Random Experiment  Any activity resulting in uncertain.
Chapter 2 With Question/Answer Animations. Section 2.1.
Introduction to Set theory. Ways of Describing Sets.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
Chapter 2 Section 2 - Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
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.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
Set Operations Section 2.2.
Section 1.2 – 1.3 Outline Intersection  Disjoint Sets (A  B=  ) AND Union  OR Universe The set of items that are possible for membership Venn Diagrams.
MATH 2311 Section 2.2. Sets and Venn Diagrams A set is a collection of objects. Two sets are equal if they contain the same elements. Set A is a subset.
Sullivan Algebra and Trigonometry: Section 14.1 Objectives of this Section Find All the Subsets of a Set Find the Intersection and Union of Sets Find the.
The Basic Concepts of Set Theory. Chapter 1 Set Operations and Cartesian Products.
CSE 20 – Discrete Mathematics Dr. Cynthia Bailey Lee Dr. Shachar Lovett Peer Instruction in Discrete Mathematics by Cynthia Leeis licensed under a Creative.
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.
Algebra 2 Chapter 12 Venn Diagrams, Permutations, and Combinations Lesson 12.2.
The Basic Concepts of Set Theory
Counting and Probability Section 12.1: Sets and Counting IBTWW…
CSE 2353 – September 22nd 2003 Sets.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett
Algebra 1 Section 1.1.
The Basic Concepts of Set Theory
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett
Operations with Sets A = { 1, 2, 3 ,4, 5} B = { 2, 4, 6, 8, 10}
دوره‏ی ضمن خدمت کشوری ریاضی پایه‏ی نهم مرداد 1394.
Chapter 2 Notes Math 309 Probability.
Chapter Sets &Venn Diagrams.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett
Which sets are equal? Which sets are equivalent?
2.1 – Symbols and Terminology
Lecture Sets 2.2 Set Operations.
Presentation transcript:

CSE 20 DISCRETE MATH Prof. Shachar Lovett Clicker frequency: CA

Todays topics Set operations  Vs  Venn diagrams Sets equality and how to prove it Power set, Cartesian product

Set operations JS p. 47

 Vs  Which one of the following is true? A. 1  {1,2,3} B. 1  {1,2,3} C. {1}  {1,2,3} D. {1}  1,2,3 E. None/other/more than one

 Vs  Recall: x  A: x is an element in the set A A  B: A is a subset of B (all elements of A are also elements of B) Examples: 1  {1,2,3} {5,7}  {5,6,7} Elements can also be set! {1,3}  {{2}, 4, {1,3}} We can have set of sets of sets of sets …

 Vs  Which one of the following is true? A. 1  {{1},{2},{3}} B. 1  {{1},{2},{3}} C. {1}  {{1},{2},{3}} D. {1}  {{1},{2},{3}} E. None/other/more than one

 Vs  Which one of the following is true? A.   { ,{  },{{  }}} B.   { ,{  },{{  }}} C. {  }  { ,{  },{{  }}} D. {  }  { ,{  },{{  }}} E. None/other/more than one

Venn diagrams An useful way to understand sets intersection & union Generic Venn diagram for 3 sets: Describes all possible 8=2 3 combinations for whether an element is in A or not; in B or not; in C or not U B A C

Venn diagrams U B A C

U B A C

U B A C

U B A C

Set equality

Proving set equality

Proving set equality: simple example X = {n  N: n is even} Y = {n  N: n+1 is odd} Claim: X=Y Proof that X  Y: If n  X, then n is even, hence n+1 is odd, hence n+1  Y Proof that Y  X: If n  Y, then n+1 is odd, hence n is odd, hence n  X

Proving set equality: another example

Power Set JS p. 45

Power Set Which one of the following is always true? A. A  P(A) B. A  P(A) C. {A}  P(A) D. {A}  P(A) E. None/other/more than one

Cartesian product JS p. 48

Cartesian product

Next class More about sets Read section 2.1 in Jenkyns, Stephenson