HOME

TheInfoList



OR:

In
mathematics Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, a binary relation associates some elements of one set called the ''domain'' with some elements of another set called the ''codomain''. Precisely, a binary relation over sets X and Y is a set of ordered pairs (x, y), where x is an element of X and y is an element of Y. It encodes the common concept of relation: an element x is ''related'' to an element y,
if and only if In logic and related fields such as mathematics and philosophy, "if and only if" (often shortened as "iff") is paraphrased by the biconditional, a logical connective between statements. The biconditional is true in two cases, where either bo ...
the pair (x, y) belongs to the set of ordered pairs that defines the binary relation. An example of a binary relation is the " divides" relation over the set of
prime number A prime number (or a prime) is a natural number greater than 1 that is not a Product (mathematics), product of two smaller natural numbers. A natural number greater than 1 that is not prime is called a composite number. For example, 5 is prime ...
s \mathbb and the set of
integer An integer is the number zero (0), a positive natural number (1, 2, 3, ...), or the negation of a positive natural number (−1, −2, −3, ...). The negations or additive inverses of the positive natural numbers are referred to as negative in ...
s \mathbb, in which each prime p is related to each integer z that is a multiple of p, but not to an integer that is not a multiple of p. In this relation, for instance, the prime number 2 is related to numbers such as -4, 0, 6, 10, but not to 1 or 9, just as the prime number 3 is related to 0, 6, and 9, but not to 4 or 13. Binary relations, and especially homogeneous relations, are used in many branches of mathematics to model a wide variety of concepts. These include, among others: * the " is greater than", " is equal to", and "divides" relations in
arithmetic Arithmetic is an elementary branch of mathematics that deals with numerical operations like addition, subtraction, multiplication, and division. In a wider sense, it also includes exponentiation, extraction of roots, and taking logarithms. ...
; * the " is congruent to" relation in
geometry Geometry (; ) is a branch of mathematics concerned with properties of space such as the distance, shape, size, and relative position of figures. Geometry is, along with arithmetic, one of the oldest branches of mathematics. A mathematician w ...
; * the "is adjacent to" relation in
graph theory In mathematics and computer science, graph theory is the study of ''graph (discrete mathematics), graphs'', which are mathematical structures used to model pairwise relations between objects. A graph in this context is made up of ''Vertex (graph ...
; * the "is
orthogonal In mathematics, orthogonality (mathematics), orthogonality is the generalization of the geometric notion of ''perpendicularity''. Although many authors use the two terms ''perpendicular'' and ''orthogonal'' interchangeably, the term ''perpendic ...
to" relation in
linear algebra Linear algebra is the branch of mathematics concerning linear equations such as :a_1x_1+\cdots +a_nx_n=b, linear maps such as :(x_1, \ldots, x_n) \mapsto a_1x_1+\cdots +a_nx_n, and their representations in vector spaces and through matrix (mathemat ...
. A function may be defined as a binary relation that meets additional constraints. Binary relations are also heavily used in
computer science Computer science is the study of computation, information, and automation. Computer science spans Theoretical computer science, theoretical disciplines (such as algorithms, theory of computation, and information theory) to Applied science, ...
. A binary relation over sets X and Y is an element of the power set of X \times Y. Since the latter set is ordered by inclusion (\subseteq), each relation has a place in the lattice of subsets of X \times Y. A binary relation is called a ''homogeneous relation'' when X = Y. A binary relation is also called a ''heterogeneous relation'' when it is not necessary that X = Y. Since relations are sets, they can be manipulated using set operations, including union, intersection, and complementation, and satisfying the laws of an algebra of sets. Beyond that, operations like the converse of a relation and the composition of relations are available, satisfying the laws of a calculus of relations, for which there are textbooks by Ernst Schröder, Ernst Schröder (1895
Algebra und Logic der Relative
via
Internet Archive The Internet Archive is an American 501(c)(3) organization, non-profit organization founded in 1996 by Brewster Kahle that runs a digital library website, archive.org. It provides free access to collections of digitized media including web ...
Clarence Lewis, C. I. Lewis (1918
A Survey of Symbolic Logic
pages 269–279, via internet Archive
and Gunther Schmidt. Gunther Schmidt, 2010. ''Relational Mathematics''. Cambridge University Press, , Chapt. 5 A deeper analysis of relations involves decomposing them into subsets called ''concepts'', and placing them in a complete lattice. In some systems of axiomatic set theory, relations are extended to classes, which are generalizations of sets. This extension is needed for, among other things, modeling the concepts of "is an element of" or "is a subset of" in set theory, without running into logical inconsistencies such as Russell's paradox. A binary relation is the most studied special case n = 2 of an n-ary relation over sets X_1, \dots, X_n, which is a subset of the
Cartesian product In mathematics, specifically set theory, the Cartesian product of two sets and , denoted , is the set of all ordered pairs where is an element of and is an element of . In terms of set-builder notation, that is A\times B = \. A table c ...
X_1 \times \cdots \times X_n.


Definition

Given sets X and Y, the Cartesian product X \times Y is defined as \, and its elements are called ''ordered pairs''. A R over sets X and Y is a subset of X \times Y. The set X is called the or of R, and the set Y the or of R. In order to specify the choices of the sets X and Y, some authors define a or as an ordered triple (X, Y, G), where G is a subset of X \times Y called the of the binary relation. The statement (x, y) \in R reads "x is R-related to y" and is denoted by xRy. The or of R is the set of all x such that xRy for at least one y. The ''codomain of definition'', , or of R is the set of all y such that xRy for at least one x. The of R is the union of its domain of definition and its codomain of definition. When X = Y, a binary relation is called a (or ). To emphasize the fact that X and Y are allowed to be different, a binary relation is also called a heterogeneous relation. The prefix ''hetero'' is from the Greek ἕτερος (''heteros'', "other, another, different"). A heterogeneous relation has been called a rectangular relation, suggesting that it does not have the square-like symmetry of a homogeneous relation on a set where A = B. Commenting on the development of binary relations beyond homogeneous relations, researchers wrote, "... a variant of the theory has evolved that treats relations from the very beginning as or , i.e. as relations where the normal case is that they are relations between different sets." The terms ''correspondence'', dyadic relation and two-place relation are synonyms for binary relation, though some authors use the term "binary relation" for any subset of a Cartesian product X \times Y without reference to X and Y, and reserve the term "correspondence" for a binary relation with reference to X and Y. In a binary relation, the order of the elements is important; if x \neq y then yRx can be true or false independently of xRy. For example, 3 divides 9, but 9 does not divide 3.


Operations


Union

If R and S are binary relations over sets X and Y then R \cup S = \ is the of R and S over X and Y. The identity element is the empty relation. For example, \leq is the union of < and =, and \geq is the union of > and =.


Intersection

If R and S are binary relations over sets X and Y then R \cap S = \ is the of R and S over X and Y. The identity element is the universal relation. For example, the relation "is divisible by 6" is the intersection of the relations "is divisible by 3" and "is divisible by 2".


Composition

If R is a binary relation over sets X and Y, and S is a binary relation over sets Y and Z then S \circ R = \ (also denoted by R; S) is the of R and S over X and Z. The identity element is the identity relation. The order of R and S in the notation S \circ R, used here agrees with the standard notational order for composition of functions. For example, the composition (is parent of)\circ(is mother of) yields (is maternal grandparent of), while the composition (is mother of)\circ(is parent of) yields (is grandmother of). For the former case, if x is the parent of y and y is the mother of z, then x is the maternal grandparent of z.


Converse

If R is a binary relation over sets X and Y then R^\textsf = \ is the , also called , of R over Y and X. For example, = is the converse of itself, as is \neq, and < and > are each other's converse, as are \leq and \geq. A binary relation is equal to its converse if and only if it is symmetric.


Complement

If R is a binary relation over sets X and Y then \bar = \ (also denoted by \neg R) is the of R over X and Y. For example, = and \neq are each other's complement, as are \subseteq and \not \subseteq, \supseteq and \not \supseteq, \in and \not \in, and for total orders also < and \geq, and > and \leq. The complement of the converse relation R^\textsf is the converse of the complement: \overline = \bar^\mathsf. If X = Y, the complement has the following properties: * If a relation is symmetric, then so is the complement. * The complement of a reflexive relation is irreflexive—and vice versa. * The complement of a strict weak order is a total preorder—and vice versa.


Restriction

If R is a binary homogeneous relation over a set X and S is a subset of X then R_ = \ is the of R to S over X. If R is a binary relation over sets X and Y and if S is a subset of X then R_ = \ is the of R to S over X and Y. If a relation is reflexive, irreflexive, symmetric, antisymmetric, asymmetric, transitive, total, trichotomous, a partial order, total order, strict weak order, total preorder (weak order), or an equivalence relation, then so too are its restrictions. However, the transitive closure of a restriction is a subset of the restriction of the transitive closure, i.e., in general not equal. For example, restricting the relation "x is parent of y" to females yields the relation "x is mother of the woman y"; its transitive closure does not relate a woman with her paternal grandmother. On the other hand, the transitive closure of "is parent of" is "is ancestor of"; its restriction to females does relate a woman with her paternal grandmother. Also, the various concepts of completeness (not to be confused with being "total") do not carry over to restrictions. For example, over the
real number In mathematics, a real number is a number that can be used to measure a continuous one- dimensional quantity such as a duration or temperature. Here, ''continuous'' means that pairs of values can have arbitrarily small differences. Every re ...
s a property of the relation \leq is that every non-empty subset S \subseteq \R with an
upper bound In mathematics, particularly in order theory, an upper bound or majorant of a subset of some preordered set is an element of that is every element of . Dually, a lower bound or minorant of is defined to be an element of that is less ...
in \R has a least upper bound (also called supremum) in \R. However, for the rational numbers this supremum is not necessarily rational, so the same property does not hold on the restriction of the relation \leq to the rational numbers. A binary relation R over sets X and Y is said to be a relation S over X and Y, written R \subseteq S, if R is a subset of S, that is, for all x \in X and y \in Y, if xRy, then xSy. If R is contained in S and S is contained in R, then R and S are called written R = S. If R is contained in S but S is not contained in R, then R is said to be than S, written R \subsetneq S. For example, on the
rational number In mathematics, a rational number is a number that can be expressed as the quotient or fraction of two integers, a numerator and a non-zero denominator . For example, is a rational number, as is every integer (for example, The set of all ...
s, the relation > is smaller than \geq, and equal to the composition > \circ >.


Matrix representation

Binary relations over sets X and Y can be represented algebraically by logical matrices indexed by X and Y with entries in the
Boolean semiring Any kind of logic, function, expression, or theory based on the work of George Boole is considered Boolean. Related to this, "Boolean" may refer to: * Boolean data type, a form of data with only two possible values (usually "true" and "false" ...
(addition corresponds to OR and multiplication to AND) where matrix addition corresponds to union of relations, matrix multiplication corresponds to composition of relations (of a relation over X and Y and a relation over Y and Z), the Hadamard product corresponds to intersection of relations, the zero matrix corresponds to the empty relation, and the matrix of ones corresponds to the universal relation. Homogeneous relations (when X = Y) form a matrix semiring (indeed, a matrix semialgebra over the Boolean semiring) where the identity matrix corresponds to the identity relation.Droste, M., & Kuich, W. (2009). Semirings and Formal Power Series. ''Handbook of Weighted Automata'', 3–28. , pp. 7-10


Examples


Types of binary relations

Some important types of binary relations R over sets X and Y are listed below. Uniqueness properties: * InjectiveVan Gasteren 1990, p. 45. (also called left-uniqueKilp, Knauer, Mikhalev 2000, p. 3.): for all x, y \in X and all z \in Y, if xRz and yRz then x = y. In other words, every element of the codomain has ''at most'' one preimage element. For such a relation, Y is called ''a primary key'' of R. For example, the green and blue binary relations in the diagram are injective, but the red one is not (as it relates both -1 and 1 to 1), nor the black one (as it relates both -1 and 1 to 0). * Functional (also called right-unique or univalent): for all x \in X and all y, z \in Y, if xRy and xRz then y = z. In other words, every element of the domain has ''at most'' one
image An image or picture is a visual representation. An image can be Two-dimensional space, two-dimensional, such as a drawing, painting, or photograph, or Three-dimensional space, three-dimensional, such as a carving or sculpture. Images may be di ...
element. Such a binary relation is called a or . For such a relation, \ is called of R. For example, the red and green binary relations in the diagram are functional, but the blue one is not (as it relates 1 to both 1 and -1), nor the black one (as it relates 0 to both -1 and 1). * One-to-one: injective and functional. For example, the green binary relation in the diagram is one-to-one, but the red, blue and black ones are not. * One-to-many: injective and not functional. For example, the blue binary relation in the diagram is one-to-many, but the red, green and black ones are not. * Many-to-one: functional and not injective. For example, the red binary relation in the diagram is many-to-one, but the green, blue and black ones are not. * Many-to-many: not injective nor functional. For example, the black binary relation in the diagram is many-to-many, but the red, green and blue ones are not. Totality properties (only definable if the domain X and codomain Y are specified): * Total (also called left-total): for all x \in X there exists a y \in Y such that xRy. In other words, every element of the domain has ''at least'' one image element. In other words, the domain of definition of R is equal to X. This property, is different from the definition of (also called by some authors) in Properties. Such a binary relation is called a . For example, the red and green binary relations in the diagram are total, but the blue one is not (as it does not relate -1 to any real number), nor the black one (as it does not relate 2 to any real number). As another example, > is a total relation over the
integers An integer is the number zero (0), a positive natural number (1, 2, 3, ...), or the negation of a positive natural number (−1, −2, −3, ...). The negations or additive inverses of the positive natural numbers are referred to as negative in ...
. But it is not a total relation over the positive integers, because there is no y in the positive integers such that 1 > y. However, < is a total relation over the positive integers, the rational numbers and the real numbers. Every reflexive relation is total: for a given x, choose y = x. * Surjective (also called right-total): for all y \in Y, there exists an x \in X such that xRy. In other words, every element of the codomain has ''at least'' one preimage element. In other words, the codomain of definition of R is equal to Y. For example, the green and blue binary relations in the diagram are surjective, but the red one is not (as it does not relate any real number to -1), nor the black one (as it does not relate any real number to 2). Uniqueness and totality properties (only definable if the domain X and codomain Y are specified): * A function (also called mapping): a binary relation that is functional and total. In other words, every element of the domain has ''exactly'' one image element. For example, the red and green binary relations in the diagram are functions, but the blue and black ones are not. * An injection: a function that is injective. For example, the green relation in the diagram is an injection, but the red one is not; the black and the blue relation is not even a function. * A surjection: a function that is surjective. For example, the green relation in the diagram is a surjection, but the red one is not. * A
bijection In mathematics, a bijection, bijective function, or one-to-one correspondence is a function between two sets such that each element of the second set (the codomain) is the image of exactly one element of the first set (the domain). Equival ...
: a function that is injective and surjective. In other words, every element of the domain has ''exactly'' one image element and every element of the codomain has ''exactly'' one preimage element. For example, the green binary relation in the diagram is a bijection, but the red one is not. If relations over proper classes are allowed: * Set-like (also called local): for all x \in X, the
class Class, Classes, or The Class may refer to: Common uses not otherwise categorized * Class (biology), a taxonomic rank * Class (knowledge representation), a collection of individuals or objects * Class (philosophy), an analytical concept used d ...
of all y \in Y such that yRx, i.e. \, is a set. For example, the relation \in is set-like, and every relation on two sets is set-like. The usual ordering < over the class of
ordinal number In set theory, an ordinal number, or ordinal, is a generalization of ordinal numerals (first, second, th, etc.) aimed to extend enumeration to infinite sets. A finite set can be enumerated by successively labeling each element with the leas ...
s is a set-like relation, while its inverse > is not.


Sets versus classes

Certain mathematical "relations", such as "equal to", "subset of", and "member of", cannot be understood to be binary relations as defined above, because their domains and codomains cannot be taken to be sets in the usual systems of axiomatic set theory. For example, to model the general concept of "equality" as a binary relation =, take the domain and codomain to be the "class of all sets", which is not a set in the usual set theory. In most mathematical contexts, references to the relations of equality, membership and subset are harmless because they can be understood implicitly to be restricted to some set in the context. The usual work-around to this problem is to select a "large enough" set A, that contains all the objects of interest, and work with the restriction =_A instead of =. Similarly, the "subset of" relation \subseteq needs to be restricted to have domain and codomain P(A) (the power set of a specific set A): the resulting set relation can be denoted by \subseteq_A. Also, the "member of" relation needs to be restricted to have domain A and codomain P(A) to obtain a binary relation \in_A that is a set.
Bertrand Russell Bertrand Arthur William Russell, 3rd Earl Russell, (18 May 1872 – 2 February 1970) was a British philosopher, logician, mathematician, and public intellectual. He had influence on mathematics, logic, set theory, and various areas of analytic ...
has shown that assuming \in to be defined over all sets leads to a contradiction in naive set theory, see '' Russell's paradox''. Another solution to this problem is to use a set theory with proper classes, such as NBG or Morse–Kelley set theory, and allow the domain and codomain (and so the graph) to be
proper class Proper may refer to: Mathematics * Proper map, in topology, a property of continuous function between topological spaces, if inverse images of compact subsets are compact * Proper morphism, in algebraic geometry, an analogue of a proper map f ...
es: in such a theory, equality, membership, and subset are binary relations without special comment. (A minor modification needs to be made to the concept of the ordered triple (X, Y, G), as normally a proper class cannot be a member of an ordered tuple; or of course one can identify the binary relation with its graph in this context.) With this definition one can for instance define a binary relation over every set and its power set.


Homogeneous relation

A homogeneous relation over a set X is a binary relation over X and itself, i.e. it is a subset of the Cartesian product X \times X. It is also simply called a (binary) relation over X. A homogeneous relation R over a set X may be identified with a directed simple graph permitting loops, where X is the vertex set and R is the edge set (there is an edge from a vertex x to a vertex y if and only if xRy). The set of all homogeneous relations \mathcal(X) over a set X is the power set 2^ which is a Boolean algebra augmented with the involution of mapping of a relation to its converse relation. Considering composition of relations as a
binary operation In mathematics, a binary operation or dyadic operation is a rule for combining two elements (called operands) to produce another element. More formally, a binary operation is an operation of arity two. More specifically, a binary operation ...
on \mathcal(X), it forms a semigroup with involution. Some important properties that a homogeneous relation R over a set X may have are: * : for all x \in X, xRx. For example, \geq is a reflexive relation but > is not. * : for all x \in X, not xRx. For example, > is an irreflexive relation, but \geq is not. * : for all x, y \in X, if xRy then yRx. For example, "is a blood relative of" is a symmetric relation. * : for all x, y \in X, if xRy and yRx then x = y. For example, \geq is an antisymmetric relation. * : for all x, y \in X, if xRy then not yRx. A relation is asymmetric if and only if it is both antisymmetric and irreflexive. For example, > is an asymmetric relation, but \geq is not. * : for all x, y, z \in X, if xRy and yRz then xRz. A transitive relation is irreflexive if and only if it is asymmetric. For example, "is ancestor of" is a transitive relation, while "is parent of" is not. * : for all x, y \in X, if x \neq y then xRy or yRx. * : for all x, y \in X, xRy or yRx. * : for all x, y \in X, if xRy , then some z \in X exists such that xRz and zRy. A is a relation that is reflexive, antisymmetric, and transitive. A is a relation that is irreflexive, asymmetric, and transitive. A is a relation that is reflexive, antisymmetric, transitive and connected. A is a relation that is irreflexive, asymmetric, transitive and connected. An is a relation that is reflexive, symmetric, and transitive. For example, "x divides y" is a partial, but not a total order on
natural numbers In mathematics, the natural numbers are the numbers 0, 1, 2, 3, and so on, possibly excluding 0. Some start counting with 0, defining the natural numbers as the non-negative integers , while others start with 1, defining them as the positiv ...
\N, "x < y" is a strict total order on \N, and "x is parallel to y" is an equivalence relation on the set of all lines in the
Euclidean plane In mathematics, a Euclidean plane is a Euclidean space of Two-dimensional space, dimension two, denoted \textbf^2 or \mathbb^2. It is a geometric space in which two real numbers are required to determine the position (geometry), position of eac ...
. All operations defined in section also apply to homogeneous relations. Beyond that, a homogeneous relation over a set X may be subjected to closure operations like: ; : the smallest reflexive relation over X containing R, ; : the smallest transitive relation over X containing R, ; : the smallest equivalence relation over X containing R.


Calculus of relations

Developments in algebraic logic have facilitated usage of binary relations. The calculus of relations includes the algebra of sets, extended by composition of relations and the use of converse relations. The inclusion R \subseteq S, meaning that aRb implies aSb, sets the scene in a lattice of relations. But since P \subseteq Q \equiv (P \cap \bar = \varnothing ) \equiv (P \cap Q = P), the inclusion symbol is superfluous. Nevertheless, composition of relations and manipulation of the operators according to Schröder rules, provides a calculus to work in the power set of A \times B. In contrast to homogeneous relations, the composition of relations operation is only a
partial function In mathematics, a partial function from a set to a set is a function from a subset of (possibly the whole itself) to . The subset , that is, the '' domain'' of viewed as a function, is called the domain of definition or natural domain ...
. The necessity of matching target to source of composed relations has led to the suggestion that the study of heterogeneous relations is a chapter of
category theory Category theory is a general theory of mathematical structures and their relations. It was introduced by Samuel Eilenberg and Saunders Mac Lane in the middle of the 20th century in their foundational work on algebraic topology. Category theory ...
as in the category of sets, except that the morphisms of this category are relations. The of the category Rel are sets, and the relation-morphisms compose as required in a category.


Induced concept lattice

Binary relations have been described through their induced concept lattices: A concept C \subset R satisfies two properties: * The logical matrix of C is the outer product of logical vectors C_ = u_i v_j , \quad u, v logical vectors. * C is maximal, not contained in any other outer product. Thus C is described as a ''non-enlargeable rectangle''. For a given relation R \subseteq X \times Y, the set of concepts, enlarged by their joins and meets, forms an "induced lattice of concepts", with inclusion \sqsubseteq forming a preorder. The MacNeille completion theorem (1937) (that any partial order may be embedded in a complete lattice) is cited in a 2013 survey article "Decomposition of relations on concept lattices". The decomposition is : R = f E g^\textsf, where f and g are functions, called or left-total, functional relations in this context. The "induced concept lattice is isomorphic to the cut completion of the partial order E that belongs to the minimal decomposition (f, g, E) of the relation R." Particular cases are considered below: E total order corresponds to Ferrers type, and E identity corresponds to difunctional, a generalization of equivalence relation on a set. Relations may be ranked by the Schein rank which counts the number of concepts necessary to cover a relation. Structural analysis of relations with concepts provides an approach for data mining.


Particular relations

* ''Proposition'': If R is a surjective relation and R^\mathsf is its transpose, then I \subseteq R^\textsf R where I is the m \times m identity relation. * ''Proposition'': If R is a serial relation, then I \subseteq R R^\textsf where I is the n \times n identity relation.


Difunctional

The idea of a difunctional relation is to partition objects by distinguishing attributes, as a generalization of the concept of an equivalence relation. One way this can be done is with an intervening set Z = \ of indicators. The partitioning relation R = F G^\textsf is a composition of relations using relations F \subseteq A \times Z \text G \subseteq B \times Z. Jacques Riguet named these relations difunctional since the composition F G^\mathsf involves functional relations, commonly called ''partial functions''. In 1950 Riguet showed that such relations satisfy the inclusion: : R R^\textsf R \subseteq R In automata theory, the term rectangular relation has also been used to denote a difunctional relation. This terminology recalls the fact that, when represented as a logical matrix, the columns and rows of a difunctional relation can be arranged as a block matrix with rectangular blocks of ones on the (asymmetric) main diagonal. More formally, a relation R on X \times Y is difunctional if and only if it can be written as the union of Cartesian products A_i \times B_i, where the A_i are a partition of a subset of X and the B_i likewise a partition of a subset of Y. Using the notation \ = xR, a difunctional relation can also be characterized as a relation R such that wherever x_1 R and x_2 R have a non-empty intersection, then these two sets coincide; formally x_1 \cap x_2 \neq \varnothing implies x_1 R = x_2 R. In 1997 researchers found "utility of binary decomposition based on difunctional dependencies in
database In computing, a database is an organized collection of data or a type of data store based on the use of a database management system (DBMS), the software that interacts with end users, applications, and the database itself to capture and a ...
management." Furthermore, difunctional relations are fundamental in the study of bisimulations. In the context of homogeneous relations, a partial equivalence relation is difunctional.


Ferrers type

A strict order on a set is a homogeneous relation arising in
order theory Order theory is a branch of mathematics that investigates the intuitive notion of order using binary relations. It provides a formal framework for describing statements such as "this is less than that" or "this precedes that". This article intr ...
. In 1951 Jacques Riguet adopted the ordering of an integer partition, called a Ferrers diagram, to extend ordering to binary relations in general. The corresponding logical matrix of a general binary relation has rows which finish with a sequence of ones. Thus the dots of a Ferrer's diagram are changed to ones and aligned on the right in the matrix. An algebraic statement required for a Ferrers type relation R is R \bar^\textsf R \subseteq R. If any one of the relations R, \bar, R^\textsf is of Ferrers type, then all of them are.


Contact

Suppose B is the power set of A, the set of all
subset In mathematics, a Set (mathematics), set ''A'' is a subset of a set ''B'' if all Element (mathematics), elements of ''A'' are also elements of ''B''; ''B'' is then a superset of ''A''. It is possible for ''A'' and ''B'' to be equal; if they a ...
s of A. Then a relation g is a contact relation if it satisfies three properties: # \text x \in A, Y = \ \text xgY. # Y \subseteq Z \text xgY \text xgZ. # \text y \in Y, ygZ \text xgY \text xgZ. The set membership relation, \epsilon = "is an element of", satisfies these properties so \epsilon is a contact relation. The notion of a general contact relation was introduced by Georg Aumann in 1970. In terms of the calculus of relations, sufficient conditions for a contact relation include C^\textsf \bar \subseteq \ni \bar \equiv C \overline \subseteq C, where \ni is the converse of set membership (\in).


Preorder R\R

Every relation R generates a preorder R \backslash R which is the left residual. In terms of converse and complements, R \backslash R \equiv \overline. Forming the diagonal of R^\textsf \bar, the corresponding row of R^ and column of \bar will be of opposite logical values, so the diagonal is all zeros. Then : R^\textsf \bar \subseteq \bar \implies I \subseteq \overline = R \backslash R, so that R \backslash R is a reflexive relation. To show transitivity, one requires that (R\backslash R)(R\backslash R) \subseteq R \backslash R. Recall that X = R \backslash R is the largest relation such that R X \subseteq R. Then : R(R\backslash R) \subseteq R : R(R\backslash R) (R\backslash R )\subseteq R (repeat) : \equiv R^\textsf \bar \subseteq \overline (Schröder's rule) : \equiv (R \backslash R)(R \backslash R) \subseteq \overline (complementation) : \equiv (R \backslash R)(R \backslash R) \subseteq R \backslash R. (definition) The inclusion relation Ω on the power set of U can be obtained in this way from the membership relation \in on subsets of U: : \Omega = \overline = \in \backslash \in .


Fringe of a relation

Given a relation R, its fringe is the sub-relation defined as \operatorname(R) = R \cap \overline. When R is a partial identity relation, difunctional, or a block diagonal relation, then \operatorname(R) = R. Otherwise the \operatorname operator selects a boundary sub-relation described in terms of its logical matrix: \operatorname(R) is the side diagonal if R is an upper right triangular linear order or strict order. \operatorname(R) is the block fringe if R is irreflexive (R \subseteq \bar) or upper right block triangular. \operatorname(R) is a sequence of boundary rectangles when R is of Ferrers type. On the other hand, \operatorname(R) = \emptyset when R is a dense, linear, strict order. Gunther Schmidt (2011) ''Relational Mathematics'', pages 211−15,
Cambridge University Press Cambridge University Press was the university press of the University of Cambridge. Granted a letters patent by King Henry VIII in 1534, it was the oldest university press in the world. Cambridge University Press merged with Cambridge Assessme ...


Mathematical heaps

Given two sets A and B, the set of binary relations between them \mathcal(A,B) can be equipped with a ternary operation , b, c= a b^\textsf c where b^\mathsf denotes the converse relation of b. In 1953 Viktor Wagner used properties of this ternary operation to define semiheaps, heaps, and generalized heaps.C.D. Hollings & M.V. Lawson (2017) ''Wagner's Theory of Generalised Heaps'', Springer books The contrast of heterogeneous and homogeneous relations is highlighted by these definitions:


See also

* Abstract rewriting system * Additive relation, a many-valued homomorphism between modules * Allegory (category theory) * Category of relations, a category having sets as objects and binary relations as morphisms * Confluence (term rewriting), discusses several unusual but fundamental properties of binary relations * Correspondence (algebraic geometry), a binary relation defined by algebraic equations * Hasse diagram, a graphic means to display an order relation * Incidence structure, a heterogeneous relation between set of points and lines * Logic of relatives, a theory of relations by Charles Sanders Peirce *
Order theory Order theory is a branch of mathematics that investigates the intuitive notion of order using binary relations. It provides a formal framework for describing statements such as "this is less than that" or "this precedes that". This article intr ...
, investigates properties of order relations


Notes


References


Bibliography

* * * Ernst Schröder (1895
Algebra der Logik, Band III
via
Internet Archive The Internet Archive is an American 501(c)(3) organization, non-profit organization founded in 1996 by Brewster Kahle that runs a digital library website, archive.org. It provides free access to collections of digitized media including web ...
* * * * * *


External links

* {{DEFAULTSORT:Binary Relation Binary relations