1 Equivalence relations Binary relations: –Let S1 and S2 be two sets, and R be a (binary relation) from S1 to S2 –Not every x in S1 and y in S2 have such.

Slides:



Advertisements
Similar presentations
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.
Advertisements

Equivalence Relations
Equivalence Relations
Chap6 Relations Def 1: Let A and B be sets. A binary relation from A
Relations.
Applied Discrete Mathematics Week 11: Graphs
Ch. 8: Relations 8.1 Relations and their Properties.
Relations & Their Properties. Copyright © Peter Cappello2 Introduction Let A & B be sets. A binary relation from A to B is a subset of A x B. Let R be.
CSE115/ENGR160 Discrete Mathematics 05/03/11 Ming-Hsuan Yang UC Merced 1.
Sets, Relation and Functions A set is a collection of objects (elements) or a container of objects. Defining sets –Empty set (Ø): no elements –Universal.
Regular Expression (EXTRA)
1 Chapter 8 The Disjoint Set ADT Concerns with equivalence problems Find and Union.
Discrete Mathematics Lecture#11.
1 Set Theory. 2 Set Properties Commutative Laws: Associative Laws: Distributive Laws:
1 Section 7.1 Relations and their properties. 2 Binary relation A binary relation is a set of ordered pairs that expresses a relationship between elements.
Relations Chapter 9.
Equivalence Relations MSU CSE 260. Outline Introduction Equivalence Relations –Definition, Examples Equivalence Classes –Definition Equivalence Classes.
Logics for Data and Knowledge Representation Introduction to Algebra Chiara Ghidini, Luciano Serafini, Fausto Giunchiglia and Vincenzo Maltese.
Exam 2 Review 8.2, 8.5, 8.6, Thm. 1 for 2 roots, Thm. 2 for 1 root Theorem 1: Let c 1, c 2 be elements of the real numbers. Suppose r 2 -c 1.
Exam 2 Review 7.5, 7.6, |A1  A2  A3| =∑|Ai| - ∑|Ai ∩ Aj| + |A1∩ A2 ∩ A3| |A1  A2  A3  A4| =∑|Ai| - ∑|Ai ∩ Aj| + ∑ |Ai∩ Aj ∩ Ak| - |A1∩
Properties of Relations In many applications to computer science and applied mathematics, we deal with relations on a set A rather than relations from.
CS Discrete Mathematical Structures Mehdi Ghayoumi MSB rm 132 Ofc hr: Thur, 9:30-11:30a Fall 2002KSU - Discrete Structures1.
Chapter 9. Chapter Summary Relations and Their Properties Representing Relations Equivalence Relations Partial Orderings.
Chapter 9. Chapter Summary Relations and Their Properties n-ary Relations and Their Applications (not currently included in overheads) Representing Relations.
Chapter 2 Mathematical Preliminaries. Sets and Relations  A set is a collection of distinguishable members or elements  The members are usually drawn.
2.6 Equivalence Relation §1.Equivalence relation §Definition 2.18: A relation R on a set A is called an equivalence relation if it is reflexive, symmetric,
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 Countability
Lecture 4.3: Closures and Equivalence Relations CS 250, Discrete Structures, Fall 2013 Nitesh Saxena Adopted from previous lectures by Cinda Heeren.
Discrete Mathematics Lecture # 15 Types of Relations (contd.)
Equivalence Relations. Partial Ordering Relations 1.
Chapter 9. Chapter Summary Relations and Their Properties n-ary Relations and Their Applications (not currently included in overheads) Representing Relations.
Chapter Relations and Their Properties
Equivalence Relations
8.5 Equivalence Relations
RelationsCSCE 235, Spring Introduction A relation between elements of two sets is a subset of their Cartesian products (set of all ordered pairs.
Set Theory Concepts Set – A collection of “elements” (objects, members) denoted by upper case letters A, B, etc. elements are lower case brackets are used.
MAT 2720 Discrete Mathematics Section 3.3 Relations
1 Discrete Structures – CNS2300 Text Discrete Mathematics and Its Applications (5 th Edition) Kenneth H. Rosen Chapter 7 Relations.
Sets and Basic Operations on Sets Notation A set will usually be denoted by a capital letter, such as, A,B,X, Y,..., whereas lower-case letters, a, b,
Advanced Digital Designs Jung H. Kim. Chapter 1. Sets, Relations, and Lattices.
“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.
Lecture 7: Relations Dr Andrew Purkiss-Trew Cancer Research UK Mathematics for Computing.
Chapter8 Relations 8.1: Relations and their properties.
Binary Relation: A binary relation between sets A and B is a subset of the Cartesian Product A x B. If A = B we say that the relation is a relation on.
Relations Chapter 9 Copyright © McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill.
Representing Relations Using Digraphs
Discrete Mathematical
Relations and Their Properties
Citra Noviyasari, S.Si, MT
Relations.
Formal Language & Automata Theory
CSE15 Discrete Mathematics 05/03/17
Equivalence Relations
Relations Chapter 9.
Lecture 4.3: Closures and Equivalence Relations
8.5 Equivalence Relations
Relations and Their Properties
Discrete Math (2) Haiming Chen Associate Professor, PhD
Equivalence Relations
8.5 Equivalence Relations and 8.6 Partial Ordering
Lecture 4.3: Closures and Equivalence Relations
Relations and their Properties
MCS680: Foundations Of Computer Science
9.5 Equivalence Relations
Equivalence relations
Equivalence Relations
Basics of Relations.
Minimum Spanning Trees
Introductory Material
Presentation transcript:

1 Equivalence relations Binary relations: –Let S1 and S2 be two sets, and R be a (binary relation) from S1 to S2 –Not every x in S1 and y in S2 have such relation –If R holds for a in S1 and b in S2, denote as aRb or R(a, b) Examples: Spouse relation from set Men to set Women –S1 and S2 can be the same set Examples: Parent relation on set Human > (greater than) relation on set Z (all integers)

2 Equivalence relations (cont) Properties of binary relations: –Let R be a binary relation on set S –R is reflexive: if aRa for all a in S Ex: = relation, >= relation –R is symmetric: aRb iff bRa Ex: = relation, spouse relation –R is transitive: if aRb and bRc, then aRc Ex: = relation, >= relation, ancestor relation –R is an equivalence relation if it is reflexive, symmetric, and transitive. Ex. = relation, relative relation among humans Counter ex: >= relation, spouse relation –Use “~” to denote an abstract generic equivalence relation a~b

3 Equivalence relations (cont) Equivalence classes –Let ~ be a equivalence relation defined on set S –S can be partitioned into disjoint subsets such that If a ~ b, then a and b are in one subset If a and b are in two different subsets, then a ~ b does not hold –Each of such subsets is called an equivalence class (with respect to relation ~), denoted C1, C2,... All elements in an equivalence class relate to each other by ~ No elements in different equivalence classes relate to each other by ~ –Equivalence classes can be represented as disjoint sets