Using
composition of relations, a relation can be composed with its converse. For the subset relation \subseteq on the
power set \mathcal P(U) of a universe U, both compositions with its converse are the
universal relation on \mathcal P(U): : (\subseteq)\circ(\supseteq)=\mathcal P(U)\times\mathcal P(U) \quad\text{and}\quad (\supseteq)\circ(\subseteq)=\mathcal P(U)\times\mathcal P(U). Indeed, for any A,C\subseteq U, : A\big((\subseteq)\circ(\supseteq)\big)C \iff \exists B\subseteq U:\ A\subseteq B \land C\subseteq B which holds by taking B=A\cup C; similarly, : A\big((\supseteq)\circ(\subseteq)\big)C \iff \exists B\subseteq U:\ B\subseteq A \land B\subseteq C, which holds by taking B=A\cap C. Now consider the
set membership relation \in\; \subseteq\ U\times\mathcal P(U) and its converse \ni\; \subseteq\ \mathcal P(U)\times U. For sets A,B\subseteq U, : A\,(\ni\circ\in)\,B \iff \exists z\in U:\ z\in A \land z\in B \iff A\cap B\neq\emptyset, so \ni\circ\in is the "nonempty intersection" relation on \mathcal P(U). Conversely, for elements x,y\in U, : x\,(\in\circ\ni)\,y \iff \exists A\subseteq U:\ x\in A \land y\in A, which always holds (e.g. for A=\{x,y\}); hence \in\circ\ni = U\times U is the universal relation on U. The compositions are used to classify relations according to type: for a relation
Q, when the
identity relation on the range of
Q contains
QT
Q, then
Q is called
univalent. When the identity relation on the domain of
Q is contained in
QQT, then
Q is called
total. When
Q is both univalent and total then it is a
function. When
QT is univalent, then
Q is termed
injective. When
QT is total,
Q is termed
surjective. If
Q is univalent, then
QQT is an equivalence relation on the domain of
Q, see Transitive relation#Related properties. ==See also==