Lecture 1 RMIT University, Taylor's University Learning Objectives

Slides:



Advertisements
Similar presentations
Learning Objectives for Section 7.2 Sets
Advertisements

Equivalence Relations
Chapter 2 The Basic Concepts of Set Theory
Equivalence Relations
Discrete Mathematics Lecture 5 Alexander Bukharovich New York University.
Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
Instructor: Hayk Melikya
Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
Week 21 Basic Set Theory A set is a collection of elements. Use capital letters, A, B, C to denotes sets and small letters a 1, a 2, … to denote the elements.
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.
Denoting the beginning
Congruence of Integers
Sets 1.
CSE115/ENGR160 Discrete Mathematics 02/10/11 Ming-Hsuan Yang UC Merced 1.
Sets 1.
Mathematics.
Discrete Maths Objective to re-introduce basic set ideas, set operations, set identities , Semester 2, Set Basics 1.
Relations Chapter 9.
Operations on Sets – Page 1CSCI 1900 – Discrete Structures CSCI 1900 Discrete Structures Operations on Sets Reading: Kolman, Section 1.2.
Week 8 - Wednesday.  What did we talk about last time?  Cardinality  Countability  Relations.
Sets.
Equivalence Relations MSU CSE 260. Outline Introduction Equivalence Relations –Definition, Examples Equivalence Classes –Definition Equivalence Classes.
Math 3121 Abstract Algebra I Section 0: Sets. The axiomatic approach to Mathematics The notion of definition - from the text: "It is impossible to define.
Ordered Sets. Relations. Equivalence Relations 1.
R. Johnsonbaugh, Discrete Mathematics 5 th edition, 2001 Chapter 2 The Language of Mathematics.
Sets --- A set is a collection of objects. Sets are denoted by A, B, C, … --- The objects in the set are called the elements of the set. The elements are.
Chapter 9. Section 9.1 Binary Relations Definition: A binary relation R from a set A to a set B is a subset R ⊆ A × B. Example: Let A = { 0, 1,2 } and.
Relations, Functions, and Matrices Mathematical Structures for Computer Science Chapter 4 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Relations, Functions.
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.
Chapter 2: Basic Structures: Sets, Functions, Sequences, and Sums (1)
Discrete Mathematics R. Johnsonbaugh
CompSci 102 Discrete Math for Computer Science
Relations, Functions, and Matrices Mathematical Structures for Computer Science Chapter 4 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Relations, Functions.
ELEMENTARY SET THEORY.
Set theory Neha Barve Lecturer Bioinformatics
PSAT MATHEMATICS 9-A Basic Arithmetic Concepts. Set A collection of “things” that have been grouped together in some way. “things” – elements or members.
CSNB143 – Discrete Structure Topic 1 - Set. Topic 1 - Sets Learning Outcomes – Student should be able to identify sets and its important components. –
Chapter 2 With Question/Answer Animations. Section 2.1.
Introduction to Real Analysis Dr. Weihu Hong Clayton State University 8/27/2009.
Basic Structures: Sets, Functions, Sequences, and Sums.
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.
ITD1111 Discrete Mathematics & Statistics STDTLP
Discrete Mathematics Set.
Welcome to Form 4 Mathematics Topic for the day SETS.
1 Section 1.2 Sets A set is a collection of things. If S is a set and x is a member or element of S we write x  S. Othewise we write x  S. The set with.
Copyright © Cengage Learning. All rights reserved. CHAPTER 8 RELATIONS.
Fr: Discrete Mathematics by Washburn, Marlowe, and Ryan.
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.
Week 8 - Monday.  What did we talk about last time?  Properties of functions  One-to-one  Onto  Inverses  Cardinality.
Week 8 - Wednesday.  What did we talk about last time?  Relations  Properties of relations  Reflexive  Symmetric  Transitive.
“It is impossible to define every concept.” For example a “set” can not be defined. But Here are a list of things we shall simply assume about sets. A.
CPCS 222 Discrete Structures I
Relations Chapter 9 Copyright © McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill.
The Relation Induced by a Partition
Dr. Ameria Eldosoky Discrete mathematics
The set of whole numbers less than 7 is {1, 2, 3, 4, 5, 6}
Set Definition: A set is unordered collection of objects.
CSNB 143 Discrete Mathematical Structures
Introduction to Relations
ALGEBRA II H/G - SETS : UNION and INTERSECTION
(є:belongs to , є:does not belongs to)
CS100: Discrete structures
        { } Sets and Venn Diagrams Prime Numbers Even Numbers
