SlideServe
Menu
Préférences
© SlideServe · v2026

8.5 Equivalence Relations

vida avatar
10 diapositives · 639 Views · Jul 16, 2014

8.5 Equivalence Relations. Now we group properties of relations together to define new types of important relations. Definition : A relation R on a set A is an equivalence relation iff R is • reflexive • symmetric • transitive. Equivalence Relations.

8.5 Equivalence Relations - slide 1
01 / 108.5 Equivalence Relations
1 / 17

Télécharger la présentation

8.5 Equivalence Relations
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. 8.5 Equivalence Relations • Now we group properties of relations together to define new types of important relations. • Definition: A relation R on a set A is an equivalence relation iffR is • reflexive • symmetric • transitive

  2. Equivalence Relations • It is easy to recognize equivalence relations using digraphs. • The subset of all elements related to a particular element forms a universal relation (contains all possible arcs) on that subset. • The (sub)digraph representing the subset is called a complete (sub)digraph. All arcs are present. • The number of such subsets is called therank of the equivalence relation.

  3. Equivalence Relations Example: A has 3 elements:

  4. Equivalence Relations • Each of the subsets is called an equivalence class. • A bracket around an element means the equivalence class in which the element lies. [x] = {y | <x, y> is in R} • The element in the bracket is called a representative of the equivalence class. We could have chosen any one. • Example: • [a] = {a, c}, [c] = {a, c}, [b] = {b}. • rank = 2

  5. Equivalence Relations • Definition: Let S1, S2, . . ., Snbe a collection of subsets of A. Then the collection forms a partition of A if the subsets are nonempty, disjoint andexhaust A: • Si¹ Æ • Si Ç Sj= Æ if i¹ j • ∪Si = A FIGURE 1 A Partition of a Set.

  6. Equivalence Relations • Theorem: The equivalence classes of an equivalence relation R partition the set A into disjoint nonempty subsets whose union is the entire set. • This partition is denoted A/R and called -- the quotient set, or -- the partition of A induced by R, or, -- A modulo R. • Example : • A = [a] È[b] = [a] È[c] = {a} È {b,c} • rank = 2

  7. Equivalence Relations • Theorem: Let R be an equivalence relation on A. Then either [a] = [b] Or [a] Ç[b] = Æ • Theorem: If R1 and R2 are equivalence relations on A then R1 Ç R2 is an equivalence relation on A.

  8. Equivalence Relations • Definition: Let R be a relation on A. Then the reflexive, symmetric, transitive closure of R, tsr(R), is an equivalence relation on A, called the equivalence relation induced by R. • Example: • tsr(R) • rank = 2 • A = [a] È[b] = {a} È{b, c, d} ;A/R = {{a}, {b, c, d}}

  9. Equivalence Relations • Theorem: tsr(R) is an equivalence relation • Proof: We have to be careful and show that tsr(R) is still symmetric and reflexive. • Since we only add arcs vs. deleting arcs when computing closures it must be that tsr(R) is reflexive sinceall loops <x, x> on the diagraph must be present when constructing r(R). • If there is an arc <x, y> then the symmetric closure of r(R) ensures there is an arc <y, x>.

  10. Equivalence Relations • Now argue that if we construct the transitive closure of sr(R) and we add an edge <x, z> because there is a path from x to z, then there must also exist a path from z to x (why?) and hence we also must add an edge <z, x>. • Hence the transitive closure of sr(R) is symmetric. • Q.E.D