Properties of Binary Relations

Abstract

Let be a homogenous binary relation over the set , and let .

  • Reflexive:
    • Irreflexive: not
  • Symmetric:
    • Asymmetric:
    • Antisymmetric:
  • Transitive:
  • Connected:
    • Strongly connected:
  • Dense:

Let be a homogeneous binary relation over the set . Then:

Reflexive

Definition

is reflexive iff for all ,

Example

The relation is reflexive (i.e )

Theorem

A relation is reflexive if and only if its complement is irreflexive

Irreflexive, Strict

Definition

is irreflexive (or strict) iff for all , not

Example

The relation is irreflexive (i.e )

Symmetric

Definition

is symmetric iff for all , if , then

Example

  • The relation is symmetric (i.e )
  • The relation "is blood relative of" is symmetric

Theorem

A relation is equal to its converse if and only if it is symmetric

Asymmetric

Definition

is asymmetric iff for all , if , then not

Example

The relation is asymmetric (i.e )

Theorem

A binary relation is asymmetric if and only if it is both irreflexive and antisymmetric

Antisymmetric

Definition

is antisymmetric iff for all , if and , then

Example

  • 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 )

Important

This is NOT the same as asymmetric

Transitive

Definition

is transitive iff for all , if and , then

Example

  • 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

Theorem

A transitive relation is irreflexive if and only if it is asymmetric

Connected

Definition

is connected iff for all , if , then or

Example

The relation over is connected (i.e )

Theorem

A relation is connected if and only if its complement is antisymmetric

Strongly Connected

Definition

is strongly connected iff for all , or

Example

The relation over is strongly connected (i.e )

Theorem

A relation is strongly connected if and only if it is connected and reflexive

Theorem

A relation is strongly connected if and only if its complement is asymmetric

Dense

Just like me fr

Definition

is dense iff for all , if , then there exists some such that and

Example

The relation is dense (i.e )

For example, let (that is, some real value between and , which will always exist, since ), then

Uniqueness Properties

Since functions are really relations, the formal definitions of function properties is actually defined via sets.

Diagram

Injective (Left-Unique)

Definition

is injective iff for all , if and then .

That is, for , every where the relation holds has exactly one .

Functional (Right-Unique)

Definition

is functional iff for all , if and then .

That is, for , every where the relation holds has exactly one .

Total (Left-Total, Serial)

Definition

is total iff for all , there exists some such that .

That is, for , every has at least one value where the relation holds.

Surjective (Right-Total)

Definition

is surjective iff for all , there exists an such that .

That is, for , every has at least one value where the relation holds.

Bijective (Left Unique and Right Total)

Definition

is bijective iff it is both injective and surjective

Combinations

List

  • 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

Definition

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.

Definition

A partial order is a relation that is reflexive, antisymmetric, and transitive.

Example

The relation on a set is a partial order. That is, it fulfils the properties:

  • Reflexive:
  • Antisymmetric: if and then
  • Transitive: if and then

Strict Partial Order

Definition

A strict partial order is a relation that is irreflexive, antisymmetric, and transitive.

Example

The relation on a set is a strict partial order. That is, it fulfils the properties:

  • Irreflexive: not
  • Asymmetric: if , then not
  • Transitive: if and , then

Total Order

Definition

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.

Definition

A total order is a relation that is reflexive, antisymmetric, transitive, and connected

Strict Total Order

Definition

A strict total order is a relation that is irreflexive, antisymmetric, transitive, and connected