Equivalence Relations

The motivation behind such relations is that things that are different in one context may be same in some another. For e.g. 5 and 3 are different integers, but and . In this, context they are related.

In physics, vectors of same length and magnitude may produce different effects, whereas in linear algebra, they are considered to be same.

So, to understand Equivalence relations, we first need to formally define a relation.

Definitions - Relation

A binary relation or a relation R from a set A into B is a subset of AxB, i.e. .

A relation R on a set A is defined as .

Definitions - Equivalence Relation

R is a relation on set A; then R is an Equivalence relation, if the following properties hold:

  1. Reflexive:
  2. Symmetric: .
  3. Transitive:

There is a convention to write if where R is an equivalence relation. It can also be written as .

Definitions - Equivalence Class

If is an equivalence relation on a set A and , then the set

is called the equivalence class of containing a.

Example: Let S be the set of all polynomials with real coefficients. If , define if , where is the derivative of . Then, is an equivalence relation on S.

Since two polynomials with equal derivatives differ by a constant, we can say that equivalence class of f, i.e.

Theorem - Equivalence Classes Partition

The equivalence class of an equivalence relation on a set S constitutes a partition of S.

First, we define what is a Partition of a set S.

Partition

A partition of a set S is a collection of non-empty disjoint subsets of S whose union is S.

Mathematically, it is a collection of non-empty subsets of S, such that:

  • If , then either or

Coming to the proof the the theorem above,

  • Let be an equivalence relation on a set A. For any , the reflexive property shows that since . So, is non empty and the union of all equivalence classes is A.
  • Now, suppose that and are two equivalence classes. Then, there are two possible cases: either or .
    • Case 1:

    Let . So, . Also, we have . Using transitivity, . Thus, . This means, . Analogously, . This shows that .

    • Case 2:

    Let . So, and . Thus, also by symmetry. Using transitivity, which is an contradiction. Thus, .

Converse of theorem -

For any partition of S, there is an equivalence relation on S whose equivalence classes are the elements of .

Proof:

We define if a and b belong to the same subset in the collection . We need to show that is an equivalence relation on a set S. This is left as homework.

Exercises:

  1. The following relations are defined on the set of real numbers. Find whether these relations are reflexive, symmetric or transitive.
    1. iff
    2. iff
    3. iff
  2. Let S be a finite set of n elements. Prove that number of reflexive relations that can be defined on S is . Similarly, prove the following -
    1. No. of symmetric relations are
    2. No. of relations which are both symmetric and reflexive are
  3. What is the remainder when is divided by ?
  4. What is the remainder when is divided by 18 ?

The later part covered an introduction to group theory using the symmetries of a square and the cayley table.