share
24 มีนาคม 2021, 14:27
In mathematics, an n-ary relation on n sets, is any subset of
Cartesian product of the n sets
(i.e., a collection of n-tuples),[1] with the most common one being a binary relation,
a collection of order pairs from two sets containing an object from each set.[2]
The relation is homogeneous when it is formed with one set.
The homogeneous binary relations are studied for properties like reflexiveness,
symmetry, and transitivity, which determine different kinds of orderings on the set.[3]
Heterogeneous n-ary relations are used in the semantics of predicate calculus,
and in relational databases.
https://simple.wikipedia.org/wiki/Relation_(mathematics)
Cartesian product of the n sets
(i.e., a collection of n-tuples),[1] with the most common one being a binary relation,
a collection of order pairs from two sets containing an object from each set.[2]
The relation is homogeneous when it is formed with one set.
The homogeneous binary relations are studied for properties like reflexiveness,
symmetry, and transitivity, which determine different kinds of orderings on the set.[3]
Heterogeneous n-ary relations are used in the semantics of predicate calculus,
and in relational databases.
https://simple.wikipedia.org/wiki/Relation_(mathematics)