Lecture 5: Set Theory 1 Dr Andrew Purkiss-Trew Cancer Research UK Mathematics for Computing.

Slides:



Advertisements
Similar presentations
Introduction to Set Theory
Advertisements

Sets Definition of a Set: NAME = {list of elements or description of elements} i.e. B = {1,2,3} or C = {x  Z + | -4 < x < 4} Axiom of Extension: A set.
EE1J2 – Discrete Maths Lecture 7
Chapter 2 The Basic Concepts of Set Theory
Sets 1.
Sets 1.
CSE115/ENGR160 Discrete Mathematics 02/14/12 Ming-Hsuan Yang UC Merced 1.
1 Discussion #21 Discussion #21 Sets & Set Operations; Tuples & Relations.
Unit 10 – Logic and Venn Diagrams
Chapter 2 The Basic Concepts of Set Theory
Discrete Maths Objective to re-introduce basic set ideas, set operations, set identities , Semester 2, Set Basics 1.
Survey of Mathematical Ideas Math 100 Chapter 2
Chapter 2 The Basic Concepts of Set Theory © 2008 Pearson Addison-Wesley. All rights reserved.
Sets.
Discrete Mathematics Unit - I. Set Theory Sets and Subsets A well-defined collection of objects (the set of outstanding people, outstanding is very subjective)
Set theory Sets: Powerful tool in computer science to solve real world problems. A set is a collection of distinct objects called elements. Traditionally,
2.1 – Sets. Examples: Set-Builder Notation Using Set-Builder Notation to Make Domains Explicit Examples.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Sets.
Definition and Representation A set is a well-defined collection of objects; The objects are called elements or members of the set; A set can be represented.
Set, Combinatorics, Probability & Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Set,
Mathematics for Computing Lecture 8: Functions Dr Andrew Purkiss-Trew Cancer Research UK
Chapter 2: Basic Structures: Sets, Functions, Sequences, and Sums (1)
SECTION 2-3 Set Operations and Cartesian Products Slide
ELEMENTARY SET THEORY.
Set Notation and Description Kinds of Sets Operations on Sets By: Mr. Gerzon B. Mascariñas.
Unit 1 Mathematical Terminology & Notation. Work with Sets Standard 25.0.
Lecture 2.1: Sets and Set Operations CS 250, Discrete Structures, Fall 2014 Nitesh Saxena Adopted from previous lectures by Cinda Heeren.
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.
Introduction to Set theory. Ways of Describing Sets.
(CSC 102) Lecture 13 Discrete Structures. Previous Lectures Summary  Direct Proof  Indirect Proof  Proof by Contradiction  Proof by Contra positive.
Basic Definitions of Set Theory Lecture 23 Section 5.1 Wed, Mar 8, 2006.
Unit :1 Set Theory Prof. A.J. SHAKADWIPI. Sets and Subsets A well-defined collection of objects. finite sets, infinite sets, subset A={1,3,5,7,9} B={x|x.
Basic Definitions of Set Theory Lecture 24 Section 5.1 Fri, Mar 2, 2007.
ITD1111 Discrete Mathematics & Statistics STDTLP
Discrete Mathematics Set.
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.
Set Operations Section 2.2.
Discrete Mathematics Lecture # 10 Venn Diagram. Union  Let A and B be subsets of a universal set U. The union of sets A and B is the set of all elements.
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.
Thinking Mathematically Venn Diagrams and Subsets.
Discrete Mathematics CS 2610 August 31, Agenda Set Theory Set Builder Notation Universal Set Power Set and Cardinality Set Operations Set Identities.
Thinking Mathematically Venn Diagrams and Set Operations.
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.
Introduction to Set Theory (§1.6) A set is a new type of structure, representing an unordered collection (group, plurality) of zero or more distinct (different)
Lecture 7: Relations Dr Andrew Purkiss-Trew Cancer Research UK Mathematics for Computing.
 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, Permutations, and Combinations. Lecture 4-1: Sets Sets: Powerful tool in computer science to solve real world problems. A set is a collection of.
Set Definition: A set is unordered collection of objects.
Set, Combinatorics, Probability & Number Theory
The Basic Concepts of Set Theory
Sets Section 2.1.
1.1 Sets and Subsets.
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.
The Basic Concepts of Set Theory
CSE 2353 – September 22nd 2003 Sets.
        { } Sets and Venn Diagrams Prime Numbers Even Numbers
The Basic Concepts of Set Theory
Algebra 1 Section 1.1.
The Basic Concepts of Set Theory
The Basic Concepts of Set Theory
15.1 Venn Diagrams.
Chapter Sets &Venn Diagrams.
Lecture 2.1: Sets and Set Operations*
ICOM 5016 – Introduction to Database Systems
Lecture Sets 2.2 Set Operations.
Sets, Unions, Intersections, and Complements
Presentation transcript:

Lecture 5: Set Theory 1 Dr Andrew Purkiss-Trew Cancer Research UK Mathematics for Computing

Material to be covered today Set Theory 1 What are sets? How are they represented? Special and subsets Set Operations Power Sets Cartesian Products

What are Sets? A set is a well defined group of items. Sets are made up of elements e.g. The set of students studying at Birkbeck College

Set representation 1 Enumerated form: {2,4,6,8}Positive even numbers <10 {2,4,6,8,…,50} Positive even nos. <=50 {2,4,6,8,…}Positive even numbers {2,3,5,7,11,13,17,19} Prime numbers <20

Set Representation 2 Predicate form {x:x is even and 0 < x <= 50} {x:P(x)} Letters can represent sets A = {1,2,3,4,5} B = {x:x is a multiple of 2}

Set Representation 3 A = {1,2,3,4,5}, B = {x:x is a multiple of 2} Representation of elements 3  A, 2  B 6  A, 3  B Special Sets: N = {1,2,3,4,…} J = {…,-3,-2,-1,0,1,2,3,…} Q = {x: x = m/n for the integers m and n} R is the set of real numbers

Special Sets The null set:  enumerated form {} or predicate form {x: x  x} The universal set:  examples:  = R,  = J

Subsets Two sets A and B B is defined as a subset of A (represented B  A), when all elements of B are also elements in A. Example: A = {1,2,3,4,5,6}, B = {2,3,5}, C = {2,4,6,8}. B  A but as 8  C, but 8  A, C is not a subset of A.

Set Representation 4 A={1,2,3,4,5,6},B={2,3,5},C={2,4,6,8}  A B C 7 Venn Diagrams

More on subsets Another example: N  J  Q  R Other points For any set A, A  A and  A

Set equality Two sets A and B Definition A = B if A  B and B  Implications 1) {1,2,3} = {3,1,2} = {3,2,1} = {2,1,3} 2) {a,a,b} = {a,b}

Proper Subset B is a proper subset of A if: B  A and B  A.

Set operations Union A  B IntersectionA  B ComplementĀ DifferenceA – B

Union A  B = {x:x  A or x  B} A B

Intersection A  B = {x:x  A and x  B} A B

Complement Ā = {x:x  and x  } A

Difference A - B = {x:x  A and x  B} AB

Difference 2 A B A - B = A  ¯ B

Cardinality Cardinality. The number of elements in the set A = {1,2,3,4,5}, |A| = 5 B = {2,4,6,…,20}, |B| = 10

Power sets If A is a set, the power set of A,  (A) is the set of all subsets of A A = {1,2,3},  (A) = { , {1}, {2}, {3}, {1,2}, {1,3}, {2,3}, {1,2,3}}

Cartesian Products A x B = {(x,y): x  A and y  B} Example: A = {1,3,5}, B = {2,4} A x B = {(1,2),(1,4),(3,2),(3,4),(5,2),(5,4)}

Home time End of Set Theory 1