Binary Relations

Subjects: Set Theory
Links: Cartesian Product

A set R is a binary relation if for any zR, then there exists x and y such that z=(x,y). It is usually said that x is in relation R with y iff xRy, which is the same as (x,y)R.

The domain of R is the set of all x such that there’s a y that xRy, domR={xy[xRy]}

The range of R is the set of all y such that there’s an x that xRy, ranR={yx[xRy]}

The field of R is just domRranR=fieldR

If fieldRX, then R is a relation in X, or that is a relation between elements of X. R is a relation in X iff RX×X.

The image of A under R, is the set of all y from the ranR related to some element in A, denoted as R[A],

R[A]={yranRxA[xRy]}

The inverse image of B under R is the set of all xdomR, related to some element in B, denoted as R1[B],

R1[B]={xdomRyB[xRy]}

Let R be a binary relation, the inverse of R is the set

R1={(x,y)x,y[yRx]}

The inverse image of B under R is equal to the image B under R1.

Let R and S be binary relations. The composition of R and S is the relation

SR={(x,z)y[xRyySz]

Cofinal and Coinitial Subsets