Lecture 8: Equivalence Relations

Similar documents
Relations. Relations. Definition. Let A and B be sets.

1. To be a grandfather. Objects of our consideration are people; a person a is associated with a person b if a is a grandfather of b.

Scott Taylor 1. EQUIVALENCE RELATIONS. Definition 1.1. Let A be a set. An equivalence relation on A is a relation such that:

1.4 Equivalence Relations and Partitions

Chapter 9: Relations Relations

Kruskal s Theorem Rebecca Robinson May 29, 2007

9 RELATIONS. 9.1 Reflexive, symmetric and transitive relations. MATH Foundations of Pure Mathematics

REVIEW FOR THIRD 3200 MIDTERM

MATH 13 SAMPLE FINAL EXAM SOLUTIONS

6 CARDINALITY OF SETS

5. Partitions and Relations Ch.22 of PJE.

Selected Solutions to Even Problems, Part 3

ABOUT THE CLASS AND NOTES ON SET THEORY

5 Set Operations, Functions, and Counting

Any Wizard of Oz fans? Discrete Math Basics. Outline. Sets. Set Operations. Sets. Dorothy: How does one get to the Emerald City?

MA441: Algebraic Structures I. Lecture 18

ADVANCED CALCULUS - MTH433 LECTURE 4 - FINITE AND INFINITE SETS

Definitions. Notations. Injective, Surjective and Bijective. Divides. Cartesian Product. Relations. Equivalence Relations

Economics 204 Summer/Fall 2017 Lecture 1 Monday July 17, 2017

CSE 20 DISCRETE MATH WINTER

CSE 20 DISCRETE MATH SPRING

Properties of the Integers

a + b = b + a and a b = b a. (a + b) + c = a + (b + c) and (a b) c = a (b c). a (b + c) = a b + a c and (a + b) c = a c + b c.

Axioms for Set Theory

0 Logical Background. 0.1 Sets

and e 2 ~ e 2 iff e 1

Partial cubes: structures, characterizations, and constructions

CSE 20 DISCRETE MATH. Winter

Lecture Notes 1 Basic Concepts of Mathematics MATH 352

Show Your Work! Point values are in square brackets. There are 35 points possible. Some facts about sets are on the last page.

Warm-up Quantifiers and the harmonic series Sets Second warmup Induction Bijections. Writing more proofs. Misha Lavrov

Sets, Functions and Relations

Coloring Vertices and Edges of a Path by Nonempty Subsets of a Set

Chapter 1 : The language of mathematics.

SETS AND FUNCTIONS JOSHUA BALLEW

RED. Name: Instructor: Pace Nielsen Math 290 Section 1: Winter 2014 Final Exam

The Inclusion Exclusion Principle

Cosets. gh = {gh h H}. Hg = {hg h H}.

Foundations of Mathematics

1 The Local-to-Global Lemma

Groups and Symmetries

Mathematics 220 Homework 4 - Solutions. Solution: We must prove the two statements: (1) if A = B, then A B = A B, and (2) if A B = A B, then A = B.

Introductory Analysis I Fall 2014 Homework #5 Solutions

Economics 204 Fall 2011 Problem Set 1 Suggested Solutions

CW complexes. Soren Hansen. This note is meant to give a short introduction to CW complexes.

CMPSCI 250: Introduction to Computation. Lecture #11: Equivalence Relations David Mix Barrington 27 September 2013

Definition: Let S and T be sets. A binary relation on SxT is any subset of SxT. A binary relation on S is any subset of SxS.

1 Predicates and Quantifiers

3 Hausdorff and Connected Spaces

Discrete Mathematics: Lectures 6 and 7 Sets, Relations, Functions and Counting Instructor: Arijit Bishnu Date: August 4 and 6, 2009

The integers. Chapter 3

Mathematics Course 111: Algebra I Part I: Algebraic Structures, Sets and Permutations

Automata and Languages

Fibers, Surjective Functions, and Quotient Groups

1 Partitions and Equivalence Relations

Math 5801 General Topology and Knot Theory

Chapter 1. Sets and Mappings

Thus, X is connected by Problem 4. Case 3: X = (a, b]. This case is analogous to Case 2. Case 4: X = (a, b). Choose ε < b a

