Part 10 – Discrete mathematics for computer science – Equivalence relation and it’s use.

Part 10 – Discrete mathematics for computer science – Equivalence relation and it’s use.



play-rounded-fill play-rounded-outline play-sharp-fill play-sharp-outline
pause-sharp-outline pause-sharp-fill pause-rounded-outline pause-rounded-fill
00:00

Equivalence Relation in Discrete Mathematics

An equivalence relation is a relation that satisfies three key properties:

  1. Reflexivity: aRaaRa for all aa in set AA.
  2. Symmetry: If aRbaRb, then bRabRa.
  3. Transitivity: If aRbaRb and bRcbRc, then aRcaRc.

Example of Equivalence Relation

Consider a relation RR on a set of integers where aRbaRb if a≡bmod  3a \equiv b \mod 3. This means that two numbers are related if they have the same remainder when divided by 3.

 Reflexive: a≡amod  3a \equiv a \mod 3 (always true)
 Symmetric: If a≡bmod  3a \equiv b \mod 3, then b≡amod  3b \equiv a \mod 3
 Transitive: If a≡bmod  3a \equiv b \mod 3 and b≡cmod  3b \equiv c \mod 3, then a≡cmod  3a \equiv c \mod 3

Use of Equivalence Relations

  1. Partitioning a Set – Equivalence relations divide a set into disjoint equivalence classes.
  2. Modular Arithmetic – Used in cryptography and computer science.
  3. Graph Theory – Helps in clustering similar nodes.
  4. State Reduction in Automata – Used in minimizing finite automata.

Would you like some practice problems or examples on equivalence relations?

Part 10 – Discrete mathematics for computer science – Equivalence relation and it’s use.

Notes on Discrete Mathematics



Leave a Reply

Your email address will not be published. Required fields are marked *

error: