Binary relation
A binary relation is a relation which relates pairs of objects.
Thus, the relation of triangle similarity is a binary relation over the set of triangles but the relation which says is a factorization of over the positive integers is not a binary relation because it takes 3 arguments.
Formal Definition and Notation
Formally, we say that a relation on sets and is a subset of (the Cartesian product of and ). We often write instead of . If (the case of most common interest), then we say that is a relation on .
Thus, in the example of above, we may let be the set of ordered pairs of triangles in the Euclidean plane which are similar to each other. We could also define a relation on the power set of a set , so that , or , if and only if and are subsets of and is a subset of . This is a common example of an order relation.
See also
This article is a stub. Help us out by expanding it.