Problem 2: (Section 2.1 Exercise 10) (a.) How many elements are in the power set of the power set of the empty set?

Coloring Vertices and Edges of a Path by Nonempty Subsets of a Set

Day 12. Thursday June 7, 2012

MATH 215 Sets (S) Definition 1 A set is a collection of objects. The objects in a set X are called elements of X.

14 Equivalence Relations

Sets. A set is a collection of objects without repeats. The size or cardinality of a set S is denoted S and is the number of elements in the set.

Examples: The (left or right) cosets of the subgroup H = 11 in U(30) = {1, 7, 11, 13, 17, 19, 23, 29} are

TOPOLOGY TAKE-HOME CLAY SHONKWILER

A Structure of KK-Algebras and its Properties

Notes. Relations. Introduction. Notes. Relations. Notes. Definition. Example. Slides by Christopher M. Bourke Instructor: Berthe Y.

Büchi Automata and their closure properties. - Ajith S and Ankit Kumar

Mathematics 220 Midterm Practice problems from old exams Page 1 of 8

MATH 220 (all sections) Homework #12 not to be turned in posted Friday, November 24, 2017

Equivalence Relations and Partitions, Normal Subgroups, Quotient Groups, and Homomorphisms

Complete Induction and the Well- Ordering Principle

1 2 3 style total. Circle the correct answer; no explanation is required. Each problem in this section counts 5 points.

Prof. Ila Varma HW 8 Solutions MATH 109. A B, h(i) := g(i n) if i > n. h : Z + f((i + 1)/2) if i is odd, g(i/2) if i is even.

Harvard CS 121 and CSCI E-207 Lecture 6: Regular Languages and Countability

Seminaar Abstrakte Wiskunde Seminar in Abstract Mathematics Lecture notes in progress (27 March 2010)

CMSC 27130: Honors Discrete Mathematics

Homework 12; Due Monday, 4/9/2018

Chapter 3. Betweenness (ordering) A system satisfying the incidence and betweenness axioms is an ordered incidence plane (p. 118).

Discrete Mathematics. Spring 2017

MATH 101: ALGEBRA I WORKSHEET, DAY #1. We review the prerequisites for the course in set theory and beginning a first pass on group. 1.

ECE353: Probability and Random Processes. Lecture 2 - Set Theory

Part V. Chapter 19. Congruence of integers

CSE 20 DISCRETE MATH. Winter

EQUIVALENCE RELATIONS (NOTES FOR STUDENTS) 1. RELATIONS

CSE 20 DISCRETE MATH. Fall

1.4 Cardinality. Tom Lewis. Fall Term Tom Lewis () 1.4 Cardinality Fall Term / 9

Models of Computation. by Costas Busch, LSU

Sets and Functions. (As we will see, in describing a set the order in which elements are listed is irrelevant).

586 Index. vertex, 369 disjoint, 236 pairwise, 272, 395 disjoint sets, 236 disjunction, 33, 36 distributive laws

CMPSCI 240: Reasoning about Uncertainty

Discrete Mathematics with Applications MATH236

0-1 Law for Existential Monadic Second Order Logic: Counter Examples

An approximate version of Hadwiger s conjecture for claw-free graphs

Ring Sums, Bridges and Fundamental Sets

CSE 20 DISCRETE MATH. Winter

MATH 580, midterm exam SOLUTIONS

Statistics for Financial Engineering Session 2: Basic Set Theory March 19 th, 2006

Lecture 7: Relations

Transcription:

