Properties of Binary Relations
Let
- Reflexive:
- Irreflexive: not
- Irreflexive: not
- Symmetric:
- Asymmetric:
- Antisymmetric:
- Asymmetric:
- Transitive:
- Connected:
- Strongly connected:
- Strongly connected:
- Dense:
Let
Reflexive
The relation
A relation is reflexive if and only if its complement is irreflexive
Irreflexive, Strict
The relation
Symmetric
- The relation
is symmetric (i.e ) - The relation "is blood relative of" is symmetric
A relation is equal to its converse if and only if it is symmetric
Asymmetric
The relation
A binary relation is asymmetric if and only if it is both irreflexive and antisymmetric
Antisymmetric
- The relation
is antisymmetric (i.e ) - The relation
(subset) is antisymmetric (i.e ), which is the definition of set equality - The relation divisibility over natural numbers is antisymmetric (i.e
)
This is NOT the same as asymmetric
Transitive
- The relation
is transitive (i.e ) - The relation divisibility is transitive (i.e
) - The relation "is ancestor of" is transitive, but the relation "is parent of" is not
A transitive relation is irreflexive if and only if it is asymmetric
Connected
The relation
A relation is connected if and only if its complement is antisymmetric
Strongly Connected
The relation
A relation is strongly connected if and only if it is connected and reflexive
A relation is strongly connected if and only if its complement is asymmetric
Dense
Just like me fr
The relation
For example, let
Uniqueness Properties
Since functions are really relations, the formal definitions of function properties is actually defined via sets.
Injective (Left-Unique)
That is, for
Functional (Right-Unique)
That is, for
Total (Left-Total, Serial)
That is, for
Surjective (Right-Total)
That is, for
Bijective (Left Unique and Right Total)
Combinations
- One-to-one: injective and functional
- One-to-many: injective and not functional
- Many-to-one: not injective, functional
- Many-to-many: not injective nor functional
Orderings
Partial Order
A partial order over a set is an arrangement such that, for each pair of elements, one precedes the other.
The word partial indicates that not every pair of elements needs to be comparable, only that adjacent ones do.
In what world would we not have every element comparable? Divisibility is probably the most intuitive relation that would have this. More info at Partially Ordered Set.
A partial order is a relation that is reflexive, antisymmetric, and transitive.
The relation
- Reflexive:
- Antisymmetric: if
and then - Transitive: if
and then
Strict Partial Order
A strict partial order is a relation that is irreflexive, antisymmetric, and transitive.
The relation
- Irreflexive: not
- Asymmetric: if
, then not - Transitive: if
and , then
Total Order
A total order over a set is an arrangement such that, for each pair of elements, one precedes the other.
The word total indicates that every pair of elements needs to be comparable.
Note that whether a relation is a total or partial order depends on the set we are dealing with, not the relation itself.
A total order is a relation that is reflexive, antisymmetric, transitive, and connected
Strict Total Order
A strict total order is a relation that is irreflexive, antisymmetric, transitive, and connected