Safekipedia

Homogeneous relation

Adventurer · ages 7–10Adapted from Wikipedia
The binary relation that describes whether two tectonic plates are in contact is a homogenous relation, because both the first and second argument are from the same set, that is the set of tectonic plates on Earth.

In mathematics, a homogeneous relation (also called endorelation) on a set X is a binary relation between X and itself. Put another way, it is a subset of the Cartesian product X × X. People often call this "a relation on X" or "a (binary) relation over X". One example is the relation of kinship, where the relation is between people.

Common types of endorelations include orders, graphs, and equivalences. Studies of order theory and graph theory have helped people understand endorelations. Graph theory uses its own words to describe them. An ordinary (undirected) graph matches a symmetric relation, and a general endorelation matches a directed graph.

An endorelation R can be shown as a logical matrix made of 0s and 1s. The statement xRy (meaning x is R-related to y) matches an edge between x and y in the graph. It also matches a 1 in the square matrix of R. In graph language, this matrix is called an adjacency matrix.

Particular homogeneous relations

Some special homogeneous relations on a set X are the empty relation, the universal relation, and the identity relation. In the empty relation E = ∅, no two elements are ever related. In the universal relation U = X × X, every pair of elements is related. In the identity relation I = {(x, x) | x ∈ X}, which is linked to the Identity function, two elements are related only if they are the same.

The binary relation that describes whether two tectonic plates are in contact is a homogenous relation, because both the first and second argument are from the same set, that is the set of tectonic plates on Earth.

Sixteen large tectonic plates of the Earth's crust touch each other. This can be shown in a logical matrix, where 1 means the plates touch and 0 means they do not. This example is a symmetric relation.

Matrix representation of the relation "is adjacent to" on the set of tectonic plates
AfAnArAuCaCoEuInJuNANaPaPhSAScSo
AfricanAfYesYesYesNoNoNoYesNoNoYesNoNoNoYesNoYes
AntarcticAnYesYesNoYesNoNoNoNoNoNoYesYesNoYesYesYes
ArabianArYesNoYesNoNoNoYesYesNoNoNoNoNoNoNoYes
AustralianAuNoYesNoYesNoNoYesYesNoNoNoYesNoNoNoYes
CaribbeanCaNoNoNoNoYesYesNoNoNoYesYesNoNoYesNoNo
CocosCoNoNoNoNoYesYesNoNoNoYesYesYesNoNoNoNo
EurasianEuYesNoYesYesNoNoYesYesNoYesNoNoYesNoNoNo
IndianInNoNoYesYesNoNoYesYesNoNoNoNoNoNoNoYes
Juan de FucaJuNoNoNoNoNoNoNoNoYesYesNoYesNoNoNoNo
North americanNAYesNoNoNoYesYesYesNoYesYesNoYesYesYesNoNo
NazcaNaNoYesNoNoYesYesNoNoNoNoYesYesNoYesNoNo
PacificPaNoYesNoYesNoYesNoNoYesYesYesYesYesNoNoNo
PhilippinePhNoNoNoNoNoNoYesNoNoYesNoYesYesNoNoNo
South americanSAYesYesNoNoYesNoNoNoNoYesYesNoNoYesYesNo
ScotiaScNoYesNoNoNoNoNoNoNoNoNoNoNoYesYesNo
SomaliSoYesYesYesYesNoNoNoYesNoNoNoNoNoNoNoYes

Properties

See also: Category:Binary relations

A relation on a set can have many properties. Some are about one item and itself. A relation is reflexive if every item is related to itself. It is irreflexive (or strict) if no item is related to itself. It is coreflexive if only equal items are related. Other properties are about pairs of items. A relation is symmetric if whenever x is related to y, y is also related to x. It is antisymmetric or asymmetric in other ways. It is transitive if x related to y and y related to z means x is related to z. For example, "is ancestor of" is transitive, but "is parent of" is not. Many other properties exist too, such as antitransitive, co-transitive, quasitransitive, dense, connected, strongly connected, trichotomous, right Euclidean, and well-founded.

Some properties combine to name special kinds of relations. A preorder is reflexive and transitive. A total preorder is also connected. A partial order is reflexive, antisymmetric, and transitive. A strict partial order is irreflexive, antisymmetric, and transitive. A total order is reflexive, antisymmetric, transitive, and connected. A strict total order is irreflexive, antisymmetric, transitive, and connected. A partial equivalence relation is symmetric and transitive. An equivalence relation is reflexive, symmetric, and transitive. A relation that has the univalent property may be called a partial function. A surjective function is one that is right-total. An injective function is one whose inverse is univalent.

Operations

If R is a homogeneous relation over a set X, then other relations over X can be made from it. The reflexive closure, R=, adds every pair (x, x) for each x in X to R. It is the smallest reflexive relation over X that contains R. It is also the intersection of all reflexive relations that contain R. The reflexive reduction, R≠, removes all pairs (x, x) from R. It is the largest irreflexive relation over X that is contained in R.

The transitive closure, R+, is the smallest transitive relation over X that contains R. The reflexive transitive closure, R*, is the smallest preorder that contains R. The reflexive transitive symmetric closure, R≡, is the smallest equivalence relation over X that contains R. Everything described in Binary relation § Operations also works for homogeneous relations.

Homogeneous relations by property
ReflexivitySymmetryTransitivityConnectednessSymbolExample
Directed graph→
Undirected graphSymmetric
DependencyReflexiveSymmetric
TournamentIrreflexiveAsymmetricPecking order
PreorderReflexiveTransitive≤Preference
Total preorderReflexiveTransitiveConnected≤
Partial orderReflexiveAntisymmetricTransitive≤Subset
Strict partial orderIrreflexiveAsymmetricTransitiveStrict subset
Total orderReflexiveAntisymmetricTransitiveConnected≤Alphabetical order
Strict total orderIrreflexiveAsymmetricTransitiveConnectedStrict alphabetical order
Partial equivalence relationSymmetricTransitive
Equivalence relationReflexiveSymmetricTransitive~, ≡Equality

Enumeration

The set of all homogeneous relations over a set X is written as 2X×X. It acts a bit like a Boolean algebra. Each relation can be turned around into its converse relation. When composition of relations is used as a binary operation, the set forms a monoid with involution. Its identity element is the identity relation.

We can also count these relations. A set with n elements has 2n2 different homogeneous relations. You can find this list in the OEIS. Some groups of relations have the same count as others, such as strict partial orders and partial orders. The number of equivalence relations matches the number of partitions. This number is the Bell number. The counts also involve Stirling numbers of the second kind.

Each relation can be paired with its complement. The only exception is when n = 0, because then a relation is its own complement. Relations that are not symmetric can be sorted into groups of four. Each group has a relation, its complement, its inverse, and the inverse complement. These groups are called quadruples.

Examples

Here are some common kinds of homogeneous relations:

Generalizations

A binary relation does not have to be about the same kind of thing. It is a subset R ⊆ X × Y, where X and Y can be any sets.

A finitary relation is a subset R ⊆ X1 × ... × Xn, where n is a natural number and the sets X1, ..., Xn can be any sets. It is also called an n-ary relation.

Quiz time!

4 questions about Homogeneous relation

Question 1 of 4

What is a homogeneous relation?

Pictures

A diagram showing how properties of binary relations relate to each other: arrows show which properties imply others, and red lines show which properties cannot both hold.

Keep exploring

This article is a child-friendly adaptation of the Wikipedia article on Homogeneous relation, available under CC BY-SA 4.0.

Images from Wikimedia Commons. Tap any image to view credits and license.