Lecture 8: Equivalence Relations 1 Equivalence Relations Next interesting relation we will study is equivalence relation. Definition 1.1 (Equivalence Relation). Let A be a set and let be a relation on A. The relation is an equivalence relation if it is reflexive, symmetric, and transitive. Example 1.2. Following are some of the examples of equivalence relations. 1. Let P be set of all people. Then, we can define an equivalence relation = {(x, y) P P : x and y have same age}. 2. We can define an equivalence relation on real numbers as {(x, y) R R : x = y}. 3. Let A be a non-empty set. We can define an equivalence relation on power set of A as {(S, T ) P(A) P(A) : S = T }. Definition 1.3. Let A be a non-empty set and be an equivalence relation on A. 1. The relation classes of A with respect to are called equivalence classes, and denoted [x] for all x A. 2. The quotient set of A and is the set { [x] : x A} of all equivalence classes of A with respect to, and is denoted by A/. Example 1.4. Let P be the set of all people, and let be the relation on P defined by x y if and only if x and y are the same age (in years). If person x is 19 years old, then the equivalence class of x is the set of all 19-year olds. Each element of the quotient set P/ is itself a set, where there is one such set consisting of all 1-year-olds, another consisting of all 2-year olds, and so on. Although there are billions of people in P, there are fewer than 125 elements in P/, because no currently living person has reached the age of 125. 1

Theorem 1.5. Let A be a non-empty set, and let be an equivalence relation on A. i) Let x, y A. If x y, then [x] = [y]. If x y, then [x] [y] =. ii) [x] = A. x A Proof. Let A be a non-empty set, and let be an equivalence relation on A. i) Let z [x]. Then z x by assumption and x y by hypothesis. By transitivity of, we have z y, and hence the z [y]. Therefore, we conclude [x] [y]. Similarly, we can show [y] [x]. We prove the second part by contradiction. Let x y, and z [x] [y]. Then, z x and z y. By transitivity and symmetry of, we get x y. Therefore, we have a contradiction. ii) By definition, [x] A for all x A. Hence, x A [x] A. Now, let q A. Then, q q by reflexivity. Therefore, q [q] [x]. Hence, A [x]. x A x A Corollary 1.6. Let A be a non-empty set, let be an equivalence relation on A. Let x, y A. Then [x] = [y] iff x y. Since equivalence relations are disjoint for unrelated elements, quotient sets separates a set into disjoint union of equivalence classes. Definition 1.7 (Partition). Let A be a non-empty set. A partition of A is a family D of non-empty subsets of A such that 1. if P, Q D and P Q, then P Q =, and 2. P = A. P D Example 1.8. We look at some examples of partitions. 1. Let D = {E, O}, where E and O are set of even and odd integers respectively. Then, D is a partition of integers Z. 2. Collection of sets C = {[n, n + 1) : n Z} is a partition of R. 3. Collection of sets G = {(n 1, n + 1)} is not a partition of R because it is not pairwise disjoint. We have two sets (-1,1) and (0, 2) in C, that are not disjoint. In fact, ( 1, 1) (0, 2) = (0, 1). 2

From Theorem 1.5, and definition of partitions, we have the following corollary. Corollary 1.9. Let A be a non-empty set, and let be an equivalence relation on A. Then A/ is a partition of A. Definition 1.10. Let A be a non-empty set. Let E(A) denote the set of all equivalence relations on A. Let T A denote the set of all partitions of A. Example 1.11. Let A = {1, 2, 3}. Then T A = {D 1, D 2, D 3, D 4, D 5 }, where D 1 = {{1}, {2}, {3}}, D 2 = {{1, 2}, {3}}, D 3 = {{1, 3}, {2}}, D 4 = {{2, 3}, {1}}, D 5 = {{1, 2, 3}}. Further, we see that E(A) = {R 1, R 2, R 3, R 4, R 5 }, where these equivalence relations are defined by the sets R 1 = {(1, 1), (2, 2), (3, 3)}, R 2 = {(1, 1), (2, 2), (3, 3), (1, 2), (2, 1)}, R 3 = {(1, 1), (2, 2), (3, 3), (1, 3), (3, 1)}, R 4 = {(1, 1), (2, 2), (3, 3), (2, 3), (3, 2)}, R 5 = {(1, 1), (2, 2), (3, 3), (1, 2), (2, 1), (1, 3), (3, 1), (2, 3), (3, 2)}. It is easy to see that each of the relations {R i, i = 1,..., 5} listed above is an equivalence relation on A. It is interesting to note that number of equivalence relations on a set, and number of partitions are same for the above example. It turns out that this is not mere coincidence. Definition 1.12. Let A be a non-empty set. Let Φ : E(A) T A be defined as follows. If is an equivalence relation on A, let Φ( ) be the family of sets A/. Let Ψ : T A E(A) be defined as follows. If D is a partition of A, let Ψ(D) be the relation on A defined by x Ψ(D) y iff there is some P D such that x, y P for all x, y A. Lemma 1.13. Let A be a non-empty set. The functions Φ and Ψ in the above definition are well defined. Proof. To prove the lemma, we need to show the following two things. 3

