# Converse relation

__: Reversal of the order of elements of a binary relation__

**Short description**

In mathematics, the **converse relation**, or **transpose**, of a binary relation 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 [math]\displaystyle{ X }[/math] and [math]\displaystyle{ Y }[/math] are sets and [math]\displaystyle{ L \subseteq X \times Y }[/math] is a relation from [math]\displaystyle{ X }[/math] to [math]\displaystyle{ Y, }[/math] then [math]\displaystyle{ L^{\operatorname{T}} }[/math] is the relation defined so that [math]\displaystyle{ yL^{\operatorname{T}}x }[/math] if and only if [math]\displaystyle{ xLy. }[/math] In set-builder notation,

- [math]\displaystyle{ L^{\operatorname{T}} = \{ (y, x) \in Y \times X : (x, y) \in L \}. }[/math]

The notation is analogous with that for an inverse function. 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.

Since a relation may be represented by a logical matrix, and the logical matrix of the converse relation is the transpose of the original, the converse relation is also called the **transpose relation**.^{[1]} It has also been called the **opposite** or **dual** of the original relation,^{[2]} or the **inverse** of the original relation,^{[3]}^{[4]}^{[5]} or the **reciprocal** [math]\displaystyle{ L^{\circ} }[/math] of the relation [math]\displaystyle{ L. }[/math]^{[6]}

Other notations for the converse relation include [math]\displaystyle{ L^{\operatorname{C}}, L^{-1}, \breve{L}, L^{\circ}, }[/math] or [math]\displaystyle{ L^{\vee}. }[/math]

## Examples

For the usual (maybe strict or partial) order relations, the converse is the naively expected "opposite" order, for examples, [math]\displaystyle{ {\leq^\operatorname{T}} = {\geq},\quad {\lt ^\operatorname{T}} = {\gt }. }[/math]

A relation may be represented by a logical matrix such as [math]\displaystyle{ \begin{pmatrix} 1 & 1 & 1 & 1 \\ 0 & 1 & 0 & 1 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 1 \end{pmatrix}. }[/math]

Then the converse relation is represented by its transpose matrix: [math]\displaystyle{ \begin{pmatrix} 1 & 0 & 0 & 0 \\ 1 & 1 & 0 & 0 \\ 1 & 0 & 1 & 0 \\ 1 & 1 & 0 & 1 \end{pmatrix}. }[/math]

The converse of kinship relations are named: "[math]\displaystyle{ A }[/math] is a child of [math]\displaystyle{ B }[/math]" has converse "[math]\displaystyle{ B }[/math] is a parent of [math]\displaystyle{ A }[/math]". "[math]\displaystyle{ A }[/math] is a nephew or niece of [math]\displaystyle{ B }[/math]" has converse "[math]\displaystyle{ B }[/math] is an uncle or aunt of [math]\displaystyle{ A }[/math]". The relation "[math]\displaystyle{ A }[/math] is a sibling of [math]\displaystyle{ B }[/math]" is its own converse, since it is a symmetric relation.

## Properties

In the monoid of binary endorelations on a set (with the binary operation on relations being the composition of relations), the converse relation does not satisfy the definition of an inverse from group theory, that is, if [math]\displaystyle{ L }[/math] is an arbitrary relation on [math]\displaystyle{ X, }[/math] then [math]\displaystyle{ L \circ L^{\operatorname{T}} }[/math] does *not* equal the identity relation on [math]\displaystyle{ X }[/math] in general. The converse relation does satisfy the (weaker) axioms of a semigroup with involution: [math]\displaystyle{ \left(L^{\operatorname{T}}\right)^{\operatorname{T}} = L }[/math] and [math]\displaystyle{ (L \circ R)^{\operatorname{T}} = R^{\operatorname{T}} \circ L^{\operatorname{T}}. }[/math]^{[7]}

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).^{[7]} A relation equal to its converse is a symmetric relation; 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 relations, **Rel** is also an ordered category.^{[7]}

