operations on relations
Recall that an -ary relation () is a subset of a product of some sets. In this definition, any -ary relation for which is automatically an -ary relation, and consequently a binary relation. On the other hand, a unary, or -ary relation, being the subset of some set , can be viewed as a binary relation (either realized as or ) on . Hence, we shall concentrate our discussion on the most important kind of relations, the binary relations, in this entry.
Compositions, Inverses, and Complements
Let and be two binary relations. We define the composition of and , the inverse (or converse) and the complement of by
-
•
,
-
•
, and
-
•
.
and are binary relations of and respectively.
Properties. Suppose are binary relations of respectively.
- 1.
-
2.
.
-
3.
For the rest of the remarks, we assume . Define the power of recursively by , and . By 1 above, for .
-
4.
may be also be defined, in terms of for .
-
5.
However, for all integers, since in general.
-
6.
Nevertheless, we may define . This is called the identity or diagonal relation on . It has the property that . For this, we may define, for every relation on , .
-
7.
Let be the set of all binary relations on a set . Then is a monoid (http://planetmath.org/Monoid) with as the identity element.
Let be a binary relation on a set , below are some special relations definable from :
-
•
is reflexive if ;
-
•
is symmetric if ;
-
•
is anti-symmetric if ;
-
•
is transitive if ;
-
•
is a pre-order if it is reflexive and transitive
-
•
is a partial order if it is a pre-order and is anti-symmetric
-
•
is an equivalence if it is a pre-order and is symmetric
Of these, only reflexivity is preserved by and both symmetry and anti-symmetry are preserved by the inverse operation.
Other Operations
Some operations on binary relations yield unary relations. The most common ones are the following:
Given a binary relation , and an elements and , define
is called the section of in based at , and is the section of in (based) at . When the base points are not mentioned, we simply say a section of in or , or an -section or a -section of .
Finally, we define the domain and range of a binary relation , to be
-
•
, and
-
•
respectively. When is a function, the domain and range of coincide with the domain of range of as a function.
Remarks. Given a binary relation .
-
1.
, realized as a binary relation can be viewed as the composition of , where . Similarly, .
-
2.
is the disjoint union of -sections of and is the disjoint union of -sections of .
-
3.
and .
-
4.
and .
-
5.
If , then and .
-
6.
The composition of binary relations can be generalized: let be a subset of and be a subset of , where are positive integers. Further, we assume that . Define , as a subset of , to be the set
If , then we have the familiar composition of binary relations. If and , then . The case where and is similar. If , then if . Otherwise, it is set to .
Title | operations on relations |
Canonical name | OperationsOnRelations |
Date of creation | 2013-03-22 16:26:40 |
Last modified on | 2013-03-22 16:26:40 |
Owner | CWoo (3771) |
Last modified by | CWoo (3771) |
Numerical id | 14 |
Author | CWoo (3771) |
Entry type | Definition |
Classification | msc 08A02 |
Classification | msc 03E20 |
Synonym | inverse relation |
Synonym | relation composition |
Synonym | converse of a relation |
Synonym | diagonal relation |
Related topic | GeneralAssociativity |
Related topic | RelationAlgebra |
Defines | power of a relation |
Defines | relational composition |
Defines | inverse of a relation |
Defines | section |
Defines | domain |
Defines | range |
Defines | identity relation |