(We continue from part VII of the same blog article series with same reference text).

**Theorem 4:**

A set M can be partitioned into classes by a relation R (acting as a criterion for assigning two elements to the same class) if and only R is an equivalence relation on M.

**Proof of Theorem 4:**

Every partition of M determines a binary relation on M, where means that “a belongs to the same class as b.” It is then obvious that R must be reflexive, symmetric and transitive, that is, R is an equivalence relation on M.

Conversely, let R be an equivalence relation on M, and let be the set of all elements such that (clearly, , since R is reflexive). Then, two classes and are either identical or disjoint. In fact, suppose that an element c belongs to both and , so that and . But by symmetry of R, being an equivalence relation, we can infer that also and, further by transitivity, we say that . If now, then we have and hence, (since we already have and using transitivity).

Similarly, we can prove that implies that .

Therefore, if and have an element in common. Therefore, the distinct sets form a partition of M into classes.

**QED.**

**Remark:**

*Because of theorem 4, one often talks about the decomposition of a set M into equivalence classes.*

There is an intimate connection between mappings and partitions into classes, as illustrated by the following examples:

**Example 1:**

Let f be a mapping of a set A into a set B and partition A into sets, each consisting of all elements with the same image . This gives a partition of A into classes. For example, suppose f projects the xy-plane onto the x-axis by mapping the point into the point . Then, the preimages of the points of the x-axis are vertical lines, and the representation of the plane as the union of these lines is the decomposition into classes corresponding to f.

**Example 2:**

Given any partition of a set A into classes, let B be the set of these classes and associate each element with the class (that is, element of B) to which it belongs. This gives a mapping of A into B. For example, suppose we partition three-dimensional space into classes by assigning to the same class all points which are equidistant from the origin of coordinates. Then, every class is a sphere of a certain radius. The set of all these classes can be identified with the set of points on the half-line each point corresponding to a possible value of the radius. In this sense, the decomposition of 3-dimensional space into concentric spheres corresponds to the mapping of space into the half-line .

**Example 3:**

Suppose that we assign all real numbers with the same fractional part to the same class. Then, the mapping corresponding to this partition has the effect of “winding” the real line onto a circle of unit circumference. (Note: The largest integer is called the integral part of x, denoted by [x], and the quantity is called the fractional part of x).

In the next blog article, let us consider a tutorial problem set based on last two blogs of this series.

π π π

Nalin Pithwa