Relations

In order to study the elements of a set, we compare or relate each element with others. We already know some relations such as "=" (equal), "<" (less than), "" (subset), etc.  We generalize this idea. A relation is defined on a set. For example, < is (usually) used for comparing two numbers that are well-ordered. So < is defined on R, for example. Similarly, is the subset relation, so it is defined on a set of sets.



To denote a relation in general, we often use the symbol . But there is nothing special about this particular symbol. We could instead use , , , etc. Or we can use any alphabets like A,b,ρ,.

Instead of writing a<b, we could write a L b (as long as everybody agrees on this convention). It's just a matter of definition.

But what is a relation, anyway?

Definition (Relation)

A relation R on a set S is a subset of S×S. If (a,b)R, we write aRb.

Example. Consider = ("equal")on N. We define this relation as {(a,a)|aN}. That is,

(eq:Nequal)==def.{(a,a)|aN}.

Here, the left-most "=" is the relation being defined, "=def." means "definition," and the right-most set is the subset of N×N that defines the left-hand side. To avoid confusion, let us define the set E by

E={(a,a)|aN}.

Then, for any a,bN, "a=b" if and only if (a,b)E. In this case, we write aEb, but rename "E" as "=" so we write "a=b" instead. This is what (Eq:Nequal) means.

Example. Consider "<" (less than) on Z. We can define this relation by

<=def.{(a,b)|a,bZ,cN (a+c=b)}.

That is, if there is some natural number c such that a+c=b, then (a,b)∈<, or a<b.

Among various relations, the following class of relations is important.

Definition (Equivalence relation)

A relation on a set S is said to be an equivalence relation if it satisfies the following three conditions.

  1. (Reflexivity) aa for all aS.
  2. (Symmetry) For all a,bS, if ab, then ba.
  3. (Transitivity) For all a,b,cS, if ab and bc, then ac.
In this case, if xy, we say "x is equivalent to y," or "x and y are equivalent."

Example. = (equal) on Z is an equivalence relation.
Example. < (less than) on Z is not an equivalence relation. It is neither reflexive nor symmetric, although it is transitive.
Example (mod3). Let us define a relation on Z as follows. For any a,bZ, ab if and only if ab is divisible by 3. For example, 14, 03, 12, etc. We show that this is an equivalence relation. For any aZ, aa=0=30. Hence, aa. If ab, then ab=3k for some integer k. Thus, ba=3(k), and hence ba. Finally, if ab and bc, then ab=3k and bc=3l for some k,lZ. Thus, ac=(ab)+(bc)=3k+3l=3(k+l). Hence, ab. Thus, is an equivalence relation.

Equivalence relations are useful for classifying elements of a set. But, what do we mean by "classification"?

Definition (partition)

Let S be a set. A partition of S is a collection C of subsets of S with the following properties.
  1. (Non-empty) If XC, then X.
  2. (Mutually disjoint) If X,YC and XY, then XY=.
  3. (Collectively exhaustive) The union of all elements of C is equal to S. That is, XCX=S.
Remark. XCX means the union of all elements of C: XY where X,Y,C. For example, if C consists of 3 elements, C={A1,A2,A3}, then XCX=A1A2A3.

Definition (Equivalence class)

Let be an equivalence relation on a set S. For each element xS, the subset of S defined by [x]={yS|yx} is called the equivalence class of x by . In other words, the equivalence class of x by is the set of all elements that are equivalent to x.

Example. Consider the equivalence relation in Example (mod3) above. Then, [0]={yZ|y0}={,6,3,0,3,6,9,}.[1]={yZ|y1}={,5,2,1,4,7,10,},[2]={yZ|y2}={,4,1,2,5,8,11,},[3]={yZ|y3}=[0],[4]=[1],[5]=[2],

As we see in the above example, by changing the value x, we may or may not have different equivalence classes. The set of all equivalence classes in S by is denoted by S/, which is often called the quotient set of S by .

Example. Again, consider the equivalence relation on Z in (mod3). The quotient set Z/ is given by
Z/={{,6,3,0,3,6,},{,5,2,1,4,7,},{,4,1,2,5,8,}}={{3k|kZ},{3k+1|kZ},{3k+2|kZ}}.
Note that integers are "classified" according to their remainder when divided by 3.

In fact, we have the following theorem.

Theorem

Let be an equivalence relation on a set S. Then, S/ is a partition of S
Proof. We check the three properties of the partition.
  1. For any xS, we have xx, and hence x[x]. Thus, each equivalence class [x] is non-empty.
  2. "Mutually disjoint" means that, if [y][z], then [y][z]=. we prove the contrapositive: if [y][z], then [y]=[z]. Suppose [y][z]. Then, we may choose some x[y][z]. Since x[y], we have xy.  Since x[z], we have xz. By symmetry and transitivity, we have yz. For all a[y], we have ay, hence az, hence a[z]. Therefore, [y][z]. Similarly, for all b[z], we have bz, hence, by, hence b[y]. Therefore, [z][y]. Thus, [y]=[z].
  3. For any xS, we have x[x]S/. Thus, each xS belongs to precisely one of the equivalence classes. Thus, S/ is collectively exhaustive.



Comments

Popular posts from this blog

Birth process

Branching processes: Mean and variance

Informal introduction to formal logic