1. For any equivalence relation on A, the family of sets Φ( ) is a partition of A. 2. For any partition D of A, the relation Ψ(D) is an equivalence relation on A. First part follows from the definition of Φ and Corollary 1.9. We will show the second part. Any partition D = {P i : i {1,..., n}} for some n. From definition of partition, it implies A = n P i and P i P j = φ for all i j. Therefore, i=1 Ψ(D) = {(x, y) : there is some i {1,..., n} D such that x, y P i }. We will show that Ψ(D) is an equivalence relation on A. Symmetry: Let x Ψ(D) y. Then we can find P D such that x, y P. Hence, y Ψ(D) x. Reflexivity: Let x A. Then x P for some P D. Hence, x Ψ(D) x. Transitivity: Let x Ψ(D) y and y Ψ(D) z. Then, x, y P for some P D and y, z Q for some Q D. Since, y P Q and P and Q are disjoint for P Q, it follows that P = Q. This implies x, y, z P. Hence, x Ψ(D) z. Example 1.14. We look at some examples of equivalence classes and related functions Φ, and partitions and related function Ψ. 1. Let be the relation on R 2 defined by (x, y) (z, w) iff y x = w z, for all (x, y), (z, w) R 2. It can be verified that is an equivalence relation. We want to describe the partition Φ( ) of R 2. Let (x, y) R 2. Then Let c = y x, then [(x, y)] = {(z, w) R 2 w z = y x}. [(x, y)] = {(z, w) R 2 w = z + c}, which is just a line in R 2 with slope 1 and y-intercept c. Hence, Φ( ) is collection of all lines in R 2 with slope 1. 4

2. Let C = {[n, n+1) : n Z} be a partition of R. Then, we have corresponding family of equivalence relation classes, defined as Ψ(C) = {(x, y) R R : x, y [n, n + 1) for some n Z} = {(x, y) R R : x = y }. 3. For partitions D i and equivalence relations R i defined in Example 1.11, we have Φ(R i ) = D i and Ψ(D i ) = R i for all i {1,..., 5}. Theorem 1.15. Let A be a non-empty set. Then the functions Φ and Ψ are inverses of each other, and hence both are bijective. Proof. We need to show that Ψ Φ = 1 E(A) and Φ Ψ = 1 TA. We will do this in following steps. 1. First, we prove that Ψ Φ = 1 E(A). Let E(A) be an equivalence relation on A. Let = Ψ(Φ( )). We will show that =, and it will then follow that Ψ Φ = 1 E(A). We show two relations are equal by set equality. Let D = Φ( ), so that = Ψ(D). (a) First, we show that. Let x, y A such that x y. Then, by the definition of Ψ there is some P D such that x, y P. By the definition of Ψ, we know that P is an equivalence class of, so that P = [q] for some q A. Then q x and q y, and by the symmetry and transitivity of it follows that x y. Hence,. (b) Now, we show that. Let x y in A. Then, y [x]. By the reflexivity of, we know that x [x]. From definition of Φ we have [x] D. Hence, by the definition of Ψ, it follows that x y. Hence,. 2. Second, we prove that Φ Ψ = 1 TA. Let D T A be a partition of A. Let F = Φ(Ψ(D)). We will show that F = D, and it will then follow that Φ Ψ = 1 TA. Let = Ψ(D), so that F = Ψ( ). (a) Let B F. Then by the definition of Φ we know that B is an equivalence class of, so that B = [z] for some z A. Because D is a partition of A, then there is a unique P D such that z P. Let w A. Then by the definition of Ψ we see that z w if and only if w P. It follows that w [z] if and only if w P, and hence P = [z]. Hence B = [z] = P D. Therefore F D. (b) Let C D. Let y C. As before, it follows from the definition of Ψ that C = [y]. Therefore, by the definition of Φ we see that C Φ( ) = F. Hence, D F. 5

6