2.1 Sets Dr. Halimah Alshehri.
Sets. EXAMPLE 1 The set O of odd positive integers less than 10 can be expressed by O = { l, 3, 5, 7, 9}. * This way of describing a set is known as.
ALGEBRA I - SETS : UNION and INTERSECTION
ALGEBRA II H/G - SETS : UNION and INTERSECTION
ICOM 5016 – Introduction to Database Systems
Presentation transcript:

Lecture 1 RMIT University, Taylor's University Learning Objectives To use set notations To apply operations (union, intersection) on sets To define de Morgan’s Laws for sets To define relations on sets To define set partitions

Set Theory Set is a collection of objects The { } notation for sets Example: X = { x | x is the alphabetical letter of English }

x is an element of the set A The element of Set The objects are called the elements of a set We use to denote the elements of a set. x is an element of the set A x is a member of A x belongs to A

The element of Set Example: The size of a set is called cardinality. The notation of cardinality is | |. Example: X = { x | x is the alphabetical letter of English } X = { a, b, c, …, x, y, z } | X | = 26 26 is the size or cardinality of X A singleton (a 1-element set)

The Null Set / Empty Set Examples: The set of numbers x such that x2 = -1. The set of students who are doing Industrial Training and taking MATH 2111.

Uncountably infinite or Uncountable Infinite Sets The set of all nonnegative integers N = {1, 2, 3, …} (often used) N = {0, 1, 2, 3, …} (in Maurer & Ralston) The set of all integers Z = {…, -2, -1, 0, 1, 2, …} The set of all rational numbers Q (quotients of integers or “fractions”) The set of all real numbers, R Countably infinite or Countable Uncountably infinite or Uncountable

Every element of X is also in Y. Notations of Set X is contained in Y X is a subset of Y Every element of X is also in Y.

Example X = {1, 2, 3, 6, 7} Y = {4, 5, 6, 7, 8} Z = {2, 3, 6, 7}

More on Subsets Note that the null set is regarded as a subset of every set, including itself.

Example Let A = {a, b, c} = {b, c, a}. List all subsets of A. Ø (the no-element subset) {a}, {b}, {c} (the 1-element subsets) {a, b}, {a, c}, {b, c} (the 2-element subsets) {a, b, c} (the 3-element subset)

The 8-element Boolean Algebra {a, b} {a, c} {b, c} {a} {b} {c} Ø

Power Sets The set of all subsets of a given set X Example: A = {a, b, c}

Theorem

Operations on Sets The union of X and Y The intersection of X and Y The set of all elements in X or Y The intersection of X and Y The set of all elements in X and Y

Venn Diagrams X Y X Y

Example X Y a b f c d e

Complement of Y relative to X X – Y or X \ Y The “set difference” X Y

is called the disjoint union of X and Y Disjoint Sets Two sets are disjoint if they don’t intersect is called the disjoint union of X and Y denote

Disjoint Union of X and Y

Universal Set Often we have a universal set U consisting of all elements of interest. So every other set of interest is a subset of U. U The complement of X X

Lemma: de Morgan’s Law for Sets

Example U = {1, 2, …, 10} X = {1, 2, 3, 4, 5} Y = {2, 4, 6, 8} Find:

Examples of Some Other Sets

Cardinality of Set Unions For finite sets X and Y,

