3. Equivalent relations and partitions

Equivalent relations and partitions.

Recall that ” f:AB ” is a certain subset of A×B.

More precisely, for each xA, there exists unique y=f(x)B Satisfying (x,y)=(x,f(x))SfA×B

We can observe that every x has a “relation” with some element in B.

Definition. Given two Sets A,B, a relation R is a subset of A×B. i.e., RA×B.

For each (a,b)R, we denote aRb

Ex) A={1,2},B={4,5}.

A×B={(1,4),(1,5),(2,4),(2,5)}.

R={(1,4),(2,5)}.

1R4,2R5.

 
Ex) Let f:AB abe  function . Then SfA×B is a relation. 


Definition. Let RA×A be a relation. We say that R is an equivalent relation if R satisfies (1), (2), (3):

(1) (Reflexive) for each xA,(x,x)R. i.e, XRX.

(2) (symmetric) If (x,y)R then (y,x)R.

i.e., if xRy then yRx.

(3) (Transitive) If (x,y)R and (y,z)R, then (x,z)R.

i.e., if xRy and yrRz then xRz.

Ex) A={1,2,3,4}R={(1,1),(2,2),(3,3),(4,4),(1,2),(2,1)}.

Ex) Given a set A, consider F=P(A) the power set of A

Define a relation R in F×F, by XY iff there exists one to one, onto function f:XY

Then R is an equivalence (Exercise).

Q1. Reflexive?

For each XF, we have idx: XX mapping xx : this map should be 1-1 and onto.

Q2. Symmetric?

Suppose XRY. i.e., there exists a 1-1, onto f:XY

By previous (2nd) lecture, there exists  g:YX  such that gf=idX and fg=idY.

Exercise. Given f:AB and g:BC,

1) If gf:AC is onto, then g is onto.

2) If gf:AC is 1-1, then f is1-1.

By 1) and 2), the above g must be 1-1, onto.

Thus g=f1

Hence YRX.


Q3. Transitive?

Suppose XRY   and   YRZ.

i.e., there exists f:XY, g:YZ which are both 1-1 and onto.

Consider the composition gf:XfYgZ

Exercise 3) If f:XY,g:YZ are 1-1, then gf:XZ is 1-1.

4) If f:XY and g:YZ are onto then gf:XZ is onto
Hence gf:XZ is 1-1 and onto. i.e., XR

Definition. Given a set E, consider the index set I. (i.e., for each αI, there exists EαE).

(3) αIEα=E.

We call F the partition of E.

ex). Let Z be set of integers. 

Denote [k]={xZx=3a+k,aZ}.
[0],[1],[2]Z
[0][1]=[1][2]=[2][0]= [0][1][2]=
F={[0],[1],[2]} : partition of Z



Remark. 

1) Given a set X, consider the equivalence relation R(RXxX). For each xX, define [x]={yxxRy} the equivalence class of x .
Then F=[x]xx} becomes a partition of X (Exercise).

2) Conversely, given a set X, consider a partition F={EααI} of X
Define xRy,x,yx, if there exists αI sach that x,yEx.
Then ” R ” is an equivalence Relation (Exercise)

3) Consequently, there is the 1-1 correspondence between

{ equivalent relations on X}{ Partitions on X}



Exercise. Let f:XY,g:YZ be functions. 

1)  If f,g are 1-1, then gf is 1-1
2) If gf is onto, then g is onto.
     If gf is 1-1, then f is 1-1.