19-equivalence-relations

# 19-equivalence-relations - Equivalence Relations Aaron...

This preview shows pages 1–5. Sign up to view the full content.

1 Equivalence Relations Aaron Bloomfield CS 202 Epp, section ???

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
2 Introduction Certain combinations of relation properties are very useful We won’t have a chance to see many applications in this course In this set we will study equivalence relations A relation that is reflexive, symmetric and transitive Next slide set we will study partial orderings A relation that is reflexive, antisymmetric, and transitive The difference is whether the relation is symmetric or antisymmetric
3 Equivalence relations A relation on a set A is called an equivalence relation if it is reflexive, symmetric, and transitive Consider relation R = { ( a,b ) | len ( a ) = len ( b ) } Where len ( a ) means the length of string a It is reflexive: len ( a ) = len ( a ) It is symmetric: if len ( a ) = len (b), then len ( b ) = len ( a ) It is transitive: if len ( a ) = len (b) and len (b) = len (c), then len (a) = len (c) Thus, R is a equivalence relation

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
4 Equivalence relation example Consider the relation R = { ( a,b ) | m | a-b } Called “congruence modulo m Is it reflexive: (a,a) R means that m | a-a a-a = 0, which is divisible by m Is it symmetric: if ( a,b ) R then ( b,a ) R ( a,b ) means that m | a-b Or that km = a-b . Negating that, we get b-a = - km Thus, m | b-a , so (b,a) R Is it transitive: if ( a,b ) R and ( b,c ) R then ( a,c ) R ( a,b ) means that m | a-b , or that km = a-b ( b,c ) means that m | b-c , or that lm = b-c ( a,c ) means that m | a-c
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern