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 ...
, the converse of a
binary relation
In mathematics, a binary relation associates some elements of one Set (mathematics), 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 ...
is the relation that occurs when the order of the elements is switched in the relation. For example, the converse of the relation 'child of' is the relation 'parent of'. In formal terms, if
and
are
sets and
is a relation from
to
then
is the relation defined so that
if and only if
In
set-builder notation,
:
Since a relation may be represented by a
logical matrix, and the logical matrix of the converse relation is the
transpose
In linear algebra, the transpose of a Matrix (mathematics), matrix is an operator which flips a matrix over its diagonal;
that is, it switches the row and column indices of the matrix by producing another matrix, often denoted by (among other ...
of the original, the converse relation is also called the transpose relation.
It has also been called the opposite or dual of the original relation, the inverse of the original relation,
[Gerard O'Regan (2016): ''Guide to Discrete Mathematics: An Accessible Introduction to the History, Theory, Logic and Applications'' ] or the reciprocal
of the relation
Other notations for the converse relation include
or
The notation is analogous with that for an
inverse function
In mathematics, the inverse function of a function (also called the inverse of ) is a function that undoes the operation of . The inverse of exists if and only if is bijective, and if it exists, is denoted by f^ .
For a function f\colon ...
. Although many functions do not have an inverse, every relation does have a unique converse. The
unary operation that maps a relation to the converse relation is an
involution, so it induces the structure of a
semigroup with involution on the binary relations on a set, or, more generally, induces a
dagger category on the
category of relations as
detailed below. As a
unary operation, taking the converse (sometimes called conversion or transposition) commutes with the order-related operations of the calculus of relations, that is it commutes with union, intersection, and complement.
Examples
For the usual (maybe strict or partial)
order relations, the converse is the naively expected "opposite" order, for examples,
A relation may be represented by a
logical matrix such as
Then the converse relation is represented by its
transpose matrix:
The converse of
kinship
In anthropology, kinship is the web of social relationships that form an important part of the lives of all humans in all societies, although its exact meanings even within this discipline are often debated. Anthropologist Robin Fox says that ...
relations are named: "
is a child of
" has converse "
is a parent of
". "
is a
nephew or niece of
" has converse "
is an
uncle
An uncle is usually defined as a male relative who is a sibling of a parent or married to a sibling of a parent, as well as the parent of the cousins. Uncles who are related by birth are second-degree relatives. The female counterpart of an un ...
or
aunt of
". The relation "
is a
sibling of
" is its own converse, since it is a symmetric relation.
Properties
In the
monoid
In abstract algebra, a monoid is a set equipped with an associative binary operation and an identity element. For example, the nonnegative integers with addition form a monoid, the identity element being .
Monoids are semigroups with identity ...
of binary
endorelations on a set (with the
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 relations being the
composition of relations
In the mathematics of binary relations, the composition of relations is the forming of a new binary relation from two given binary relations ''R'' and ''S''. In the calculus of relations, the composition of relations is called relative multiplica ...
), the converse relation does not satisfy the definition of an inverse from group theory, that is, if
is an arbitrary relation on
then
does equal the
identity relation on
in general. The converse relation does satisfy the (weaker) axioms of a
semigroup with involution:
and
Since one may generally consider relations between different sets (which form a
category rather than a monoid, namely the
category of relations Rel), in this context the converse relation conforms to the axioms of a
dagger category (aka category with involution).
A relation equal to its converse is a
symmetric relation
A symmetric relation is a type of binary relation. Formally, a binary relation ''R'' over a set ''X'' is symmetric if:
: \forall a, b \in X(a R b \Leftrightarrow b R a) ,
where the notation ''aRb'' means that .
An example is the relation "is equ ...
; in the language of dagger categories, it is
self-adjoint.
Furthermore, the semigroup of endorelations on a set is also a partially ordered structure (with inclusion of relations as sets), and actually an involutive
quantale. Similarly, the category of
heterogeneous relation
In mathematics, 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 i ...
s, Rel is also an ordered category.
In the
calculus of relations, (the unary operation of taking the converse relation) commutes with other binary operations of union and intersection. Conversion also commutes with unary operation of
complementation as well as with taking
suprema and infima. Conversion is also compatible with the ordering of relations by inclusion.
[
If a relation is reflexive, irreflexive, symmetric, antisymmetric, asymmetric, transitive, connected, trichotomous, a ]partial order
In mathematics, especially order theory, a partial order on a set is an arrangement such that, for certain pairs of elements, one precedes the other. The word ''partial'' is used to indicate that not every pair of elements needs to be comparable ...
, total order
In mathematics, a total order or linear order is a partial order in which any two elements are comparable. That is, a total order is a binary relation \leq on some set X, which satisfies the following for all a, b and c in X:
# a \leq a ( re ...
, strict weak order, total preorder (weak order), or an equivalence relation, its converse is too.
Inverses
If represents the identity relation, then a relation may have an inverse as follows: is called
;
:if there exists a relation called a of that satisfies
;
:if there exists a relation called a of that satisfies
;
:if it is both right-invertible and left-invertible.
For an invertible homogeneous relation all right and left inverses coincide; this unique set is called its and it is denoted by In this case, holds.[
]
Converse relation of a function
A function is invertible
In mathematics, the concept of an inverse element generalises the concepts of opposite () and reciprocal () of numbers.
Given an operation denoted here , and an identity element denoted , if , one says that is a left inverse of , and that ...
if and only if its converse relation is a function, in which case the converse relation is the inverse function.
The converse relation of a function is the relation defined by the
This is not necessarily a function: One necessary condition is that be injective
In mathematics, an injective function (also known as injection, or one-to-one function ) is a function that maps distinct elements of its domain to distinct elements of its codomain; that is, implies (equivalently by contraposition, impl ...
, since else is multi-valued. This condition is sufficient for being 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 ...
, and it is clear that then is a (total) function 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 ...
is surjective
In mathematics, a surjective function (also known as surjection, or onto function ) is a function such that, for every element of the function's codomain, there exists one element in the function's domain such that . In other words, for a f ...
. In that case, meaning if is bijective
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 ...
, may be called the inverse function
In mathematics, the inverse function of a function (also called the inverse of ) is a function that undoes the operation of . The inverse of exists if and only if is bijective, and if it exists, is denoted by f^ .
For a function f\colon ...
of
For example, the function has the inverse function
However, the function has the inverse relation which is not a function, being multi-valued.
Composition with relation
Using composition of relations
In the mathematics of binary relations, the composition of relations is the forming of a new binary relation from two given binary relations ''R'' and ''S''. In the calculus of relations, the composition of relations is called relative multiplica ...
, the converse may be composed with the original relation. For example, the subset relation composed with its converse is always the universal relation:
:∀A ∀B ∅ ⊂ A ∩B ⇔ A ⊃ ∅ ⊂ B ⇔ A ⊃ ⊂ B. Similarly,
:For U = universe
The universe is all of space and time and their contents. It comprises all of existence, any fundamental interaction, physical process and physical constant, and therefore all forms of matter and energy, and the structures they form, from s ...
, A ∪ B ⊂ U ⇔ A ⊂ U ⊃ B ⇔ A ⊂ ⊃ B.
Now consider the set membership relation and its converse.
:
Thus
The opposite composition is the universal relation.
The compositions are used to classify relations according to type: for a relation ''Q'', when the identity relation on the range of ''Q'' contains ''Q''T''Q'', then ''Q'' is called ''univalent''. When the identity relation on the domain of ''Q'' is contained in ''Q Q''T, then ''Q'' is called ''total''. When ''Q'' is both univalent and total then it is a ''function''. When ''Q''T is univalent, then ''Q'' is termed ''injective''. When ''Q''T is total, Q is termed ''surjective''.[ Gunther Schmidt & Michael Winter (2018) ''Relational Topology'', Springer Lecture Notes in Mathematics #2208, page 8, ]
If ''Q'' is univalent, then ''QQ''T is an equivalence relation on the domain of ''Q'', see Transitive relation#Related properties.
See also
*
*
References
*
{{Order theory
Binary relations
Mathematical logic