Composition of relations
https://en.wikipedia.org/wiki/Composition_of_relations
In binary relations, the composition of relations refers to the formation of a new relation, denoted by R ; S
, given two relations R
and S
.
The composition of relations is called relative multiplication in the calculus of relations. The composition is then the relative product of the factor relations.
Composition of functions is a special case of composition of relations.
The words "uncle" indicates a compound relation: for a person to be somebody's uncle, he first must be a brother of a parent. In algebraic logic it is said that the relation of "is an uncle of", (xUz)
, is the composition of relations "is a brother of", xBy
, and "is a parent of", yPz
.
x
is an uncle of z
if and only if x
is a brother of y
who is a parent of z
Definition
If are two binary relations, then their composition, is the relation:
In other words, is defined by the rule that says iff there is an element such that , that is .
Last updated
Was this helpful?