Safekipedia

Homogeneous relation

Discoverer · ages 10+Adapted from Wikipedia
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.

In mathematics, a homogeneous relation (also called endorelation) on a set X is a binary relation between X and itself. In other words, it is a subset of the Cartesian product X × X. This is often described as "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. Special studies of order theory and graph theory have helped people understand endorelations. Graph theory uses its own terms to describe them. An ordinary (undirected) graph is taken to match 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 terminology, 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, any two elements are always 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 equal.

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 contact each other in a homogeneous relation. The relation can be shown as a logical matrix, where 1 means contact and 0 means no contact. 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 an item and itself. A relation is reflexive if every item is related to itself, and 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, and 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, and a total preorder is also connected. A partial order is reflexive, antisymmetric, and transitive, and a strict partial order is irreflexive, antisymmetric, and transitive. A total order is reflexive, antisymmetric, transitive, and connected, and 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, and an injective function is one whose inverse is univalent.

Operations

If R is a homogeneous relation over a set X, then several 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, and it equals the intersection of all reflexive relations containing R. The reflexive reduction, R≠, removes all pairs (x, x) from R. It is the largest irreflexive relation over X contained in R.

The transitive closure, R+, is the smallest transitive relation over X containing R. The reflexive transitive closure, R*, is the smallest preorder containing R. The reflexive transitive symmetric closure, R≡, is the smallest equivalence relation over X containing R. All operations described in Binary relation § Operations also apply to 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 works like a Boolean algebra, and each relation can be flipped into its converse relation. When composition of relations is used as a binary operation, the set forms a monoid with involution, and its identity element is the identity relation.

Counting these relations is also possible. A set with n elements has 2n2 different homogeneous relations, as listed in the OEIS. Some groups of relations have the same count as other groups, such as strict partial orders and partial orders. The number of equivalence relations matches the number of partitions, which is the Bell number. The counts also involve Stirling numbers of the second kind.

Relations can be paired up with their complement, except when n = 0, where a relation is its own complement. Relations that are not symmetric can be sorted into groups of four, made from 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 homogeneous. 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!

5 questions about Homogeneous relation

Question 1 of 5

What is a homogeneous relation?

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.