“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.

Slides:



Advertisements
Similar presentations
Math 3121 Abstract Algebra I
Advertisements

Section 7.5: Equivalence Relations Def: A relation R on a set A is called an equivalence relation if it is reflexive, symmetric, and transitive. Ex: Let.
Equivalence Relations
Lecture 1 RMIT University, Taylor's University Learning Objectives
Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
The Engineering Design of Systems: Models and Methods
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.
Sets DISCRETE STRUCTURE ABDUL BASIT TAHIR, KAMRAN ALI, FAIZAN ILLAHI, NOMAN AHMAD, ARSALAN MUBASHIR.
Chapter 2 The Basic Concepts of Set Theory
CSE115/ENGR160 Discrete Mathematics 02/10/11 Ming-Hsuan Yang UC Merced 1.
Functions Goals Introduce the concept of function Introduce injective, surjective, & bijective functions.
Sets. Copyright © Peter Cappello Definition Visualize a dictionary as a directed graph. Nodes represent words If word w is defined in terms of word.
Chapter 2 The Basic Concepts of Set Theory © 2008 Pearson Addison-Wesley. All rights reserved.
CS 2210 (22C:019) Discrete Structures Sets and Functions Spring 2015 Sukumar Ghosh.
Mathematics.
Sets.
Linear Equations and Functions
Equivalence Relations MSU CSE 260. Outline Introduction Equivalence Relations –Definition, Examples Equivalence Classes –Definition Equivalence Classes.
Set theory Sets: Powerful tool in computer science to solve real world problems. A set is a collection of distinct objects called elements. Traditionally,
Set Theory. What is a set?  Sets are used to define the concepts of relations and functions. The study of geometry, sequences, probability, etc. requires.
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.
Week 15 - Wednesday.  What did we talk about last time?  Review first third of course.
Set, Combinatorics, Probability & Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Set,
SET THEORY. BASIC CONCEPTS IN SET THEORY Definition: A set is a collection of well-defined objects, called elements Examples: The following are examples.
CS 103 Discrete Structures Lecture 10 Basic Structures: Sets (1)
Discrete Mathematics and Its Applications Sixth Edition By Kenneth Rosen Copyright  The McGraw-Hill Companies, Inc. Permission required for reproduction.
HALVERSON – MIDWESTERN STATE UNIVERSITY CMPS 2433 Chapter 2 – Part 2 Functions & Relations.
FUNCTIONS.
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)
Chapter 2 Section 1 - Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
Slide Section 2-1 Symbols and Terminology. SYMBOLS AND TERMINOLOGY Designating Sets Sets of Numbers and Cardinality Finite and Infinite Sets Equality.
Section 2.1. Section Summary Definition of sets Describing Sets Roster Method Set-Builder Notation Some Important Sets in Mathematics Empty Set and Universal.
ELEMENTARY SET THEORY.
Chapter SETS DEFINITION OF SET METHODS FOR SPECIFYING SET SUBSETS VENN DIAGRAM SET IDENTITIES SET OPERATIONS.
Sets Goal: Introduce the basic terminology of set theory.
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.
Basic Structures: Sets, Functions, Sequences, and Sums.
Equivalence Relations. Partial Ordering Relations 1.
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.
SECTION 9 Orbits, Cycles, and the Alternating Groups Given a set A, a relation in A is defined by : For a, b  A, let a  b if and only if b =  n (a)
Copyright © Cengage Learning. All rights reserved. CHAPTER 8 RELATIONS.
FUNCTIONS COSC-1321 Discrete Structures 1. Function. Definition Let X and Y be sets. A function f from X to Y is a relation from X to Y with the property.
Relations and Functions ORDERED PAIRS AND CARTESIAN PRODUCT An ordered pair consists of two elements, say a and b, in which one of them, say a is designated.
MAT 2720 Discrete Mathematics Section 3.3 Relations
ORDERED SETS. RELATIONS COSC-1321 Discrete Structures 1.
Module #3 - Sets 3/2/2016(c) , Michael P. Frank 2. Sets and Set Operations.
Chapter 7 Sets and Probability Section 7.1 Sets What is a Set? A set is a well-defined collection of objects in which it is possible to determine whether.
Discrete Mathematics CS 2610 August 31, Agenda Set Theory Set Builder Notation Universal Set Power Set and Cardinality Set Operations Set Identities.
Section 2.1. Sets A set is an unordered collection of objects. the students in this class the chairs in this room The objects in a set are called the.
2004/10/5fuzzy set theory chap03.ppt1 Classical Set Theory.
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.
Thinking Mathematically Basic Set Concepts. A “set” is a collection of objects. Each object is called an “element” of the set. Often the objects in a.
The Relation Induced by a Partition
Sets.
Set Definition: A set is unordered collection of objects.
CHAPTER 3 SETS, BOOLEAN ALGEBRA & LOGIC CIRCUITS
Set, Combinatorics, Probability & Number Theory
The Basic Concepts of Set Theory
Sets Section 2.1.
Cartesian product Given two sets A, B we define their Cartesian product is the set of all the pairs whose first element is in A and second in B. Note that.
Taibah University College of Computer Science & Engineering Course Title: Discrete Mathematics Code: CS 103 Chapter 2 Sets Slides are adopted from “Discrete.
CS201: Data Structures and Discrete Mathematics I
Chapter 2 Sets and Functions.
The Basic Concepts of Set Theory
2.1 Sets Dr. Halimah Alshehri.
Lecture Sets 2.2 Set Operations.
Presentation transcript:

