Labs ICT
โญ Pro Login

Equivalence Relations

Learn about reflexive, symmetric, and transitive relations.

What Is an Equivalence Relation?

An equivalence relation is a relation that is reflexive, symmetric, and transitive. Equivalence relations partition a set into groups where elements in the same group are considered "equivalent."

Properties:
  Reflexive:     aRa for all a
  Symmetric:     aRb โ†’ bRa
  Transitive:    aRb and bRc โ†’ aRc

Examples

Equality (=) on numbers:
  Reflexive: a = a โœ“
  Symmetric: a = b โ†’ b = a โœ“
  Transitive: a = b and b = c โ†’ a = c โœ“

Congruence modulo n (a โ‰ก b mod n):
  Reflexive: a โ‰ก a mod n โœ“
  Symmetric: a โ‰ก b mod n โ†’ b โ‰ก a mod n โœ“
  Transitive: a โ‰ก b mod n and b โ‰ก c mod n โ†’ a โ‰ก c mod n โœ“

Same birthday relation:
  Two people are related if they share the same birthday.

Equivalence Classes

An equivalence class [a] is the set of all elements equivalent to a:

[a] = {x โˆˆ A | xRa}

Example: Congruence mod 3 on {0, 1, 2, 3, 4, 5}
  [0] = {0, 3}
  [1] = {1, 4}
  [2] = {2, 5}

The equivalence classes form a partition of the set.

๐Ÿงช Quick Quiz

An equivalence relation must be: