Overview

An ordered pair of and , denoted , is defined as: . We define the first coordinate of to be and the second coordinate to be .

A relation is a set of ordered pairs. The domain of (), the range of (), and the field of () is defined as:

A set is single-valued iff for each in , there is only one such that . A set is single-rooted iff for each , there is only one such that .

n-ary Relations

We define ordered triples as . We define ordered quadruples as . This idea generalizes to -tuples. As a special case, we define the -tuple .

An -ary relation on is a set of ordered -tuples with all components in . Keep in mind though, a unary (-ary) relation on is just a subset of and may not be a relation at all.

Reflexivity

A relation is reflexive on iff for all . In relational algebra, we define to be reflexive on iff .

Irreflexivity

A relation is irreflexive on iff for all . That is, it is never the case that .

Symmetry

A relation is symmetric iff whenever , then . In relational algebra, we define to be symmetric iff .

Antisymmetry

A relation is antisymmetric iff whenever and , then .

Asymmetry

A relation is asymmetric iff whenever , then .

Transitivity

A relation is transitive iff whenever and , then . In relational algebra, we define to be transitive iff .

Connected

A binary relation on set is said to be connected if for any distinct , either or . The relation is strongly connected if for all , either or .

Trichotomy

A binary relation on is trichotomous if for all , exactly one of the following holds:

Bibliography