To install click the Add extension button. That's it.

The source code for the WIKI 2 extension is being checked by specialists of the Mozilla Foundation, Google, and Apple. You could also do it yourself at any point in time.

4,5
Kelly Slayton
Congratulations on this excellent venture… what a great idea!
Alexander Grigorievskiy
I use WIKI 2 every day and almost forgot how the original Wikipedia looks like.
Live Statistics
English Articles
Improved in 24 Hours
What we do. Every page goes through several hundred of perfecting techniques; in live mode. Quite the same Wikipedia. Just better.
.
Leo
Newton
Brights
Milds

# Binary relation

 Symmetric Antisymmetric Connected Well-founded Has joins Has meets Reflexive Irreflexive Asymmetric Total, Semiconnex Anti-reflexive Equivalence relation ✗ ✗ ✗ ✗ ✗ ✗ ✗ Preorder (Quasiorder) ✗ ✗ ✗ ✗ ✗ ✗ ✗ ✗ Partial order ✗ ✗ ✗ ✗ ✗ ✗ ✗ Total preorder ✗ ✗ ✗ ✗ ✗ ✗ ✗ Total order ✗ ✗ ✗ ✗ ✗ ✗ Prewellordering ✗ ✗ ✗ ✗ ✗ ✗ Well-quasi-ordering ✗ ✗ ✗ ✗ ✗ ✗ ✗ Well-ordering ✗ ✗ ✗ ✗ ✗ Lattice ✗ ✗ ✗ ✗ ✗ Join-semilattice ✗ ✗ ✗ ✗ ✗ ✗ Meet-semilattice ✗ ✗ ✗ ✗ ✗ ✗ Strict partial order ✗ ✗ ✗ ✗ ✗ ✗ Strict weak order ✗ ✗ ✗ ✗ ✗ ✗ Strict total order ✗ ✗ ✗ ✗ ✗ Symmetric Antisymmetric Connected Well-founded Has joins Has meets Reflexive Irreflexive Asymmetric Definitions, for all ${\displaystyle a,b}$ and ${\displaystyle S\neq \varnothing :}$ {\displaystyle {\begin{aligned}&aRb\\\Rightarrow {}&bRa\end{aligned}}} {\displaystyle {\begin{aligned}aRb{\text{ and }}&bRa\\\Rightarrow a={}&b\end{aligned}}} {\displaystyle {\begin{aligned}a\neq {}&b\Rightarrow \\aRb{\text{ or }}&bRa\end{aligned}}} {\displaystyle {\begin{aligned}\min S\\{\text{exists}}\end{aligned}}} {\displaystyle {\begin{aligned}a\vee b\\{\text{exists}}\end{aligned}}} {\displaystyle {\begin{aligned}a\wedge b\\{\text{exists}}\end{aligned}}} ${\displaystyle aRa}$ ${\displaystyle {\text{not }}aRa}$ {\displaystyle {\begin{aligned}aRb\Rightarrow \\{\text{not }}bRa\end{aligned}}}
indicates that the column's property is always true the row's term (at the very left), while indicates that the property is not guaranteed in general (it might, or might not, hold). For example, that every equivalence relation is symmetric, but not necessarily antisymmetric, is indicated by in the "Symmetric" column and in the "Antisymmetric" column, respectively.

All definitions tacitly require the homogeneous relation ${\displaystyle R}$ be transitive: for all ${\displaystyle a,b,c,}$ if ${\displaystyle aRb}$ and ${\displaystyle bRc}$ then ${\displaystyle aRc.}$
A term's definition may require additional properties that are not listed in this table.

In mathematics, a binary relation associates elements of one set, called the domain, with elements of another set, called the codomain.[1] A binary relation over sets ${\displaystyle X}$ and ${\displaystyle Y}$ is a set of ordered pairs ${\displaystyle (x,y)}$ consisting of elements ${\displaystyle x}$ from ${\displaystyle X}$ and ${\displaystyle y}$ from ${\displaystyle Y}$.[2] It is a generalization of the more widely understood idea of a unary function. It encodes the common concept of relation: an element ${\displaystyle x}$ is related to an element ${\displaystyle y}$, if and only if the pair ${\displaystyle (x,y)}$ belongs to the set of ordered pairs that defines the binary relation. A binary relation is the most studied special case ${\displaystyle n=2}$ of an ${\displaystyle n}$-ary relation over sets ${\displaystyle X_{1},\dots ,X_{n}}$, which is a subset of the Cartesian product ${\displaystyle X_{1}\times \cdots \times X_{n}.}$[2]

An example of a binary relation is the "divides" relation over the set of prime numbers ${\displaystyle \mathbb {P} }$ and the set of integers ${\displaystyle \mathbb {Z} }$, in which each prime ${\displaystyle p}$ is related to each integer ${\displaystyle z}$ that is a multiple of ${\displaystyle p}$, but not to an integer that is not a multiple of ${\displaystyle p}$. In this relation, for instance, the prime number ${\displaystyle 2}$ is related to numbers such as ${\displaystyle -4}$, ${\displaystyle 0}$, ${\displaystyle 6}$, ${\displaystyle 10}$, but not to ${\displaystyle 1}$ or ${\displaystyle 9}$, just as the prime number ${\displaystyle 3}$ is related to ${\displaystyle 0}$, ${\displaystyle 6}$, and ${\displaystyle 9}$, but not to ${\displaystyle 4}$ or ${\displaystyle 13}$.

Binary relations are used in many branches of mathematics to model a wide variety of concepts. These include, among others:

A function may be defined as a binary relation that meets additional constraints.[3] Binary relations are also heavily used in computer science.