“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 set S is made up of elements, and if a is one of these elements, we shall denote this fact by There is exactly one set with no elements. It is the empty set and is denoted by SECTION 0 SETS AND RELATIONS

Two Ways to Describe a Set List the elements: –enclose the elements, separated by commas in braces. –Ex: {1, 3, 5}. Give a characterizing property P(x) of the elements x: –“Set-builder notation” {x | P(x)} –“the set of all x such that the statement P(x) about x is true.” –Ex: {2, 4, 6} = {x| x is an odd whole positive number <8}

Well Defined A set is well defined if S is a set and a is some object, then either a is definitely in S, denoted by, or a is definitely not in S, denoted by Q: Decide which of the following is well defined:

Definitions Definition: A set B is a subset of a set A ( ), if every element of B is in A. Note: for any set A, A and are both subsets of A. Definition If A is any set, then A is the improper subset of A. Any other subset of A is a proper subset of A. Q: Let S = {1, 2, 3}, list all eight (proper) subsets of S.

Cartesian Product Definition: Let A and B be sets. The set is the Cartesian product of A and B. Q: If A = {1, 2} and B = {3, 4}, then what is A X B?

Notations Z is the set of all integers Q is the set of all rational numbers R is the set of all real numbers C is the set of all complex numbers Z +, Q +, and R + are the sets of positive members of Z, Q, and R, respectively. Z *, Q *, R * and C * are the sets of nonzero members of Z, Q, R, and C, respectively.

Relations Between Sets Definition: A relation between sets A and B is a subset R of A X B. We read R as “a is related to b” and write a R b. Example: Equality Relation = defined on a set S is the subset Function Relation f(x) = x 3 for all x  R, is the subset of R X R

Function A function  mapping X into Y is a relation between X and Y with the property that each x  X appears as the first member of exactly one ordered pair (x, y) in . Such a function is also called a map or mapping of X into Y. We write  : X  Y and express (x, y)   by  (x)=y. The domain of  is the set X and the se Y is the codomain of . The range of  is  [X] = {  (x)|x  X}.

Function cont. A function  : X  Y is one to one if  (x 1 )=  (x 2 ) only when x 1 =x 2. The function  is onto Y if the range of  is Y. Q: Exercise 12.

Cardinality The number of elements in a set X is the cardinality of X and is often denoted by |X|. Example: |{1, 2, 4, 6}|=4 Two sets X and Y have the same cardinality if there exists a one-to-one function mapping X onto Y, that is, if there exists a one-to-one correspondence between X and Y.

Partitions Sets are disjoint if no two of them have ay any element in common. Definition A partition of a set S is a collection of nonempty subsets of S such that every element of S is in exactly one of the subsets. The subsets are the cells of the partition. Q: exercise Each partition of a set S yields a relation R on S in a natural way: namely, for x, y  S, let x R y if and only if x and y are in the same cell of the partition.

Equivalence Relation An equivalence relation R on a set S one that satisfies these three properties for all x, y, z  S. 1.(Reflexive) x R x. 2.(Symmetric) If x R y, then y R x. 3.(Transitive) If x R y and y R x, then x R z. Q: Let a relation R on the set Z be defined by n R m if and only if nm  >=0. Determine if R is an equivalence relation.

Equivalence Relations and Partitions Theorem Let S be a nonempty set and let  be an equivalence relation on S. Then  yields a partition of S, where Also, each partition of S gives rise to an equivalence relation  on S where a  b if and only if a and b are in the same cell of the partition. Q: exercise 29-32