Relations on Sets Let X, Y be sets. A relation between X and Y is a subset of the Cartesian product Let R be the relation from X to Y So a relation is a set of ordered pairs of the form (x, y), where x є X and y є Y Cartesian coordinate

Relations on Sets Let ρ be a relation from x to y, and We write, Read as “x rho y”, to say that “x is ρ-related to y”

Example 1 Let R be the relation from X to Y. Any subset of R is a relation from X to Y. … and 61 more

Example 2: Let If we define a relation R from X to Y by if y subtract x is a even number. We obtain The domain of R is The range of R is

Relation on Sets When X = Y, a relation between X and Y is called a relation on X Any subset of X2 is a relation on X2 .

Example 3 Let R be the relation on X Define by if Then, 2 3 5 7 x X

Properties of Relations: reflexive y 1 2 3 x A Let ρ be a relation on X. ρ is reflexive if Example 4: Let A = {1, 2, 3} and ρ be a relation on A defined as Therefore, ρ is reflexive

Properties of Relations: symmetric Let ρ be a relation on X. ρ is symmetric if Example 5: Let A = {2, 3} and ρ be a relation on A defined as “x ρ y if and only if x + y is odd integer.” ρ is symmetric

Properties of Relations: transitive ρ is transitive if for all If and , and Example 6: Let A = {1, 3, 4} and ρ be a relation on A defined as “x ρ y if and only if ”

Equivalence Relations A relation ρ on a set X is said to be an equivalence (relation) when it is reflexive, symmetric and transitive. Example 6 is a equivalence relation.

Congruence modulo n for some integer t “a is congruent to b modulo n” when (a – b) is an integer multiple of n Usually we want a and b to be integers for some integer t

Example X = {1, 2, 3, 4, 5, 6, 7}. Define ρ on X by x ρ y if x ≡ y (mod 3). Write down ρ as a set of ordered pairs. ρ = {(1,1), (1,4), (1,7), (2,2), (2,5), (3,3), (3,6), (4,1), (4,4), (4,7), (5,2), (5,5), (6,3), (6,6), (7,4), (7,7)}

Congruence modulo n It can be shown that the relation a ≡ b (mod n) is always an equivalence relation on Z and its subsets I. II. III.

Applications 4 o’clock + 12 hours = “1600 hours” = 16 o’clock = 4 o’clock This is because 4 ≡ 16 (mod 12) 8 o’clock + 12 hours = “2000 hours” = 20 o’clock = 8 o’clock This is because 8 ≡ 20 (mod 12) Coding theory is based on arithmetic modulo 2

Partitions Given a equivalence relation on a set X, we can partition X by grouping the related elements together. A partition is a set of disjoint, nonempty subsets of a given set X whose union is X Essentially, a partition divides X into subsets

Equivalence classes of X given by the relation ρ. Example 6 (revisited) X = {1, 2, 3, 4, 5, 6, 7}. Define ρ on X by x ρ y if x ≡ y (mod 3). Write down ρ as a set of ordered pairs. ρ = {(1,1), (1,4), (1,7), (2,2), (2,5), (3,3), (3,6), (4,1), (4,4), (4,7), (5,2), (5,5), (6,3), (6,6), (7,4), (7,7)} Theorem: Equivalence classes of X given by the relation ρ. For every equivalence relation there is a corresponding partition, and vice versa

Example The partition corresponding to ρ is often denoted by Πρ. 2 5 1 4 7 3 6 The partition corresponding to ρ is often denoted by Πρ. Here: Πρ = {{1,4,7}, {2,5}, {3,9}}

Example Consider the following collections of subsets of S = {1, 2, 3, …, 8, 9}: [{1, 3, 5}, {2, 6}, {4, 8, 9}] [{1, 3, 5}, {2, 4, 6, 8}, {5, 7, 9}] [{1, 3, 5}, {2, 4, 6, 8}, {7, 9}] Which of the above is a partition of S? Only 3 is a partition of S.

THE END