In the calculus of relations, *conversion* (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.^{[1]}

If a relation is reflexive, irreflexive, symmetric, antisymmetric, asymmetric, transitive, connected, trichotomous, a partial order, total order, strict weak order, total preorder (weak order), or an equivalence relation, its converse is too.

## Inverses

If [math]\displaystyle{ I }[/math] represents the identity relation, then a relation [math]\displaystyle{ R }[/math] may have an **inverse** as follows: [math]\displaystyle{ R }[/math] is called

- right-invertible
- if there exists a relation [math]\displaystyle{ X, }[/math] called a
**right inverse**of [math]\displaystyle{ R, }[/math] that satisfies [math]\displaystyle{ R \circ X = I. }[/math] - left-invertible
- if there exists a relation [math]\displaystyle{ Y, }[/math] called a
**left inverse**of [math]\displaystyle{ R, }[/math] that satisfies [math]\displaystyle{ Y \circ R = I. }[/math] - invertible
- if it is both right-invertible and left-invertible.

For an invertible homogeneous relation [math]\displaystyle{ R, }[/math] all right and left inverses coincide; this unique set is called its **inverse** and it is denoted by [math]\displaystyle{ R^{-1}. }[/math] In this case, [math]\displaystyle{ R^{-1} = R^{\operatorname{T}} }[/math] holds.^{[1]}^{:79}

### Converse relation of a function

A function is invertible 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 [math]\displaystyle{ f : X \to Y }[/math] is the relation [math]\displaystyle{ f^{-1} \subseteq Y \times X }[/math] defined by the [math]\displaystyle{ \operatorname{graph}\, f^{-1} = \{ (y, x) \in Y \times X : y = f(x) \}. }[/math]

This is not necessarily a function: One necessary condition is that [math]\displaystyle{ f }[/math] be injective, since else [math]\displaystyle{ f^{-1} }[/math] is multi-valued. This condition is sufficient for [math]\displaystyle{ f^{-1} }[/math] being a partial function, and it is clear that [math]\displaystyle{ f^{-1} }[/math] then is a (total) function if and only if [math]\displaystyle{ f }[/math] is surjective. In that case, meaning if [math]\displaystyle{ f }[/math] is bijective, [math]\displaystyle{ f^{-1} }[/math] may be called the **inverse function** of [math]\displaystyle{ f. }[/math]

For example, the function [math]\displaystyle{ f(x) = 2x + 2 }[/math] has the inverse function [math]\displaystyle{ f^{-1}(x) = \frac{x}{2} - 1. }[/math]

However, the function [math]\displaystyle{ g(x) = x^2 }[/math] has the inverse relation [math]\displaystyle{ g^{-1}(x) = \pm \sqrt{x}, }[/math] which is not a function, being multi-valued.

## Composition with relation

Using composition of relations, 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, A ∪ B ⊂ U ⇔ A ⊂ U ⊃ B ⇔ A ⊂ ⊃ B.

Now consider the set membership relation and its converse.

- [math]\displaystyle{ A \ni z \in B \Leftrightarrow z \in A \cap B \Leftrightarrow A \cap B \ne \empty. }[/math]

Thus [math]\displaystyle{ A \ni \in B \Leftrightarrow A \cap B \ne \empty . }[/math] The opposite composition [math]\displaystyle{ \in \ni }[/math] 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*.^{[8]}

If *Q* is univalent, then *QQ*^{T} is an equivalence relation on the domain of *Q*, see Transitive relation.

## See also

- Duality (order theory)
- Transpose graph – Directed graph with reversed edges

## References

- ↑
^{1.0}^{1.1}^{1.2}Gunther Schmidt; Thomas Ströhlein (1993).*Relations and Graphs: Discrete Mathematics for Computer Scientists*. Springer Berlin Heidelberg. pp. 9–10. ISBN 978-3-642-77970-1. https://archive.org/details/relationsgraphsd00schm. - ↑ Celestina Cotti Ferrero; Giovanni Ferrero (2002).
*Nearrings: Some Developments Linked to Semigroups and Groups*. Kluwer Academic Publishers. p. 3. ISBN 978-1-4613-0267-4. - ↑ Daniel J. Velleman (2006).
*How to Prove It: A Structured Approach*. Cambridge University Press. p. 173. ISBN 978-1-139-45097-3. https://books.google.com/books?id=sXt-ROLLNHcC&pg=PA173. - ↑ Shlomo Sternberg; Lynn Loomis (2014).
*Advanced Calculus*. World Scientific Publishing Company. p. 9. ISBN 978-9814583930. - ↑ Rosen, Kenneth H. (2017).
*Handbook of discrete and combinatorial mathematics*. Rosen, Kenneth H., Shier, Douglas R., Goddard, Wayne. (Second ed.). Boca Raton, FL. pp. 43. ISBN 978-1-315-15648-4. OCLC 994604351. https://www.worldcat.org/oclc/994604351. - ↑ Peter J. Freyd & Andre Scedrov (1990) Categories, Allegories, page 79, North Holland ISBN:0-444-70368-3
- ↑
^{7.0}^{7.1}^{7.2}Joachim Lambek (2001). "Relations Old and New". in Ewa Orłowska.*Relational Methods for Computer Science Applications*. Springer Science & Business Media. pp. 135–146. ISBN 978-3-7908-1365-4. - ↑ Gunther Schmidt & Michael Winter (2018)
*Relational Topology*, Springer Lecture Notes in Mathematics #2208, page 8, ISBN:978-3-319-74450-6

- Halmos, Paul R. (1974),
*Naive Set Theory*, p. 40, ISBN 978-0-387-90092-6

Original source: https://en.wikipedia.org/wiki/Converse relation.
Read more |