Some important properties that a relation over a set may have are: ; : for all , . For example, is a reflexive relation but is not. ; (or ): for all , not . For example, is an irreflexive relation, but is not. The previous 2 alternatives are not exhaustive; e.g., the red relation given in the diagram below is neither irreflexive, nor reflexive, since it contains the pair , but not , respectively. ; : for all , if then . For example, "is a blood relative of" is a symmetric relation, because is a blood relative of if and only if is a blood relative of . ; : for all , if and then . For example, is an antisymmetric relation; so is , but
vacuously (the condition in the definition is always false). ; : for all , if then not . A relation is asymmetric if and only if it is both antisymmetric and irreflexive. For example, is an asymmetric relation, but is not. Again, the previous 3 alternatives are far from being exhaustive; as an example over the natural numbers, the relation defined by is neither symmetric (e.g. , but not ) nor antisymmetric (e.g. , but also ), let alone asymmetric. ; : for all , if and then . 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 , if then or . For example, on the natural numbers, is connected, while "
is a divisor of is not (e.g. neither nor ). ; : for all , or . For example, on the natural numbers, is strongly connected, but is not. A relation is strongly connected if, and only if, it is connected and reflexive. s: one-to-one (in green), one-to-many (in blue), many-to-one (in red), many-to-many (in black). 2D-plot representation is used.
Uniqueness properties ;
Injective (also called
left-unique (also called
right-unique,
right-definite or
univalent) : For all , if and then . Such a relation is called a . For example, the red and green relations in the diagram are functional, but the blue one is not (as it relates to both and ), nor is the black one (as it relates 0 to both −1 and 1).
Totality properties ; (also called or ): For all , there exists some such that . For example, the red and green relations in the diagram are total, but the blue one is not (as it does not relate to any real number), nor is the black one (as it does not relate to any real number). As another example, is a serial relation over the integers. But it is not a serial relation over the positive integers, because there is no in the positive integers such that . However, is a serial relation over the positive integers, the rational numbers and the real numbers. Every reflexive relation is serial: for a given , choose . ;
Surjective (also called
right-total or
onto): For all , there exists an such that . For example, the green and blue relations in the diagram are surjective, but the red one is not (as it does not relate any real number to ), nor is the black one (as it does not relate any real number to ).
Combinations of properties : Relations that satisfy certain combinations of the above properties are particularly useful, and thus have received names by their own. ; : A relation that is reflexive, symmetric, and transitive. It is also a relation that is symmetric, transitive, and serial, since these properties imply reflexivity.
Orderings ; : A relation that is reflexive, antisymmetric, and transitive. ; : A relation that is irreflexive, asymmetric, and transitive. ; : A relation that is reflexive, antisymmetric, transitive and connected. ; : A relation that is irreflexive, asymmetric, transitive and connected.
Uniqueness properties ;
One-to-one: Injective and functional. For example, the green 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 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 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 relation in the diagram is many-to-many, but the red, green and blue ones are not.
Uniqueness and totality properties ; A : A relation that is functional and total. For example, the red and green relations in the diagram are functions, but the blue and black ones are not. ; An : A function that is injective. For example, the green relation in the diagram is an injection, but the red, blue and black ones are not. ; A : A function that is surjective. For example, the green relation in the diagram is a surjection, but the red, blue and black ones are not. ; A : A function that is injective and surjective. For example, the green relation in the diagram is a bijection, but the red, blue and black ones are not. == Operations on relations ==