A binary relation over sets ${\displaystyle X}$ and ${\displaystyle Y}$ is an element of the power set of ${\displaystyle X\times Y.}$ Since the latter set is ordered by inclusion (${\displaystyle \subseteq }$), each relation has a place in the lattice of subsets of ${\displaystyle X\times Y.}$ A binary relation is called a homogeneous relation when ${\displaystyle X=Y}$. A binary relation is also called a heterogeneous relation when it is not necessary that ${\displaystyle 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,[4] Clarence Lewis,[5] and Gunther Schmidt.[6] 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.

The terms correspondence,[7] 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 ${\displaystyle X\times Y}$ without reference to ${\displaystyle X}$ and ${\displaystyle Y}$, and reserve the term "correspondence" for a binary relation with reference to ${\displaystyle X}$ and ${\displaystyle Y}$.[citation needed]

• 1/5
Views:
315 442
130 960
896 553
111 316
402 807
• Introduction to Relations
• Algebra 12 - Binary Relations
• RELATIONS - DISCRETE MATHEMATICS
• Discrete Math - 9.1.1 Introduction to Relations
• Types of Relations (Part 1)

## Definition

Given sets ${\displaystyle X}$ and ${\displaystyle Y}$, the Cartesian product ${\displaystyle X\times Y}$ is defined as ${\displaystyle \{(x,y)\mid x\in X{\text{ and }}y\in Y\},}$ and its elements are called ordered pairs.

A binary relation ${\displaystyle R}$ over sets ${\displaystyle X}$ and ${\displaystyle Y}$ is a subset of ${\displaystyle X\times Y.}$[2][8] The set ${\displaystyle X}$ is called the domain[2] or set of departure of ${\displaystyle R}$, and the set ${\displaystyle Y}$ the codomain or set of destination of ${\displaystyle R}$. In order to specify the choices of the sets ${\displaystyle X}$ and ${\displaystyle Y}$, some authors define a binary relation or correspondence as an ordered triple ${\displaystyle (X,Y,G)}$, where ${\displaystyle G}$ is a subset of ${\displaystyle X\times Y}$ called the graph of the binary relation. The statement ${\displaystyle (x,y)\in R}$ reads "${\displaystyle x}$ is ${\displaystyle R}$-related to ${\displaystyle y}$" and is denoted by ${\displaystyle xRy}$.[4][5][6][note 1] The domain of definition or active domain[2] of ${\displaystyle R}$ is the set of all ${\displaystyle x}$ such that ${\displaystyle xRy}$ for at least one ${\displaystyle y}$. The codomain of definition, active codomain,[2] image or range of ${\displaystyle R}$ is the set of all ${\displaystyle y}$ such that ${\displaystyle xRy}$ for at least one ${\displaystyle x}$. The field of ${\displaystyle R}$ is the union of its domain of definition and its codomain of definition.[10][11][12]

When ${\displaystyle X=Y,}$ a binary relation is called a homogeneous relation (or endorelation). To emphasize the fact that ${\displaystyle X}$ and ${\displaystyle Y}$ are allowed to be different, a binary relation is also called a heterogeneous relation.[13][14][15]

In a binary relation, the order of the elements is important; if ${\displaystyle x\neq y}$ then ${\displaystyle yRx}$ can be true or false independently of ${\displaystyle xRy}$. For example, ${\displaystyle 3}$ divides ${\displaystyle 9}$, but ${\displaystyle 9}$ does not divide ${\displaystyle 3}$.

## Operations

### Union

If ${\displaystyle R}$ and ${\displaystyle S}$ are binary relations over sets ${\displaystyle X}$ and ${\displaystyle Y}$ then ${\displaystyle R\cup S=\{(x,y)\mid xRy{\text{ or }}xSy\}}$ is the union relation of ${\displaystyle R}$ and ${\displaystyle S}$ over ${\displaystyle X}$ and ${\displaystyle Y}$.

The identity element is the empty relation. For example, ${\displaystyle \leq }$ is the union of < and =, and ${\displaystyle \geq }$ is the union of > and =.

### Intersection

If ${\displaystyle R}$ and ${\displaystyle S}$ are binary relations over sets ${\displaystyle X}$ and ${\displaystyle Y}$ then ${\displaystyle R\cap S=\{(x,y)\mid xRy{\text{ and }}xSy\}}$ is the intersection relation of ${\displaystyle R}$ and ${\displaystyle S}$ over ${\displaystyle X}$ and ${\displaystyle 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 ${\displaystyle R}$ is a binary relation over sets ${\displaystyle X}$ and ${\displaystyle Y}$, and ${\displaystyle S}$ is a binary relation over sets ${\displaystyle Y}$ and ${\displaystyle Z}$ then ${\displaystyle S\circ R=\{(x,z)\mid {\text{ there exists }}y\in Y{\text{ such that }}xRy{\text{ and }}ySz\}}$ (also denoted by ${\displaystyle R;S}$) is the composition relation of ${\displaystyle R}$ and ${\displaystyle S}$ over ${\displaystyle X}$ and ${\displaystyle Z}$.

The identity element is the identity relation. The order of ${\displaystyle R}$ and ${\displaystyle S}$ in the notation ${\displaystyle S\circ R,}$ used here agrees with the standard notational order for composition of functions. For example, the composition (is parent of)${\displaystyle \circ }$(is mother of) yields (is maternal grandparent of), while the composition (is mother of)${\displaystyle \circ }$(is parent of) yields (is grandmother of). For the former case, if ${\displaystyle x}$ is the parent of ${\displaystyle y}$ and ${\displaystyle y}$ is the mother of ${\displaystyle z}$, then ${\displaystyle x}$ is the maternal grandparent of ${\displaystyle z}$.

### Converse

If ${\displaystyle R}$ is a binary relation over sets ${\displaystyle X}$ and ${\displaystyle Y}$ then ${\displaystyle R^{\textsf {T}}=\{(y,x)\mid xRy\}}$ is the converse relation,[16] also called inverse relation,[17] of ${\displaystyle R}$ over ${\displaystyle Y}$ and ${\displaystyle X}$.

For example, ${\displaystyle =}$ is the converse of itself, as is ${\displaystyle \neq }$ and ${\displaystyle <}$ and ${\displaystyle >}$ are each other's converse, as are ${\displaystyle \leq }$ and ${\displaystyle \geq }$. A binary relation is equal to its converse if and only if it is symmetric.

### Complement

If ${\displaystyle R}$ is a binary relation over sets ${\displaystyle X}$ and ${\displaystyle Y}$ then ${\displaystyle {\bar {R}}=\{(x,y)\mid \neg xRy\}}$ (also denoted by ${\displaystyle \neg R}$) is the complementary relation of ${\displaystyle R}$ over ${\displaystyle X}$ and ${\displaystyle Y}$.

For example, ${\displaystyle =}$ and ${\displaystyle \neq }$ are each other's complement, as are ${\displaystyle \subseteq }$ and ${\displaystyle \not \subseteq }$, ${\displaystyle \supseteq }$ and ${\displaystyle \not \supseteq }$, ${\displaystyle \in }$ and ${\displaystyle \not \in }$, and for total orders also ${\displaystyle <}$ and ${\displaystyle \geq }$, and ${\displaystyle >}$ and ${\displaystyle \leq }$.

The complement of the converse relation ${\displaystyle R^{\textsf {T}}}$ is the converse of the complement: ${\displaystyle {\overline {R^{\mathsf {T}}}}={\bar {R}}^{\mathsf {T}}.}$

If ${\displaystyle 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 ${\displaystyle R}$ is a binary homogeneous relation over a set ${\displaystyle X}$ and ${\displaystyle S}$ is a subset of ${\displaystyle X}$ then ${\displaystyle R_{\vert S}=\{(x,y)\mid xRy{\text{ and }}x\in S{\text{ and }}y\in S\}}$ is the restriction relation of ${\displaystyle R}$ to ${\displaystyle S}$ over ${\displaystyle X}$.

If ${\displaystyle R}$ is a binary relation over sets ${\displaystyle X}$ and ${\displaystyle Y}$ and if ${\displaystyle S}$ is a subset of ${\displaystyle X}$ then ${\displaystyle R_{\vert S}=\{(x,y)\mid xRy{\text{ and }}x\in S\}}$ is the left-restriction relation of ${\displaystyle R}$ to ${\displaystyle S}$ over ${\displaystyle X}$ and ${\displaystyle Y}$.[clarification needed]

If ${\displaystyle R}$ is a binary relation over sets ${\displaystyle X}$ and ${\displaystyle Y}$ and if ${\displaystyle S}$ is a subset of ${\displaystyle Y}$ then ${\displaystyle R^{\vert S}=\{(x,y)\mid xRy{\text{ and }}y\in S\}}$ is the right-restriction relation of ${\displaystyle R}$ to ${\displaystyle S}$ over ${\displaystyle X}$ and ${\displaystyle 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 "${\displaystyle x}$ is parent of ${\displaystyle y}$" to females yields the relation "${\displaystyle x}$ is mother of the woman ${\displaystyle 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 numbers a property of the relation ${\displaystyle \leq }$ is that every non-empty subset ${\displaystyle S\subseteq \mathbb {R} }$ with an upper bound in ${\displaystyle \mathbb {R} }$ has a least upper bound (also called supremum) in ${\displaystyle \mathbb {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 ${\displaystyle \leq }$ to the rational numbers.

A binary relation ${\displaystyle R}$ over sets ${\displaystyle X}$ and ${\displaystyle Y}$ is said to be contained in a relation ${\displaystyle S}$ over ${\displaystyle X}$ and ${\displaystyle Y}$, written ${\displaystyle R\subseteq S,}$ if ${\displaystyle R}$ is a subset of ${\displaystyle S}$, that is, for all ${\displaystyle x\in X}$ and ${\displaystyle y\in Y,}$ if ${\displaystyle xRy}$, then ${\displaystyle xSy}$. If ${\displaystyle R}$ is contained in ${\displaystyle S}$ and ${\displaystyle S}$ is contained in ${\displaystyle R}$, then ${\displaystyle R}$ and ${\displaystyle S}$ are called equal written ${\displaystyle R=S}$. If ${\displaystyle R}$ is contained in ${\displaystyle S}$ but ${\displaystyle S}$ is not contained in ${\displaystyle R}$, then ${\displaystyle R}$ is said to be smaller than ${\displaystyle S}$, written ${\displaystyle R\subsetneq S.}$ For example, on the rational numbers, the relation ${\displaystyle >}$ is smaller than ${\displaystyle \geq }$, and equal to the composition ${\displaystyle >\circ >}$.

### Matrix representation

Binary relations over sets ${\displaystyle X}$ and ${\displaystyle Y}$ can be represented algebraically by logical matrices indexed by ${\displaystyle X}$ and ${\displaystyle Y}$ with entries in the Boolean semiring (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 ${\displaystyle X}$ and ${\displaystyle Y}$ and a relation over ${\displaystyle Y}$ and ${\displaystyle Z}$),[18] 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 ${\displaystyle X=Y}$) form a matrix semiring (indeed, a matrix semialgebra over the Boolean semiring) where the identity matrix corresponds to the identity relation.[19]

## Examples

2nd example relation
${\displaystyle A}$
${\displaystyle B}$
ball car doll cup
John +
Mary +
Venus +
1st example relation
${\displaystyle A}$
${\displaystyle B}$
ball car doll cup
John +
Mary +
Ian
Venus +
1. The following example shows that the choice of codomain is important. Suppose there are four objects ${\displaystyle A=\{{\text{ball, car, doll, cup}}\}}$ and four people ${\displaystyle B=\{{\text{John, Mary, Ian, Venus}}\}.}$ A possible relation on ${\displaystyle A}$ and ${\displaystyle B}$ is the relation "is owned by", given by ${\displaystyle R=\{({\text{ball, John}}),({\text{doll, Mary}}),({\text{car, Venus}})\}.}$ That is, John owns the ball, Mary owns the doll, and Venus owns the car. Nobody owns the cup and Ian owns nothing; see the 1st example. As a set, ${\displaystyle R}$ does not involve Ian, and therefore ${\displaystyle R}$ could have been viewed as a subset of ${\displaystyle A\times \{{\text{John, Mary, Venus}}\},}$ i.e. a relation over ${\displaystyle A}$ and ${\displaystyle \{{\text{John, Mary, Venus}}\};}$ see the 2nd example. While the 2nd example relation is surjective (see below), the 1st is not.
Ocean borders continent
NA SA AF EU AS AU AA
Indian 0 0 1 0 1 1 1
Arctic 1 0 0 1 1 0 0
Atlantic 1 1 1 1 0 0 1
Pacific 1 1 0 0 1 1 1
2. Let ${\displaystyle A=\{{\text{Indian}},{\text{Arctic}},{\text{Atlantic}},{\text{Pacific}}\}}$, the oceans of the globe, and ${\displaystyle B=\{{\text{NA}},{\text{SA}},{\text{AF}},{\text{EU}},{\text{AS}},{\text{AU}},{\text{AA}}\}}$, the continents. Let ${\displaystyle aRb}$ represent that ocean ${\displaystyle a}$ borders continent ${\displaystyle b}$. Then the logical matrix for this relation is:
${\displaystyle R={\begin{pmatrix}0&0&1&0&1&1&1\\1&0&0&1&1&0&0\\1&1&1&1&0&0&1\\1&1&0&0&1&1&1\end{pmatrix}}.}$
The connectivity of the planet Earth can be viewed through ${\displaystyle RR^{\mathsf {T}}}$ and ${\displaystyle R^{\mathsf {T}}R}$, the former being a ${\displaystyle 4\times 4}$ relation on ${\displaystyle A}$, which is the universal relation (${\displaystyle A\times A}$ or a logical matrix of all ones). This universal relation reflects the fact that every ocean is separated from the others by at most one continent. On the other hand, ${\displaystyle R^{\mathsf {T}}R}$ is a relation on ${\displaystyle B\times B}$ which fails to be universal because at least two oceans must be traversed to voyage from Europe to Australia.
3. Visualization of relations leans on graph theory: For relations on a set (homogeneous relations), a directed graph illustrates a relation and a graph a symmetric relation. For heterogeneous relations a hypergraph has edges possibly with more than two nodes, and can be illustrated by a bipartite graph. Just as the clique is integral to relations on a set, so bicliques are used to describe heterogeneous relations; indeed, they are the "concepts" that generate a lattice associated with a relation.
4. Hyperbolic orthogonality: Time and space are different categories, and temporal properties are separate from spatial properties. The idea of simultaneous events is simple in absolute time and space since each time ${\displaystyle t}$ determines a simultaneous hyperplane in that cosmology. Herman Minkowski changed that when he articulated the notion of relative simultaneity, which exists when spatial events are "normal" to a time characterized by a velocity. He used an indefinite inner product, and specified that a time vector is normal to a space vector when that product is zero. The indefinite inner product in a composition algebra is given by
${\displaystyle \langle x,z\rangle =x{\bar {z}}+{\bar {x}}z\;}$ where the overbar denotes conjugation.
As a relation between some temporal events and some spatial events, hyperbolic orthogonality (as found in split-complex numbers) is a heterogeneous relation.[20]
5. A geometric configuration can be considered a relation between its points and its lines. The relation is expressed as incidence. Finite and infinite projective and affine planes are included. Jakob Steiner pioneered the cataloguing of configurations with the Steiner systems ${\displaystyle \operatorname {S} (t,k,n)}$ which have an n-element set ${\displaystyle \operatorname {S} }$ and a set of k-element subsets called blocks, such that a subset with ${\displaystyle t}$ elements lies in just one block. These incidence structures have been generalized with block designs. The incidence matrix used in these geometrical contexts corresponds to the logical matrix used generally with binary relations.
An incidence structure is a triple ${\displaystyle \mathbf {D} =(V,\mathbf {B} ,I)}$ where ${\displaystyle V}$ and ${\displaystyle \mathbf {B} }$ are any two disjoint sets and ${\displaystyle I}$ is a binary relation between ${\displaystyle V}$ and ${\displaystyle \mathbf {B} }$, i.e. ${\displaystyle I\subseteq V\times \mathbf {B} .}$ The elements of ${\displaystyle V}$ will be called points, those of ${\displaystyle \mathbf {B} }$ blocks, and those of ${\displaystyle I}$ flags.[21]

## Types of binary relations

Some important types of binary relations ${\displaystyle R}$ over sets ${\displaystyle X}$ and ${\displaystyle Y}$ are listed below.

Uniqueness properties:

• Injective[22] (also called left-unique[23]): for all ${\displaystyle x,y\in X}$ and all ${\displaystyle z\in Y,}$ if ${\displaystyle xRz}$ and ${\displaystyle yRz}$ then ${\displaystyle x=y}$. In other words, every element of the codomain has at most one preimage element. For such a relation, ${\displaystyle Y}$ is called a primary key of ${\displaystyle R}$.[2] For example, the green and blue binary relations in the diagram are injective, but the red one is not (as it relates both ${\displaystyle -1}$ and ${\displaystyle 1}$ to ${\displaystyle 1}$), nor the black one (as it relates both ${\displaystyle -1}$ and ${\displaystyle 1}$ to ${\displaystyle 0}$).
• Functional[22] (also called right-unique[23] or univalent[24]): for all ${\displaystyle x\in X}$ and all ${\displaystyle y,z\in Y,}$ if ${\displaystyle xRy}$ and ${\displaystyle xRz}$ then ${\displaystyle y=z}$. In other words, every element of the domain has at most one image element. Such a binary relation is called a partial function or partial mapping.[25] For such a relation, ${\displaystyle \{X\}}$ is called a primary key of ${\displaystyle R}$.[2] For example, the red and green binary relations in the diagram are univalent, but the blue one is not (as it relates ${\displaystyle 1}$ to both ${\displaystyle 1}$ and ${\displaystyle 1}$), nor the black one (as it relates ${\displaystyle 0}$ to both ${\displaystyle -1}$ and ${\displaystyle 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 ${\displaystyle X}$ and codomain ${\displaystyle Y}$ are specified):

• Total[22] (also called left-total[23]): for all ${\displaystyle x\in X}$ there exists a ${\displaystyle y\in Y}$ such that ${\displaystyle xRy}$. In other words, every element of the domain has at least one image element. In other words, the domain of definition of ${\displaystyle R}$ is equal to ${\displaystyle X}$. This property, is different from the definition of connected (also called total by some authors)[citation needed] in Properties. Such a binary relation is called a multivalued function. For example, the red and green binary relations in the diagram are total, but the blue one is not (as it does not relate ${\displaystyle -1}$ to any real number), nor the black one (as it does not relate ${\displaystyle 2}$ to any real number). As another example, ${\displaystyle >}$ is a total relation over the integers. But it is not a total relation over the positive integers, because there is no ${\displaystyle y}$ in the positive integers such that ${\displaystyle 1>y}$.[26] However, ${\displaystyle <}$ is a total relation over the positive integers, the rational numbers and the real numbers. Every reflexive relation is total: for a given ${\displaystyle x}$, choose ${\displaystyle y=x}$.
• Surjective[22] (also called right-total[23]): for all ${\displaystyle y\in Y}$, there exists an ${\displaystyle x\in X}$ such that ${\displaystyle xRy}$. In other words, every element of the codomain has at least one preimage element. In other words, the codomain of definition of ${\displaystyle R}$ is equal to ${\displaystyle 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 ${\displaystyle -1}$), nor the black one (as it does not relate any real number to ${\displaystyle 2}$).

Uniqueness and totality properties (only definable if the domain ${\displaystyle X}$ and codomain ${\displaystyle Y}$ are specified):

• A function (also called mapping[23]): 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 binary relation in the diagram is an injection, but the red, blue and black ones are not.
• A surjection: a function that is surjective. For example, the green binary relation in the diagram is a surjection, but the red, blue and black ones are not.
• A bijection: 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, blue and black ones are not.

If relations over proper classes are allowed:

• Set-like (also called local): for all ${\displaystyle x\in X}$, the class of all ${\displaystyle y\in Y}$ such that ${\displaystyle yRx}$, i.e. ${\displaystyle \{y\in Y,yRx\}}$, is a set. For example, the relation ${\displaystyle \in }$ is set-like, and every relation on two sets is set-like.[27] The usual ordering < over the class of ordinal numbers is a set-like relation, while its inverse > is not.[citation needed]

## 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 ${\displaystyle =}$, 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 ${\displaystyle A}$, that contains all the objects of interest, and work with the restriction ${\displaystyle =_{A}}$ instead of ${\displaystyle =}$. Similarly, the "subset of" relation ${\displaystyle \subseteq }$ needs to be restricted to have domain and codomain ${\displaystyle P(A)}$ (the power set of a specific set ${\displaystyle A}$): the resulting set relation can be denoted by ${\displaystyle \subseteq _{A}.}$ Also, the "member of" relation needs to be restricted to have domain ${\displaystyle A}$ and codomain ${\displaystyle P(A)}$ to obtain a binary relation ${\displaystyle \in _{A}}$ that is a set. Bertrand Russell has shown that assuming ${\displaystyle \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 classes: 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 ${\displaystyle (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.)[28] 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 ${\displaystyle X}$ is a binary relation over ${\displaystyle X}$ and itself, i.e. it is a subset of the Cartesian product ${\displaystyle X\times X.}$[15][29][30] It is also simply called a (binary) relation over ${\displaystyle X}$.

A homogeneous relation ${\displaystyle R}$ over a set ${\displaystyle X}$ may be identified with a directed simple graph permitting loops, where ${\displaystyle X}$ is the vertex set and ${\displaystyle R}$ is the edge set (there is an edge from a vertex ${\displaystyle x}$ to a vertex ${\displaystyle y}$ if and only if ${\displaystyle xRy}$). The set of all homogeneous relations ${\displaystyle {\mathcal {B}}(X)}$ over a set ${\displaystyle X}$ is the power set ${\displaystyle 2^{X\times X}}$ 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 on ${\displaystyle {\mathcal {B}}(X)}$, it forms a semigroup with involution.

Some important properties that a homogeneous relation ${\displaystyle R}$ over a set ${\displaystyle X}$ may have are:

• Reflexive: for all ${\displaystyle x\in X,}$ ${\displaystyle xRx}$. For example, ${\displaystyle \geq }$ is a reflexive relation but > is not.
• Irreflexive: for all ${\displaystyle x\in X,}$ not ${\displaystyle xRx}$. For example, ${\displaystyle >}$ is an irreflexive relation, but ${\displaystyle \geq }$ is not.
• Symmetric: for all ${\displaystyle x,y\in X,}$ if ${\displaystyle xRy}$ then ${\displaystyle yRx}$. For example, "is a blood relative of" is a symmetric relation.
• Antisymmetric: for all ${\displaystyle x,y\in X,}$ if ${\displaystyle xRy}$ and ${\displaystyle yRx}$ then ${\displaystyle x=y.}$ For example, ${\displaystyle \geq }$ is an antisymmetric relation.[31]
• Asymmetric: for all ${\displaystyle x,y\in X,}$ if ${\displaystyle xRy}$ then not ${\displaystyle yRx}$. A relation is asymmetric if and only if it is both antisymmetric and irreflexive.[32] For example, > is an asymmetric relation, but ${\displaystyle \geq }$ is not.
• Transitive: for all ${\displaystyle x,y,z\in X,}$ if ${\displaystyle xRy}$ and ${\displaystyle yRz}$ then ${\displaystyle xRz}$. A transitive relation is irreflexive if and only if it is asymmetric.[33] For example, "is ancestor of" is a transitive relation, while "is parent of" is not.
• Connected: for all ${\displaystyle x,y\in X,}$ if ${\displaystyle x\neq y}$ then ${\displaystyle xRy}$ or ${\displaystyle yRx}$.
• Strongly connected: for all ${\displaystyle x,y\in X,}$ ${\displaystyle xRy}$ or ${\displaystyle yRx}$.
• Dense: for all ${\displaystyle x,y\in X,}$ if ${\displaystyle xRy,}$ then some ${\displaystyle z\in X}$ exists such that ${\displaystyle xRz}$ and ${\displaystyle zRy}$.

A partial order is a relation that is reflexive, antisymmetric, and transitive. A strict partial order is a relation that is irreflexive, asymmetric, and transitive. A total order is a relation that is reflexive, antisymmetric, transitive and connected.[34] A strict total order is a relation that is irreflexive, asymmetric, transitive and connected. An equivalence relation is a relation that is reflexive, symmetric, and transitive. For example, "${\displaystyle x}$ divides ${\displaystyle y}$" is a partial, but not a total order on natural numbers ${\displaystyle \mathbb {N} ,}$ "${\displaystyle x" is a strict total order on ${\displaystyle \mathbb {N} ,}$ and "${\displaystyle x}$ is parallel to ${\displaystyle y}$" is an equivalence relation on the set of all lines in the Euclidean plane.

All operations defined in section § Operations also apply to homogeneous relations. Beyond that, a homogeneous relation over a set ${\displaystyle X}$ may be subjected to closure operations like:

Reflexive closure
the smallest reflexive relation over ${\displaystyle X}$ containing ${\displaystyle R}$,
Transitive closure
the smallest transitive relation over ${\displaystyle X}$ containing ${\displaystyle R}$,
Equivalence closure
the smallest equivalence relation over ${\displaystyle X}$ containing ${\displaystyle R}$.

## Heterogeneous relation

In mathematics, a heterogeneous relation is a binary relation, a subset of a Cartesian product ${\displaystyle A\times B,}$ where ${\displaystyle A}$ and ${\displaystyle B}$ are possibly distinct sets.[35] The prefix hetero is from the Greek ἕτερος (heteros, "other, another, different").

A heterogeneous relation has been called a rectangular relation,[15] suggesting that it does not have the square-like symmetry of a homogeneous relation on a set where ${\displaystyle 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 heterogeneous or rectangular, i.e. as relations where the normal case is that they are relations between different sets."[36]

## 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 ${\displaystyle R\subseteq S,}$ meaning that ${\displaystyle aRb}$ implies ${\displaystyle aSb}$, sets the scene in a lattice of relations. But since ${\displaystyle P\subseteq Q\equiv (P\cap {\bar {Q}}=\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 ${\displaystyle A\times B.}$

In contrast to homogeneous relations, the composition of relations operation is only a partial function. 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 as in the category of sets, except that the morphisms of this category are relations. The objects of the category Rel are sets, and the relation-morphisms compose as required in a category.[citation needed]

## Induced concept lattice

Binary relations have been described through their induced concept lattices: A concept ${\displaystyle C\subset R}$ satisfies two properties:

• The logical matrix of ${\displaystyle C}$ is the outer product of logical vectors ${\displaystyle C_{ij}=u_{i}v_{j},\quad u,v}$ logical vectors.[clarification needed]
• ${\displaystyle C}$ is maximal, not contained in any other outer product. Thus ${\displaystyle C}$ is described as a non-enlargeable rectangle.

For a given relation ${\displaystyle R\subseteq X\times Y,}$ the set of concepts, enlarged by their joins and meets, forms an "induced lattice of concepts", with inclusion ${\displaystyle \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".[37] The decomposition is

${\displaystyle R=fEg^{\textsf {T}}}$, where ${\displaystyle f}$ and ${\displaystyle g}$ are functions, called mappings or left-total, univalent relations in this context. The "induced concept lattice is isomorphic to the cut completion of the partial order ${\displaystyle E}$ that belongs to the minimal decomposition ${\displaystyle (f,g,E)}$ of the relation ${\displaystyle R}$."

Particular cases are considered below: ${\displaystyle E}$ total order corresponds to Ferrers type, and ${\displaystyle 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.[38] Structural analysis of relations with concepts provides an approach for data mining.[39]

## Particular relations

• Proposition: If ${\displaystyle R}$ is a serial relation and ${\displaystyle R^{\mathsf {T}}}$ is its transpose, then ${\displaystyle I\subseteq R^{\textsf {T}}R}$ where ${\displaystyle I}$ is the ${\displaystyle m\times m}$ identity relation.
• Proposition: If ${\displaystyle R}$ is a surjective relation, then ${\displaystyle I\subseteq RR^{\textsf {T}}}$ where ${\displaystyle I}$ is the ${\displaystyle 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 ${\displaystyle Z=\{x,y,z,\ldots \}}$ of indicators. The partitioning relation ${\displaystyle R=FG^{\textsf {T}}}$ is a composition of relations using univalent relations ${\displaystyle F\subseteq A\times Z{\text{ and }}G\subseteq B\times Z.}$ Jacques Riguet named these relations difunctional since the composition ${\displaystyle FG^{\mathsf {T}}}$ involves univalent relations, commonly called partial functions.

In 1950 Rigeut showed that such relations satisfy the inclusion:[40]

${\displaystyle RR^{\textsf {T}}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.[41] More formally, a relation ${\displaystyle R}$ on ${\displaystyle X\times Y}$ is difunctional if and only if it can be written as the union of Cartesian products ${\displaystyle A_{i}\times B_{i}}$, where the ${\displaystyle A_{i}}$ are a partition of a subset of ${\displaystyle X}$ and the ${\displaystyle B_{i}}$ likewise a partition of a subset of ${\displaystyle Y}$.[42]

Using the notation ${\displaystyle \{y\mid xRy\}=xR}$, a difunctional relation can also be characterized as a relation ${\displaystyle R}$ such that wherever ${\displaystyle x_{1}R}$ and ${\displaystyle x_{2}R}$ have a non-empty intersection, then these two sets coincide; formally ${\displaystyle x_{1}\cap x_{2}\neq \varnothing }$ implies ${\displaystyle x_{1}R=x_{2}R.}$[43]

In 1997 researchers found "utility of binary decomposition based on difunctional dependencies in database management."[44] Furthermore, difunctional relations are fundamental in the study of bisimulations.[45]

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. In 1951 Jacques Riguet adopted the ordering of an integer partition, called a Ferrers diagram, to extend ordering to binary relations in general.[46]

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

${\displaystyle R{\bar {R}}^{\textsf {T}}R\subseteq R.}$

If any one of the relations ${\displaystyle R,{\bar {R}},R^{\textsf {T}}}$ is of Ferrers type, then all of them are. [35]

### Contact

Suppose ${\displaystyle B}$ is the power set of ${\displaystyle A}$, the set of all subsets of ${\displaystyle A}$. Then a relation ${\displaystyle g}$ is a contact relation if it satisfies three properties:

1. ${\displaystyle {\text{for all }}x\in A,Y=\{x\}{\text{ implies }}xgY.}$
2. ${\displaystyle Y\subseteq Z{\text{ and }}xgY{\text{ implies }}xgZ.}$
3. ${\displaystyle {\text{for all }}y\in Y,ygZ{\text{ and }}xgY{\text{ implies }}xgZ.}$

The set membership relation, ${\displaystyle \epsilon =}$ "is an element of", satisfies these properties so ${\displaystyle \epsilon }$ is a contact relation. The notion of a general contact relation was introduced by Georg Aumann in 1970.[47][48]

In terms of the calculus of relations, sufficient conditions for a contact relation include

${\displaystyle C^{\textsf {T}}{\bar {C}}\subseteq \ni {\bar {C}}\equiv C{\overline {\ni {\bar {C}}}}\subseteq C,}$
where ${\displaystyle \ni }$ is the converse of set membership (${\displaystyle \in }$).[49]: 280

## Preorder R\R

Every relation ${\displaystyle R}$ generates a preorder ${\displaystyle R\backslash R}$ which is the left residual.[50] In terms of converse and complements, ${\displaystyle R\backslash R\equiv {\overline {R^{\textsf {T}}{\bar {R}}}}.}$ Forming the diagonal of ${\displaystyle R^{\textsf {T}}{\bar {R}}}$, the corresponding row of ${\displaystyle R^{\textsf {T}}}$ and column of ${\displaystyle {\bar {R}}}$ will be of opposite logical values, so the diagonal is all zeros. Then

${\displaystyle R^{\textsf {T}}{\bar {R}}\subseteq {\bar {I}}\implies I\subseteq {\overline {R^{\textsf {T}}{\bar {R}}}}=R\backslash R}$, so that ${\displaystyle R\backslash R}$ is a reflexive relation.

To show transitivity, one requires that ${\displaystyle (R\backslash R)(R\backslash R)\subseteq R\backslash R.}$ Recall that ${\displaystyle X=R\backslash R}$ is the largest relation such that ${\displaystyle RX\subseteq R.}$ Then

${\displaystyle R(R\backslash R)\subseteq R}$
${\displaystyle R(R\backslash R)(R\backslash R)\subseteq R}$ (repeat)
${\displaystyle \equiv R^{\textsf {T}}{\bar {R}}\subseteq {\overline {(R\backslash R)(R\backslash R)}}}$ (Schröder's rule)
${\displaystyle \equiv (R\backslash R)(R\backslash R)\subseteq {\overline {R^{\textsf {T}}{\bar {R}}}}}$ (complementation)
${\displaystyle \equiv (R\backslash R)(R\backslash R)\subseteq R\backslash R.}$ (definition)

The inclusion relation Ω on the power set of ${\displaystyle U}$ can be obtained in this way from the membership relation ${\displaystyle \in }$ on subsets of ${\displaystyle U}$:

${\displaystyle \Omega ={\overline {\ni {\bar {\in }}}}=\in \backslash \in .}$[49]: 283

## Fringe of a relation

Given a relation ${\displaystyle R}$, its fringe is the sub-relation defined as

${\displaystyle \operatorname {fringe} (R)=R\cap {\overline {R{\bar {R}}^{\textsf {T}}R}}.}$

When ${\displaystyle R}$ is a partial identity relation, difunctional, or a block diagonal relation, then ${\displaystyle \operatorname {fringe} (R)=R}$. Otherwise the ${\displaystyle \operatorname {fringe} }$ operator selects a boundary sub-relation described in terms of its logical matrix: ${\displaystyle \operatorname {fringe} (R)}$ is the side diagonal if ${\displaystyle R}$ is an upper right triangular linear order or strict order. ${\displaystyle \operatorname {fringe} (R)}$ is the block fringe if ${\displaystyle R}$ is irreflexive (${\displaystyle R\subseteq {\bar {I}}}$) or upper right block triangular. ${\displaystyle \operatorname {fringe} (R)}$ is a sequence of boundary rectangles when ${\displaystyle R}$ is of Ferrers type.

On the other hand, ${\displaystyle \operatorname {fringe} (R)=\emptyset }$ when ${\displaystyle R}$ is a dense, linear, strict order.[49]

## Mathematical heaps

Given two sets ${\displaystyle A}$ and ${\displaystyle B}$, the set of binary relations between them ${\displaystyle {\mathcal {B}}(A,B)}$ can be equipped with a ternary operation ${\displaystyle [a,b,c]=ab^{\textsf {T}}c}$ where ${\displaystyle b^{\mathsf {T}}}$ denotes the converse relation of ${\displaystyle b}$. In 1953 Viktor Wagner used properties of this ternary operation to define semiheaps, heaps, and generalized heaps.[51][52] The contrast of heterogeneous and homogeneous relations is highlighted by these definitions:

There is a pleasant symmetry in Wagner's work between heaps, semiheaps, and generalised heaps on the one hand, and groups, semigroups, and generalised groups on the other. Essentially, the various types of semiheaps appear whenever we consider binary relations (and partial one-one mappings) between different sets ${\displaystyle A}$ and ${\displaystyle B}$, while the various types of semigroups appear in the case where ${\displaystyle A=B}$.

— Christopher Hollings, "Mathematics across the Iron Curtain: a history of the algebraic theory of semigroups"[53]

## Notes

1. ^ Authors who deal with binary relations only as a special case of ${\displaystyle n}$-ary relations for arbitrary ${\displaystyle n}$ usually write ${\displaystyle Rxy}$ as a special case of ${\displaystyle Rx_{1}\dots x_{n}}$ (prefix notation).[9]

## References

1. ^ Meyer, Albert (17 November 2021). "MIT 6.042J Math for Computer Science, Lecture 3T, Slide 2" (PDF). Archived (PDF) from the original on 2021-11-17.
2. Codd, Edgar Frank (June 1970). "A Relational Model of Data for Large Shared Data Banks" (PDF). Communications of the ACM. 13 (6): 377–387. doi:10.1145/362384.362685. S2CID 207549016. Archived (PDF) from the original on 2004-09-08. Retrieved 2020-04-29.
3. ^ "Relation definition – Math Insight". mathinsight.org. Retrieved 2019-12-11.
4. ^ a b
5. ^ a b C. I. Lewis (1918) A Survey of Symbolic Logic, pages 269–279, via internet Archive
6. ^ a b Gunther Schmidt, 2010. Relational Mathematics. Cambridge University Press, ISBN 978-0-521-76268-7, Chapt. 5
7. ^ Jacobson, Nathan (2009), Basic Algebra II (2nd ed.) § 2.1.
8. ^ Enderton 1977, Ch 3. pg. 40
9. ^ Hans Hermes (1973). Introduction to Mathematical Logic. Hochschultext (Springer-Verlag). London: Springer. ISBN 3540058192. ISSN 1431-4657. Sect.II.§1.1.4
10. ^ Suppes, Patrick (1972) [originally published by D. van Nostrand Company in 1960]. Axiomatic Set Theory. Dover. ISBN 0-486-61630-4.
11. ^ Smullyan, Raymond M.; Fitting, Melvin (2010) [revised and corrected republication of the work originally published in 1996 by Oxford University Press, New York]. Set Theory and the Continuum Problem. Dover. ISBN 978-0-486-47484-7.
12. ^ Levy, Azriel (2002) [republication of the work published by Springer-Verlag, Berlin, Heidelberg and New York in 1979]. Basic Set Theory. Dover. ISBN 0-486-42079-5.
13. ^ Schmidt, Gunther; Ströhlein, Thomas (2012). Relations and Graphs: Discrete Mathematics for Computer Scientists. Springer Science & Business Media. Definition 4.1.1. ISBN 978-3-642-77968-8.
14. ^ Christodoulos A. Floudas; Panos M. Pardalos (2008). Encyclopedia of Optimization (2nd ed.). Springer Science & Business Media. pp. 299–300. ISBN 978-0-387-74758-3.
15. ^ a b c Michael Winter (2007). Goguen Categories: A Categorical Approach to L-fuzzy Relations. Springer. pp. x–xi. ISBN 978-1-4020-6164-6.
16. ^ Garrett Birkhoff & Thomas Bartee (1970) Modern Applied Algebra, page 35, McGraw-Hill
17. ^ Mary P. Dolciani (1962) Modern Algebra: Structure and Method, Book 2, page 339, Houghton Mifflin
18. ^ John C. Baez (6 Nov 2001). "quantum mechanics over a commutative rig". Newsgroupsci.physics.research. Usenet: [email protected]. Retrieved November 25, 2018.
19. ^ Droste, M., & Kuich, W. (2009). Semirings and Formal Power Series. Handbook of Weighted Automata, 3–28. doi:10.1007/978-3-642-01492-5_1, pp. 7-10
20. ^
Relative simultaneity at Wikibooks
21. ^ Beth, Thomas; Jungnickel, Dieter; Lenz, Hanfried (1986). Design Theory. Cambridge University Press. p. 15.. 2nd ed. (1999) ISBN 978-0-521-44432-3
22. ^ a b c d Van Gasteren 1990, p. 45.
23. Kilp, Knauer, Mikhalev 2000, p. 3.
24. ^ Schmidt 2010, p. 49.
25. ^ Kilp, Knauer, Mikhalev 2000, p. 4.
26. ^ Yao, Y.Y.; Wong, S.K.M. (1995). "Generalization of rough sets using relationships between attribute values" (PDF). Proceedings of the 2nd Annual Joint Conference on Information Sciences: 30–33..
27. ^ Kunen, Kenneth (1980). Set theory: an introduction to independence proofs. North-Holland. p. 102. ISBN 0-444-85401-0. Zbl 0443.03021.
28. ^ Tarski, Alfred; Givant, Steven (1987). A formalization of set theory without variables. American Mathematical Society. p. 3. ISBN 0-8218-1041-3.
29. ^ M. E. Müller (2012). Relational Knowledge Discovery. Cambridge University Press. p. 22. ISBN 978-0-521-19021-3.
30. ^ Peter J. Pahl; Rudolf Damrath (2001). Mathematical Foundations of Computational Engineering: A Handbook. Springer Science & Business Media. p. 496. ISBN 978-3-540-67995-0.
31. ^ Smith, Douglas; Eggen, Maurice; St. Andre, Richard (2006), A Transition to Advanced Mathematics (6th ed.), Brooks/Cole, p. 160, ISBN 0-534-39900-2
32. ^ Nievergelt, Yves (2002), Foundations of Logic and Mathematics: Applications to Computer Science and Cryptography, Springer-Verlag, p. 158.
33. ^ Flaška, V.; Ježek, J.; Kepka, T.; Kortelainen, J. (2007). Transitive Closures of Binary Relations I (PDF). Prague: School of Mathematics – Physics Charles University. p. 1. Archived from the original (PDF) on 2013-11-02. Lemma 1.1 (iv). This source refers to asymmetric relations as "strictly antisymmetric".
34. ^ Joseph G. Rosenstein, Linear orderings, Academic Press, 1982, ISBN 0-12-597680-1, p. 4
35. ^ a b Schmidt, Gunther; Ströhlein, Thomas (2012). Relations and Graphs: Discrete Mathematics for Computer Scientists. Springer Science & Business Media. p. 77. ISBN 978-3-642-77968-8.
36. ^ G. Schmidt, Claudia Haltensperger, and Michael Winter (1997) "Heterogeneous relation algebra", chapter 3 (pages 37 to 53) in Relational Methods in Computer Science, Advances in Computer Science, Springer books ISBN 3-211-82971-7
37. ^ R. Berghammer & M. Winter (2013) "Decomposition of relations on concept lattices", Fundamenta Informaticae 126(1): 37–82 doi:10.3233/FI-2013-871
38. ^ Ki-Hang Kim (1982) Boolean Matrix Theory and Applications, page 37, Marcel Dekker ISBN 0-8247-1788-0
39. ^ Ali Jaoua, Rehab Duwairi, Samir Elloumi, and Sadok Ben Yahia (2009) "Data mining, reasoning and incremental information retrieval through non enlargeable rectangular relation coverage", pages 199 to 210 in Relations and Kleene algebras in computer science, Lecture Notes in Computer Science 5827, Springer MR2781235
40. ^ Riguet, Jacques (January 1950). "Quelques proprietes des relations difonctionelles". Comptes rendus (in French). 230: 1999–2000.
41. ^ Julius Richard Büchi (1989). Finite Automata, Their Algebras and Grammars: Towards a Theory of Formal Expressions. Springer Science & Business Media. pp. 35–37. ISBN 978-1-4613-8853-1.
42. ^ East, James; Vernitski, Alexei (February 2018). "Ranks of ideals in inverse semigroups of difunctional binary relations". Semigroup Forum. 96 (1): 21–30. arXiv:1612.04935. doi:10.1007/s00233-017-9846-9. S2CID 54527913.
43. ^ Chris Brink; Wolfram Kahl; Gunther Schmidt (1997). Relational Methods in Computer Science. Springer Science & Business Media. p. 200. ISBN 978-3-211-82971-4.
44. ^ Ali Jaoua, Nadin Belkhiter, Habib Ounalli, and Theodore Moukam (1997) "Databases", pages 197–210 in Relational Methods in Computer Science, edited by Chris Brink, Wolfram Kahl, and Gunther Schmidt, Springer Science & Business Media ISBN 978-3-211-82971-4
45. ^ Gumm, H. P.; Zarrad, M. (2014). "Coalgebraic Simulations and Congruences". Coalgebraic Methods in Computer Science. Lecture Notes in Computer Science. Vol. 8446. p. 118. doi:10.1007/978-3-662-44124-4_7. ISBN 978-3-662-44123-7.
46. ^ J. Riguet (1951) "Les relations de Ferrers", Comptes Rendus 232: 1729,30
47. ^ Georg Aumann (1971). "Kontakt-Relationen". Sitzungsberichte der mathematisch-physikalischen Klasse der Bayerischen Akademie der Wissenschaften München. 1970 (II): 67–77.
48. ^ Anne K. Steiner (1970) Review:Kontakt-Relationen from Mathematical Reviews
49. ^ a b c Gunther Schmidt (2011) Relational Mathematics, pages 211−15, Cambridge University Press ISBN 978-0-521-76268-7
50. ^ In this context, the symbol ${\displaystyle \backslash }$ does not mean "set difference".
51. ^ Viktor Wagner (1953) "The theory of generalised heaps and generalised groups", Matematicheskii Sbornik 32(74): 545 to 632 MR0059267
52. ^ C.D. Hollings & M.V. Lawson (2017) Wagner's Theory of Generalised Heaps, Springer books ISBN 978-3-319-63620-7 MR3729305
53. ^ Christopher Hollings (2014) Mathematics across the Iron Curtain: a history of the algebraic theory of semigroups, page 265, History of Mathematics 41, American Mathematical Society ISBN 978-1-4704-1493-1

## Bibliography

Basis of this page is in Wikipedia. Text is available under the CC BY-SA 3.0 Unported License. Non-text media are available under their specified licenses. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc. WIKI 2 is an independent company and has no affiliation with Wikimedia Foundation.